# Can we just check for liquids rather than all items when deploying furniture?

**URL:** https://discourse.cataclysmdda.org/t/can-we-just-check-for-liquids-rather-than-all-items-when-deploying-furniture/28289
**Category:** The Garage
**Tags:** mod, experimental
**Created:** [October 28, 2022, 9:25am UTC](https://discourse.cataclysmdda.org/t/can-we-just-check-for-liquids-rather-than-all-items-when-deploying-furniture/28289 "2022-10-28T09:25:52Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![JXMs](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@JXMs](https://discourse.cataclysmdda.org/u/JXMs)
#### Post date: [October 28, 2022, 9:25am UTC](https://discourse.cataclysmdda.org/t/can-we-just-check-for-liquids-rather-than-all-items-when-deploying-furniture/28289/1 "2022-10-28T09:25:52Z")

</div>

Hello everyone,  
I am a mod developer focusing on agriculture and its related industries(like apiculture, fishery, etc.), and I generally only make mods that work in stable versions. But today, I want to try to adapt the 0.G stable version in advance, so I tried to run my mod on the experimental version.

However, I found that the experimental version no longer allows furniture to be placed on items, and this is a rather important implementation of my mod, which means that a significant number of modules in my mod do not work properly:(

The modules are implemented as follows:

 ![作物式家具变化](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/8/879bbb534a691efbf239f53194c82219508311d1.png)  
After my examination, it was a merger in December 2021 that completely destroyed this implementation: [Before deploying furniture, players need to clear the tile. by wwkk222208 · Pull Request #53724 · CleverRaven/Cataclysm-DDA · GitHub](https://github.com/CleverRaven/Cataclysm-DDA/pull/53724)  
It adds a here.has\_items( pnt ) conditional judgement to the deploy\_furn\_actor::use, which prevents me from placing furniture on the seeds.

I have very limited knowledge of the experimental version, is there any other way to make the furniture change at regular intervals without the player getting the seeds?

---

<div class="post-metadata">

### Author: ![JXMs](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@JXMs](https://discourse.cataclysmdda.org/u/JXMs)
#### Post date: [November 13, 2022, 2:27am UTC](https://discourse.cataclysmdda.org/t/can-we-just-check-for-liquids-rather-than-all-items-when-deploying-furniture/28289/2 "2022-11-13T02:27:35Z")

</div>

A little advice: [Can we just check for liquids rather than all items when deploying furniture? · Issue #62072 · CleverRaven/Cataclysm-DDA · GitHub](https://github.com/CleverRaven/Cataclysm-DDA/issues/62072)

---

<div class="post-metadata">

### Author: ![Trigon](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/trigon/32/2668_2.png) [@Trigon](https://discourse.cataclysmdda.org/u/Trigon)
#### Post date: [November 17, 2022, 4:27am UTC](https://discourse.cataclysmdda.org/t/can-we-just-check-for-liquids-rather-than-all-items-when-deploying-furniture/28289/3 "2022-11-17T04:27:38Z")

</div>

Would it be possible to look into how funnels are placed? They can be deployed similar to furniture but you can do so on top of items. I’m not a coder but that might be able to be repurposed for your needs.

---

<div class="post-metadata">

### Author: ![JXMs](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@JXMs](https://discourse.cataclysmdda.org/u/JXMs)
#### Post date: [November 17, 2022, 4:49am UTC](https://discourse.cataclysmdda.org/t/can-we-just-check-for-liquids-rather-than-all-items-when-deploying-furniture/28289/4 "2022-11-17T04:49:20Z")

</div>

I looked into the json code for the funnel and found that it is implemented by placing “trap” rather than “furniture”. And “trap” dont work like “furniture”

---

<div class="post-metadata">

### Author: ![JXMs](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@JXMs](https://discourse.cataclysmdda.org/u/JXMs)
#### Post date: [December 3, 2022, 8:11am UTC](https://discourse.cataclysmdda.org/t/can-we-just-check-for-liquids-rather-than-all-items-when-deploying-furniture/28289/5 "2022-12-03T08:11:42Z")

</div>

I have reopened the [issue](https://github.com/CleverRaven/Cataclysm-DDA/issues/62072) and fix PR is [here](https://github.com/CleverRaven/Cataclysm-DDA/pull/62089)
