mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 21:09:40 +00:00
Add Party System Framework
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user