Logica Posted March 20, 2024 Posted March 20, 2024 Hello everyone, thank you for the guides you provide. I would like to edit a vanilla function, specifically IsReloadableWeapon:fireShot() to NOT deplete a bullet from a specific weapon when firing. This comes from a custom weapon I'm making. Is there a way to alter the behaviour of this method on my mod and on this weapon specifically? Thank you very much guys! Looking forward for a reply. davbrax 1
Ichinin Posted May 7, 2024 Posted May 7, 2024 You can do an override. https://github.com/FWolfe/Zomboid-Modding-Guide/blob/master/api/README.md#overwriting-vanilla-code Hugo Qwerty 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now