Difference between revisions of "Template:Gear List/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m (usage of the format by itself and with the template, also included tables of apparel, weapons, and tech)
m
Line 133: Line 133:
  
 
{{#ask:[[Tags::+]]
 
{{#ask:[[Tags::+]]
 +
| ?Tags
 
| ?Market Value Base# = Approx. Value
 
| ?Market Value Base# = Approx. Value
 
| ?Has Quality
 
| ?Has Quality
Line 145: Line 146:
  
 
{{#ask:[[WeaponTags::+]]
 
{{#ask:[[WeaponTags::+]]
 +
| ?WeaponTags
 
| ?Market Value Base# = Approx. Value
 
| ?Market Value Base# = Approx. Value
 
| ?Has Quality
 
| ?Has Quality
Line 157: Line 159:
  
 
{{#ask:[[TechHediffsTags::+]]
 
{{#ask:[[TechHediffsTags::+]]
 +
| ?TechHediffsTags
 
| ?Market Value Base# = Market Value
 
| ?Market Value Base# = Market Value
 
| format = table
 
| format = table

Revision as of 05:55, 17 August 2024

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 template to format the output from an #ask query, as a list consisting of an icon, text link, and applicable DLC icon for each item (Having the ability to hide DLC icons based on the categories of the page the template is used on would be nice. We don't need 300 little Royalty icons within the Empire pawn kinds table now do we?).

Currently this formatting template is planned to be moved to a subpage, where this main page will instead hold an #ask query based template, not unlike Template:Tag List, with a output format like Template:Icon List.

Example of just using the subpage template formatting:

{{#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

Example of using the combined formatting and template:

{{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

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.

{{#ask: [[TechHediffsTags::Simple||Advanced]]
| format = template
| template = Gear List/Items
| link = none
| sort = TechHediffsTags, From DLC
| sep = , 
}}

Health item bionic.png Bionic spine, Health item bionic.png Bionic tongue, Health item bionic.png Bionic ear, Health item prosthetic.png Joywire, Health item bionic.png Bionic arm, Health item bionic.png Bionic jaw, Health item bionic.png Bionic heart, Health item prosthetic.png Painstopper, Health item bionic.png Bionic stomach, Health item prosthetic.png Power claw, Health item bionic.png Bionic eye, Health item bionic.png Bionic leg, Health item bionic.png Detoxifier kidney Content added by the Biotech DLC, Health item bionic.png Detoxifier lung Content added by the Biotech DLC, Health item bionic.png Learning assistant Content added by the Royalty DLC, Health item bionic.png Circadian half-cycler Content added by the Royalty DLC, Health item bionic.png Toughskin gland Content added by the Royalty DLC, Health item bionic.png Love enhancer Content added by the Royalty DLC, Health item bionic.png Coagulator Content added by the Royalty DLC, Health item bionic.png Stoneskin gland Content added by the Royalty DLC, Health item bionic.png Neurocalculator Content added by the Royalty DLC, Health item bionic.png Gastro-analyzer Content added by the Royalty DLC, Health item bionic.png Armorskin gland Content added by the Royalty DLC, Health item bionic.png Aesthetic nose Content added by the Royalty DLC, Health item bionic.png Nuclear stomach Content added by the Royalty DLC, Health item bionic.png Healing enhancer Content added by the Royalty DLC, Health item bionic.png Aesthetic shaper Content added by the Royalty DLC, Health item bionic.png Immunoenhancer Content added by the Royalty DLC, Health item bionic.png Sterilizing stomach Content added by the Royalty DLC, Health item bionic.png Circadian assistant Content added by the Royalty DLC, Health item bionic.png Reprocessor stomach Content added by the Royalty DLC, Health item prosthetic.png Prosthetic heart, Health item prosthetic.png Prosthetic leg, Health item prosthetic.png Cochlear implant, Health item prosthetic.png Prosthetic arm

{{#ask: [[TechHediffsTags::Simple||Advanced]] [[Market Value Base ::<700]]
| format = template
| template = Gear List/Items
| link = none
| sort = TechHediffsTags, From DLC
| sep = , 
}}

Health item prosthetic.png Joywire, Health item prosthetic.png Power claw, Health item prosthetic.png Painstopper, Health item bionic.png Bionic tongue, Health item bionic.png Aesthetic nose Content added by the Royalty DLC, Health item prosthetic.png Prosthetic heart, Health item prosthetic.png Prosthetic leg, Health item prosthetic.png Cochlear implant, Health item prosthetic.png Prosthetic arm

Demonstration that tech tags and market value are properly interpreted:

{{#ask: [[TechHediffsTags::Simple||Advanced]]
| ?TechHediffsTags# = tags
| ?Market Value Base# = value
| format = list
| sort = TechHediffsTags, From DLC
| sep = , 
}}

Bionic spine (tags: Advanced, value: 1030), Bionic tongue (tags: Advanced, value: 565), Bionic ear (tags: Advanced, value: 785), Joywire (tags: Advanced, value: 220), Bionic arm (tags: Advanced, value: 1030), Bionic jaw (tags: Advanced, value: 1030), Bionic heart (tags: Advanced, value: 1030), Painstopper (tags: Advanced, value: 220), Bionic stomach (tags: Advanced, value: 785), Power claw (tags: Advanced, AdvancedWeapon, value: 385), Bionic eye (tags: Advanced, value: 1030), Bionic leg (tags: Advanced, value: 1030), Detoxifier kidney (tags: Advanced, value: 1080), Detoxifier lung (tags: Advanced, value: 925), Learning assistant (tags: Advanced, ImplantEmpireCommon, value: 1030), Circadian half-cycler (tags: Advanced, ImplantEmpireCommon, value: 1030), Toughskin gland (tags: Advanced, ImplantEmpireCommon, value: 1030), Love enhancer (tags: Advanced, ImplantEmpireCommon, value: 1030), Coagulator (tags: Advanced, ImplantEmpireCommon, value: 830), Stoneskin gland (tags: Advanced, ImplantEmpireCommon, value: 1920), Neurocalculator (tags: Advanced, ImplantEmpireCommon, value: 1030), Gastro-analyzer (tags: Advanced, ImplantEmpireCommon, value: 830), Armorskin gland (tags: Advanced, ImplantEmpireCommon, value: 1475), Aesthetic nose (tags: Advanced, ImplantEmpireCommon, value: 585), Nuclear stomach (tags: Advanced, ImplantEmpireCommon, value: 1030), Healing enhancer (tags: Advanced, ImplantEmpireCommon, value: 1030), Aesthetic shaper (tags: Advanced, ImplantEmpireCommon, value: 830), Immunoenhancer (tags: Advanced, ImplantEmpireCommon, value: 1030), Sterilizing stomach (tags: Advanced, ImplantEmpireCommon, value: 1030), Circadian assistant (tags: Advanced, ImplantEmpireCommon, value: 1030), Reprocessor stomach (tags: Advanced, ImplantEmpireCommon, value: 1030), Prosthetic heart (tags: Simple, value: 230), Prosthetic leg (tags: Simple, value: 260), Cochlear implant (tags: Simple, value: 220), Prosthetic arm (tags: Simple, value: 260)

{{#ask: [[TechHediffsTags::Simple||Advanced]] [[Market Value Base ::<700]]
| ?TechHediffsTags# = tags
| ?Market Value Base# = value
| format = list
| sort = TechHediffsTags, From DLC
| sep = , 
}}

Joywire (tags: Advanced, value: 220), Power claw (tags: Advanced, AdvancedWeapon, value: 385), Painstopper (tags: Advanced, value: 220), Bionic tongue (tags: Advanced, value: 565), Aesthetic nose (tags: Advanced, ImplantEmpireCommon, value: 585), Prosthetic heart (tags: Simple, value: 230), Prosthetic leg (tags: Simple, value: 260), Cochlear implant (tags: Simple, value: 220), Prosthetic arm (tags: Simple, value: 260)

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.

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.

 TagsApprox. ValueHas QualityStuff Tags
Plate armorMedievalMilitarytrueMetallic
Woody
HoodBestowerHoodtrueFabric
Leathery
CorsetRoyal
RoyalTier5
trueLeathery
Fabric
SashApparel_YttakintrueFabric
Leathery
Kid shirtIndustrialBasictrueFabric
Leathery
Bowler hatIndustrialBasic
Western
trueLeathery
Fabric
Kid tribalwearNeolithictrueLeathery
Fabric
Lichen-covered soilSoil
Ladies hatRoyal
RoyalTier2
trueLeathery
Fabric
DusterIndustrialAdvancedtrueLeathery
Fabric
TribalwearNeolithictrueLeathery
Fabric
CapeCape
Royal
RoyalTier2
RoyalTier5
trueLeathery
Fabric
BeretRoyal
RoyalTier2
RoyalTier3
trueLeathery
Fabric
Flak helmetIndustrialMilitaryAdvancedtrueMetallic
ParkaIndustrialBasic
Neolithic
trueLeathery
Fabric
Kid helmetIndustrialMilitaryBasictrueMetallic
SoilSoil
Top hatRoyal
RoyalTier2
trueLeathery
Fabric
Kid romperIndustrialBasictrueFabric
Leathery
JacketIndustrialAdvancedtrueLeathery
Fabric
BroadwrapNeolithictrueFabric
Stellic crownRoyal
RoyalTier7
trueMetallic
TuqueIndustrialBasictrueFabric
Formal vestRoyal
RoyalTier5
trueLeathery
Fabric
Kid parkaIndustrialBasic
Neolithic
trueLeathery
Fabric
Button-down shirtIndustrialBasictrueLeathery
Fabric
HeadwrapNeolithictrueFabric
FleshFloor
Formal shirtRoyal
RoyalTier2
trueLeathery
Fabric
Simple helmetIndustrialMilitaryBasictrueMetallic
Cowboy hatIndustrialBasic
Western
trueLeathery
Fabric
Ceremonial hoodHoraxianCeremonialtrueFabric
CoronetRoyal
RoyalTier5
trueMetallic
Heavy bandolierApparel_YttakintrueFabric
Leathery
Kid pantsIndustrialBasictrueLeathery
Fabric
T-shirtIndustrialBasictrueLeathery
Fabric
Visage maskNeolithictrueWoody
Metallic
Gray surfaceFloor
Prestige robeRoyal
RoyalRobe
RoyalTier6
trueLeathery
Fabric
CrownRoyal
RoyalTier6
trueMetallic
PantsIndustrialBasictrueLeathery
Fabric
Smooth stoneFloor5
BridgeFloor20
Ritual maskHoraxian46trueBioferrite
Gas maskIndustrialBasic106true
Tox packBeltDefenseTox132
Firefoam pop packBeltDefensePop143
Smokepop packBeltDefensePop166
Flak pantsIndustrialMilitaryBasic225true
Flak vestIndustrialMilitaryBasic225true
Psychic foil helmetIndustrialMilitaryAdvanced
IndustrialMilitaryBasic
SpacerMilitary
250true
Flak jacketIndustrialAdvanced290true
GunlinkGunlink345false
Shield beltBeltDefense390true
Eltex shirtPsychic400true
Low-shield packBeltDefensePop430
Eltex vestPsychic500true
Eltex helmetPsychic500true
Eltex skullcapPsychic500true
Recon helmetSpacerMilitary525true
Eltex robePsychic600true
Marine helmetSpacerMilitary635true
Jump packPackJump645true
Prestige recon helmetPrestigeCombatGear715true
Prestige marine helmetPrestigeCombatGear850true
Toughskin glandArmorGland1030
Prestige cataphract helmetPrestigeCombatGear1155true
Armorskin glandArmorGland1475
Recon armorSpacerMilitary1540true
Stoneskin glandArmorGland1920
Prestige recon armorPrestigeCombatGear1975true
Marine armorSpacerMilitary2035true
Prestige marine armorPrestigeCombatGear2530true
Prestige cataphract armorPrestigeCombatGear3930true
Mechlord helmetMechlord
RoyalTier7
5335true
Mechlord suitMechlord
RoyalTier7
6895true

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.

 WeaponTagsApprox. ValueHas QualityStuff Tags
IkwaNeolithicMeleeDecenttrueMetallic
Woody
WarhammerMedievalMeleeDecenttrueMetallic
Woody
Breach axeNeolithicMeleeDestructivetrueMetallic
GladiusMedievalMeleeDecenttrueMetallic
Woody
SpearMedievalMeleeAdvanced
NeolithicMeleeAdvanced
Spear
trueMetallic
Woody
AxeAxe
MedievalMeleeDecent
trueMetallic
Woody
KnifeMedievalMeleeBasic
NeolithicMeleeBasic
trueMetallic
ClubNeolithicMeleeBasicfalseMetallic
Woody
Stony
MaceMedievalMeleeDecenttrueMetallic
Woody
LongswordLongSword
MedievalMeleeAdvanced
trueMetallic
Woody
Tactical turretTurretGun0
FlamebowNeolithic
NeolithicRangedFlame
45true
Short bowNeolithic
NeolithicRangedBasic
45true
Nerve spikerNerveSpiker62true
Recurve bowNeolithic
NeolithicRangedDecent
66true
GreatbowNeolithic
NeolithicRangedChief
NeolithicRangedHeavy
104true
PilaNeolithic
NeolithicRangedHeavy
NoRelic
109true
RevolverGun
Revolver
SimpleGun
135true
AutopistolAutopistol
Gun
SimpleGun
139true
Beam graserBeamGraserGun144false
Machine pistolGun
ShortShots
220true
Molotov cocktailsGrenadeDestructive
GrenadeFlame
245false
Pump shotgunGun
PumpShotgun
ShortShots
255true
Bolt-action rifleGun255true
Frag grenadesEmpireGrenadeDestructive
GrenadeDestructive
265false
EMP grenadesGrenadeEMP315false
Tox grenadesGrenadeTox315false
Incendiary launcherGun340true
Heavy SMGGun
IndustrialGunAdvanced
ShortShots
355true
Smoke launcherGrenadeSmoke380false
Toxbomb launcherHeavyTox380true
Chain shotgunGun
IndustrialGunAdvanced
ShortShots
405true
LMGGun
IndustrialGunAdvanced
425true
Assault rifleAssaultRifle
Gun
IndustrialGunAdvanced
480true
Hellcat rifleAssaultRifle
Gun
IndustrialGunAdvanced
480true
SpinerMechanoidGunSpiner500false
EMP launcherGrenadeEMP
Gun
505true
IncineratorFlamethrower
Gun
530false
Sniper rifleSniperRifle530true
MilitorMechanoidGunShortRange800
War urchinMechanoidGunSpiner800
Mini-flameblasterMechanoidGunMiniFlameblaster1000false
SlugthrowerMechanoidGunSlugthrower1000false
Doomsday rocket launcherGun
GunSingleUse
1000false
Mini-shotgunMechanoidGunShortRange1000false
Triple rocket launcherGun
GunSingleUse
1000false
Charge rifleGun
SpacerGun
1010true
MinigunGun
GunHeavy
Minigun
1160true
ScorcherMechanoidGunMiniFlameblaster1200
Centipede burnerInfernoCannonGun1200
Centipede gunnerMinigun1200
PikemanMechanoidGunLongRange1200
LegionaryMechanoidGunNeedleLauncher1200
TesseronBeamGraserGun1200
LancerMechanoidGunMedium1200
Centipede blasterChargeBlasterHeavyGun1200
Charge lanceGun
MechanoidGunMedium
SpacerGun
1355true
Heavy charge blasterChargeBlasterHeavyGun
MechanoidGunHeavy
1400false
Thump cannonMechanoidGunBreach1400false
Toxic needle gunMechanoidGunToxicNeedle1400false
Hellsphere cannonHellsphereCannonGun1400false
Needle gunMechanoidGunLongRange1400false
Needle launcherMechanoidGunNeedleLauncher1400false
Inferno cannonInfernoCannonGun
MechanoidGunHeavy
1400false
DiabolusHellsphereCannonGun1600
ApocritonMechanoidGunToxicNeedle1600
ZeushammerUltratechMelee2000true
Eltex staffEltexStaff2000true
MonoswordUltratechMelee2000true
PlasmaswordUltratechMelee2000true
Persona monoswordBladelink3000true
Persona zeushammerBladelink3000true
Persona plasmaswordBladelink3000true

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.

 TechHediffsTagsMarket Value
DenturePoor0
Wooden handPoor1.2
Wooden footPoor1.2
Peg legPoor1.2
Ghoul barbsGhoul48
Ghoul platingGhoul85
Adrenal heartGhoul95
Metalblood heartGhoul95
Corrosive heartGhoul95
Basic subcoreSubcoreBasic200
MindscrewPainCauser210
Cochlear implantSimple220
PainstopperAdvanced220
JoywireAdvanced220
Prosthetic heartSimple230
Prosthetic armSimple260
Prosthetic legSimple260
Standard subcoreSubcoreBasic300
Knee spikeAdvancedWeapon355
Venom talonAdvancedWeapon355
Elbow bladeAdvancedWeapon355
Venom fangsAdvancedWeapon355
Hand talonAdvancedWeapon355
Power clawAdvanced
AdvancedWeapon
385
Field handFieldHand
ImplantEmpireCommon
425
Drill armDrillArm
ImplantEmpireCommon
425
Bionic tongueAdvanced565
Aesthetic noseAdvanced
ImplantEmpireCommon
585
Bionic earAdvanced785
Bionic stomachAdvanced785
Aesthetic shaperAdvanced
ImplantEmpireCommon
830
CoagulatorAdvanced
ImplantEmpireCommon
830
Gastro-analyzerAdvanced
ImplantEmpireCommon
830
Detoxifier lungAdvanced925
Psychic sensitizerImplantEmpireRoyal1000
High subcoreSubcoreBasic1000
Psychic readerImplantEmpireRoyal1000
Bionic spineAdvanced1030
Healing enhancerAdvanced
ImplantEmpireCommon
1030
Bionic legAdvanced1030
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
Detoxifier kidneyAdvanced1080
Armorskin glandAdvanced
ImplantEmpireCommon
1475
Revenant vertebraeAnomaly1895
Stoneskin glandAdvanced
ImplantEmpireCommon
1920