Jump to content

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...