Quality Ammo Boxes+ (LUA)

If you liked this item, please rate it up on Steam Workshop page.

Author: byAzrael

Last revision: 2 Apr, 2023 at 10:20 UTC

File size: 6.14 KB

On Steam Workshop

Description:
Requires LUA for both Server AND Client

Introduction

This mod enables ALL craftable ammunition boxes to be of quality; similar to my previous mod Quality Ammo Boxes but this one supports all ammo boxes and is way more compatible with other mods, thanks to the usage of LUA.

Requirements

Features
  • Enables all ammunition boxes to be of quality.
  • Each quality level gives +10% max condition to a crafted box, making them last longer when used in turrets.
  • For crafting, the ammo boxes are considered "weapons" so any talent that gives a quality boost to that category of items will also apply to all the ammo boxes (such as the Engineer’s Weapon Artist or the Security Officer’s Weaponsmith).

Compatibility

It should be comtaible with all mods. As it only checks for ammo boxes that have the ‘ammobox’ tag on them, which should be all of them. But there are always corner cases, but for now we have not found any of them

Known mods that are compatible:

How to make other mods compatible with Quality Ammo Boxes+

If an item has either the "ammobox" or the "coilgunammobox" tag, this mod will make it so it can be crafted with quality.

If for some reason you do not want that to happen, you can add the ‘noqualityammobox’ tag to the ammo boxes you do not want to be of quality.

Known Issues
  • If a client does not have client-side LUA, the game will crash when that client tries to fire a turret with quality ammo.

FAQ

Q: I My game crashes as soon as I fire a bullet w/ a turret… Why?
A: When playing on servers, make sure LUA for Barotrauma is enabled on your client, if not, firing a turret will cause the game to crash. Info on how to install LUA for clients Here .

Q: Is there a version of this mod that does not use LUA?
A: There is ( Quality Ammo Boxes ) but it will only be compatible with the vanilla ammunition boxes and it might cause issues with other mods that modify them.

Q: I’ve installed it but my ammunition cannot be crafted of quality… Why?
A: Make sure LUA for Barotrauma is enabled for the client, if not, the ammo boxes will last longer but it will not show any changes in the UI.

Report Bugs / Compatibility Issues

Please refer to the discussion thread of the same name, it is way easier to me to manage it all that way. Thanks 🙂

Feel free to comment anything else though. Enjoy!

Check out my other mods:
Quality Ammo Boxes
Bigger Heavy Wrench
Old+New Clown Tree Talents
Old Clown Tree Talents

Download
Required items:

Click the title to search on this site.


Lua For BarotraumaSteam Workshop