i want create an item that when used add a propriety to another item.
Like :gem of less spell failure X% .
There is a easy way to do that?
i want create an item that when used add a propriety to another item.
Like :gem of less spell failure X% .
There is a easy way to do that?
its fairly easy
1) use tagbased scripting (you should have it activated in your module - its default on)
2) open x2_it_example standard script and rename it
3) in OnActivate item event, check what the target is - is it item? is in in PC possession or on ground? if so
4) apply the property you like using AddItemProperty function
report if you stuck somewhere
The other way is to use the item property "Add item property" (not to be confused with the scripting command) and add rows to des_crft_props.2da for the additional properties you wish added. Then set the tag of the item to end in the row number for the des_crft_props.2da row it will be calling.