diff options
Diffstat (limited to 'world')
-rw-r--r-- | world/map/npc/commands/_import.txt | 2 | ||||
-rw-r--r-- | world/map/npc/commands/bosspoints.txt | 11 | ||||
-rw-r--r-- | world/map/npc/commands/deaths.txt | 11 |
3 files changed, 24 insertions, 0 deletions
diff --git a/world/map/npc/commands/_import.txt b/world/map/npc/commands/_import.txt index 74fd8a1e..0242b0dc 100644 --- a/world/map/npc/commands/_import.txt +++ b/world/map/npc/commands/_import.txt @@ -17,3 +17,5 @@ npc: npc/commands/python.txt npc: npc/commands/gm.txt npc: npc/commands/automod.txt npc: npc/commands/valentine.txt +npc: npc/commands/bosspoints.txt +npc: npc/commands/deaths.txt diff --git a/world/map/npc/commands/bosspoints.txt b/world/map/npc/commands/bosspoints.txt new file mode 100644 index 00000000..d7a8e0ab --- /dev/null +++ b/world/map/npc/commands/bosspoints.txt @@ -0,0 +1,11 @@ +-|script|@bosspoints|32767 +{ + message strcharinfo(0), "Boss Points : You currently have " + BOSS_POINTS + " Boss Points."; + close; + +OnInit: + // TODO: allow event managers to give and take boss points + registercmd chr(ATCMD_SYMBOL) + "bosspoints", strnpcinfo(0); + registercmd chr(ATCMD_SYMBOL) + "bosspoint", strnpcinfo(0); // for typos + end; +} diff --git a/world/map/npc/commands/deaths.txt b/world/map/npc/commands/deaths.txt new file mode 100644 index 00000000..94189748 --- /dev/null +++ b/world/map/npc/commands/deaths.txt @@ -0,0 +1,11 @@ +-|script|@deaths|32767 +{ + message strcharinfo(0), "Deaths : You have died " + PC_DIE_COUNTER + " times in total."; + close; + +OnInit: + // TODO: allow event managers to query deaths + registercmd chr(ATCMD_SYMBOL) + "deaths", strnpcinfo(0); + registercmd chr(ATCMD_SYMBOL) + "death", strnpcinfo(0); // for typos + end; +} |