饥荒联机版

饥荒联机版

Unbreakable Sewable Items
18 条留言
༺♡༻ 6 月 20 日 上午 11:59 
please add eye mask and shield it would be great to have an infinite rechargable football hellmet
Vertical 2023 年 12 月 5 日 下午 2:11 
Seems mighty handy and even saw a discussion on Reddit covering just that concept! Much appreciated for the great work.
Coopbalt 2023 年 11 月 25 日 上午 11:00 
Hey, just stumbled upon this, looks very helpful, I'm excited to try it!

In terms of the previous message: if possible, you could try making those items "broken" at 1% or 1hp, that way the game still technically considers them usable. This would be similar to "Unequip at 1%". Again, just a thought I had, not sure if it's even possible or if it's something you'd want to try. :DSTportal:
Gabryus  [作者] 2023 年 8 月 3 日 下午 3:39 
Good idea, thanks a lot for the suggestion, it makes sense, so I tried to add that. It's not as easy as just adding those two items to the mod, because they are considered armors, unlike the other stuff fixable with the sewing kit. Anyway, I managed to do it, and it worked well, but during testing, I noticed that if I disable the mod while the Shield of Terror or Eye Mask has 0% durability inside a chest, for example, and load the world again, it crashes the game. Probably because it's not supposed a item break while inside a container. I couldn't figure out a elegant solution for this yet, so I haven't implemented that feature to avoid the risk of the mod "corrupting" someone's world. When I have a bit more time, I'll take another look at this issue.
Cringe Shaymin 2023 年 7 月 29 日 上午 6:16 
Would it be possible to add the Eye Mask and Shield of Terror to this mod? Technically they're not repairable using the sewing kit, but they can be repaired using meat but break at 0% durability anyway.
Gabryus  [作者] 2023 年 6 月 30 日 上午 10:44 
I agree that it's strange for the thermal stone to be a sewable item.
Thank you for reporting this error, this condition went unnoticed by me.
I think it's fixed now. Sorry for the inconvenience.
Ashnal 2023 年 6 月 29 日 下午 4:42 
Though, we experienced a server crash related to a heatrock becoming 0% while in a trashcan. Unsure, but this may affect chests as well. The mod does not properly check if its owner has an inventory or not.

[00:58:50]: [string "../mods/workshop-2986162476/modmain.lua"]:40: attempt to index field 'inventory' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-2986162476/modmain.lua:40 in (local) fn (Lua) <25-51>
inst = 125512 - heatrock(LIMBO) (valid:true)
data = table: 0000000040028240
owner = 112502 - trashcan (valid:true)
scripts/entityscript.lua:1152 in (method) PushEvent (Lua) <1139-1166>
Ashnal 2023 年 6 月 29 日 下午 4:41 
Sorry lol. I had no idea it was repairable with a sewing kit. Makes no sense lol.
Gabryus  [作者] 2023 年 6 月 29 日 上午 8:23 
@Ashnal
It may seem strange, but the thermal stone can be repaired with a sewing kit. It is an original feature of the game.
When the thermal stone's durability reaches 0%, it continues to change its coloration but disables the heat transfer property between itself and the player. However, it regains its normal functionality once it is repaired.
Ashnal 2023 年 6 月 27 日 下午 8:04 
Please remove the Thermal Stone, as this mod makes it essentially infinite durability, and that is an undesirable balance change imo. It isn't repairable either so it just exists at 0% forever.
Spades 2023 年 6 月 11 日 下午 2:45 
@Gabryus It is a world I have moved from dedicated serve to local host and back several times. I'll try some more.
Gabryus  [作者] 2023 年 6 月 11 日 上午 10:09 
@ArcyPaweł
I think it's fixed now.
Gabryus  [作者] 2023 年 6 月 11 日 上午 10:07 
@Spades
I don't know what might be happening with your game. I've tested it in every possible way, except for installing the mod on a dedicated server. Is that your case?
ArcyPaweł 2023 年 6 月 10 日 下午 12:35 
Some items that have more than zero durabilty cannot be equiped because of this mods. It happens mostly after reloading save
Spades 2023 年 6 月 9 日 下午 12:01 
Doesn't seem to work for me. I removed all my other mods and loaded back into my world, with a Hibearnation Vest at 2%. It disappears when it should hit zero.
Gabryus  [作者] 2023 年 6 月 8 日 上午 8:04 
Thanks for letting me know about that error. I've updated the mod, so it shouldn't happen again.
WxAaRoNxW 2023 年 6 月 7 日 下午 8:27 
to reproduce this, you have to damage the thermal stone. What did it for me was I lowered the tmp all the way to when it turns from yellow to default.
WxAaRoNxW 2023 年 6 月 7 日 下午 8:17 
Crashes, although I'm not sure if it's cause of your mod or cause one of my enabled mods is making yours crash, looks like it's having problems with 'equippable' on thermal stone I think

here's my crash log
https://pastebin.com/MSjDzJtC