边缘世界 RimWorld

边缘世界 RimWorld

评价数不足
GrowAnywhere [Deprecated]
   
奖励
收藏
已收藏
取消收藏
Mod, 1.2
文件大小
发表于
646.000 B
2020 年 9 月 1 日 上午 9:34
1 项改动说明 ( 查看 )

订阅以下载
GrowAnywhere [Deprecated]

描述
Update 2022:
User whatamidoing has created a more advanced version of this, available here: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2818728233
There should be no reason to use this mod now, unless you want to grow potatoes in sand (an unintended but acceptable side effect).

Summary:
Allows you to add growing zones to less fertile terrain. Side effect, you can grow potatoes in sand.

Why?
I was playing a desert tribe, and noticed that Saguaro cacti could grow in sand, but I couldn't create a growing zone for sand.

How it works:
The designator tool for Growing Zones checks fertility of the tiles you click to see if you could grow a potato there. Not sure why (probably because potato is the default option).

Rather than figure out how to use Harmony transpilers to patch that method, I added an xPath patcher to set the potato's fertility requirement to 0.01. Much easier, and I don't even mind the side effect.
I did try setting it to 0.00 for the full "anywhere" in the title, but growing things in rock (or concrete) didn't seem right. Even mushrooms don't grow out of rock tiles.

Compatibility:
Should only depend on Core, you don't need Royalty or any mods.
Created in version 1.2 but would work in any version where they haven't changed the location of the potato def or how the XPath PatchOperations work.
9 条留言
evilgiraffe666  [作者] 2022 年 6 月 10 日 上午 3:20 
Thanks dude! I'm going to use yours then!
whatamidoing 2022 年 6 月 8 日 下午 7:43 
I figured out how to crudely do transpilers and did the thing:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2818728233
Now my head hurts, but I made it possible to place grow zones anywhere (no point adding the restriction on 0 fertility tiles since every plant requires more than 0 fertility) without touching the potato.
evilgiraffe666  [作者] 2022 年 5 月 30 日 上午 6:37 
Yes, absolutely. It just requires someone to figure out Harmony transpilers to patch the designator method. I couldn't be bothered, so I changed the potato. Works for me!
Gubekochi Goury 2022 年 5 月 29 日 上午 8:03 
Is there some workaround that wouldn't change potato's stats? Would it be possible to have the disignator use the Saguaro cacti instead?
bearhiderug 2021 年 11 月 22 日 下午 12:18 
ok thankyou
I just updated to 1.3 so will be doing alot of try and try
evilgiraffe666  [作者] 2021 年 11 月 22 日 下午 12:12 
Eh, I never stopped using it after the update. Seems fine, let me know if it doesn't work and I'll try to fix.
It's a very simple XML change, so it's unlikely to break, but I'll fix it if it does.
bearhiderug 2021 年 11 月 22 日 上午 11:26 
update?
does this work?
Alapma 2020 年 11 月 2 日 下午 6:09 
great idea, who grows potatoes nowdays
kotamine 2020 年 9 月 1 日 下午 1:30 
finally, thank you for this