Drum-loaded: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
imported>Teamtotobot
m (Bot: Adding {{Mod Navbox}})
No edit summary
Line 9: Line 9:
|value      =1.2
|value      =1.2
|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 {{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.
== Rifles ==
{{#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 "BaseMagazineRifle"
| order by = MaxAmmo
}}
== Pistols ==
{{#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 "BaseMagazinePistol"
| order by = MaxAmmo
}}
}}
{{Mod Navbox}}
{{Mod Navbox}}

Revision as of 18:21, 23 January 2021

drum-loaded
Category

Magazine

Minimum item tier

3

Rarity

Uncommon

Tinkerable

yes

Tinker skill

Tinker I

Bit required

<2>

AutotinkerableCan appear spontaneously on an
item you create with tinkering.

yes

Value multiplier

1.2

ID

ModDrumLoaded

Drum-loaded: This weapon may hold 20% additional ammo.

Drum-loaded is a modification for magazine based weapons, or weapons that use lead slugs as ammo and do not use energy cells, that increases the maximum ammo they can hold by 20%, with a minimum of one.

Rifles

Error: No field named "MaxAmmo" found for any of the specified database tables.

Pistols

Error: No field named "MaxAmmo" found for any of the specified database tables.