NPC Items with buy condition
Hi,
I'm facing some issues regarding to the NPC I added at Bloody Ice.
All items that I place at the shop says that I need Honor Rank 0 or Below to buy, and the background of the item remains red.
Here is my code:
extra_obj.enc:
Code:
<extra_stuff ID="13" filename="character\woman_pshop02.ebm" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775" > <extra_entity type="1" pos="1100,0,1100" rotate="0,210,0" scale="2,2,2" disable_cell_radius="1" stuff_id="13" name="extra_npc_099" npc_id="78" npc_tag="0" npc_type="1" />
</extra_stuff>
extra_obj_msg.enc:
Code:
<msg id="extra_npc_099" cont="Test shop" />
cabal_msg.enc:
PHP Code:
<msg id="npc01-0078" cont="Test shop" />
cabal_enc: (I have more items in the shop, but I will prevent flood)
PHP Code:
<item slot_id="0" item_id="579" option="10" reputation_class="-19" duration_id="0" price="5000000" onlypremium="0" wexpprice="0" dp="0" />
world1-npc.spc:
NPCShop.scp
Code:
870 33 0 579 10 0 0 0 -19 0 0 5000000 0 0 0 0 0 0 0 0
This is what happens:
http://i.imgur.com/eaPatSh.png
Translation:
Price: 5,000,000 alz
Extract Potion (STR)
Buy Condition: Honor Rank Class 0 or below.
Can someone help me? I need to make it with no conditions
Re: NPC Items with buy condition
Hi guys,
I still need some help here. ):
Regards,
Re: NPC Items with buy condition
Check in reputation column at npc.scp
Re: NPC Items with buy condition
Look for "MaxReputation" column in NPCShop.scp
then make it 20