summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2025-03-06 21:01:20 +0100
committerFedja Beader <fedja@protonmail.ch>2025-03-06 20:56:30 +0000
commita812b258068a0e05aaa140b48dde2010ad996c6a (patch)
treec2fe41e2a0bfdfe8cea08ab7bbba81bedd4f64b9
parente8f2e580edce3faad8440c00f769e54706142504 (diff)
downloadserverdata-a812b258068a0e05aaa140b48dde2010ad996c6a.tar.gz
serverdata-a812b258068a0e05aaa140b48dde2010ad996c6a.tar.bz2
serverdata-a812b258068a0e05aaa140b48dde2010ad996c6a.tar.xz
serverdata-a812b258068a0e05aaa140b48dde2010ad996c6a.zip
Further clarify the map - ID map
-rw-r--r--npc/commands/event.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index 1314d1b76..eeeeddd5a 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -465,10 +465,10 @@ OnEffect:
setarray .@choices$, l("Cancel"), "-1";
// I'm not sure which IDs to use for the switch after the menu,
- // so I just encode map ID:
+ // so I just encode map ID: npc/mmm-nn-rr -> 1mmm{nn{rr}}
// First digit is 1 to avoid octal interpretation
// First part is encoded with 3 digits,
- // Second+ part of id gets encoded with 2 digits.
+ // Second+ parts of id are encoded with 2 digits.
// Passing map, x, y via printf & scanf would have worked, but
// would probably not have saved much space. And some events
// have warpto functions as they need map setup first.