8,756
edits
m (→Rifles) |
(add heavy weapons since they're eligible now) |
||
Line 10: | Line 10: | ||
|desc =&CDrum-loaded: This weapon may hold 20% additional ammo. | |desc =&CDrum-loaded: This weapon may hold 20% additional ammo. | ||
}} | }} | ||
Drum-loaded is a modification for magazine based weapons, or weapons that use | Drum-loaded is a modification for magazine based weapons, or non-bow or dart gun weapons that use physical ammo. It increases the maximum ammo they can hold by 20%, with a minimum of one. | ||
== Rifles == | == Rifles == | ||
{{#cargo_query:table=ItemsTable=IT, GeneralData=GD | {{#cargo_query:table=ItemsTable=IT, GeneralData=GD | ||
Line 37: | Line 37: | ||
| where = IT._pageNamespace = 0 AND IT._pageNamespace = 0 AND MaxAmmo > 0 AND GD.ParentObject WITHIN "BaseMagazinePistol" | | where = IT._pageNamespace = 0 AND IT._pageNamespace = 0 AND MaxAmmo > 0 AND GD.ParentObject WITHIN "BaseMagazinePistol" | ||
| order by = MaxAmmo | | order by = MaxAmmo | ||
}} | |||
== Heavy Weapons == | |||
{{#cargo_query:table=ItemsTable=IT, GeneralData=GD | |||
| join on = IT.ObjectID = GD.ObjectID | |||
| fields = CONCAT("{{favilink id{{!}}", IT.ObjectID, "}}") = Item, MaxAmmo=Ammo (base), CONCAT(CASE | |||
WHEN FLOOR(MaxAmmo*1.2) = MaxAmmo | |||
THEN | |||
MaxAmmo + 1 | |||
ELSE | |||
FLOOR(MaxAmmo*1.2) | |||
END) = Ammo (modded) | |||
| where = IT._pageNamespace = 0 AND IT._pageNamespace = 0 AND MaxAmmo > 0 AND GD.ParentObject WITHIN "BaseMagazineHeavyWeapon" | |||
| order by = MaxAmmo ASC, GD.Tier ASC | |||
}} | }} | ||
{{Mod Navbox}} | {{Mod Navbox}} |