Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scriptname BALSCraftItem extends ObjectReference
- {Removes the crafted item, passes time and then enables specified items}
- ObjectReference Property EnableRef Auto
- {One of the references to be enabled}
- MiscObject Property CraftItem Auto
- {This targets the item the script is attached to so it may be removed from your inventory}
- Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
- EnableRef.enable(true)
- Game.GetPlayer().RemoveItem(CraftItem,1,True)
- BalsController.LightsBuiltCheck(EnableRef)
- Return
- EndEvent
Advertisement
Add Comment
Please, Sign In to add comment