Difference between revisions of "User:JuliaCat/Template:Test"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<includeonly>[[{{#show: {{{1|}}} | ?image | link = none }}|24px|link={{#ifeq:{{{1|}}}|{{PAGENAME}}||{{{1|}}}}}]] {{DLC Icons|{{{1|}}}}}</includeonly>
+
<includeonly>[[{{#show: {{{1|}}} | ?image | link = none }}|24px|link={{#ifeq:{{{1|}}}|{{PAGENAME}}|nothing|{{{1|}}}}}]]{{DLC Icons|{{{1|}}}}}</includeonly>
 
<noinclude>{{Documentation}}</noinclude>
 
<noinclude>{{Documentation}}</noinclude>

Revision as of 03:08, 13 August 2024

Documentation[view] [edit] [history] [purge]

Temp

Budget = 50~800;
8% chance to have one of the following:
Peg leg, Wooden hand, Denture, Wooden foot, Cochlear implant, Prosthetic arm, Prosthetic heart, Prosthetic leg

Budget = 50~800;
8% chance to have one of the following:
Woodlog a.pngPeg leg , Woodlog a.pngWooden hand , Medicine industrial a.pngDenture , Woodlog a.pngWooden foot , Health item prosthetic.pngCochlear implant , Health item prosthetic.pngProsthetic arm , Health item prosthetic.pngProsthetic heart , Health item prosthetic.pngProsthetic leg


Header
Budget = 50~800;
8% chance to have one of the following:

Woodlog a.pngPeg leg , Woodlog a.pngWooden hand , Medicine industrial a.pngDenture , Woodlog a.pngWooden foot , Health item prosthetic.pngCochlear implant , Health item prosthetic.pngProsthetic arm , Health item prosthetic.pngProsthetic heart , Health item prosthetic.pngProsthetic leg

Woodlog a.pngPeg leg

, Woodlog a.pngWooden hand , Medicine industrial a.pngDenture , Woodlog a.pngWooden foot , Health item prosthetic.pngCochlear implant , Health item prosthetic.pngProsthetic arm , Health item prosthetic.pngProsthetic heart , Health item prosthetic.pngProsthetic leg

Budget = 50~800;
8% chance to have one of the following:

Woodlog a.pngPeg leg , Woodlog a.pngWooden hand , Medicine industrial a.pngDenture , Woodlog a.pngWooden foot , Health item prosthetic.pngCochlear implant , Health item prosthetic.pngProsthetic arm , Health item prosthetic.pngProsthetic heart , Health item prosthetic.pngProsthetic leg

  • Pawn Type Image Combat Power Gear Apparel Weapons Tech Inventory Additional Info [[{{|action=edit}} edit]]
    Space refugee Space refugee.png 30 HP: 40~140%
    Avg. Quality: Always Normal
    Budget: 0~1000
    Allow Headgear Chance: 0%
    Available: Tuque.png Tuque, CowboyHat.png Cowboy hat, BowlerHat.png Bowler hat, GasMask.png Gas mask Content added by the Biotech DLC, Parka.png Parka, Button-Down Shirt.png Button-down shirt, Pants.png Pants, T-Shirt.png T-shirt
    Ignore Seasons
    Ignore Pollution
    - Budget: 50~800
    8% chance to have one of the following: Medicine industrial a.png Denture, Woodlog a.png Peg leg, Woodlog a.png Wooden hand, Woodlog a.png Wooden foot, Health item prosthetic.png Cochlear implant, Health item prosthetic.png Prosthetic heart, Health item prosthetic.png Prosthetic leg, Health item prosthetic.png Prosthetic arm
    - Age Range: Any
    Race: Human
    Backstories: Cryptosleep (100% Commonality)
    isFighter: false
    Xenotypes: 3% Highmate Highmate
    Chemical Addiction Chance: 8%
    Initial Will Range: 1~3
    Initial Resistance Range: 12~19
    Space refugee (Clothed) Space refugee (clothed).png 30 HP: 100%
    Avg. Quality: Always Normal
    Budget:
    Allow Headgear Chance: 0%
    Available: Tuque.png Tuque, CowboyHat.png Cowboy hat, BowlerHat.png Bowler hat, GasMask.png Gas mask Content added by the Biotech DLC, Parka.png Parka, Button-Down Shirt.png Button-down shirt, Pants.png Pants, T-Shirt.png T-shirt
    Ignore Seasons
    Ignore Pollution
    - Budget: 50~800
    8% chance to have one of the following: Medicine industrial a.png Denture, Woodlog a.png Peg leg, Woodlog a.png Wooden hand, Woodlog a.png Wooden foot, Health item prosthetic.png Cochlear implant, Health item prosthetic.png Prosthetic heart, Health item prosthetic.png Prosthetic leg, Health item prosthetic.png Prosthetic arm
    - Age Range: Any
    Race: Human
    Backstories: Cryptosleep (100% Commonality)
    Disallowed Traits: Nudist
    isFighter: false
    Xenotypes: 3% Highmate Highmate
    Chemical Addiction Chance: 8%
    Initial Will Range: 0
    Initial Resistance Range: 0~0
    Ancient soldier Ancient soldier.png 85 - Budget: 0~3800
    Allow Headgear Chance: 0%
    Available: SmokepopPack.png Smokepop pack, FirefoamPack.png Firefoam pop pack, BroadshieldPack.png Low-shield pack Content added by the Royalty DLC, BowlerHat.png Bowler hat, Tuque.png Tuque, CowboyHat.png Cowboy hat, GasMask.png Gas mask Content added by the Biotech DLC, KevlarHelmet.png Flak helmet, PsychicFoilHelmet.png Psychic foil helmet, M1Helmet.png Simple helmet, PoweredArmorHelmet.png Marine helmet, ReconHelmet.png Recon helmet, ArmorVest.png Flak vest, ReconArmor.png Recon armor, PoweredArmor.png Marine armor... further results
    Ignore Seasons
    Ignore Pollution
    Budget: 300~900
    Biocoded Chance: 20%
    Available:
    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
    Budget: 2000~3000
    40% chance to have one of the following: Health item prosthetic.png Joywire, Health item prosthetic.png Painstopper, Health item prosthetic.png Elbow blade Content added by the Royalty DLC, Health item prosthetic.png Venom fangs Content added by the Royalty DLC, Health item prosthetic.png Hand talon Content added by the Royalty DLC, Health item prosthetic.png Knee spike Content added by the Royalty DLC, Health item prosthetic.png Venom talon Content added by the Royalty DLC, Health item prosthetic.png Power claw, Health item bionic.png Bionic tongue, Health item bionic.png Aesthetic nose Content added by the Royalty DLC, Health item bionic.png Bionic stomach, Health item bionic.png Bionic ear, Health item bionic.png Coagulator Content added by the Royalty DLC, Health item bionic.png Gastro-analyzer Content added by the Royalty DLC, Health item bionic.png Aesthetic shaper Content added by the Royalty DLC... further results
    50% chance of: 1~2x Go juice Go juice or Yayo Yayo Age Range:
    Race: Human
    Default Faction Type: Hostile Ancients
    Backstories: Cryptosleep (100% Commonality)
    Required Work Tags: Violent
    Forced Skills: 4~18 Shooting
    Chemical Addiction Chance: 8%
    Initial Will Range: 0
    Initial Resistance Range: 0~1
  • 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 and text link for each item.

    {{#ask: [[WeaponTags::ShortShots||Neolithic]]
    | format = template
    | template = User:JuliaCat/Template:Test
    | link = none
    | sort = From DLC
    | sep = <br />
    }}
    

    HeavySMG.pngHeavy SMG
    GreatBow.pngGreatbow
    Machine pistol.pngMachine pistol
    ShortBow.pngShort bow
    Pump shotgun.pngPump shotgun
    Pila.pngPila
    ChainShotgun.pngChain shotgun
    RecurveBow.pngRecurve bow
    Flamebow.pngFlamebow Content added by the Biotech DLC


    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 = User:JuliaCat/Template:Test
    | link = none
    | sort = TechHediffsTags, From DLC
    | sep = , 
    }}
    

    Health item prosthetic.pngJoywire , Health item bionic.pngBionic arm , Health item bionic.pngBionic jaw , Health item bionic.pngBionic heart , Health item prosthetic.pngPainstopper , Health item bionic.pngBionic stomach , Health item prosthetic.pngPower claw , Health item bionic.pngBionic eye , Health item bionic.pngBionic leg , Health item bionic.pngBionic spine , Health item bionic.pngBionic tongue , Health item bionic.pngBionic ear , Health item bionic.pngDetoxifier kidney Content added by the Biotech DLC , Health item bionic.pngDetoxifier lung Content added by the Biotech DLC , Health item bionic.pngStoneskin gland Content added by the Royalty DLC , Health item bionic.pngNeurocalculator Content added by the Royalty DLC , Health item bionic.pngGastro-analyzer Content added by the Royalty DLC , Health item bionic.pngAesthetic nose Content added by the Royalty DLC , Health item bionic.pngArmorskin gland Content added by the Royalty DLC , Health item bionic.pngNuclear stomach Content added by the Royalty DLC , Health item bionic.pngHealing enhancer Content added by the Royalty DLC , Health item bionic.pngAesthetic shaper Content added by the Royalty DLC , Health item bionic.pngImmunoenhancer Content added by the Royalty DLC , Health item bionic.pngCircadian assistant Content added by the Royalty DLC , Health item bionic.pngSterilizing stomach Content added by the Royalty DLC , Health item bionic.pngReprocessor stomach Content added by the Royalty DLC , Health item bionic.pngLearning assistant Content added by the Royalty DLC , Health item bionic.pngCircadian half-cycler Content added by the Royalty DLC , Health item bionic.pngToughskin gland Content added by the Royalty DLC , Health item bionic.pngLove enhancer Content added by the Royalty DLC , Health item bionic.pngCoagulator Content added by the Royalty DLC , Health item prosthetic.pngCochlear implant , Health item prosthetic.pngProsthetic arm , Health item prosthetic.pngProsthetic heart , Health item prosthetic.pngProsthetic leg


    {{#ask: [[TechHediffsTags::Simple||Advanced]] [[Market Value Base ::<700]]
    | format = template
    | template = User:JuliaCat/Template:Test
    | link = none
    | sort = TechHediffsTags, From DLC
    | sep = , 
    }}
    

    Health item prosthetic.pngPower claw , Health item prosthetic.pngPainstopper , Health item bionic.pngBionic tongue , Health item prosthetic.pngJoywire , Health item bionic.pngAesthetic nose Content added by the Royalty DLC , Health item prosthetic.pngProsthetic leg , Health item prosthetic.pngCochlear implant , Health item prosthetic.pngProsthetic arm , Health item prosthetic.pngProsthetic heart


    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 = , 
    }}
    

    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), Bionic spine (tags: Advanced, value: 1030), Bionic tongue (tags: Advanced, value: 565), Bionic ear (tags: Advanced, value: 785), Detoxifier kidney (tags: Advanced, value: 1080), Detoxifier lung (tags: Advanced, value: 925), Stoneskin gland (tags: Advanced, ImplantEmpireCommon, value: 1920), Neurocalculator (tags: Advanced, ImplantEmpireCommon, value: 1030), Gastro-analyzer (tags: Advanced, ImplantEmpireCommon, value: 830), Aesthetic nose (tags: Advanced, ImplantEmpireCommon, value: 585), Armorskin gland (tags: Advanced, ImplantEmpireCommon, value: 1475), 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), Circadian assistant (tags: Advanced, ImplantEmpireCommon, value: 1030), Sterilizing stomach (tags: Advanced, ImplantEmpireCommon, value: 1030), Reprocessor stomach (tags: Advanced, ImplantEmpireCommon, value: 1030), 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), Cochlear implant (tags: Simple, value: 220), Prosthetic arm (tags: Simple, value: 260), Prosthetic heart (tags: Simple, value: 230), Prosthetic leg (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 = , 
    }}
    

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

    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.

    Weapons

    Weapons may have quality and/or stuffability.

    Tech / Hediffs

    Tech hediffs do not have quality or stuffability, resulting in each piece of tech having a singular consistent market value.