Some little bits

- Check is_block as well as is_barrel in some places
(is_block is a feature new to OBoE, I have no idea if it works yet)
- Print an "equip bolts" message when trying to fire a crossbow without them
This commit is contained in:
2014-12-01 20:12:45 -05:00
parent c62ac56702
commit 4a68c16c2a
3 changed files with 6 additions and 1 deletions

View File

@@ -1449,6 +1449,9 @@ void load_missile() ////
else if ((arrow == 24) && (bow < 24)) {
add_string_to_buf("Fire: Equip some arrows. ");
}
else if(crossbow == 24 && bolts < 24) {
add_string_to_buf("Fire: Equip some bolts. ");
}
else if ((arrow < 24) && (bow < 24)) {
missile_inv_slot = bow;
ammo_inv_slot = arrow;