Barotrauma
109 ψήφοι
Quality Ammo Boxes LUA
   
Βραβείο
Αγαπημένο
Αγαπημένο
Μη αγαπημένο
Μέγεθος αρχείου
Αναρτήθηκε
Ενημερώθηκε
6.422 KB
29 Μαρ 2023, 9:27
1 Ιουλ 2023, 0:18
5 σημειώσεις αλλαγών ( προβολή )

Συνδρομή για λήψη
Quality Ammo Boxes LUA

ΠΕΡΙΓΡΑΦΗ
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
Δημοφιλείς συζητήσεις ΠΡΟΒΟΛΗ ΟΛΩΝ (2)
6
26 Απρ, 10:48
Bugs / Compatibility Issues
Azra
0
29 Μαρ 2023, 9:49
Feedback / Ideas
Azra
43 σχόλια
Lexington 24 Μαϊ, 6:56 
mods is working fine for me too
NitotiN 10 Μαϊ, 13:48 
Can't craft ammo box with masterwork quality
lolic_lol 16 Φεβ, 4:27 
Mod is not completely broken, but error spam in console because of this mod really unpleasant.
Agitatio 17 Οκτ 2023, 5:03 
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 Αυγ 2023, 19:18 
Mod is currently broken. Causes my game to crash after firing a shot from a gun.
Hitilit 27 Ιουλ 2023, 5:32 
OK, thx :cq2happy:
Azra  [Δημιουργός] 27 Ιουλ 2023, 4:47 
@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 Ιουλ 2023, 4:43 
?:cleanseal:
Hitilit 26 Ιουλ 2023, 5:31 
byAzrael :
Should your mod be above or below ammo mods?
Azra  [Δημιουργός] 1 Ιουλ 2023, 0:19 
@xajefontes | Ham Mafia | @Black Fixed!

Thanks @Jrant for the report :)