Difference between revisions of "User:Pangaea/Notes on infoboxes"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "{{tocright}} == Pawn/Race/Animal == <pre> <!-- Intro --> description description_markup image name ? type subtype <!-- General --> basebodysize basehealthscale basehungerr...")
 
m
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{tocright}}
+
{{TOCright}}
 
== Pawn/Race/Animal ==
 
== Pawn/Race/Animal ==
 
<pre>  <!-- Intro -->
 
<pre>  <!-- Intro -->
 +
| name              = String
 +
| image              = File
 +
| description        = Text    <!-- Plain, from XML files -->
 +
| description_markup = Wikitext  <!-- With markup, for use in the article intro -->
 +
| type              = Page    <!-- Animal? Mech? -->
 +
| subtype            = Page    <!-- Domesticated? -->
 +
<!--  General  -->
 +
| basebodysize      = Float
 +
| basehealthscale    = Float
 +
| basehungerrate    = Float
 +
| comfytemp_max      = Integer
 +
| comfytemp_min      = Integer
 +
| foodtype/diet      = Page
 +
| flammability      = Float
 +
| has_gender        = Boolean
 +
| marketvalue        = Integer
 +
| movespeed          = Float
 +
<!--  Combat  -->
 +
| armorrating_blunt  = Float
 +
| armorrating_heat  = Float
 +
| armorrating_sharp  = Float
 +
| combatpower        = Integer
 +
<!-- Life phases -->
 +
| life_expectancy    = Integer
 +
| mass_adult        = Float
 +
| mass_baby          = Float
 +
| mass_juvenile      = Float
 +
| maturity_age      = Float
 +
| minage_adult      = Float
 +
| minage_baby        = Float
 +
| minage_juvenile    = Float
 +
| gestation_period  = Integer
 +
| offspring_low      = Integer
 +
| offspring_high    = Integer
 +
<!--  Taming/hunting  -->
 +
| handleskill        = Integer
 +
| manhunter_damage  = Float
 +
| manhunter_tamefail = Float
 +
| nameontamechance  = Float
 +
| nuzzlehours        = Integer
 +
| petness            = Float
 +
| predator          = Boolean
 +
| maxpreybodysize    = Float
 +
| trainability      = String    <!-- or Page? -->
 +
| train_haul        = Boolean
 +
| train_obedience    = Boolean
 +
| train_release      = Boolean
 +
| train_rescue      = Boolean
 +
| wildness          = Float
 +
<!--  Product  -->
 +
| egg_amountlow      = Integer
 +
| egg_amounthigh    = Integer
 +
| egg_type          = Integer
 +
| egg_time          = Integer
 +
| leather_amount    = Integer
 +
| leather_type      = Page    <!-- or Page? -->
 +
| meat_amount        = Integer
 +
| meat_type          = Page
 +
| milk_amount        = Integer
 +
| milk_time          = Integer
 +
| shear_time        = Integer
 +
| wool_amount        = Integer
 +
| wool_type          = Page    <!-- or Page? -->
 +
<!--  Other      -->
 +
| ecosystemweight    = Float
 +
| recipes_operation  = List (,) of String
 +
| tradetags          = List (,) of String
 +
<!--| butcherproducts?? (mechs) = Integer-->
 +
 +
Attack data: In Attack table
 +
Lives in data: In Biome table
 +
</pre>
 +
 +
== Biome ==
 +
May need several child-tables to easier deal with querying on the data. Possibly relevant for:
 +
* diseases
 +
* wildplants
 +
* wildanimals
 +
 +
<pre>name
 +
image (example)
 
description
 
description
description_markup
+
 
 +
animaldensity 1.8
 +
plantdensity 0.24
 +
settlementselectionweight 0.95
 +
movementdifficulty 1
 +
forageability0.5
 +
foragedfood RawAgave
 +
wildplantregrowdays27
 +
diseasemtbdays65
 +
  diseases (list/new table)
 +
 
 +
terrainsbyfertility
 +
  sand, min, max
 +
  soil, min, max etc
 +
 
 +
baseweathercommonalities
 +
  clear 18, fog 1, rain 2, etc
 +
 
 +
wildplants
 +
  plantgrass 7.0
 +
  plantdandelion 0.8 etc
 +
 
 +
wildanimals
 +
  rat 1.3
 +
  hare 1.3 etc
 +
 
 +
allowedpackanimals
 +
  muffalo, dromedary etc
 +
