Barotrauma
109 évaluations
Quality Ammo Boxes LUA
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Taille du fichier
Publié le
Mis à jour le
6.422 KB
29 mars 2023 à 9h27
1 juil. 2023 à 0h18
5 notes de changement ( voir )

S'abonner pour télécharger
Quality Ammo Boxes LUA

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 Railgun Shells
Quality Ammo Boxes
Bigger Heavy Wrench
Old+New Clown Tree Talents
Old Clown Tree Talents
Discussions populaires Tout voir (2)
6
26 avr. à 10h48
Bugs / Compatibility Issues
Azra
0
29 mars 2023 à 9h49
Feedback / Ideas
Azra
43 commentaires
Lexington 24 mai à 6h56 
mods is working fine for me too
NitotiN 10 mai à 13h48 
Can't craft ammo box with masterwork quality
lolic_lol 16 févr. à 4h27 
Mod is not completely broken, but error spam in console because of this mod really unpleasant.
Agitatio 17 oct. 2023 à 5h03 
Mod is currently not broken. Doesn't cause my game to crash after firing a shot from a gun. Maybe read the description?
AeonianAura 18 aout 2023 à 19h18 
Mod is currently broken. Causes my game to crash after firing a shot from a gun.
Hitilit 27 juil. 2023 à 5h32 
OK, thx :cq2happy:
Azra  [créateur] 27 juil. 2023 à 4h47 
@Hitilit The order should not matter; I have tested it with ammo mods above and/or below and worked every time. If you have any issues with a particular order, let me know :)
Hitilit 27 juil. 2023 à 4h43 
?:cleanseal:
Hitilit 26 juil. 2023 à 5h31 
byAzrael :
Should your mod be above or below ammo mods?
Azra  [créateur] 1 juil. 2023 à 0h19 
@xajefontes | Ham Mafia | @Black Fixed!

Thanks @Jrant for the report :)