Sets whether an item is cursed or not
Item to set cursed flag on
TRUE or FALSE
When cursed, items cannot be dropped.
This is the same as the flag as can be set in an items properties.
This doesn't stop an item being removed from their inventory slots, but it cannot be dropped on the floor, pick-pocketed or sold.
Items which are cursed and which are in a placeable cannot be "dropped" by the placeable, so cannot be removed.
Inventory containers (IE: Bags of Holding and Boxes) act like new containers for the purposes of where items can be moved to or taken from with the exception that game engine can remove and equip cursed ammunition from container.
// to TRUE on it, it will curse and plot the item.
// Check what item was acquired
object oItem = GetModuleItemAcquired();
// Check the variable
if(GetLocalInt(oItem, "CURSED") == TRUE)
// Set so it cannot be sold or removed from the inventory
author: Lilac Soul, editor: Jasperre, additional contributor(s): Jasperre