summaryrefslogtreecommitdiff
path: root/world/map/npc/commands
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2023-10-16 02:50:43 +0000
committerLed Mitz <smoothshifter@tuta.io>2023-10-16 02:50:43 +0000
commit00c850e1471cdc7f9dc76aa3543fd99803757ef2 (patch)
treecf184189923d663e7520c4f2a6a98aebe781cba1 /world/map/npc/commands
parented5b7c7df1a770d69c0f60463bd324f762daa078 (diff)
downloadserverdata-00c850e1471cdc7f9dc76aa3543fd99803757ef2.tar.gz
serverdata-00c850e1471cdc7f9dc76aa3543fd99803757ef2.tar.bz2
serverdata-00c850e1471cdc7f9dc76aa3543fd99803757ef2.tar.xz
serverdata-00c850e1471cdc7f9dc76aa3543fd99803757ef2.zip
Mobpt
Diffstat (limited to 'world/map/npc/commands')
-rw-r--r--world/map/npc/commands/_import.txt1
-rw-r--r--world/map/npc/commands/mobpoints.txt11
2 files changed, 12 insertions, 0 deletions
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;
+}