From 00c850e1471cdc7f9dc76aa3543fd99803757ef2 Mon Sep 17 00:00:00 2001 From: HoraK-FDF Date: Mon, 16 Oct 2023 02:50:43 +0000 Subject: Mobpt --- world/map/npc/commands/_import.txt | 1 + world/map/npc/commands/mobpoints.txt | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 world/map/npc/commands/mobpoints.txt (limited to 'world/map/npc/commands') diff --git a/world/map/npc/commands/_import.txt b/world/map/npc/commands/_import.txt index 7f85d0d4..6e2f0cc2 100644 --- a/world/map/npc/commands/_import.txt +++ b/world/map/npc/commands/_import.txt @@ -21,3 +21,4 @@ npc: npc/commands/deaths.txt npc: npc/commands/divorce.txt npc: npc/commands/exp.txt npc: npc/commands/dailypoints.txt +npc: npc/commands/mobpoints.txt diff --git a/world/map/npc/commands/mobpoints.txt b/world/map/npc/commands/mobpoints.txt new file mode 100644 index 00000000..10dc4b5b --- /dev/null +++ b/world/map/npc/commands/mobpoints.txt @@ -0,0 +1,11 @@ +-|script|@mobpoints|32767 +{ + message strcharinfo(0), "Monster Points : You currently have " + Mobpt + " Monster Points."; + close; + +OnInit: + // TODO: allow event managers to give and take monster points + registercmd chr(ATCMD_SYMBOL) + "mobpoints", strnpcinfo(0); + registercmd chr(ATCMD_SYMBOL) + "mobpoint", strnpcinfo(0); // for typos + end; +} -- cgit v1.2.3-60-g2f50