I need to implement a turn cycle for a piece of furniture to have it consume liquid over time. Is there an existing way to do this or do I read the code correctly and I’ll need to break out a cpp/h furniture file and give it an active cycle like items?
You will need to edit .cpp and .h files to do this, yes.
Here’s my https://github.com/biscuitWizard/Cataclysm-DDA fork.
So far I have the furniture in, with examine code, now I just need to add an active cycle to furniture code.
Wish me luck.
Edit: (Yes, I know I’m working in a release branch.)
If anyone wants to help, I’m making a generator. I’m trying to get it to consume fuel over time.