diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-02-08 21:24:30 -0500 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-02-08 21:24:30 -0500 |
commit | d9cd196c2f7b856c16a8b435cc3090436ec298d2 (patch) | |
tree | e66ed8c462c1a7358277787343e59a9ce5589e7f /world/map/npc/functions/gm_island.txt | |
parent | 062fb12c6386d2ac2c5e4f1dc8cf7596e11c82c1 (diff) | |
parent | ec011e27ec8459277563222d94c4cf981d752d11 (diff) | |
download | serverdata-d9cd196c2f7b856c16a8b435cc3090436ec298d2.tar.gz serverdata-d9cd196c2f7b856c16a8b435cc3090436ec298d2.tar.bz2 serverdata-d9cd196c2f7b856c16a8b435cc3090436ec298d2.tar.xz serverdata-d9cd196c2f7b856c16a8b435cc3090436ec298d2.zip |
Merge pull request #455 from mekolat/headstyle-genderv2016.2.9
3rd gender, new races
Diffstat (limited to 'world/map/npc/functions/gm_island.txt')
-rw-r--r-- | world/map/npc/functions/gm_island.txt | 33 |
1 files changed, 30 insertions, 3 deletions
diff --git a/world/map/npc/functions/gm_island.txt b/world/map/npc/functions/gm_island.txt index 89c0790a..1bd7b5e9 100644 --- a/world/map/npc/functions/gm_island.txt +++ b/world/map/npc/functions/gm_island.txt @@ -16,11 +16,12 @@ function|script|GmWarp } function|script|GmDebug { - mes "[Gm Debug]"; + mes "[GM Debug]"; mes "What do you want to do?"; menu - "Start Event.", L_GmStart, - "Stop Event.", L_GmStop; + "Open Event Portals.", L_GmStart, + "Close Event Portals.", L_GmStop, + "Disguise.", L_Disguise; L_GmStart: enablenpc "Gm Event#1"; @@ -33,6 +34,32 @@ L_GmStop: disablenpc "Gm Event#2"; disablenpc "Gm Event#3"; return; + +L_Disguise: + npcaction 9; + mes "[GM Debug - Disguise]"; + mes "The Disguise function allows GMs to disguise themselves as mobs or npcs."; + mes "---"; + mes "Mob IDs: [@@https://www.themanaworld.org/index.php/Monster_Reference|Monster Reference@@]"; + mes "You can either logout or use id ##B0##b to reset."; + mes "---"; + mes "Please input the mob ID:"; + input @disguise_id; + if (@disguise_id < 1000 || @disguise_id > 32767) + goto L_ResetClass; + mes "Your disguise has been changed."; + if (Class <= 5) + set @old_class, Class; + set Class, @disguise_id; + mes ""; + mes "For technical reasons, you are not able to see your own disguise, but other players will see it."; + return; + +L_ResetClass: + mes "Your appearance has been reset."; + set Class, if_then_else(@old_class, @old_class, 1); + callfunc "fixHeadStyles"; + return; } 001-1,49,68,0|script|Gm Event#1|368,0,0 { |