Template:Gear List/doc

From RimWorld Wiki
< Template:Gear List
Revision as of 18:40, 17 August 2024 by JuliaCat (talk | contribs) (nicer tables and overview cleanup)
Jump to navigation Jump to search

Overview

Planned to be used for pawn kind tables: for displaying the available apparel, weapons, and tech hediffs based on tags, budget, and other encompassing factors.

The current design uses a subtemplate to format the items from an #ask query: as a list consisting of an icon, text link, and applicable DLC icon for each item

This formatting template (Gear List/Items) is located on a subpage for individual use, while this main page (Gear List) holds an #ask query based template (not unlike Template:Tag List) that uses (Gear List/Items) to produce an output similar to Template:Icon List. Both the template page and subpage are modified versions of the corresponding templates.

An item budget can be applied to this query via an acceptable market value range, although for applicable items, quality and stuff would need to be factored in per item or otherwise ignored.

If item quality and applicable stuff is factored in, then this combined with the budget range for one or more items, and a variable amount of item tags, wouldn't allow for an easy to implement template. Tech hediffs remain the simplest in having only one associated market value per item, allowing for a proper application of budget.

Examples

Examples of just using the subpage template formatting:

{{Gear List/Items|Nerve spiker}}

Nerve spiker.png Nerve spiker Content added by the Anomaly DLC

{{#ask: [[WeaponTags::ShortShots||Neolithic]]
| format = template
| template = Gear List/Items
| link = none
| default = None
| limit = 10
| sort = Layer,Tags,Market Value Base,WeaponTags,TechHediffsTags,From DLC
| sep = ,<br />
}}

ShortBow.png Short bow,
Flamebow.png Flamebow Content added by the Biotech DLC,
RecurveBow.png Recurve bow,
GreatBow.png Greatbow,
Pila.png Pila,
Machine pistol.png Machine pistol,
Pump shotgun.png Pump shotgun,
HeavySMG.png Heavy SMG,
ChainShotgun.png Chain shotgun


Examples of using the combined formatting and template:

{{Gear List|budget=1000|WeaponTags|Gun}}

Revolver.png Revolver, Autopistol.png Autopistol, Machine pistol.png Machine pistol, Bolt-action rifle.png Bolt-action rifle, Pump shotgun.png Pump shotgun, Incendiary launcher.png Incendiary launcher, HeavySMG.png Heavy SMG, ChainShotgun.png Chain shotgun, LMG.png LMG... further results

{{Gear List|WeaponTags|ShortShots|Neolithic}}

ShortBow.png Short bow, Flamebow.png Flamebow Content added by the Biotech DLC, RecurveBow.png Recurve bow, GreatBow.png Greatbow, Pila.png Pila, Machine pistol.png Machine pistol, Pump shotgun.png Pump shotgun, HeavySMG.png Heavy SMG, ChainShotgun.png Chain shotgun

Budget

Budget applies to the 3 main tag categories, and is a variable range in total market value available to a pawn to 'spend' for applicable items. It does not mean that the market value of an item or items must be above the minimum of this range, just that the sum value of the chosen item(s) isn't over the maximum (i.e. spending over the budget).

Tech hediffs all have a fixed market value, or none at all (e.g. Denture), and so allow for the easiest calculation. By default, only 1 available tech hediff can be applied to the pawn unless explicitly stated.

Apparel value can depend on quality and stuffable material used, meaning the range for possible outcomes is too large for many textile based clothing, but remains simpler for most armors. All utility items are not stuffable, and most do not have quality, so they remain much less variable, although most utility items will be forced and thus remain a static cost[verify], aside from the few utility items that can have quality (Shield belt, Jump pack). Pawns are highly likely to be wearing multiple articles of clothing, and so calculating all possible outcomes is not viable.

Most weapons are not stuffable, and those that are have a much more limited item pool compared to clothing. Ranged weapons are not stuffable and only depend on quality for price, while most craftable melee weapons are stuffable. The Club doesn't use quality, but remains stuffable. Pawns are only equipped with one weapon, so this budget will only apply to one final item.

Quality

