Added quest start, complete, and turnin events, and a faction points event to scripted player events.

This commit is contained in:
luisc committed 2022-01-12 20:12:16 -06:00
1 parent 8919a182c5
commit b024f800ae
9 files changed
+152 -20

No files matched your search

@@ -0,0 +1,25 @@
package noppes.npcs.scripted.event;
import noppes.npcs.scripted.handler.data.IFaction;
import noppes.npcs.scripted.interfaces.IPlayer;
public class FactionEvent extends CustomNPCsEvent {
public final IFaction faction;
public final IPlayer player;
public FactionEvent(IPlayer player, IFaction faction){
this.faction = faction;
this.player = player;
}
public static class FactionPoints extends FactionEvent {
public boolean decrease;
public int points;
public FactionPoints(IPlayer player, IFaction faction, boolean decrease, int points) {
super(player, faction);
this.decrease = decrease;
this.points = points;
}
}
}