Jump to content

HELP? Making something like a tree unattackable


Recommended Posts

Actually do you know the event when a tree is hit by an axe? 

inst:ListenForEvent("working",function() inst.components.sanity:DoDelta(-10) end)

 

This works but also effects mining.

 

Look at "Strom the Tree" for a better execution of this approach. ;-)

Link to comment
Share on other sites

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...