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)
|
||||
|
||||
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",
|
||||
overloadmsg[] = "You have extreme difficulty lifting";
|
||||
|
||||
@@ -1673,11 +1674,10 @@ lift_object(
|
||||
long savequan = obj->quan;
|
||||
|
||||
obj->quan = *cnt_p;
|
||||
Strcpy(qbuf, (next_encumbr > HVY_ENCUMBER)
|
||||
? overloadmsg
|
||||
: (next_encumbr > MOD_ENCUMBER)
|
||||
? nearloadmsg
|
||||
: moderateloadmsg);
|
||||
Strcpy(qbuf, (next_encumbr >= EXT_ENCUMBER) ? overloadmsg
|
||||
: (next_encumbr >= HVY_ENCUMBER) ? nearloadmsg
|
||||
: (next_encumbr >= MOD_ENCUMBER) ? moderateloadmsg
|
||||
: slightloadmsg);
|
||||
if (container)
|
||||
(void) strsubst(qbuf, "lifting", "removing");
|
||||
Strcat(qbuf, " ");
|
||||
|
||||
Reference in New Issue
Block a user