diff options
author | jesusalva <cpntb1@ymail.com> | 2018-03-05 21:30:08 -0300 |
---|---|---|
committer | jesusalva <cpntb1@ymail.com> | 2018-03-05 21:30:08 -0300 |
commit | 122ac66ecf0422f10105cb3b79f860c85a3cc78c (patch) | |
tree | 9900dc95f396fe4bb5033e54db3718f147806444 | |
parent | e4810f81e815e5f7a0667ac455c9d656b5187793 (diff) | |
download | serverdata-122ac66ecf0422f10105cb3b79f860c85a3cc78c.tar.gz serverdata-122ac66ecf0422f10105cb3b79f860c85a3cc78c.tar.bz2 serverdata-122ac66ecf0422f10105cb3b79f860c85a3cc78c.tar.xz serverdata-122ac66ecf0422f10105cb3b79f860c85a3cc78c.zip |
Saulc and Crazyfefe broke Server Data, so fix it
-rw-r--r-- | npc/test/rock.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/test/rock.txt b/npc/test/rock.txt index 5e1fb3c2b..75c32ad23 100644 --- a/npc/test/rock.txt +++ b/npc/test/rock.txt @@ -18,19 +18,19 @@ test,2,6,0 script rock NPC_PLAYER,{ mes l("Before start witch item do you want to play"); mes "##B" + l("Drag and drop an item from your inventory.") + "##b"; - .item = requestitem(); - if (.item < 1) + .Item = requestitem(); + if (.Item < 1) { mes l("You didn't add a item."); close; } - if (countitem(.item) < 1) + if (countitem(.Item) < 1) { mes l("You don't have the item."); close; } - delitem .item, 1; + delitem .Item, 1; goto quest_choose; } @@ -66,7 +66,7 @@ test,2,6,0 script rock NPC_PLAYER,{ else if (.choose == 3) { mes l("you win"); - getitem .item, 2; + getitem .Item, 2; close; } } @@ -86,8 +86,8 @@ test,2,6,0 script rock NPC_PLAYER,{ } else if (.choose == 1) { - mes l("you win @@",getitemlink(.item)); - getitem .item, 2; + mes l("you win @@",getitemlink(.Item)); + getitem .Item, 2; close; } } @@ -108,7 +108,7 @@ test,2,6,0 script rock NPC_PLAYER,{ else if (.choose == 2) { mes l("you win"); - getitem .item, 2; + getitem .Item, 2; close; } } |