</pre>
 +
 
 +
== Weapon (ranged) ==
 +
Good grief... this is becoming a bit much.
 +
 
 +
<pre>WEAPON RANGED
 +
----------------
 +
name
 
image
 
image
name ?
+
description
type
+
category/type (weapon)
subtype
+
subtype? (ranged)
  
  <!-- General -->
+
drawguioverlaytrue
basebodysize
+
altitudelayerItem
basehealthscale
+
alwayshaulabletrue
basehungerrate
+
tickertypeNever
comfytemp_max
+
equipmenttypePrimary
comfytemp_min
+
usehitpointstrue
foodtype/diet
+
pathcost10
flammability
+
selectabletrue
has_gender
+
maxhitpoints100
marketvalue
+
flammability1
 +
deteriorationrate2
 +
beauty
 +
sellpricefactor0
 +
compclassCompEquippable
  
  <!-- Fighting -->
+
techlevelIndustrial
armorrating_blunt
+
smeltabletrue
armorrating_heat
+
thingcategories  WeaponsRanged
armorrating_sharp
+
minqualityforartisticExcellent
combatpower
 
  
   <!-- Life phases -->
+
recipemaker
mass_adult
+
   workspeedstatSmithingSpeed
mass_baby
+
  workskillCrafting
mass_juvenile
+
  effectworkingSmith
maturity_age
+
  skillrequirements (crafting 3, etc)
minage_adult
+
    disallowedthingdefs
minage_baby
+
      silver, gold, woodlog, etc
minage_juvenile
+
recipeusers
movespeed
+
  TableMachining
life_expectancy
+
  ElectricSmithy
gestation_period
+
researchprerequisiteGunsmithing
offspring_high
 
offspring_low
 
  
  <!-- Taming -->
+
weapontags (gun, simplegun, revolver)
handleskill
 
manhunter_dmg
 
manhunter_tame
 
maxpreybodysize
 
nameontamechance
 
nuzzlehours
 
petness
 
predator
 
trainability
 
train_haul
 
train_obedience
 
train_release
 
train_rescue
 
wildness
 
  
   <!-- Products -->
+
defname (bullet_revolver etc)
leather_amount
+
projectile
leather_type
+
   flyoverheadfalse
meat_amount
+
  damagedefBullet
meat_type
+
  damageamountbase12
milk_amount
+
  stoppingpower1
milk_time
+
  armorpenetrationbase0.14
sheartime
+
  speed55
wool_amount
+
  explosionradius1
wool_type
+
  preexplosionspawnthingdefFilth_Fuel
 +
  preexplosionspawnchance0.6
 +
  ai_isincendiarytrue
  
   <!-- Unsure -->
+
statbases
ecosystemweight
+
   worktomake4000
recipes_operation
+
  mass1
tradetags
+
  accuracytouch0
butcherproducts?? (mechs)
+
  accuracyshort0
 +
  accuracymedium0
 +
  accuracylong0
 +
  rangedweapon_cooldown1
  
Attack data: In Attack table
+
costlist
Lives in data: In Biome table
+
  steel30
 +
  componentindustrial2
 +
 
 +
verbs: (wtf..?)
 +
hasstandardcommandtrue
 +
defaultprojectileBullet_Revolver
 +
warmuptime0
 +
range25
 +
burstshotcount3
 +
ticksbetweenburstshots7
 +
soundcastShot_Revolver
 +
soundcasttailGunTail_Light
 +
muzzleflashscale9
 +
forcedmissradius1
 +
cantargetlocationstrue
 +
 
 +
tools (grip, barrel..)
 +
capacities (blunt, poke..)
 +
power9
 +
cooldowntime2
 +
 
 +
equippedstatoffsets
 +
  movespeed-0.25
 
</pre>
 
</pre>

Latest revision as of 22:52, 17 June 2020

Pawn/Race/Animal[edit]

  <!-- Intro -->
