Drum-loaded: Difference between revisions

1,075 bytes added ,  20:30, 16 June 2022
m
wording/clarity
m (wording/clarity)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Mod
{{Mod
|title     ={{qud text|drum-loaded}}
| title             = {{qud text|drum-loaded}}
|type       =Magazine
| type               = Magazine
|id         =ModDrumLoaded
| id                 = ModDrumLoaded
|rarity     =U
| rarity             = U
|mintier   = 3
| mintier           = 3
|tinkerable =yes
| tinkerable         = yes
|tinkertier =2
| tinkertier         = 2
|value     =1.2
| value             = 1.2
|desc       =&CDrum-loaded: This weapon may hold 20% additional ammo.
| empsensitive      = no
| powerloadsensitive = no
| realitydistortion  = no
| desc               = &CDrum-loaded: This weapon may hold 20% additional ammo.
| gameversion        = 2.0.201.114
}}
}}
Drum-loaded is a modification for magazine based weapons, or weapons that use {{favilink|lead slug|plural}} as ammo and do not use energy cells, that increases the maximum ammo they can hold by 20%, with a minimum of one.
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 increase of one.
== Rifles ==
== Eligible Equipment ==
{{#cargo_query:table=ItemsTable=IT, GeneralData=GD
<div style="display:flex;flex-wrap:wrap;">
| join on = IT.ObjectID = GD.ObjectID
<div style="margin-right: 2.5em;">
| fields = CONCAT("{{favilink id{{!}}", IT.ObjectID, "}}") = Item, MaxAmmo=Ammo (base), CONCAT(CASE
=== Rifles ===
   WHEN FLOOR(MaxAmmo*1.2) = MaxAmmo
{{#cargo_query:table=ItemsTable=IT, GeneralData=GD, MissileWeaponData=MWD
| join on = IT.JoinKey=GD.JoinKey, IT.JoinKey=MWD.JoinKey
| fields = CONCAT("{{favilink id{{!}}", IT.ObjectID, "}}") = Item, MWD.MaxAmmo=Ammo (base), CONCAT(CASE
   WHEN FLOOR(MWD.MaxAmmo*1.2) = MWD.MaxAmmo
   THEN
   THEN
     MaxAmmo + 1
     MWD.MaxAmmo + 1
   ELSE
   ELSE
     FLOOR(MaxAmmo*1.2)
     FLOOR(MWD.MaxAmmo*1.2)
END) = Ammo (modded)
END) = Ammo (modded)
| where = IT._pageNamespace = 0 AND IT._pageNamespace = 0 AND MaxAmmo > 0 AND  GD.ParentObject WITHIN "BaseMagazineRifle"
| where = IT._pageNamespace = 0 AND IT._pageNamespace = 0 AND MWD.MaxAmmo > 0 AND  GD.ParentObject WITHIN "BaseRifle"
| order by = MaxAmmo ASC, GD.Tier ASC
| order by = MWD.MaxAmmo ASC, GD.Tier ASC
}}
}}
 
</div>
== Pistols ==
<div style="margin-right: 2.5em;">
{{#cargo_query:table=ItemsTable=IT, GeneralData=GD
=== Pistols ===
| join on = IT.ObjectID = GD.ObjectID
{{#cargo_query:table=ItemsTable=IT, GeneralData=GD, MissileWeaponData=MWD
| fields = CONCAT("{{favilink id{{!}}", IT.ObjectID, "}}") = Item, MaxAmmo=Ammo (base), CONCAT(CASE
| join on = IT.JoinKey=GD.JoinKey, IT.JoinKey=MWD.JoinKey
   WHEN FLOOR(MaxAmmo*1.2) = MaxAmmo
| fields = CONCAT("{{favilink id{{!}}", IT.ObjectID, "}}") = Item, MWD.MaxAmmo=Ammo (base), CONCAT(CASE
   WHEN FLOOR(MWD.MaxAmmo*1.2) = MWD.MaxAmmo
   THEN
   THEN
     MaxAmmo + 1
     MWD.MaxAmmo + 1
   ELSE
   ELSE
     FLOOR(MaxAmmo*1.2)
     FLOOR(MWD.MaxAmmo*1.2)
END) = Ammo (modded)
END) = Ammo (modded)
| 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 MWD.MaxAmmo > 0 AND  GD.ParentObject WITHIN "BaseMagazinePistol"
| order by = MaxAmmo
| order by = MWD.MaxAmmo
}}
}}
</div>
<div style="margin-right: 2.5em;">
=== Heavy Weapons ===
{{#cargo_query:table=ItemsTable=IT, GeneralData=GD, MissileWeaponData=MWD
| join on = IT.JoinKey=GD.JoinKey,IT.JoinKey=MWD.JoinKey
| fields = CONCAT("{{favilink id{{!}}", IT.ObjectID, "}}") = Item, MWD.MaxAmmo=Ammo (base), CONCAT(CASE
  WHEN FLOOR(MWD.MaxAmmo*1.2) = MWD.MaxAmmo
  THEN
    MWD.MaxAmmo + 1
  ELSE
    FLOOR(MWD.MaxAmmo*1.2)
END) = Ammo (modded)
| where = IT._pageNamespace = 0 AND IT._pageNamespace = 0 AND MWD.MaxAmmo > 0 AND  GD.ParentObject WITHIN "BaseMagazineHeavyWeapon"
| order by = MWD.MaxAmmo ASC, GD.Tier ASC
}}
</div>
</div>
{{Mod Navbox}}
{{Mod Navbox}}