饥荒联机版

饥荒联机版

38 个评价
Unbreakable Sewable Items
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
75.025 KB
2023 年 6 月 7 日 上午 10:00
2023 年 8 月 3 日 上午 10:00
8 项改动说明 ( 查看 )

订阅以下载
Unbreakable Sewable Items

描述
This mod prevents items that are capable of being repaired using the Sewing Kit from becoming broken. It keeps them at 0% durability and unusable until you repair them.



In the mod settings, you can turn off some mod functions and disable unbreakability for the items you want.

Sewable Items List [dontstarve.fandom.com]
Rabbit Earmuffs
Beefalo Hat
Feather Hat
Fashion Goggles
Desert Goggles
Winter Hat
Tam o' Shanter
Top Hat
Dapper Vest
Breezy Vest
Puffy Vest
Belt of Hunger
Hibearnation Vest
Umbrella
Eyebrella
Rain Hat
Rain Coat
Cat Cap
Summer Frest
Straw Hat
Thermal Stone
Bernie
Pinetree Pioneer Hat
Astroggles
Chirpy Scarf
Chirpy Cloak
Chirpy Capelet
Lucky Beast Head
Lucky Beast Body
Lucky Beast Tail
Pirate's Bandana
Captain's Tricorn
Polly Roger's Hat
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.