mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
added a message for not caring about roses
This commit is contained in:
parent
b8a5c7528b
commit
8c06e184c8
@ -325,11 +325,16 @@ bool pcmove::movepcto() {
|
||||
else
|
||||
lastmountpos[0] = cwt.at;
|
||||
|
||||
bool fatigued = false;
|
||||
|
||||
if(againstRose(cwt.at, NULL) && d<0 && !scentResistant()) {
|
||||
fatigued = items[itFatigue] >= 8;
|
||||
if(!fatigued) {
|
||||
if(vmsg(miRESTRICTED))
|
||||
addMessage("You just cannot stand in place, those roses smell too nicely.");
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user