By default, the item quality of any given pawn kind is capped at excellent quality, excluding masterwork and legendary, allowing for a range of: awful, poor, normal, good, and excellent (awfl - exc), unless otherwise stated. For our purposes, quality would only apply to most apparel and weapons, excluding any kind of hediff.

For reference, here are the full length and shorthand strings for quality categories:

  • awful (awfl)
  • poor (poor)
  • normal (norm)
  • good (good)
  • excellent (exc)
  • masterwork (mast)
  • legendary (legd)

Stuff

Applicable for certain weapons and apparel.

Stuff category Materials
Leathery Bearskin, Birdskin, Bluefur, Camelhide, Chinchilla fur, Dog leather, Elephant leather, Foxfur, Guinea pig fur, Heavy fur, Human leather, Lightleather, Lizardskin, Panthera fur, Patchleather, Pigskin, Plainleather, Rhinoceros leather, Thrumbofur, Wolfskin, Dread leather Content added by the Anomaly DLC
Fabric Alpaca wool, Bison wool, Cloth, Devilstrand, Hyperweave, Megasloth wool, Muffalo wool, Sheep wool, Synthread
Woody Wood
Metallic Gold, Plasteel, Silver, Steel, Uranium, Bioferrite Content added by the Anomaly DLC
Stony Granite blocks, Jade, Limestone blocks, Marble blocks, Sandstone blocks, Slate blocks
Bioferrite Content added by the Anomaly DLC Bioferrite Content added by the Anomaly DLC

Note that, despite being full categories of their own, currently the only material in the Woody category is Wood and the only material in the Bioferrite category is Bioferrite. Notably, Bioferrite is also in the Metallic category.

Apparel

Apparel may have quality and/or stuffability. A lot of Pawn Kinds will have Required, Disallowed, or otherwise incompatible apparel items, based on a mix of factors like Layer, Coverage, and Tags. This means that a lot of additional filters must be put into place in the #ask query, making the combined template less practical.

Apparel Table

