Difference between revisions of "User:Theaetetus/sandbox2"

From RimWorld Wiki
Jump to navigation Jump to search
m (linkfix. sorry to intrude.)
 
(67 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="infobox float:right; {{#if:{{{1|}}}|{{#switch:{{{1}}}|<!--
+
==Bulk Goods Trader==
--> animal = c_08 |<!--
+
'''Bulk Goods Traders''' deal in general building resources such as [[wood]] and [[steel]]. Also sells [[beer]], [[chocolate]], and [[medicine]]. Sometimes carries [[animals]] including pets and farm animals.
--> plant = c_14 |<!--
 
--> weapon = c_06 |<!--
 
--> area = c_11 |<!--
 
--> structure = c_02 |<!--
 
--> production = c_25 |<!--
 
--> security = c_10 |<!--
 
--> furniture = c_01 |<!--
 
-->}}}} {{#if:{{{2|}}}|{{{2}}}}}">
 
<p class="heading">{{{name|{{BASEPAGENAME}}}}}</p>
 
<div class="wrapper">
 
<div class="image_wrapper" title="{{{name|{{BASEPAGENAME}}}}}">{{#if:{{{image|}}}|[[File:{{{image|}}}|link={{{name|{{BASEPAGENAME}}}}}|{{#if:{{{3}}}|{{!}}{{{3|}}}}}]]|[[File:{{{name|{{BASEPAGENAME}}}}}.png|link=|{{#if:{{{3}}}|{{!}}{{{3|}}}}}]]}}</div>
 
<p class="text-center" style="display:block; font-size:89%; padding: .5em;">{{#if:{{{description|}}}|{{{description|}}}{{#set:Description = {{{description|}}}}}}}</p>
 
----
 
<dl>
 
;Type
 
:[[{{{type}}}]]{{#if: {{{type2|}}} | &#32;&ndash;&#32; [[{{{type2}}}]] }}
 
  
 +
<!--
 +
Current as of: Alpha 13
 +
Source: Mods/Core/Defs/TraderKindDefs/TraderKinds_Orbital_Misc.xml
 +
Section: <defName>Orbital_Misc_CombatSupplier</defName>
 +
-->
  
{{#if: {{{placeable|}}}|{{#set:Placeable = {{{placeable|}}} }}
+
'''Individual items:'''
;Placeable
+
{| {{STDT|sortable c_03}}
:{{{placeable|}}}}}
+
! Name !! Price !! Min Stock !! Max Stock !! Avg Stock
</dl>
+
|-
<p class="heading">TEST</p>
+
! [[Silver]]
<dl>
+
| N/A || 4000 || 6000 || 5000
<p class="header">TEST2</p>
+
|-
<p class="subheader">TEST3</p>
+
! [[Component]]
{{#if: {{{rotatable|}}}|{{#set:Rotatable = {{{rotatable|}}} }}
+
| normal || 5 || 30 || 17.5
;Rotatable
+
|-
:{{{rotatable|}}}}}
+
! [[Steel]]
 +
| cheap || 800 || 1500 || 1150
 +
|-
 +
! [[Wood]]
 +
| cheap || 800 || 1500 || 1150
 +
|-
 +
! [[Plasteel]]
 +
| cheap || 300 || 700 || 500
 +
|-
 +
! [[Cloth]]
 +
| normal || 0 || 600 || 400
 +
|-
 +
! [[Chocolate]]
 +
| random || 0 || {{icon|silver|2000}} worth || {{icon|silver|650}} worth
 +
|-
 +
! [[Beer]]
 +
| random || 0 || {{icon|silver|2000}} worth || {{icon|silver|650}} worth
 +
|-
 +
! [[Medicine]]
 +
| expensive || 10 || 30 || 20
 +
|-
 +
|}
  
 
+
'''Groups of items:'''
{{#if: {{{size|}}}| {{#if:{{{4}}}|{{#set:Size = {{{size|}}}&nbsp;ˣ&nbsp;{{{4|}}} }}|{{#set:Size = {{{size}}} }} }}
+
{| {{STDT|sortable c_03}}
;Size
+
! Group !! Price !! Min Stock !! Max Stock !! Avg Stock !! Items
:{{#show: {{PAGENAME}} |?Size |link=none}}
+
|-
}}
+
! Textiles
 
+
| cheap || 1 kind<br>2200 silver total || 2 kinds<br>4000 silver total || 1.5 kinds<br>3300 silver total || {{Trade row/textiles}}
{{#if: {{{hp|}}}|{{#set:Max Hit Points Base = {{{hp|}}} }}
+
|-
;HP
+
! Raw resources
:{{{hp|}}}}}
+
| cheap || 2 kinds<br>1500 silver total || 4 kinds<br>3000 silver total || 3 kinds<br>2250 silver total || {{Trade row/textiles}}
 
+
|-
{{#if: {{{beauty|}}}|{{#set:Beauty Base = {{{beauty|}}} }}
+
! Raw food
;[[Beauty]]
+
| cheap || 2 kinds<br>1600 silver total || 8 kinds<br>5000 silver total || 5 kinds<br>3300 silver total || {{Trade row/textiles}}
:[[Beauty Base::{{{beauty|}}}]]}}
+
|-
 
+
! Meals
{{#ifeq: {{{type|}}}|Animals|{{#set: Type = {{{type2|}}}}}}}
+
| cheap || 1 kind<br>500 silver total || 2 kinds<br>1500 silver total || 1.5 kinds<br>1000 silver total || {{Trade row/textiles}}
 
+
|-
{{#if: {{{walkSpeed|}}}|{{#set:Move Speed Base = {{{walkSpeed|}}} }}
+
! Standard animals
;Move Speed
+
| random || 2 kinds<br>10 qty total || 4 kinds<br>20 qty total || 3 kinds<br>15 qty total || {{Trade row/textiles}}
:{{{walkSpeed|}}}}}
+
|-
 
+
|}
{{#if: {{{movespeed|}}}|{{#set:Move Speed Base = {{{movespeed|}}} }}
 
;Move Speed
 
:{{{movespeed|}}}}}
 
 
 
{{#if: {{{speed|}}}|{{#set:Move Speed Base = {{{speed|}}} }}
 
;Move Speed
 
:{{{speed|}}}}}
 
 
 
{{#if: {{{mobdamage|}}}|{{#set:Melee Damage Base = {{{mobdamage|}}} }}
 
;Damage
 
:{{{mobdamage|}}}}}
 
 
 
{{#if: {{{mobdamagetype|}}}|{{#set:Melee Damage Def = {{{mobdamagetype|}}} }}
 
;Damage Type
 
:{{{mobdamagetype|}}}}}
 
 
 
{{#if: {{{mobdamage2|}}}|{{#set:Melee Damage Base = {{{mobdamage2|}}} }}
 
;Damage
 
:{{{mobdamage2|}}}}}
 
 
 
{{#if: {{{mobdamagetype2|}}}|{{#set:Melee Damage Def = {{{mobdamagetype2|}}} }}
 
;Damage Type
 
:{{{mobdamagetype2|}}}}}
 
 
 
{{#if: {{{mobdamage3|}}}|{{#set:Melee Damage Base = {{{mobdamage3|}}} }}
 
;Damage
 
:{{{mobdamage3|}}}}}
 
 
 
{{#if: {{{mobdamagetype3|}}}|{{#set:Melee Damage Def = {{{mobdamagetype3|}}} }}
 
;Damage Type
 
:{{{mobdamagetype3|}}}}}
 
 
 
{{#if: {{{mobdamageaverage|}}}|{{#set:Average Melee Damage = {{{mobdamageaverage|}}}}}}}
 
 
 
{{#if: {{{armorblunt|}}}|{{#set:Armor - Blunt= {{{armorblunt|}}} }}
 
;Armor - Blunt
 
:{{{armorblunt|}}}}}
 
 
 
{{#if: {{{armorsharp|}}}|{{#set:Armor - Sharp = {{{armorsharp|}}} }}
 
;Armor - Sharp
 
:{{{armorsharp|}}}}}
 
 
 
{{#if: {{{armorheat|}}}|{{#set:Armor - Heat = {{{armorheat|}}} }}
 
;Armor - Heat
 
:{{{armorheat|}}}}}
 
 
 
{{#if: {{{bodysize|}}}|
 
  {{#set:Body Size = {{{bodysize|}}} }}
 
    {{#if: {{{meatyield|}}}|
 
      {{#set:Meat Yield = {{{meatyield|}}} }}|
 
      {{#set:Meat Yield = {{#expr: 90 * {{{bodysize|}}} round0}} }} }}
 
  {{#set:Carrying Capacity = {{#expr: 75 * {{{bodysize|}}} round0}} }}
 
;Meat Yield
 
:{{#show: {{PAGENAME}}|?Meat Yield |link=none}}
 
{{#if: {{{leathername|}}}|{{#set:Leather Yield = {{#expr: 20 * {{{bodysize|}}} round0}} }}
 
;Leather Yield
 
:{{#show: {{PAGENAME}}|?Leather Yield |link=none}} [[{{{leathername|}}}]] }}
 
;Carrying Capacity
 
:{{#show: {{PAGENAME}}|?Carrying Capacity |link=none}}
 
}}
 
 
 
{{#if: {{{manhunter|}}}|{{#set:Turn Manhunter Chance When Attacked = {{{manhunter|}}} }}
 
;{{H:title|link=no|Chance of this animal turning manhunter when attacked.|Manhunter Chance}}
 
:{{#expr: {{{manhunter|}}} * 100}}%}}
 
 
 
{{#if: {{{manhuntertame|}}}|{{#set:Turn Manhunter Chance When Taming = {{{manhuntertame|}}} }}
 
;{{H:title|link=no|Chance of this animal turning manhunter on a failed taming attempt.|Manhunter Chance (Taming)}}
 
:{{#expr: {{{manhuntertame|}}} * 100}}%}}
 
 
 
{{#if: {{{hungerrate|}}}|{{#set:Base Hunger Rate = {{{hungerrate|}}} }}
 
;Hunger Rate
 
:{{{hungerrate|}}}}}
 
 
 
{{#if: {{{diet|}}}|{{#set:Diet = {{{diet|}}} }}
 
;Diet
 
:{{{diet|}}}}}
 
 
 
{{#if: {{{lifespan|}}}|{{#set:Life Expectancy = {{{lifespan|}}} }}
 
;Life Expectancy
 
:{{{lifespan|}}}}}
 
 
 
{{#if: {{{trainable|}}}|{{#set:Trainable Intelligence = {{{trainable|}}} }}
 
;Trainable Intelligence
 
:{{{trainable|}}}
 
{{#switch: {{{trainable|}}}
 
| none = {{#set: Can Train Obedience = no |Can Train Release = no |Can Train Rescue = no |Can Train Haul = no}}
 
| simple = {{#set: Can Train Obedience = yes |Can Train Release = no |Can Train Rescue = no |Can Train Haul = no}}
 
| intermediate = {{#set: Can Train Obedience = yes |Can Train Release = yes |Can Train Rescue = no |Can Train Haul = no}}
 
| advanced = {{#set: Can Train Obedience = yes |Can Train Release = yes}}{{#ifexpr: {{{bodysize|}}} >= 0.65|{{#set: Can Train Rescue = yes}}|{{#set: Can Train Rescue = no}}}}{{#ifexpr: {{{bodysize|}}} >= 0.41|{{#set: Can Train Haul = yes}}|{{#set: Can Train Haul = no}}}}
 
}}
 
}}
 
 
 
{{#if: {{{handleskill|}}}|{{#set:Minimum Handling Skill = {{{handleskill|}}} }}
 
;{{H:title|link=no|This creature cannot be tamed, trained, or commanded by anyone with less than this skill in animals.|Minimum Handling Skill}}
 
:{{{handleskill|}}}}}
 
 
 
{{#if: {{{wildness|}}}|{{#set:Wildness = {{{wildness|}}} }}
 
;{{H:title|link=no|Wilder creatures are naturally more difficult to tame, train, and handle.|Wildness}}
 
:{{#expr: {{{wildness|}}} * 100 round0}}%}}
 
 
 
{{#if: {{{milk|}}}|{{#set: Milk Amount = {{{milk|}}} }}
 
;Milk Amount
 
:{{{milk|}}} }}
 
 
 
{{#if: {{{milktime|}}}|{{#set: Milking Interval Days = {{{milktime|}}} }}
 
{{#set: Daily Milk Average = {{#expr: {{{milk|}}}/{{{milktime|}}}round2}} }}
 
;Milking Interval
 
:{{{milktime|}}}&nbsp;days}}
 
 
 
{{#if: {{{wool|}}}|{{#set: Wool Amount = {{{wool|}}} }}
 
;Wool Amount
 
:{{{wool|}}} }}
 
 
 
{{#if: {{{sheartime|}}}|{{#set: Shearing Interval Days = {{{sheartime|}}} }}
 
{{#set: Daily Wool Average = {{#expr: {{{wool|}}}/{{{sheartime}}}round2}} }}
 
;Shearing Interval
 
:{{{sheartime|}}}&nbsp;days}}
 
 
 
{{#if: {{{eggsmin|}}}|{{#set: Eggs Per Clutch Minimum = {{{eggsmin|}}} }}
 
{{#if: {{{eggsmax|}}}|{{#set: Eggs Per Clutch Maximum = {{{eggsmax|}}} }} }}
 
;Eggs Per Clutch
 
:{{#show: {{PAGENAME}}|?Eggs Per Clutch Minimum|link=none}} to {{#show: {{PAGENAME}}|?Eggs Per Clutch Maximum|link=none}} }}
 
 
 
{{#if: {{{eggtime|}}}|{{#set: Egg Laying Interval = {{{eggtime|}}} }}
 
{{#set: Eggs Per Season Average = {{#expr: {{{eggs_avg|}}}/{{{eggtime|}}}*15 round 2}} }}
 
;Egg Laying Interval
 
:{{{eggtime|}}}&nbsp;days}}
 
 
 
{{#if: {{{eggs_avg|}}}|{{#set: Eggs Per Clutch Average = {{{eggs_avg|}}} }} }}
 
 
 
{{#if: {{{gestation|}}}|{{#set: Gestation Period Days = {{{gestation|}}} }}
 
;Gestation Period
 
:{{{gestation|}}} days}}
 
 
 
{{#if: {{{offspring|}}}|{{#set: Offspring Per Birth = {{{offspring|}}} }}
 
;Offspring Per Birth
 
:{{{offspring|}}} }}
 
 
 
{{#if: {{{maturityage|}}}|{{#set: Maturity Age = {{{maturityage|}}} }}
 
;Maturity Age
 
:{{{maturityage|}}} }}
 
 
 
{{#if: {{{livesin_aridshrubland|}}}|{{#set: Lives in Arid Shrubland = true}} }}
 
{{#if: {{{livesin_borealforest|}}}|{{#set: Lives in Boreal Forest = true}} }}
 
{{#if: {{{livesin_desert|}}}|{{#set: Lives in Desert = true}} }}
 
{{#if: {{{livesin_icesheet|}}}|{{#set: Lives in Icesheet = true}} }}
 
{{#if: {{{livesin_temperateforest|}}}|{{#set: Lives in Temperate Forest = true}} }}
 
{{#if: {{{livesin_tropicalrainforest|}}}|{{#set: Lives in Tropical Rainforest = true}} }}
 
{{#if: {{{livesin_tundra|}}}|{{#set: Lives in Tundra = true}} }}
 
 
 
{{#if: {{{marketvalue|}}}|{{#set: Market Value = {{{marketvalue|}}} }}
 
;Market Value
 
:{{{marketvalue|}}}&nbsp;{{Icon Small|silver}} }}
 
 
 
{{#if: {{{time|}}}|{{#set:Grow Days = {{{time|}}} }}
 
;Time to grow
 
:{{{time|}}} day(s)}}
 
 
 
{{#if: {{{yield|}}}|
 
;Food Yield
 
:{{{yield|}}} [[food|food]]}}
 
 
 
{{#if: {{{wood|}}}|
 
;Wood Yield
 
:{{{wood|}}}}}
 
 
 
{{#if: {{{power|}}}|{{#set:Power Consumption = {{{power|}}} }}
 
;Power
 
:{{{power|}}}W}}
 
 
 
{{#if: {{{class|}}}|{{#set:Class = {{{class|}}} }}
 
;Class
 
:[[{{{class|}}}]]}}
 
 
 
{{#if: {{{mode|}}}|{{#set:Mode = {{{mode|}}} }}
 
;Mode
 
:{{{mode|}}}}}
 
 
 
<!--the following determines if the item is a melee weapon, else assumes it's ranged, then sets relevant property-->
 
{{#if: {{{mode|}}}|{{#ifeq: {{{mode|}}} | Melee |
 
{{#set:Melee Damage Base = {{{damage|}}}
 
|Melee Warmup = {{{warmup|}}}
 
|Melee Cooldown Base = {{{cooldown|}}}
 
}}
 
|
 
{{#set:Damage Base = {{{damage|}}}
 
|Aiming Time Base = {{{warmup|}}}
 
|Ranged Cooldown Base = {{{cooldown|}}}
 
}} }} |}}
 
 
 
{{#if: {{{damage|}}}|
 
;Damage
 
:{{{damage|}}}}}
 
 
 
{{#if: {{{warmup|}}}|
 
;{{H:title|link=no|Time it takes to aim the weapon|Warm-Up}}
 
:{{ticks|{{{warmup|}}}}}}}
 
 
 
{{#if: {{{cooldown |}}}|
 
;{{H:title|link=no|Waiting time before you can aim again after firing|Cooldown}}
 
:{{ticks|{{{cooldown|}}}}}}}
 
 
 
{{#if: {{{range|}}}|{{#set:Range = {{{range|}}} }}
 
;Range
 
:{{{range|}}} tile(s)}}
 
 
 
{{#if: {{{minrange|}}}|
 
;Minimum Range
 
:{{{minrange|}}} tiles}}
 
 
 
{{#if: {{{accuracy|}}}|
 
;Accuracy
 
:{{{accuracy|}}}}}
 
 
 
{{#if: {{{accuracyTouch|}}}| {{#Set: Accuracy (Touch) Base = {{{accuracyTouch|}}} }}   
 
{{#if: {{{accuracyShort|}}}| {{#Set: Accuracy (Short) Base = {{{accuracyShort|}}} }} 
 
{{#if: {{{accuracyMedium|}}}| {{#Set: Accuracy (Medium) Base = {{{accuracyMedium|}}} }}     
 
{{#if: {{{accuracyLong|}}}| {{#Set: Accuracy (Long) Base = {{{accuracyLong|}}} }}
 
;{{H:title|link=no|Touch % - Short % - Medium % - Long %|Accuracy}}
 
:{{{accuracyTouch|}}}% - {{{accuracyShort|}}}% - {{{accuracyMedium|}}}% - {{{accuracyLong|}}}%
 
;Average Acc.
 
:{{ #expr: (({{{accuracyTouch|}}} + {{{accuracyShort|}}} + {{{accuracyMedium|}}} + {{{accuracyLong|}}} )/4) round2 }}%
 
}}    
 
}}
 
}}
 
}}
 
 
 
 
 
 
 
 
 
 
 
{{#if: {{{velocity|}}}|{{#set:Velocity = {{{velocity|}}} }}
 
;Velocity
 
:{{{velocity|}}} (m/s)}}
 
 
 
{{#if: {{{burst|}}}|
 
;Burst Count
 
:{{{burst|}}} (per burst)}}
 
 
 
{{#if: {{{burstTicks|}}}|
 
;{{H:title|link=no|Time between shots|Burst Ticks}}
 
:{{ticks|{{{burstTicks|}}}}}}}
 
 
 
{{#if: {{{missRadius|}}}|
 
;{{H:title|link=no|Missed shots are forced to land within this radius|Miss Radius}}
 
:{{{missRadius|}}} tile(s)}}
 
 
 
{{#if: {{{blastRadius|}}}|
 
;Blast Radius
 
:{{{blastRadius|}}}}}
 
 
 
{{
 
#if: {{{DPS|}}}|
 
;{{H:title|link=yes|Formatted as: Maximum damage per second (DPS with average accuracy)|DPS}}
 
:{{ #expr: ((( {{{damage|}}} * {{#if: {{{burst|}}}|{{{burst|}}}|1}} ) / (( {{#if: {{{cooldown|}}}|{{{cooldown|}}}|1}} + {{#if: {{{warmup|}}}|{{{warmup|}}}|0}} + ( {{#if: {{{burstTicks|}}}|{{{burstTicks|}}}|1}} * ( {{#if: {{{burst|}}}|{{{burst|}}}|1}} - 1 ))) / 60))) round2 }} {{#if: {{{accuracyTouch|}}}| {{#if: {{{accuracyShort|}}}| {{#if: {{{accuracyMedium|}}}| {{#if: {{{accuracyLong|}}}|({{ #expr: ((( {{{damage|}}} * {{#if: {{{burst|}}}|{{{burst|}}}|1}} ) / (( {{#if: {{{cooldown|}}}|{{{cooldown|}}}|1}} + {{#if: {{{warmup|}}}|{{{warmup|}}}|0}} + ( {{#if: {{{burstTicks|}}}|{{{burstTicks|}}}|1}} * ( {{#if: {{{burst|}}}|{{{burst|}}}|1}} - 1 ))) / 60)) * (({{{accuracyTouch|}}} + {{{accuracyShort|}}} + {{{accuracyMedium|}}} + {{{accuracyLong|}}} )/400)) round2 }})
 
}}
 
}}
 
}}
 
}}
 
}}
 
 
 
{{#if: {{{buy|}}}|
 
;Buy
 
:{{{buy|}}}}}
 
 
 
{{#if:{{{sell|}}}|
 
;Sell
 
:{{{sell|}}}}}
 
 
 
<br style="clear: both; height: 0px;" />
 
</dl></div></div>
 
 
 
<noinclude>
 
{{{{BASEPAGENAME}}/doc}}
 
[[Category:Template Infobox]]
 
</noinclude>
 

Latest revision as of 09:55, 23 October 2022

Bulk Goods Trader[edit]

Bulk Goods Traders deal in general building resources such as wood and steel. Also sells beer, chocolate, and medicine. Sometimes carries animals including pets and farm animals.


Individual items:

Name Price Min Stock Max Stock Avg Stock
Silver N/A 4000 6000 5000
Component normal 5 30 17.5
Steel cheap 800 1500 1150
Wood cheap 800 1500 1150
Plasteel cheap 300 700 500
Cloth normal 0 600 400
Chocolate random 0 Silver 2000 worth Silver 650 worth
Beer random 0 Silver 2000 worth Silver 650 worth
Medicine expensive 10 30 20

Groups of items:

Group Price Min Stock Max Stock Avg Stock Items
Textiles cheap 1 kind
2200 silver total
2 kinds
4000 silver total
1.5 kinds
3300 silver total
Raw resources cheap 2 kinds
1500 silver total
4 kinds
3000 silver total
3 kinds
2250 silver total
Raw food cheap 2 kinds
1600 silver total
8 kinds
5000 silver total
5 kinds
3300 silver total
Meals cheap 1 kind
500 silver total
2 kinds
1500 silver total
1.5 kinds
1000 silver total
Standard animals random 2 kinds
10 qty total
4 kinds
20 qty total
3 kinds
15 qty total