• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Item self destruct? Or temporary items?

sbangs007

Refugee
anyone know if its possible to put a lifespan on an item? Good for having players test an item on a dedicated server and be able to take it back or destroy it, so players dont keep it?

Thanks

 
I don't know of any way to do it with commands but You could create a copy of an item like say the shotgun, name it test shotgun or something. Then give it the <property name="DegradationBreaksAfter" value="true"/> and remove the repair tools property. You can also adjust the degradation max to limit how many times they can use it.

 
I don't know of any way to do it with commands but You could create a copy of an item like say the shotgun, name it test shotgun or something. Then give it the <property name="DegradationBreaksAfter" value="true"/> and remove the repair tools property. You can also adjust the degradation max to limit how many times they can use it.
hmm.. that may work for me actually.. ok thanks for the help.

 
Back
Top