Difference between revisions of "User:JuliaCat/Template:Test/doc"
m (examples of tech without and without using budget) |
m |
||
Line 9: | Line 9: | ||
| sep = <br /> | | sep = <br /> | ||
}}</nowiki> | }}</nowiki> | ||
− | |||
{{#ask: [[WeaponTags::ShortShots||Neolithic]] | {{#ask: [[WeaponTags::ShortShots||Neolithic]] | ||
| format = template | | format = template | ||
Line 29: | Line 28: | ||
| sep = ,  | | sep = ,  | ||
}}</nowiki> | }}</nowiki> | ||
− | |||
{{#ask: [[TechHediffsTags::Simple||Advanced]] | {{#ask: [[TechHediffsTags::Simple||Advanced]] | ||
| format = template | | format = template | ||
Line 45: | Line 43: | ||
| sep = ,  | | sep = ,  | ||
}}</nowiki> | }}</nowiki> | ||
− | |||
{{#ask: [[TechHediffsTags::Simple||Advanced]] [[Market Value Base ::>300]] [[Market Value Base ::<700]] | {{#ask: [[TechHediffsTags::Simple||Advanced]] [[Market Value Base ::>300]] [[Market Value Base ::<700]] | ||
| format = template | | format = template | ||
Line 54: | Line 51: | ||
}} | }} | ||
− | <nowiki>{{#ask: [[TechHediffsTags::Simple||Advanced | + | Demonstration that tech tags and market value are properly interpreted: |
− | | | + | |
− | | | + | <nowiki>{{#ask: [[TechHediffsTags::Simple||Advanced]] |
− | | | + | | ?TechHediffsTags# = tags |
+ | | ?Market Value Base# = value | ||
+ | | format = list | ||
| sort = TechHediffsTags, From DLC | | sort = TechHediffsTags, From DLC | ||
| sep = ,  | | sep = ,  | ||
}}</nowiki> | }}</nowiki> | ||
− | + | {{#ask: [[TechHediffsTags::Simple||Advanced]] | |
− | + | | ?TechHediffsTags# = tags | |
+ | | ?Market Value Base# = value | ||
+ | | format = list | ||
+ | | sort = TechHediffsTags, From DLC | ||
+ | | sep = ,  | ||
+ | }} | ||
<nowiki>{{#ask: [[TechHediffsTags::Simple||Advanced]] [[Market Value Base ::>300]] [[Market Value Base ::<700]] | <nowiki>{{#ask: [[TechHediffsTags::Simple||Advanced]] [[Market Value Base ::>300]] [[Market Value Base ::<700]] | ||
− | | ?TechHediffsTags | + | | ?TechHediffsTags# = tags |
− | | ?Market Value Base | + | | ?Market Value Base# = value |
| format = list | | format = list | ||
| sort = TechHediffsTags, From DLC | | sort = TechHediffsTags, From DLC | ||
| sep = ,  | | sep = ,  | ||
}}</nowiki> | }}</nowiki> | ||
− | |||
{{#ask: [[TechHediffsTags::Simple||Advanced]] [[Market Value Base ::>300]] [[Market Value Base ::<700]] | {{#ask: [[TechHediffsTags::Simple||Advanced]] [[Market Value Base ::>300]] [[Market Value Base ::<700]] | ||
− | | ?TechHediffsTags | + | | ?TechHediffsTags# = tags |
− | | ?Market Value Base | + | | ?Market Value Base# = value |
| format = list | | format = list | ||
| sort = TechHediffsTags, From DLC | | sort = TechHediffsTags, From DLC |
Revision as of 20:30, 12 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 and text link for each item.
{{#ask: [[WeaponTags::ShortShots||Neolithic]] | format = template | template = User:JuliaCat/Template:Test | link = none | sort = From DLC | sep = <br /> }}
Machine pistol
Short bow
Pump shotgun
Pila
Chain shotgun
Recurve bow
Heavy SMG
Greatbow
Flamebow
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 = , }}
Bionic heart, Painstopper, Bionic stomach, Power claw, Bionic eye, Bionic leg, Bionic spine, Bionic tongue, Bionic ear, Joywire, Bionic arm, Bionic jaw, Detoxifier kidney , Detoxifier lung , Armorskin gland , Aesthetic nose , Nuclear stomach , Healing enhancer , Aesthetic shaper , Immunoenhancer , Sterilizing stomach , Circadian assistant , Reprocessor stomach , Learning assistant , Circadian half-cycler , Toughskin gland , Love enhancer , Coagulator , Stoneskin gland , Neurocalculator , Gastro-analyzer , Cochlear implant, Prosthetic arm, Prosthetic heart, Prosthetic leg
{{#ask: [[TechHediffsTags::Simple||Advanced]] [[Market Value Base ::>300]] [[Market Value Base ::<700]] | format = template | template = User:JuliaCat/Template:Test | link = none | sort = TechHediffsTags, From DLC | sep = , }}
Bionic tongue, Power claw, Aesthetic nose
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 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), Joywire (tags: Advanced, value: 220), Bionic arm (tags: Advanced, value: 1030), Bionic jaw (tags: Advanced, value: 1030), Detoxifier kidney (tags: Advanced, value: 1080), Detoxifier lung (tags: Advanced, value: 925), 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), 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), 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 ::>300]] [[Market Value Base ::<700]] | ?TechHediffsTags# = tags | ?Market Value Base# = value | format = list | sort = TechHediffsTags, From DLC | sep = , }}
Bionic tongue (tags: Advanced, value: 565), Power claw (tags: Advanced, AdvancedWeapon, value: 385), Aesthetic nose (tags: Advanced, ImplantEmpireCommon, value: 585)
Budget
Budget applies to the 3 main tag categories, and is the range in total market value for applicable items.
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 otherwise 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.