Report too many keys and items separately.

This commit is contained in:
Steve 2018-04-12 16:05:41 +01:00
parent ad74cab6bf
commit 66681c94bc
3 changed files with 6 additions and 4 deletions

View File

@ -395,7 +395,8 @@ enum
ST_PICKED_UP,
ST_REMOVED,
ST_REQUIRED,
ST_CANNOT_CARRY,
ST_CANNOT_CARRY_KEYS,
ST_CANNOT_CARRY_ITEMS,
ST_RESCUED,
ST_JETPACK_POWER,
ST_AQUALUNG_POWER,

View File

@ -145,7 +145,7 @@ static void bobPickupItem(void)
}
else
{
setGameplayMessage(MSG_GAMEPLAY, app.strings[ST_CANNOT_CARRY]);
setGameplayMessage(MSG_GAMEPLAY, app.strings[ST_CANNOT_CARRY_KEYS]);
}
}
}
@ -165,7 +165,7 @@ static void bobPickupItem(void)
}
else
{
setGameplayMessage(MSG_GAMEPLAY, app.strings[ST_CANNOT_CARRY]);
setGameplayMessage(MSG_GAMEPLAY, app.strings[ST_CANNOT_CARRY_ITEMS]);
}
}
else

View File

@ -51,7 +51,8 @@ void initStrings(void)
app.strings[ST_PICKED_UP] = _("Picked up a %s");
app.strings[ST_REMOVED] = _("%s removed");
app.strings[ST_REQUIRED] = _("%s required");
app.strings[ST_CANNOT_CARRY] = _("Can't carry any more keys");
app.strings[ST_CANNOT_CARRY_KEYS] = _("Can't carry any more keys");
app.strings[ST_CANNOT_CARRY_ITEMS] = _("Can't carry any more items");
app.strings[ST_RESCUED] = _("Rescued %s");
app.strings[ST_JETPACK_POWER] = _("Not enough power for jetpack");