summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/test/rock.txt16
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;
}
}