Survivalist: Invisible Strain

Survivalist: Invisible Strain

157 个评价
SIS Pick Berries
2
2
   
奖励
收藏
已收藏
取消收藏
标签: IsMod
文件大小
发表于
更新日期
11.499 MB
2024 年 6 月 16 日 上午 9:55
2024 年 11 月 2 日 上午 7:57
4 项改动说明 ( 查看 )

订阅以下载
SIS Pick Berries

描述
What is this?
This mod makes it possible to pick different types of berries from berry bushes around the world. You will find blueberries, blackberries and redberries, which can all be eaten and used as animal bait. A tasty treat while surviving the apocalypse!

It adds three berry bush models with visible berries on them which spawn on map generation, and berries can be picked either by hand (if enabled) or using tools. You can specify the amount of berries that a particular tool will harvest. Picking the berries will destroy the berry bush.

Can be added to current saves but will need to generate a new map (Hit the Road) to spawn the berry bushes. Recommended to start a new save.

The recurring function does not work

Not tested in Story mode.

Settings
  • TimeTakenInSeconds. The time in seconds taken to pick berries. (default 3)
  • ChanceSpawnBlueBerryBush. Spawn factor for blue berry bushes. (default 0.05)
  • ChanceSpawnRedBerryBush. Spawn factor for red berry bushes. (default 0.05)
  • ChanceSpawnBlackBerryBush. Spawn factor for black berry bushes. (default 0.05)
  • MinAmountBerriesWithTool. Minimum number of berries that can be picked from a bush with a tool. (default 2)
  • MaxAmountBerriesWithTool. Maximum number of berries that can be picked from a bush with a tool. (default 4)
  • MinAmountBerriesByHand. Minimum number of berries that can be picked from a bush with your hands. (default 0)
  • MaxAmountBerriesByHand. Maximum number of berries that can be picked from a bush with your hands. (default 2)
  • RequiresTool. Whether you need to have one of the specified tools to pick berries. If disabled, you will also be able to pick berries with your bare hands. (default true)
  • Tools. The settings for all the tools can be used to pick berries. Here you can set different amounts of berries picked depending on the tool.
  • HuntingKnifeTypesAreTools. Whether all items with the HuntingKnife typename can be used to pick berries. This would mean all weapons in similar size/utility to hunting knives. (default true)

Notes
Be careful when editing the spawn factor probabilities of the bushes, as the setting is very sensitive. Recommended to keep them below 0.1.

Compatibility
Shouldn't have any incompatibilities. Report any problems in the comments section!

Credits
Erikem, Luo2430, and Bob!
19 条留言
Akimi1996 8 月 1 日 下午 12:03 
No compatible with Zedmulated
AlphaWolf 7 月 9 日 下午 2:20 
yeah its true, the bushes look weird now, Does it respawn after a certain times?
Ruiji 7 月 6 日 下午 8:42 
Hello, the v253 was not kind with your bushes prefabs, they looks weird (the alpha mask seems to not be applied)

There is this line in the update, which I think is the cause of this :
"Fix for lighting on props from asset bundles in mods being inconsistent with props from the base game using the same material settings (a little darker)"
saavedra 7 月 5 日 下午 4:05 
I really like this, but the default spawn chance is way too much, every wood patch had tons of berry bushes. Will try setting them to 0.01 and start over.
digiPixel 4 月 11 日 上午 12:50 
Mod doesn't work with game v239. The following error is displayed:

Error (v239): Load resource failed: assets/sweetcaptn/pickberries/blueberry.prefab UnityEngine.Debug:LogError (object)
dragon_0_0_0 3 月 4 日 上午 3:50 
can you adjust the hit box on berry bushes it expands further then the image and gets hit by cars
SweetCaptn  [作者] 2024 年 11 月 3 日 上午 5:38 
The same error was coming from SIS Clean Trash, should be fixed now
SweetCaptn  [作者] 2024 年 11 月 2 日 上午 7:59 
I have no clue what the error was because that exception didn't come from any of the patched functions. But I uploaded a patch with some changes, and I haven't had any errors come up. Let me know if you get another error
SweetCaptn  [作者] 2024 年 11 月 2 日 上午 6:23 
Thanks for reporting it, I'll fix it soon
WaOa 2024 年 10 月 31 日 下午 10:59 
there is an error debug:
NullReferenceException: Object reference not set to an instance of an object
at HudBehaviour.UpdateUnityActionMenu () [0x085d7] in C:\Survivalist2\Assets\Scripts\Hud\HudBehaviour.cs:3935
at GameImpl.Update () [0x01723] in C:\Survivalist2\Assets\Scripts\Game\GameImpl.cs:2278
at Launcher.Update () [0x00088] in C:\Survivalist2\Assets\Scripts\Game\Launcher.cs:213

(Filename: C:/Survivalist2/Assets/Scripts/Hud/HudBehaviour.cs Line: 3935)

Unloading 1 Unused Serialized files (Serialized files now loaded: 6)
Unloading 6177 unused Assets / (18.2 MB). Loaded Objects now: 138632.
Memory consumption went from 1.12 GB to 1.10 GB.
Total: 56.338400 ms (FindLiveObjects: 9.868500 ms CreateObjectMapping: 5.230300 ms MarkObjects: 29.694100 ms DeleteObjects: 11.544800 ms)