Don't Starve Together

Don't Starve Together

Friendly Fruit Fly QoL
16 kommentarer
kurozawa 26. juni 2022 kl. 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 13. juni 2022 kl. 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 13. juni 2022 kl. 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 2. dec. 2021 kl. 11:43 
give it auto armor so its not so ez to kill
MissChibiGoddess 29. nov. 2021 kl. 12:32 
give sanity when near by be fun mwha
Electroely  [ophavsmand] 29. nov. 2021 kl. 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 29. nov. 2021 kl. 8:29 
Hehe, thank you for the update!
Electroely  [ophavsmand] 29. nov. 2021 kl. 8:26 
It shouldn't have any actual gameplay effect though. I'll remove it right now anyway
Electroely  [ophavsmand] 29. nov. 2021 kl. 8:26 
Oh. Crap. I forgot to remove that. I was fixing another mod and got lazy and added the postinit here.
krylincy 29. nov. 2021 kl. 8:25 
why have you added
AddPrefabPostInit("telebrella", function(inst) ... ?
MissChibiGoddess 19. nov. 2021 kl. 9:44 
remove them from being targeted
Electroely  [ophavsmand] 19. nov. 2021 kl. 9:08 
Great ideas! I'll get to work ASAP
MissChibiGoddess 19. nov. 2021 kl. 8:44 
can you make them have higher hp - can you make it able to mute the sounds - hp regen - etc
licet_insanire 6. mar. 2021 kl. 14:58 
thank you for this mod! I was very annoyed by the fruit fly always going back and forth, so this is very helpful. I was told that you made as fix for it by a friend, I hope it gets more visibility so more people can find this mod on their own
Atobá Azul 15. feb. 2021 kl. 11:36 
Excelent! have an award.
ADM 15. feb. 2021 kl. 0:55 
This mod right there, Klei.