summaryrefslogtreecommitdiff
path: root/npc/craft/options.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/craft/options.txt')
-rw-r--r--npc/craft/options.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt
index 8e6d61edd..6a4c9a970 100644
--- a/npc/craft/options.txt
+++ b/npc/craft/options.txt
@@ -751,15 +751,15 @@ function script CsysNpcCraft {
// Apply the bonuses if needed
if (.@opt1)
- setitemoptionbyindex(.@it, 0, .@opt1, .@val1);
+ setitemoptionbyindex(.@index, 0, .@opt1, .@val1);
if (.@opt2)
- setitemoptionbyindex(.@it, 1, .@opt2, .@val2);
+ setitemoptionbyindex(.@index, 1, .@opt2, .@val2);
if (.@opt3)
- setitemoptionbyindex(.@it, 2, .@opt3, .@val3);
+ setitemoptionbyindex(.@index, 2, .@opt3, .@val3);
if (.@opt4)
- setitemoptionbyindex(.@it, 3, .@opt4, .@val4);
+ setitemoptionbyindex(.@index, 3, .@opt4, .@val4);
if (.@opt5)
- setitemoptionbyindex(.@it, 4, .@opt5, .@val5);
+ setitemoptionbyindex(.@index, 4, .@opt5, .@val5);
return;
}