Jump to content

Tent durability?


Recommended Posts

You can use the tent six times regardless of how long you sleep per time. It will always count as a use wether you sleep for 2 seconds or the entire night.

 

Actual code language confirming this; tent.lua

 

inst:AddComponent("finiteuses")
    inst.components.finiteuses:SetMaxUses(TUNING.TENT_USES)
    inst.components.finiteuses:SetUses(TUNING.TENT_USES)
    inst.components.finiteuses:SetOnFinished( onfinished )
 
And from tuning.lua regarding the amount of tent uses:
 
TENT_USES = 6,
 
 

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...