diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-07-05 16:05:43 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-07-05 16:05:43 -0700 |
commit | 9f883e9770523d3ff2b2f79129cffb523419c6b6 (patch) | |
tree | 7ded7ce962db989e6d5c9c95d95a91d4012fb965 /world/map/npc/items | |
parent | 89e2ac5687d698f0843ac46612ee33b6692bbc93 (diff) | |
download | serverdata-9f883e9770523d3ff2b2f79129cffb523419c6b6.tar.gz serverdata-9f883e9770523d3ff2b2f79129cffb523419c6b6.tar.bz2 serverdata-9f883e9770523d3ff2b2f79129cffb523419c6b6.tar.xz serverdata-9f883e9770523d3ff2b2f79129cffb523419c6b6.zip |
Make fourth word of functions non-empty, to appease the current server
Diffstat (limited to 'world/map/npc/items')
-rw-r--r-- | world/map/npc/items/magic_gm_top_hat.txt | 2 | ||||
-rw-r--r-- | world/map/npc/items/purification_potion.txt | 2 | ||||
-rw-r--r-- | world/map/npc/items/require_stat.txt | 2 | ||||
-rw-r--r-- | world/map/npc/items/restricted_item.txt | 2 | ||||
-rw-r--r-- | world/map/npc/items/scissors.txt | 2 | ||||
-rw-r--r-- | world/map/npc/items/shock_sweet.txt | 2 | ||||
-rw-r--r-- | world/map/npc/items/unreleased_item.txt | 2 | ||||
-rw-r--r-- | world/map/npc/items/warpTowels.txt | 20 |
8 files changed, 17 insertions, 17 deletions
diff --git a/world/map/npc/items/magic_gm_top_hat.txt b/world/map/npc/items/magic_gm_top_hat.txt index 181df1a2..bd35846e 100644 --- a/world/map/npc/items/magic_gm_top_hat.txt +++ b/world/map/npc/items/magic_gm_top_hat.txt @@ -1,4 +1,4 @@ -function|script|ActivateMagicGMTophat| +function|script|ActivateMagicGMTophat|, { if (getgmlevel() < 60) return; getinventorylist; diff --git a/world/map/npc/items/purification_potion.txt b/world/map/npc/items/purification_potion.txt index 46dd46fd..2a8c47d3 100644 --- a/world/map/npc/items/purification_potion.txt +++ b/world/map/npc/items/purification_potion.txt @@ -1,6 +1,6 @@ // This is the function to use the PurificationPotion -function|script|usePurificationPotion| +function|script|usePurificationPotion|, { if (isat("011-1.gat", 88,67)) goto L_Wyara_Pond; diff --git a/world/map/npc/items/require_stat.txt b/world/map/npc/items/require_stat.txt index df05d37c..e16e6b24 100644 --- a/world/map/npc/items/require_stat.txt +++ b/world/map/npc/items/require_stat.txt @@ -5,7 +5,7 @@ // @minbStatVal The minimum stat value to accept this item. // ------------------------------------------------------------ -function|script|RequireStat| +function|script|RequireStat|, { if (@bStat$ == "" || @minbStatVal < 0) return; set @bStatVal, 0; diff --git a/world/map/npc/items/restricted_item.txt b/world/map/npc/items/restricted_item.txt index 0367cf5d..423b2c63 100644 --- a/world/map/npc/items/restricted_item.txt +++ b/world/map/npc/items/restricted_item.txt @@ -6,7 +6,7 @@ // @minLvl The minimum required GM level to equip this item. When not set or set to 0, it is set to 60 as a default. // ------------------------------------------------------------ -function|script|RestrictedItem| +function|script|RestrictedItem|, { if (!@minLvl) set @minLvl, 60; if (debug || getgmlevel() >= @minLvl) return; // If the active character is staff, do nothing. diff --git a/world/map/npc/items/scissors.txt b/world/map/npc/items/scissors.txt index 122254fe..71e1f52c 100644 --- a/world/map/npc/items/scissors.txt +++ b/world/map/npc/items/scissors.txt @@ -1,4 +1,4 @@ -function|script|useScissors| +function|script|useScissors|, { if (rand(3)) goto L_Change; diff --git a/world/map/npc/items/shock_sweet.txt b/world/map/npc/items/shock_sweet.txt index a4078e5f..9bcfc875 100644 --- a/world/map/npc/items/shock_sweet.txt +++ b/world/map/npc/items/shock_sweet.txt @@ -1,4 +1,4 @@ -function|script|useShockSweet| +function|script|useShockSweet|, { if (rand(5)) goto L_Change; diff --git a/world/map/npc/items/unreleased_item.txt b/world/map/npc/items/unreleased_item.txt index 14271e1a..708cc1e0 100644 --- a/world/map/npc/items/unreleased_item.txt +++ b/world/map/npc/items/unreleased_item.txt @@ -3,7 +3,7 @@ // @slotId The slot in which the item would have been equipped in. This is passed automagically when called in an equip script. // ------------------------------------------------------------ -function|script|UnreleasedItem| +function|script|UnreleasedItem|, { if (debug || getgmlevel()) end; // If the server allows equipping unreleased items or if the active character is staff, do nothing. message strcharinfo(0), "You have difficulties equipping this item, as if it is not yet fully in this world."; diff --git a/world/map/npc/items/warpTowels.txt b/world/map/npc/items/warpTowels.txt index cbbb462f..75209523 100644 --- a/world/map/npc/items/warpTowels.txt +++ b/world/map/npc/items/warpTowels.txt @@ -1,4 +1,4 @@ -function|script|useWhiteWarpTowel| +function|script|useWhiteWarpTowel|, { if (isin("botcheck.gat",25,27,51,47)) goto L_Botcheck; @@ -34,7 +34,7 @@ L_Keep: getitem "WhiteHitchhikersTowel", 1; end; } -function|script|useRedWarpTowel| +function|script|useRedWarpTowel|, { if (isin("botcheck.gat",25,27,51,47)) goto L_Botcheck; @@ -70,7 +70,7 @@ L_Keep: getitem "RedHitchhikersTowel", 1; end; } -function|script|useGreenWarpTowel| +function|script|useGreenWarpTowel|, { if (isin("botcheck.gat",25,27,51,47)) goto L_Botcheck; @@ -106,7 +106,7 @@ L_Keep: getitem "GreenHitchhikersTowel", 1; end; } -function|script|useBlueWarpTowel| +function|script|useBlueWarpTowel|, { if (isin("botcheck.gat",25,27,51,47)) goto L_Botcheck; @@ -142,7 +142,7 @@ L_Keep: getitem "BlueHitchhikersTowel", 1; end; } -function|script|useYellowWarpTowel| +function|script|useYellowWarpTowel|, { if (isin("botcheck.gat",25,27,51,47)) goto L_Botcheck; @@ -178,7 +178,7 @@ L_Keep: getitem "YellowHitchhikersTowel", 1; end; } -function|script|usePurpleWarpTowel| +function|script|usePurpleWarpTowel|, { if (isin("botcheck.gat",25,27,51,47)) goto L_Botcheck; @@ -214,7 +214,7 @@ L_Keep: getitem "PurpleHitchhikersTowel", 1; end; } -function|script|useOrangeWarpTowel| +function|script|useOrangeWarpTowel|, { if (isin("botcheck.gat",25,27,51,47)) goto L_Botcheck; @@ -250,7 +250,7 @@ L_Keep: getitem "OrangeHitchhikersTowel", 1; end; } -function|script|usePinkWarpTowel| +function|script|usePinkWarpTowel|, { if (isin("botcheck.gat",25,27,51,47)) goto L_Botcheck; @@ -286,7 +286,7 @@ L_Keep: getitem "PinkHitchhikersTowel", 1; end; } -function|script|useTealWarpTowel| +function|script|useTealWarpTowel|, { if (isin("botcheck.gat",25,27,51,47)) goto L_Botcheck; @@ -322,7 +322,7 @@ L_Keep: getitem "TealHitchhikersTowel", 1; end; } -function|script|useLimeWarpTowel| +function|script|useLimeWarpTowel|, { if (isin("botcheck.gat",25,27,51,47)) goto L_Botcheck; |