Added 9 more slots for quest kill objectives, and an option for kill quests to progress only if a player kills an NPC with that name.

Added quest interface support to get and modify data from specific quest types.
This commit is contained in:
luisc committed 2022-01-27 05:40:51 -06:00
1 parent 989effb5c5
commit f876f13d77
15 files changed
+155 -32

No files matched your search

@@ -20,6 +20,7 @@ import noppes.npcs.scripted.CustomNPCsException;
import noppes.npcs.scripted.NpcAPI;
import noppes.npcs.scripted.handler.data.IQuest;
import noppes.npcs.scripted.handler.data.IQuestCategory;
import noppes.npcs.scripted.handler.data.IQuestInterface;
import noppes.npcs.scripted.handler.data.IQuestObjective;
import noppes.npcs.scripted.interfaces.IContainer;
import noppes.npcs.scripted.interfaces.IPlayer;
@@ -242,4 +243,8 @@ public class Quest implements ICompatibilty, IQuest {
public IContainer getRewards() {
return NpcAPI.Instance().getIContainer(this.rewardItems);
}
public IQuestInterface getQuestInterface(){
return this.questInterface;
}
}