饥荒联机版

饥荒联机版

G10MM-3R [Obby Patch]
正在显示第 1 - 4 项,共 4 项条目
更新于:2021 年 8 月 11 日 下午 10:13

Curtesy notification to go back to the original mod now that I am its maintainer

更新于:2021 年 8 月 6 日 下午 2:20

Added the ability to enable/disable harvesting of the newer Reap What You Sow crops (also includes weeds) in the user config.

The option is independent from the structures setting since farms are no longer structures. Additionally, it is independent from the rest of the exclusions.

This means that the Veggies/Fruits exclusion now only affects produce dropped on the ground. To also stop the drone from collecting unharvested crops they must be disabled explicitly using this new option.

Other general code cleanup.

更新于:2021 年 8 月 4 日 下午 6:47

TL;DR - No more beebox shenanigans

Well, that was a bit of a nightmare, as it required me to study, test, and experiment with the mod to intimately acquaint myself with how most of it works, but I managed to fix the issue where intermittently the drone would ignore the user's settings and harvest beeboxes that were not at the required level.

It ended up just being a simple missed condition in one of three copies of a function (shows how handling things this way is prone to error, hehe), but it took a long time to figure that out given how complex this mod/behaviors in DST can be.

I suspect that Farms will also need to be looked at since they're, well, completely different now, but we shall see.

The code was also further simplified and consolidated where possible (again multiple copies of the same function reduced to one function in a commonly accessible scope, etc).

更新于:2021 年 8 月 2 日 下午 5:36

Initial Release.

Fixes to Original:
- Fixed modifcation of ChildSpawner:ReleaseAllChildren. Was missing a return statement when calling the vanilla function since it has been changed since the original was last updated
- Added missing return statement in Pickable.Pick function modification, similar to the above
- General simplification of vanilla function arguments
- Consolidation of some AddPostInit style functions
- Removal of unneeded return statement in containers.widgetsetup function modification

These changes directly fix the issues this mod caused with the Webby Whistle and hopefully any other problems related to mod spawners. Since I can just now use this mod for the first time, remaining bugs will be addressed as they are found.