Separate messages for becoming burdened and stressed
This commit is contained in:
12
src/pickup.c
12
src/pickup.c
@@ -62,7 +62,8 @@ static void tipcontainer(struct obj *);
|
|||||||
#define Icebox (gc.current_container->otyp == ICE_BOX)
|
#define Icebox (gc.current_container->otyp == ICE_BOX)
|
||||||
|
|
||||||
static const char
|
static const char
|
||||||
moderateloadmsg[] = "You have a little trouble lifting",
|
slightloadmsg[] = "You have a little trouble lifting",
|
||||||
|
moderateloadmsg[] = "You have trouble lifting",
|
||||||
nearloadmsg[] = "You have much trouble lifting",
|
nearloadmsg[] = "You have much trouble lifting",
|
||||||
overloadmsg[] = "You have extreme difficulty lifting";
|
overloadmsg[] = "You have extreme difficulty lifting";
|
||||||
|
|
||||||
@@ -1673,11 +1674,10 @@ lift_object(
|
|||||||
long savequan = obj->quan;
|
long savequan = obj->quan;
|
||||||
|
|
||||||
obj->quan = *cnt_p;
|
obj->quan = *cnt_p;
|
||||||
Strcpy(qbuf, (next_encumbr > HVY_ENCUMBER)
|
Strcpy(qbuf, (next_encumbr >= EXT_ENCUMBER) ? overloadmsg
|
||||||
? overloadmsg
|
: (next_encumbr >= HVY_ENCUMBER) ? nearloadmsg
|
||||||
: (next_encumbr > MOD_ENCUMBER)
|
: (next_encumbr >= MOD_ENCUMBER) ? moderateloadmsg
|
||||||
? nearloadmsg
|
: slightloadmsg);
|
||||||
: moderateloadmsg);
|
|
||||||
if (container)
|
if (container)
|
||||||
(void) strsubst(qbuf, "lifting", "removing");
|
(void) strsubst(qbuf, "lifting", "removing");
|
||||||
Strcat(qbuf, " ");
|
Strcat(qbuf, " ");
|
||||||
|
|||||||
Reference in New Issue
Block a user