diff --git a/src/engine/objects/Contract.java b/src/engine/objects/Contract.java index de0fefc4..585043b4 100644 --- a/src/engine/objects/Contract.java +++ b/src/engine/objects/Contract.java @@ -187,6 +187,16 @@ public class Contract extends AbstractGameObject { } public VendorDialog getVendorDialog() { + if(this.contractID == 1502042) { + VendorDialog vd = VendorDialog.getHostileVendorDialog(); + vd.getOptions().clear(); + MenuOption option1 = new MenuOption(796,"Set Bane Day",796); + vd.getOptions().add(option1); + return vd; + } + + + return this.vendorDialog; } diff --git a/src/engine/objects/MenuOption.java b/src/engine/objects/MenuOption.java index 36ea561a..4a5a6e4b 100644 --- a/src/engine/objects/MenuOption.java +++ b/src/engine/objects/MenuOption.java @@ -31,6 +31,13 @@ public class MenuOption extends AbstractGameObject { this.prereq = rs.getInt("prereq"); } + public MenuOption(int id, String msg, int option){ + this.menuID = id; + this.message = msg; + this.optionID = option; + this.prereq = 0; + } + /* * Getters */