ApparelTagsApprox. ValueHas QualityStuff TagsLayerCoverage
Kid helmetIndustrialMilitaryBasictrueMetallicHeadgearHead, Left Ear, Right Ear
SoilSoil
Kid romperIndustrialBasictrueFabric
Leathery
SkinTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg
Top hatRoyal
RoyalTier2
trueLeathery
Fabric
HeadgearHead, Left Ear, Right Ear
JacketIndustrialAdvancedtrueLeathery
Fabric
OuterTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm
BroadwrapNeolithictrueFabricHeadgearNeck, Head, Left Eye, Right Eye, Left Ear, Right Ear, Nose, Jaw, Left Shoulder, Right Shoulder
Stellic crownRoyal
RoyalTier7
trueMetallicHeadgearHead, Left Ear, Right Ear
TuqueIndustrialBasictrueFabricHeadgearHead, Left Ear, Right Ear
Kid parkaIndustrialBasic
Neolithic
trueLeathery
Fabric
OuterTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm
Formal vestRoyal
RoyalTier5
trueLeathery
Fabric
MiddleTorso
Button-down shirtIndustrialBasictrueLeathery
Fabric
SkinTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm
HeadwrapNeolithictrueFabricHeadgearHead, Left Ear, Right Ear
Heavy bandolierApparel_YttakintrueFabric
Leathery
OuterTorso
Simple helmetIndustrialMilitaryBasictrueMetallicHeadgearHead, Left Ear, Right Ear
Formal shirtRoyal
RoyalTier2
trueLeathery
Fabric
SkinTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm
Cowboy hatIndustrialBasic
Western
trueLeathery
Fabric
HeadgearHead, Left Ear, Right Ear
Ceremonial hoodHoraxianCeremonialtrueFabricHeadgearHead, Left Eye, Right Eye, Left Ear, Right Ear, Nose, Jaw
Kid pantsIndustrialBasictrueLeathery
Fabric
SkinLeft Leg, Right Leg
CoronetRoyal
RoyalTier5
trueMetallicHeadgearHead, Left Ear, Right Ear
T-shirtIndustrialBasictrueLeathery
Fabric
SkinTorso, Left Shoulder, Right Shoulder
HoodBestowerHoodtrueFabric
Leathery
HeadgearHead, Left Ear, Right Ear
Visage maskNeolithictrueWoody
Metallic
HeadgearHead, Left Eye, Right Eye, Left Ear, Right Ear, Nose, Jaw
SashApparel_YttakintrueFabric
Leathery
MiddleTorso
Prestige robeRoyal
RoyalRobe
RoyalTier6
trueLeathery
Fabric
OuterTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg
PantsIndustrialBasictrueLeathery
Fabric
SkinLeft Leg, Right Leg
CrownRoyal
RoyalTier6
trueMetallicHeadgearHead, Left Ear, Right Ear
Plate armorMedievalMilitarytrueMetallic
Woody
Middle, OuterTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg
Kid shirtIndustrialBasictrueFabric
Leathery
SkinTorso, Left Shoulder, Right Shoulder
CorsetRoyal
RoyalTier5
trueLeathery
Fabric
MiddleTorso
Bowler hatIndustrialBasic
Western
trueLeathery
Fabric
HeadgearHead, Left Ear, Right Ear
CapeCape
Royal
RoyalTier2
RoyalTier5
trueLeathery
Fabric
OuterTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg
Kid tribalwearNeolithictrueLeathery
Fabric
SkinTorso, Left Leg, Right Leg
Lichen-covered soilSoil
Ladies hatRoyal
RoyalTier2
trueLeathery
Fabric
HeadgearHead, Left Ear, Right Ear
DusterIndustrialAdvancedtrueLeathery
Fabric
OuterTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg
TribalwearNeolithictrueLeathery
Fabric
SkinTorso, Left Leg, Right Leg
Flak helmetIndustrialMilitaryAdvancedtrueMetallicHeadgearHead, Left Ear, Right Ear
BeretRoyal
RoyalTier2
RoyalTier3
trueLeathery
Fabric
HeadgearHead, Left Ear, Right Ear
ParkaIndustrialBasic
Neolithic
trueLeathery
Fabric
OuterTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm
Ritual maskHoraxian46trueBioferriteHeadgearHead, Left Eye, Right Eye, Left Ear, Right Ear, Nose, Jaw
Gas maskIndustrialBasic106trueHeadgearHead, Left Eye, Right Eye, Left Ear, Right Ear, Nose, Jaw
Tox packBeltDefenseTox132BeltWaist
Firefoam pop packBeltDefensePop143BeltWaist
Smokepop packBeltDefensePop166BeltWaist
Flak vestIndustrialMilitaryBasic225trueMiddleTorso, Neck, Left Shoulder, Right Shoulder
Flak pantsIndustrialMilitaryBasic225trueSkin, MiddleLeft Leg, Right Leg
Psychic foil helmetIndustrialMilitaryAdvanced
IndustrialMilitaryBasic
SpacerMilitary
250trueHeadgearHead, Left Ear, Right Ear
Flak jacketIndustrialAdvanced290trueOuterTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm
GunlinkGunlink345falseHeadgearHead, Left Ear, Right Ear
Shield beltBeltDefense390trueBeltWaist
Eltex shirtPsychic400trueSkinTorso, Left Shoulder, Right Shoulder
Low-shield packBeltDefensePop430BeltWaist
Eltex helmetPsychic500trueHeadgearHead, Left Ear, Right Ear
Eltex skullcapPsychic500trueHeadgearHead, Left Ear, Right Ear
Eltex vestPsychic500trueMiddleTorso, Neck, Left Shoulder, Right Shoulder
Recon helmetSpacerMilitary525trueHeadgearHead, Left Eye, Right Eye, Left Ear, Right Ear, Nose, Jaw
Eltex robePsychic600trueOuterTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg
Marine helmetSpacerMilitary635trueHeadgearHead, Left Eye, Right Eye, Left Ear, Right Ear, Nose, Jaw
Jump packPackJump645trueBeltWaist
Prestige recon helmetPrestigeCombatGear715trueHeadgearHead, Left Eye, Right Eye, Left Ear, Right Ear, Nose, Jaw
Prestige marine helmetPrestigeCombatGear850trueHeadgearHead, Left Eye, Right Eye, Left Ear, Right Ear, Nose, Jaw
Toughskin glandArmorGland1030InternalHead, Left Ear, Right Ear, Left Eye, Right Eye, Nose, Jaw, Torso, Neck, Left Shoulder, Left Arm, Left Hand, Left Fingers, Right Shoulder, Right Arm, Right Hand, Right Fingers, Left Leg, Left Foot, Left Toes, Right Leg, Right Foot, Right Toes
Prestige cataphract helmetPrestigeCombatGear1155trueHeadgearHead, Left Eye, Right Eye, Left Ear, Right Ear, Nose, Jaw
Armorskin glandArmorGland1475InternalHead, Left Ear, Right Ear, Left Eye, Right Eye, Nose, Jaw, Torso, Neck, Left Shoulder, Left Arm, Left Hand, Left Fingers, Right Shoulder, Right Arm, Right Hand, Right Fingers, Left Leg, Left Foot, Left Toes, Right Leg, Right Foot, Right Toes
Recon armorSpacerMilitary1540trueMiddle, OuterTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg
Stoneskin glandArmorGland1920InternalHead, Left Ear, Right Ear, Left Eye, Right Eye, Nose, Jaw, Torso, Neck, Left Shoulder, Left Arm, Left Hand, Left Fingers, Right Shoulder, Right Arm, Right Hand, Right Fingers, Left Leg, Left Foot, Left Toes, Right Leg, Right Foot, Right Toes
Prestige recon armorPrestigeCombatGear1975trueMiddle, OuterTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg
Marine armorSpacerMilitary2035trueMiddle, OuterTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg
Prestige marine armorPrestigeCombatGear2530trueMiddle, OuterTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg
Prestige cataphract armorPrestigeCombatGear3930trueMiddle, OuterTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg
Mechlord helmetMechlord
RoyalTier7
5335trueHeadgearHead, Left eye, Right eye, Left ear, Right ear, Nose, Jaw
Mechlord suitMechlord
RoyalTier7
6895trueMiddle, OuterTorso, Neck, Left Shoulder, Left Arm, Right Shoulder, Right Arm, Left Leg, Right Leg

