Jump to content

Recommended Posts

You can also check out the code for the vanilla pinecone and see exactly how it works. \Don't Starve Together\data\scripts\prefabs\pinecone.lua would be the place to start. Then planted_tree.lua in the same folder.
Basically it's just that the pinecone creates a planted tree after the planting action, and the planted tree uses a timer component to do the replacement with an actual tree after a certain amount of time has passed. You can check it all out in detail in the files.

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