# Furniture active cycle

**URL:** <https://discourse.cataclysmdda.org/t/furniture-active-cycle/6224>\
**Category:** The Toolbox\
**Created:** [May 23, 2014, 7:53am UTC](https://discourse.cataclysmdda.org/t/furniture-active-cycle/6224 "2014-05-23T07:53:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![muse](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/muse/32/1105_2.png) [@muse](https://discourse.cataclysmdda.org/u/muse)\
**Post date:** [May 23, 2014, 7:53am UTC](https://discourse.cataclysmdda.org/t/furniture-active-cycle/6224/1 "2014-05-23T07:53:17Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![i2amroy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/i2amroy/32/909_2.png) [@i2amroy](https://discourse.cataclysmdda.org/u/i2amroy)\
**Post date:** [May 23, 2014, 9:00am UTC](https://discourse.cataclysmdda.org/t/furniture-active-cycle/6224/2 "2014-05-23T09:00:34Z")

</div>

You will need to edit .cpp and .h files to do this, yes.

---

<div class="post-metadata">

**Author:** ![muse](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/muse/32/1105_2.png) [@muse](https://discourse.cataclysmdda.org/u/muse)\
**Post date:** [May 23, 2014, 3:15pm UTC](https://discourse.cataclysmdda.org/t/furniture-active-cycle/6224/3 "2014-05-23T15:15:48Z")

</div>

Here’s my [https://github.com/biscuitWizard/Cataclysm-DDA](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.
