Add Party System Framework

This commit is contained in:
Kam committed 2023-10-30 21:06:01 -04:00
1 parent 4880d13499
commit 1751de2f2d
3 files changed
+141 -1

No files matched your search

@@ -35,6 +35,10 @@ public class Quest implements ICompatibilty, IQuest {
public String nextQuestTitle = "";
public PlayerMail mail = new PlayerMail();
public String command = "";
public boolean allowParty = false;
public byte partyRequirements = 0; // 0 - Only Party Leaders, 1 - Everyone
public byte rewardControl = 0; // 0 - Only Party Leaders, 1 - Everyone
public QuestInterface questInterface = new QuestItem();
@@ -273,4 +277,28 @@ public class Quest implements ICompatibilty, IQuest {
public IQuestInterface getQuestInterface(){
return this.questInterface;
}
public boolean isAllowParty() {
return allowParty;
}
public void setAllowParty(boolean allowParty) {
this.allowParty = allowParty;
}
public byte getPartyRequirements() {
return partyRequirements;
}
public void setPartyRequirements(byte partyRequirements) {
this.partyRequirements = partyRequirements;
}
public byte getRewardControl() {
return rewardControl;
}
public void setRewardControl(byte rewardControl) {
this.rewardControl = rewardControl;
}
}