Items Scripts
NWN Script: cursed_items_002.htm
| Author | Sticky: Post Working Scripts Here |
| bravesfan | Posted: Monday, 22 July 07:24PM |
| script name: curseditems_oh what it does: Waits until a PC equips a certain "bait" item and then replaces the item with a cursed item and will not allow the PC to unequip it until the item is removed with a DestroyObject function. okay now for setup instructions: 1) You need 2 items for this to work, the actual cursed item with the bad properties and a bait item, with properties which will get the PC to equip it. 2) Go through my script and change all the tags to the ones you have set for your items, its pretty straightforward. The only thing that is not a tag is the "cursedarmorofneg" which is the cursed armors resref. 3) Place this in your module's onheartbeat and you should be good to go. 4) To remove the item, just create a basic script that destroys the cursed item. Ive tested this and it works fine for me, let me know if you encounter any problems...enjoy!
|
|
All Items Scripts
📄 aquire_time
📄 bead_of_force
📄 book_of_inf_spells
📄 clear_inventory
📄 clear_inventory_002
📄 clear_inventory_003
📄 clear_inventory_004
📄 cursed_items
📄 cursed_items_002
📄 cursed_potion
📄 give_xp
📄 glow_when_mob
📄 healing_belt
📄 helm
📄 hurled_weapons
📄 item_weight
📄 key_rental
📄 lore_items
📄 npc_owners
📄 random_magic
📄 retrieve_ammo
📄 scimitar_of_dancing
📄 scroll_creation
📄 spawn_item
📄 spawn_item_002
📄 spawn_item_004
📄 stone_of_recall
📄 stone_of_recall_002
📄 summon_creature
📄 teleport_item
📄 torch
📄 weapon_upgrade