More fixes (#235)

- Dwarf cannon can now be seen by anyone and not just the person who sets it down (they can also see the rotation now)
- Fixed doors being removed when clicking them
- Removed banking command for regular players
- Fixed nulodion now only gives if you have space
- Updated nulodion message so it doesnt say to find him at home
- Npcs wont follow you if you turn on the cantAttack comamand (for admins
- Fixed gate at KBD
- Fixed the gates at Ice giants in wildy

#closes 132
#closes 203
#closes 211
#closes 6

also this one should be closed from previous patch

#closes 219
This commit is contained in:
Mr Extremez
2019-12-05 11:55:25 -06:00
committed by Daniel Ginovker
parent 9fb110bb41
commit 8af938548b
11 changed files with 42 additions and 32 deletions
@@ -6854,12 +6854,17 @@ public class DialogueHandler {
case 3501:
if (player.getCannon().needsCannon()) {
sendNpcChat1("Here is your cannon, try not to lose it again.", player.talkingNpc, "Nulodion");
for (int i = 0; i < 4; i++) {
if (player.getItemAssistant().freeSlots() >= 4) {
sendNpcChat1("Here is your cannon, try not to lose it again.", player.talkingNpc, "Nulodion");
for (int i = 0; i < 4; i++) {
player.getItemAssistant().addItem(player.getCannon().ITEM_PARTS[i], 1);
}
player.lostCannon = false;
player.nextChat = 0;
} else {
sendNpcChat1("You need at least 4 free inventory spots.", player.talkingNpc, "Nulodion");
player.nextChat = 0;
}
player.lostCannon = false;
player.nextChat = 0;
} else {
sendNpcChat1("" + Misc.capitalize(player.playerName) + " you do not have a cannon to collect currently.", player.talkingNpc, "Nulodion");
player.nextChat = 0;