Project Zomboid

Project Zomboid

390 个评价
Canteen Slot (wear canteen & bandolier at same time)
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
207.135 KB
2024 年 12 月 27 日 上午 12:25
2 月 23 日 下午 6:34
4 项改动说明 ( 查看 )

订阅以下载
Canteen Slot (wear canteen & bandolier at same time)

描述
B42 adds two whiskey containers that can be worn on the body; the western canteen and the crafted leather water bag. (I've also heard rumors you can fill them with water instead of alcohol, if that's what you're into)

Because they used the AmmoStrap body location they can't be worn at the same time as the rather helpful bandoliers of bullets/shotgun shells.

This mod moves them to a new CanteenSling slot, meaning you no longer need to choose between hydration and firepower.

This mod is for B42 only.


Updated items:

Western Canteen
Leather Water Bag

This mod does not affect other vanilla canteens which can not be equipped, just those two new items.




Workshop ID: 3393080905
Mod ID: NepCanteenSlot
44 条留言
B1ackCat 9 月 27 日 上午 11:42 
Nepenthe, thank you so much for this mod! we will waiting for your hotfix!
Nepenthe  [作者] 9 月 27 日 上午 1:12 
42.12 changed the way BodyLocationGroup.getOrCreateLocation() works so instead of just using a string (making it easy to add a new value) it new relies on a enum that is locked away in java. Hopefully there's still a viable way to add locations in this new system, but I'll need to hunt around to figure that out (or wait for someone else to figure it out and borrow their solution!)
Cyrisa 9 月 26 日 下午 3:39 
like others mentioned 42.12 breaks the mod due to adding new body locations. much sad



Callframe at: getOrCreateLocation
function: NepCanteenBodyLocations.lua -- file: NepCanteenBodyLocations.lua line # 10 | MOD: Nepenthe's Dedicated Canteen Slot
java.lang.RuntimeException:
at se.krka.kahlua.integration.expose.MethodArguments.assertValid(MethodArguments.java:133)
acottonsock 9 月 25 日 下午 11:21 
Thought I was going crazy.... Glad to know I didn't break my own game. Seems the most update broke this mod.
`Callframe at: getOrCreateLocation function: NepCanteenBodyLocations.lua -- file: NepCanteenBodyLocations.lua line # 10 | MOD: Nepenthe's Dedicated Canteen Slot java.lang.RuntimeException: at se.krka.kahlua.integration.expose.MethodArguments.assertValid(MethodArguments.java:133) at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:198) at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:191)
Yakruna 9 月 25 日 上午 11:35 
Same problems as @Isaby
Isaby 9 月 25 日 上午 9:38 
Haven't done much testing, but this mod appears to break in some capacity with the new unstable build (42.12.0)
Loading into an old save had my waterskin start out as unequipped, and the error box kept ticking up when I tried to wear it again, which failed each time (also happened to a round canteen)
Please let me know if there are any more specific details you might need!
Raiden 6 月 7 日 下午 4:01 
Hey, can you make a mod that adds a specific eyepatch slot? I always wear an eyepatch but have to take it off every time i want to wear glasses, masks, etc.
Nepenthe  [作者] 2 月 25 日 下午 11:54 
@hoshie not just by tagging the item; wearable items are different to generic items that can be put on the hotbar.

What you could do is something along the lines of: a make a mod that adds a new "canteen on sling" item that you can craft from a canteen and a belt that uses this slot.
hoshie 2 月 20 日 上午 5:50 
Hi Nepenthe, thanks for the mod. Quick question: Is it possible to "tag" the normale Base.Canteen so it also fits in the special slot ? I mean this one from vanilla: https://imgur.com/a/ej5fQUM
Nepenthe  [作者] 2 月 17 日 下午 3:28 
@Guillerotico that would need an extra model for the mirrored bandolier as well as a new BodyLocation, but it is a good idea. I'm not sure if the bonuses to reload speed would stack, but if not you could have one for bullets and one for shells. Or just use two for fashion purposed.