7 Days to Die

7 Days to Die

View Stats:
Argyraspides Dec 23, 2019 @ 11:17am
Underground Farming Mod?
Hey, all! Huge long-term fan of the game. Here's my question/topic for the day. Is there any mod out there, or any way to edit the XML, in such a fashion that the natural sunlight requirement for growing crops is disabled? I'm not worried about game balance or anything, but I want a few hydroponic bays in my underground vault for food and resource production.

Thanks in advance for any help or advice!
< >
Showing 1-11 of 11 comments
𝔇ave Dec 23, 2019 @ 5:09pm 
my guess would be adding these properties to the crop blocks

<property name="PlantGrowing.LightLevelGrow" value="0"/>
<property name="PlantGrowing.LightLevelStay" value="0"/>

those properties are from the mushroom which needs no light
Argyraspides Dec 24, 2019 @ 5:24am 
Update!

I adjusted the values that Dave suggested, but there's something blocking me from even placing crops underground without a direct sunlight connection. I'm hoping for a true/false value I can change to allow that.
Argyraspides Dec 24, 2019 @ 5:29am 
Currently using the feasible but very lame workaround of setting down POI crops in underground plots, leaving a sign that says when they were planted, and then returning a few days later to 'harvest' them.
𝔇ave Dec 24, 2019 @ 5:30am 
Originally posted by Argyraspides:
Update!

I adjusted the values that Dave suggested, but there's something blocking me from even placing crops underground without a direct sunlight connection. I'm hoping for a true/false value I can change to allow that.
You did put down farm plots right?
Argyraspides Dec 24, 2019 @ 5:40am 
Originally posted by Dave:
Originally posted by Argyraspides:
Update!

I adjusted the values that Dave suggested, but there's something blocking me from even placing crops underground without a direct sunlight connection. I'm hoping for a true/false value I can change to allow that.
You did put down farm plots right?

Yep, I get a red outline to the seed placement box, like this:

https://imgur.com/QV4CBvQ

For everything but Mushrooms.
Last edited by Argyraspides; Dec 24, 2019 @ 5:41am
𝔇ave Dec 24, 2019 @ 6:06am 
Originally posted by Argyraspides:
Originally posted by Dave:
You did put down farm plots right?

Yep, I get a red outline to the seed placement box, like this:

https://imgur.com/QV4CBvQ

For everything but Mushrooms.
that's weird.. did you add the properties to the particular crop you are planting?

i only tried it with the yucca plant and it worked fine
Argyraspides Dec 24, 2019 @ 7:34am 
Maybe it's the game version? I'm still playing 18.1.

I adjusted the properties you suggested under Cropsgrowingmaster, but still can't plant anything but mushrooms underground.
𝔇ave Dec 24, 2019 @ 7:37am 
Originally posted by Argyraspides:
Maybe it's the game version? I'm still playing 18.1.

I adjusted the properties you suggested under Cropsgrowingmaster, but still can't plant anything but mushrooms underground.
thats not where you add the properties..

you need to add them to individual crops in the blocks.xml

for example

<block name="plantedYucca1">
<property name="Extends" value="cropsGrowingMaster" param1="CustomIcon"/>
<property name="CreativeMode" value="Player"/>
<property name="UnlockedBy" value="perkLivingOffTheLand,plantedYucca1Schematic"/>
<property name="Material" value="Mcorn"/>
<property name="Shape" value="ModelEntity"/>
<property name="Model" value="Entities/Plants/plant_yucca_sproutPrefab"/>
<property name="PlantGrowing.Next" value="plantedYucca2"/>
<property name="Group" value="Food/Cooking"/>
<property name="PlantGrowing.LightLevelGrow" value="0"/>
<property name="PlantGrowing.LightLevelStay" value="0"/>
<drop event="Destroy" name="plantedYucca1" count="1"/>
</block>

you should only need to do this to the planted 1 crops since the others are extended
Argyraspides Dec 24, 2019 @ 8:30am 
Aaahh, thank you, I'm new at this. Will attempt, and get back to you!
Argyraspides Dec 24, 2019 @ 8:53am 
That worked! Thanks for the help Dave, +rep
Argyraspides Dec 25, 2019 @ 7:33am 
Having a slight trouble, in retrospect.

The crops grow to their second stage, but not to their harvest stage. I added the lines of text to the next level, but that didn't seem to fix it. Advice?

Cheers!
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Dec 23, 2019 @ 11:17am
Posts: 11