Project Zomboid
Оценок: 173
Vanilla Wheat Farming
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
54.079 KB
7 апр. 2023 г. в 20:52
9 апр. 2023 г. в 7:31
Обновлений: 3 (просмотреть)

Подпишитесь, чтобы загрузить
Vanilla Wheat Farming

Описание
I have been developing a new mod to replace this, as this one became broken with updates and required a rewrite. The replacement I am testing is unliisted
https://steamproxy.net/sharedfiles/filedetails/?id=3152846963

This mod allows you the ability to grow wheat and mill it into sacks of flour. It is designed to be balanced and makes use of vanilla game assets.

Wheat can be grown in the same way as other produce. Then you can use a Mortar and Pestle together with a sack to mill the wheat into flour. There are many great farming mods for the game. However, the aim of this mod is to provide a simple, vanilla, and balanced addition of wheat to the game with nothing else.

Bugfixes
Includes a bugfix for the base game, which was preventing plants from taking damage during cold temperatures
The mod has to replace some existing farming system functions with slightly modified ones. Their operation is generally completely the same, just adding handling for wheat. However one key bugfix has been applied. When the new climate system was added it broke damage to plants in winter. This mod includes a fix for this that means crops will die when covered in snow and be damaged by lower temperatures.

Specifically plants have the following damage now:
  • If the plant tile has snow on it, the plant will die.
  • If the plant tile is not in a room and the temperature is below freezing it will take damage.
  • If the plant tile is not in a room and the temperature is very below freezing it will die.

Wheat

In the mod wheat has freshness but cannot be directly eaten. It is both the seed and the vegetable from the wheat plant. It can be either planted to grow more wheat, or it can be milled into flour. It has only one mature state, not a separate maturity state like many of the plants.

How to Find
Sacks of Flour have been added to spawn tables where you would see farming supplies and sacks of produce.

How to Grow
It is grown in the same way as other produce. Wheat takes much longer to grow than the other produce. It only has one mature state, of the wheat is both the seed and the product. Five wheat is required to plant in a furrow.

Spoilage
Wheat has freshness and can go stale or even rot. It takes months for the wheat to become stale, and even longer for it to rot. To extend the life of wheat, pack into into a sack. This uses the features added in another of my mods, which adds the ability to pack produce into the sacks in the vanilla game.

https://steamproxy.net/sharedfiles/filedetails/?id=2826801787

If you have DaysForRottenFoodRemoval set to remove rotten food, note that stale food is considered by this, so any setting may delete Wheat when you are unpacking it from a sack

Making a Sack of Wheat
As noted above, you can make a sack of wheat. This lasts longer than lose wheat. This is a useful way to store wheat when you want to use it for future growing, rather than conversion into flour. The following is used to make a sack of wheat:
  • A needle*
  • An empty sack
  • 100 wheat
  • Thread
* designates the item is not consumed during crafting

Milling into Flour
This requires Cooking (level 3) and Farming (level 1) skills, as well as:
  • A mortar and pestle*
  • An empty sack
  • 100 wheat
* designates the item is not consumed during crafting

Given you require 100 wheat to make flour, you will have to grow quite a lot of wheat to be able to make a bag of flour. Each wheat plant will give you roughly 10 wheat, so you will need ten plants to mature to be able to make one bag.

Balance Notes

The sacks are consumed in the process, as empty flour does not leave a sack behind. Significant cooking and a little farming skill is required to mill the flour, and the action of milling takes considerable time.

Mod Details for Servers

The mod is fully compatible with multiplayer and be added to existing games, however wheat to begin growing will only spawn in new zones.

Workshop ID: 2959228808
Mod ID: VanillaWheatFarming
Популярные обсуждения Просмотреть все (3)
3
3 окт. 2023 г. в 16:28
GetRoom of non-table: null
Kyrox
0
21 окт. 2023 г. в 5:38
MOD BROKEN: Growth stuck in infinite loop
NerdgamerDave
0
20 июл. 2023 г. в 15:14
Translation (PL)
Eren
Комментариев: 34
Rocket  [создатель] 12 авг в 6:55 
@Cosokabe, yes, a new mod is being trialed at https://steamproxy.net/sharedfiles/filedetails/?id=3152846963

with fixes and updates. I'm testing it before updating this.
Cosokabe 12 авг в 5:32 
uhm just a stupid question this is corn not wheat you know?
Ninethousand 15 июн в 6:06 
Wondering about that too... How do you start growing wheat if you need wheat, but you can only find flour?
Nevo 15 мая в 2:54 
How do I plant it? I can find make sacks of wheat, but I never ever find any seed packages, nor can I make them..?
Rocket  [создатель] 14 мая в 7:14 
No, but I have been testing a replacement mod for this. It has wheat among some other ones. Tested working in multiplayer as well:

https://steamproxy.net/sharedfiles/filedetails/?id=3152846963

I want to do some more testing before replacing into this.
Goose 12 мая в 13:37 
does this mod still work?
I notice it hasn't been updated in like a million zillion gillion years, so i'd like to ask before downloading.
Rocket  [создатель] 28 мар в 20:01 
You can but this is a bit broken.

I have an unlisted version of this that includes Wheat and corn and has been extensively multiplayer tested.

It's currently unlisted, but it is at:
https://steamproxy.net/sharedfiles/filedetails/?id=3152846963
Morgan 28 мар в 17:42 
May I add this to my modpack?
SkinnyPeTe 30 ноя. 2023 г. в 22:07 
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1228)
at zombie.ui.UIManager.update(UIManager.java:816)
at zombie.GameWindow.logic(GameWindow.java:262)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
SkinnyPeTe 30 ноя. 2023 г. в 22:07 
ERROR: General , 1701410692558> 16 265 340> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __sub not defined for operands in onCheatGrow at KahluaUtil.fail line:82.
ERROR: General , 1701410692558> 16 265 340> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: __sub not defined for operands in onCheatGrow
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:676)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcallBoolean(KahluaThread.java:1924)