Weapons

Weapons may have quality and/or stuffability. Most Pawn Kinds do not have any sort of Required or Disallowed weapons, using WeaponTags primarily to define available weapons, which makes it rather practical to use the combined template.

Weapon Table

WeaponsWeaponTagsApprox. ValueHas QualityStuff Tags
ClubNeolithicMeleeBasicfalseMetallic
Woody
Stony
IkwaNeolithicMeleeDecenttrueMetallic
Woody
WarhammerMedievalMeleeDecenttrueMetallic
Woody
MaceMedievalMeleeDecenttrueMetallic
Woody
SpearMedievalMeleeAdvanced
NeolithicMeleeAdvanced
Spear
trueMetallic
Woody
GladiusMedievalMeleeDecenttrueMetallic
Woody
AxeAxe
MedievalMeleeDecent
trueMetallic
Woody
LongswordLongSword
MedievalMeleeAdvanced
trueMetallic
Woody
KnifeMedievalMeleeBasic
NeolithicMeleeBasic
trueMetallic
Breach axeNeolithicMeleeDestructivetrueMetallic
Short bowNeolithic
NeolithicRangedBasic
45true
FlamebowNeolithic
NeolithicRangedFlame
45true
Nerve spikerNerveSpiker62true
Recurve bowNeolithic
NeolithicRangedDecent
66true
GreatbowNeolithic
NeolithicRangedChief
NeolithicRangedHeavy
104true
PilaNeolithic
NeolithicRangedHeavy
NoRelic
109true
RevolverGun
Revolver
SimpleGun
135true
AutopistolAutopistol
Gun
SimpleGun
139true
Machine pistolGun
ShortShots
220true
Molotov cocktailsGrenadeDestructive
GrenadeFlame
245false
Bolt-action rifleGun255true
Pump shotgunGun
PumpShotgun
ShortShots
255true
Frag grenadesEmpireGrenadeDestructive
GrenadeDestructive
265false
EMP grenadesGrenadeEMP315false
Incendiary launcherGun340true
Heavy SMGGun
IndustrialGunAdvanced
ShortShots
355true
Smoke launcherGrenadeSmoke380false
Chain shotgunGun
IndustrialGunAdvanced
ShortShots
405true
LMGGun
IndustrialGunAdvanced
425true
Hellcat rifleAssaultRifle
Gun
IndustrialGunAdvanced
480true
Assault rifleAssaultRifle
Gun
IndustrialGunAdvanced
480true
EMP launcherGrenadeEMP
Gun
505true
Sniper rifleSniperRifle530true
Doomsday rocket launcherGun
GunSingleUse
1000false
Triple rocket launcherGun
GunSingleUse
1000false
Charge rifleGun
SpacerGun
1010true
MinigunGun
GunHeavy
Minigun
1160true
Charge lanceGun
MechanoidGunMedium
SpacerGun
1355true
Eltex staffEltexStaff2000true
ZeushammerUltratechMelee2000true
PlasmaswordUltratechMelee2000true
MonoswordUltratechMelee2000true
Persona zeushammerBladelink3000true
Persona plasmaswordBladelink3000true
Persona monoswordBladelink3000true

