Jump to content

Recommended Posts

hi all. i came again with my logs

 

i have a simple idea - to create item which allows player to replace 1 log for 4 twigs. But it won't be a container. Player should drag item on sawmill structure, and after 5 sec (and animation +sound) building should remove log and spawn 4 twigs near itself (like a pigking with his gold)

 

problem in scripts. i tried to edit meatrack, firepit, pigking prefabs and saw there "components". Dryable, Cooker etc. For pigking's items using component Tradable. But i can't understand how i can add new component for "log" without editing of original files. 

 

Should i create new component for this or it needs simple actions in prefab?

Building has 3 animations (idle, working (spinning saw) and burnt)

 

post-674378-0-40497500-1436792538_thumb.

Edited by CatalystWtrclr
Link to comment
https://forums.kleientertainment.com/forums/topic/56127-sawmill/
Share on other sites

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