饥荒联机版

饥荒联机版

42 个评价
Friendly Fruit Fly QoL
3
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
24.545 KB
2021 年 2 月 14 日 下午 9:11
2022 年 6 月 26 日 下午 2:53
4 项改动说明 ( 查看 )

订阅以下载
Friendly Fruit Fly QoL

描述
Mod featuring a collection of QoL changes to the Friendly Fruit Fly. All disabled by default - make sure you enable them from the config menu.

Options:
- Remove collision: Make it so the Friendly Fruit Fly is no longer blocked from reaching players.
- Remove blocking: Make it so the Friendly Fruit Fly no longer blocks players from tilling or placing things near it.
- Remove Unloading: Allow the fruit fly to tend to plants without anyone nearby.
- Add Health Regen: Give the Friendly Fruit Fly a 1 HP per second health regen to automatically heal off chip damage.
- Remove Sounds: Mute the fruit fly.
16 条留言
kurozawa 2022 年 6 月 26 日 上午 11:16 
Hi, I fixed the error by adding a few lines in modmain.lua (regen works now).
Can I have your permission to upload the fixed version and credit you in it?
kurozawa 2022 年 6 月 13 日 上午 5:20 
Error says attempt to index field 'health' (a nil value) in the function, 'xpcall'.

Full Error Message (happens whenever I encounter a friendly fruit fly):

[string "../mods/workshop-2396207679/modmain.lua"]:22: attempt to index field 'health' ( a nil value)
LUA ERROR stack traceback:
../mods/workshop-2396207679/modmain.lua(22,1)
= (tail call) ?
= [C] in function 'xpcall'
scripts/mods.lua(174,1) in function ' mod'
scripts/mainfunctions.lua(342,1)
kurozawa 2022 年 6 月 13 日 上午 2:36 
Please fix. It always crashes upon encountering a friendly fruit fly. I've tried disabling all other mods except this, rolling back, regenerating world, reinstalling this mod, but it still crashes. Error message says something like "attempt to index field 'health' (a nil value) LUA error stack traceback: ..." . I have a screenshot of the error screen.
MissChibiGoddess 2021 年 12 月 2 日 上午 11:43 
give it auto armor so its not so ez to kill
MissChibiGoddess 2021 年 11 月 29 日 下午 12:32 
give sanity when near by be fun mwha
Electroely  [作者] 2021 年 11 月 29 日 上午 8:31 
No problem! I'm going through my mods right now and seeing if any of them could use a little touching-up.
krylincy 2021 年 11 月 29 日 上午 8:29 
Hehe, thank you for the update!
Electroely  [作者] 2021 年 11 月 29 日 上午 8:26 
It shouldn't have any actual gameplay effect though. I'll remove it right now anyway
Electroely  [作者] 2021 年 11 月 29 日 上午 8:26 
Oh. Crap. I forgot to remove that. I was fixing another mod and got lazy and added the postinit here.
krylincy 2021 年 11 月 29 日 上午 8:25 
why have you added
AddPrefabPostInit("telebrella", function(inst) ... ?