Browse Source

bane commander dialog options

lakebane2
FatBoy-DOTC 3 weeks ago
parent
commit
c1004e5817
  1. 4
      src/engine/objects/Contract.java

4
src/engine/objects/Contract.java

@ -239,7 +239,6 @@ public class Contract extends AbstractGameObject {
vd.getOptions().clear(); vd.getOptions().clear();
switch(optionId){ switch(optionId){
default: default:
vd = VendorDialog.getVendorDialog(200296);
if(!bane.daySet) { if(!bane.daySet) {
MenuOption option1 = new MenuOption(796, "Set Bane Day", 796); MenuOption option1 = new MenuOption(796, "Set Bane Day", 796);
vd.getOptions().add(option1); vd.getOptions().add(option1);
@ -254,7 +253,6 @@ public class Contract extends AbstractGameObject {
} }
break; break;
case 796: // set bane day case 796: // set bane day
vd = VendorDialog.getVendorDialog(200297);
DateTime dayOption1Date = placement.plusDays(3); DateTime dayOption1Date = placement.plusDays(3);
MenuOption dayOption1 = new MenuOption(7961, dayOption1Date.toString("yyyy-MM-dd"), 7961); MenuOption dayOption1 = new MenuOption(7961, dayOption1Date.toString("yyyy-MM-dd"), 7961);
vd.getOptions().add(dayOption1); vd.getOptions().add(dayOption1);
@ -276,7 +274,6 @@ public class Contract extends AbstractGameObject {
vd.getOptions().add(dayOption5); vd.getOptions().add(dayOption5);
break; break;
case 797: // set bane time case 797: // set bane time
vd = VendorDialog.getVendorDialog(200298);
MenuOption timeOption1 = new MenuOption(7971, "6:00 pm CST", 7971); MenuOption timeOption1 = new MenuOption(7971, "6:00 pm CST", 7971);
vd.getOptions().add(timeOption1); vd.getOptions().add(timeOption1);
@ -293,7 +290,6 @@ public class Contract extends AbstractGameObject {
vd.getOptions().add(timeOption5); vd.getOptions().add(timeOption5);
break; break;
case 798: // set bane cap case 798: // set bane cap
vd = VendorDialog.getVendorDialog(200299);
if(treesInNation < 6) { if(treesInNation < 6) {
MenuOption capOption1 = new MenuOption(7981, "10 Maximum Players", 7981); MenuOption capOption1 = new MenuOption(7981, "10 Maximum Players", 7981);
vd.getOptions().add(capOption1); vd.getOptions().add(capOption1);

Loading…
Cancel
Save