- Nov 16, 2006
- 140
- 0
- 62
NPC problem
My craft lady dont want to craft gems so i have writen my crafting NPC but the npc dosn't take the items out of the players bad, instead, the NPC just gives the player a gem.
Here is the script i have writen
My craft lady dont want to craft gems so i have writen my crafting NPC but the npc dosn't take the items out of the players bad, instead, the NPC just gives the player a gem.
Here is the script i have writen
Code:
[@next]
What sort of gem would you like?\
<Bravery [EMAIL="Gem?/@brav>\"]Gem?/@brav>\[/EMAIL]
<Magic [EMAIL="Gem?/@magic>\"]Gem?/@magic>\[/EMAIL]
<Soul [EMAIL="Gem?/@soul>\"]Gem?/@soul>\[/EMAIL]
<Protection [EMAIL="Gem?/@pro>\"]Gem?/@pro>\[/EMAIL]
<Evil Slayer [EMAIL="Gem?/@evil>\"]Gem?/@evil>\[/EMAIL]
[@brav]
To craft a Bravery Gem you will need.\
1x Platinum Purity 12+\
1x Nephrite Purity 12+\
1x Any Accessory\
1x Any Stone\
\
<Make Bravery [EMAIL="Gem/@brav2"]Gem/@brav2[/EMAIL]>
[@brav2]
#IF
checkitem Platinum
Checkitem Nephrite
Checkitem Accessory
Checkitem Stone
#act
Take Platinum
Take Nephrite
Take Accessory
Take Stone
Give BraveryGem
goto @exit
#ELSESAY
Sorry you are missing some indgredients.\\
<[EMAIL="Exit/@exit"]Exit/@exit[/EMAIL]>