| name               = String
| image              = File
| description        = Text    <!-- Plain, from XML files -->
| description_markup = Wikitext   <!-- With markup, for use in the article intro -->
| type               = Page    <!-- Animal? Mech? -->
| subtype            = Page    <!-- Domesticated? -->
<!--   General   -->
| basebodysize       = Float
| basehealthscale    = Float
| basehungerrate     = Float
| comfytemp_max      = Integer
| comfytemp_min      = Integer
| foodtype/diet      = Page
| flammability       = Float
| has_gender         = Boolean
| marketvalue        = Integer
| movespeed          = Float
<!--   Combat   -->
| armorrating_blunt  = Float
| armorrating_heat   = Float
| armorrating_sharp  = Float
| combatpower        = Integer
<!-- Life phases -->
| life_expectancy    = Integer
| mass_adult         = Float
| mass_baby          = Float
| mass_juvenile      = Float
| maturity_age       = Float
| minage_adult       = Float
| minage_baby        = Float
| minage_juvenile    = Float
| gestation_period   = Integer
| offspring_low      = Integer
| offspring_high     = Integer
<!--   Taming/hunting   -->
| handleskill        = Integer
| manhunter_damage   = Float
| manhunter_tamefail = Float
| nameontamechance   = Float
| nuzzlehours        = Integer
| petness            = Float
| predator           = Boolean
| maxpreybodysize    = Float
| trainability       = String     <!-- or Page? -->
| train_haul         = Boolean
| train_obedience    = Boolean
| train_release      = Boolean
| train_rescue       = Boolean
| wildness           = Float
<!--   Product   -->
| egg_amountlow      = Integer
| egg_amounthigh     = Integer
| egg_type           = Integer
| egg_time           = Integer
| leather_amount     = Integer
| leather_type       = Page     <!-- or Page? -->
| meat_amount        = Integer
| meat_type          = Page
| milk_amount        = Integer
| milk_time          = Integer
| shear_time         = Integer
| wool_amount        = Integer
| wool_type          = Page     <!-- or Page? -->
<!--   Other      -->
| ecosystemweight    = Float
| recipes_operation  = List (,) of String
| tradetags          = List (,) of String
<!--| butcherproducts?? (mechs) = Integer-->

Attack data: In Attack table
Lives in data: In Biome table

Biome[edit]

May need several child-tables to easier deal with querying on the data. Possibly relevant for:

  • diseases
  • wildplants
  • wildanimals
name
image (example)
description

animaldensity 1.8
plantdensity 0.24
settlementselectionweight 0.95
movementdifficulty 1
forageability0.5
foragedfood RawAgave
wildplantregrowdays27
diseasemtbdays65
  diseases (list/new table)

terrainsbyfertility
  sand, min, max
  soil, min, max etc

baseweathercommonalities
  clear 18, fog 1, rain 2, etc

wildplants
  plantgrass 7.0
  plantdandelion 0.8 etc

wildanimals
  rat 1.3
  hare 1.3 etc

allowedpackanimals
  muffalo, dromedary etc

Weapon (ranged)[edit]

Good grief... this is becoming a bit much.

WEAPON RANGED
----------------
name
image
description
category/type (weapon)
subtype? (ranged)

drawguioverlaytrue
altitudelayerItem
alwayshaulabletrue
tickertypeNever
equipmenttypePrimary
usehitpointstrue
pathcost10
selectabletrue
maxhitpoints100
flammability1
deteriorationrate2
beauty
sellpricefactor0
compclassCompEquippable

techlevelIndustrial
smeltabletrue
thingcategories   WeaponsRanged
minqualityforartisticExcellent

recipemaker
  workspeedstatSmithingSpeed
  workskillCrafting
  effectworkingSmith
  skillrequirements (crafting 3, etc)
    disallowedthingdefs
      silver, gold, woodlog, etc
recipeusers
  TableMachining
  ElectricSmithy
researchprerequisiteGunsmithing

weapontags (gun, simplegun, revolver)

defname (bullet_revolver etc)
projectile
  flyoverheadfalse
  damagedefBullet
  damageamountbase12
  stoppingpower1
  armorpenetrationbase0.14
  speed55
  explosionradius1
  preexplosionspawnthingdefFilth_Fuel
  preexplosionspawnchance0.6
  ai_isincendiarytrue

statbases
  worktomake4000
  mass1
  accuracytouch0
  accuracyshort0
  accuracymedium0
  accuracylong0
  rangedweapon_cooldown1

costlist
  steel30
  componentindustrial2

verbs: (wtf..?)
hasstandardcommandtrue
defaultprojectileBullet_Revolver
warmuptime0
range25
burstshotcount3
ticksbetweenburstshots7
soundcastShot_Revolver
soundcasttailGunTail_Light
muzzleflashscale9
forcedmissradius1
cantargetlocationstrue

tools (grip, barrel..)
capacities (blunt, poke..)
power9
cooldowntime2

equippedstatoffsets
  movespeed-0.25