1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-31 09:47:56 +00:00

crossbow:: improved texts

This commit is contained in:
Zeno Rogue
2023-10-29 07:59:19 +01:00
parent 6b8adfde9e
commit 1926fd8434
2 changed files with 9 additions and 1 deletions

View File

@@ -252,6 +252,7 @@ bool pcmove::try_shooting(bool auto_target) {
}
return false;
}
addMessage(XLAT("Fire!"));
}
items[itCrossbow] = bow::loading_time();
bow::shoot();
@@ -860,8 +861,12 @@ void pcmove::tell_why_cannot_attack() {
addMessage(XLAT("You cannot attack your own mount!"));
else if(checkOrb(c2->monst, itOrbShield))
addMessage(XLAT("A magical shield protects %the1!", c2->monst));
else if(bow::crossbow_mode() && !bow::bump_to_shoot)
addMessage(XLAT("You have no melee weapon!"));
else if(bow::crossbow_mode() && items[itCrossbow])
addMessage(XLAT("Your crossbow is still reloading!"));
else if(bow::crossbow_mode())
addMessage(XLAT("Trying to fire."));
else
addMessage(XLAT("For some reason... cannot attack!"));
}