Project Zomboid

Project Zomboid

Weapons Condition Indicator B42+
11 Comments
Carefully_Chillin 10 Jul @ 5:40pm 
Bug that makes it so it tries to check the condition of a water bottle or walkie when attached to a piece of webbing, generating infinite errors
Slayer 4 Jul @ 1:33pm 
can you fix one thing that produces many errors with other mods, its something that b41 mod had too ,

Lua events OnEquipPrimary, OnEquipSecondary are triggered not onlty when player equips something, but when any character is equipped with a weapon, that includes zombies too.

so if i give weapons to bandits (who are zombies) then this is cought by your hooks and treated as player and then generates errors. please add check that the character in the functions is "IsoPlayer".

If you look to documentation those lua events take IsoGameCharacter as a parameter so its a code smell to expect IsoPlayer without a check.
Albert 4 Jul @ 3:38am 
This mod has been one of many must have mods in B41 but as of B42, there's an mod that does it better https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3461263912&searchtext=condition

o7
goodbye Weapons Condition Indicator
o7
Goatroach 12 Apr @ 2:29am 
I like it, but it doesn't play well with other mods.
This mod causes thousands of errors to generate if you try to equip a flashlight to the tier 3 Alice bag from AuthenticZ mod, for example.
Luke42  [author] 9 Apr @ 8:12am 
instance

Unfortunately , B42 added a new animation mechanics, so i'll have to rewrite the mod from the ground up to make it happen, i don't have the skill or time to do this, sorry...
Luke42  [author] 8 Apr @ 9:45am 
nononon yes its the same mod, didnt know somebody else had already updated it
instance 8 Apr @ 5:03am 
Add True dancing pls
Idke_e 8 Apr @ 12:46am 
thx buddy :NekoHappy:
chuan 7 Apr @ 4:23pm 
Awesome!!!!!! I love this module.Thank you very much for the update!:steamthumbsup::steamthumbsup::steamthumbsup: