diff options
author | wushin <pasekei@gmail.com> | 2014-04-16 13:09:51 -0500 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2014-04-16 13:09:51 -0500 |
commit | e04e9eb0065caa6adf12ef36efbd3c5a3c5c3652 (patch) | |
tree | c57506b8665c9acc305bc6c85064bb4a7ab1fbc5 /world/map/npc/functions/undead_debug.txt | |
parent | 566297bd2b1467cf23e88bb2c0ad210b7d5a2ffa (diff) | |
parent | c84e27e10b0f6ed56ae0ee1b0ec4fe7e9d0fd507 (diff) | |
download | serverdata-e04e9eb0065caa6adf12ef36efbd3c5a3c5c3652.tar.gz serverdata-e04e9eb0065caa6adf12ef36efbd3c5a3c5c3652.tar.bz2 serverdata-e04e9eb0065caa6adf12ef36efbd3c5a3c5c3652.tar.xz serverdata-e04e9eb0065caa6adf12ef36efbd3c5a3c5c3652.zip |
Merge pull request #79 from wushin/Tile-Fixes-Map-Travelv2014.4.16
Tile map fixes sprite travel
Diffstat (limited to 'world/map/npc/functions/undead_debug.txt')
-rw-r--r-- | world/map/npc/functions/undead_debug.txt | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/world/map/npc/functions/undead_debug.txt b/world/map/npc/functions/undead_debug.txt new file mode 100644 index 00000000..4f01a78c --- /dev/null +++ b/world/map/npc/functions/undead_debug.txt @@ -0,0 +1,106 @@ +// Debug Crypts Battle + +function|script|UndeadDebug|, +{ + goto L_Main; + +L_Main: + if (@undeaddebug == 3) + goto L_UndeadDebugThree; + if (@undeaddebug == 4) + goto L_UndeadDebugFour; + if (@undeaddebug == 5) + goto L_UndeadDebugFive; + goto L_Close; + +L_UndeadDebugThree: + mes "Reset your self to the various states."; + mes "Options Limited to Time and Place."; + menu + "Get Ritual Items.", L_KrukanItems, + "Nevermind.", L_Close; + +L_UndeadDebugFour: + mes "Reset your self to the various states."; + mes "Options Limited to Time and Place."; + menu + "Get Ritual Items.", L_RazhaItems, + "Nevermind.", L_Close; + +L_UndeadDebugFive: + mes "Reset your self to the various states."; + mes "Options Limited to Time and Place."; + menu + "Get Ritual Items.", L_TeroganItems, + "Nevermind.", L_Close; + +L_InventoryNoSpace: + mes "\"Drop some weight then come back.\""; + goto L_Close; + +L_KrukanItems: + if ((checkweight("Soul", 1) == 0) + || (checkweight("Skull", 5) == 0) + || (checkweight("DarkCrystal", 5) == 0) + || (checkweight("Bone", 5) == 0) + || (@inventorylist_count == 100)) + goto L_InventoryNoSpace; + getitem "Soul", 1; + getitem "Skull", 5; + getitem "DarkCrystal", 5; + getitem "Bone", 5; + goto L_Main; + +L_RazhaItems: + if ((checkweight("Soul", 3) == 0) + || (checkweight("RottenRags", 5) == 0) + || (checkweight("UndeadEye", 5) == 0) + || (checkweight("UndeadEar", 5) == 0) + || (@inventorylist_count == 100)) + goto L_InventoryNoSpace; + getitem "Soul", 3; + getitem "RottenRags", 5; + getitem "UndeadEye", 5; + getitem "UndeadEar", 5; + goto L_Main; + +L_TeroganItems: + if ((checkweight("Soul", 5) == 0) + || (checkweight("DiseasedHeart", 5) == 0) + || (checkweight("UndeadEye", 5) == 0) + || (checkweight("UndeadEar", 5) == 0) + || (@inventorylist_count == 100)) + goto L_InventoryNoSpace; + getitem "Soul", 5; + getitem "DiseasedHeart", 5; + getitem "UndeadEye", 5; + getitem "UndeadEar", 5; + goto L_Main; + +L_Close: + close; +} + +// Debug for Krukan +027-3.gat,84,89,0|script|UndeadDebug3|155, +{ + set @undeaddebug, 3; + callfunc "UndeadDebug"; + end; +} + +// Debug for Razha +027-4.gat,76,79,0|script|UndeadDebug4|155, +{ + set @undeaddebug, 4; + callfunc "UndeadDebug"; + end; +} + +// Debug for Terogan +027-5.gat,72,26,0|script|UndeadDebug5|155, +{ + set @undeaddebug, 5; + callfunc "UndeadDebug"; + end; +} |