Enrollment officer dialog

This commit is contained in:
2025-01-01 18:15:22 -06:00
parent 9d5c4424a1
commit 55b3161900
3 changed files with 26 additions and 5 deletions
+17
View File
@@ -198,6 +198,23 @@ public class Contract extends AbstractGameObject {
return this.vendorDialog;
}
public static VendorDialog HandleEnrollmentOfficer(int optionId, NPC npc, PlayerCharacter pc){
pc.setLastNPCDialog(npc);
VendorDialog vd = new VendorDialog(VendorDialog.getHostileVendorDialog().getDialogType(),VendorDialog.getHostileVendorDialog().getIntro(),-1);//VendorDialog.getHostileVendorDialog();
vd.getOptions().clear();
switch(optionId) {
default:
if (pc.isBoxed) {
MenuOption option1 = new MenuOption(15020401, "Unbox", 15020401);
vd.getOptions().add(option1);
}
break;
case 15020401:
PlayerCharacter.unboxPlayer(pc);
break;
}
return vd;
}
public static VendorDialog HandleBaneCommanderOptions(int optionId, NPC npc, PlayerCharacter pc){
pc.setLastNPCDialog(npc);
VendorDialog vd = new VendorDialog(VendorDialog.getHostileVendorDialog().getDialogType(),VendorDialog.getHostileVendorDialog().getIntro(),-1);//VendorDialog.getHostileVendorDialog();