Project Zomboid

Project Zomboid

390 vurderinger
Canteen Slot (wear canteen & bandolier at same time)
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Filstørrelse:
Offentliggjort:
Opdateret:
207.135 KB
27. dec. 2024 kl. 0:25
23. feb. kl. 18:34
4 ændringsbemærkninger ( vis )

Abonner for at downloade
Canteen Slot (wear canteen & bandolier at same time)

Beskrivelse
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 kommentarer
B1ackCat 27. sep. kl. 11:42 
Nepenthe, thank you so much for this mod! we will waiting for your hotfix!
Nepenthe  [ophavsmand] 27. sep. kl. 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 26. sep. kl. 15: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 25. sep. kl. 23: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 25. sep. kl. 11:35 
Same problems as @Isaby
Isaby 25. sep. kl. 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 7. juni kl. 16: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  [ophavsmand] 25. feb. kl. 23: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 20. feb. kl. 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  [ophavsmand] 17. feb. kl. 15: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.