added a message for not caring about roses

This commit is contained in:
Zeno Rogue 2024-01-11 17:51:18 +01:00
parent b8a5c7528b
commit 8c06e184c8
1 changed files with 9 additions and 3 deletions

View File

@ -325,10 +325,15 @@ bool pcmove::movepcto() {
else
lastmountpos[0] = cwt.at;
bool fatigued = false;
if(againstRose(cwt.at, NULL) && d<0 && !scentResistant()) {
if(vmsg(miRESTRICTED))
addMessage("You just cannot stand in place, those roses smell too nicely.");
return false;
fatigued = items[itFatigue] >= 8;
if(!fatigued) {
if(vmsg(miRESTRICTED))
addMessage(XLAT("You just cannot stand in place, those roses smell too nicely."));
return false;
}
}
gravity_state = gsNormal;
@ -340,6 +345,7 @@ bool pcmove::movepcto() {
changes.init(checkonly);
changes.value_keep(bow::bowpath_map);
bow::bowpath_map.clear();
if(fatigued) addMessage(XLAT("The roses smell nicely, but you are just too tired to care."));
bool b = (d >= 0 && bow::fire_mode) ? false : (d >= 0) ? actual_move() : stay();
if(checkonly || !b) {
changes.rollback();