Tech / Hediffs

Tech hediffs do not have quality or stuffability, resulting in each piece of tech having a singular consistent market value. This means there are no problems in using the combined template, aside from no current handling for tech hediffs with no market value, which is easily fixable.

Tech Table

TechTechHediffsTagsMarket Value
DenturePoor0
Wooden handPoor1.2
Wooden footPoor1.2
Peg legPoor1.2
Ghoul barbsGhoul48
Ghoul platingGhoul85
Metalblood heartGhoul95
Corrosive heartGhoul95
Adrenal heartGhoul95
MindscrewPainCauser210
Cochlear implantSimple220
PainstopperAdvanced220
JoywireAdvanced220
Prosthetic heartSimple230
Prosthetic armSimple260
Prosthetic legSimple260
Venom talonAdvancedWeapon355
Elbow bladeAdvancedWeapon355
Venom fangsAdvancedWeapon355
Hand talonAdvancedWeapon355
Knee spikeAdvancedWeapon355
Power clawAdvanced
AdvancedWeapon
385
Drill armDrillArm
ImplantEmpireCommon
425
Field handFieldHand
ImplantEmpireCommon
425
Bionic tongueAdvanced565
Aesthetic noseAdvanced
ImplantEmpireCommon
585
Bionic earAdvanced785
Bionic stomachAdvanced785
CoagulatorAdvanced
ImplantEmpireCommon
830
Gastro-analyzerAdvanced
ImplantEmpireCommon
830
Aesthetic shaperAdvanced
ImplantEmpireCommon
830
Detoxifier lungAdvanced925
Psychic sensitizerImplantEmpireRoyal1000
Psychic readerImplantEmpireRoyal1000
Nuclear stomachAdvanced
ImplantEmpireCommon
1030
Circadian assistantAdvanced
ImplantEmpireCommon
1030
ImmunoenhancerAdvanced
ImplantEmpireCommon
1030
Bionic jawAdvanced1030
Circadian half-cyclerAdvanced
ImplantEmpireCommon
1030
Bionic armAdvanced1030
Learning assistantAdvanced
ImplantEmpireCommon
1030
Reprocessor stomachAdvanced
ImplantEmpireCommon
1030
Psychic harmonizerImplantEmpireRoyal1030
Bionic heartAdvanced1030
Sterilizing stomachAdvanced
ImplantEmpireCommon
1030
Love enhancerAdvanced
ImplantEmpireCommon
1030
Bionic eyeAdvanced1030
Toughskin glandAdvanced
ImplantEmpireCommon
1030
NeurocalculatorAdvanced
ImplantEmpireCommon
1030
Bionic spineAdvanced1030
Healing enhancerAdvanced
ImplantEmpireCommon
1030
Bionic legAdvanced1030
Detoxifier kidneyAdvanced1080
Armorskin glandAdvanced
ImplantEmpireCommon
1475
Revenant vertebraeAnomaly1895
Stoneskin glandAdvanced
ImplantEmpireCommon
1920