Skip to content

15. Number Parameters

matthewes1 edited this page Nov 29, 2022 · 2 revisions

Number Parameters

Type Parameters - THESE ARE CAPS SENSITIVE! Description Translate
Age Any Integer number. Use "INITIATOR_age=" No
Chronological Age Any Integer number. Use "INITIATOR_chronologicalAge=" No
Mood Any Decimal number. Pawns mood of the other pawn.

Use "INITIATOR_mood="
No
Opinion Any Integer number. Opinion of the other pawn.

Use "INITIATOR_opinion="
No
Pawn Skill Level Any Integer number. Test for pawns skill level.

Use "INITIATOR_shooting_level="
No
Needs Any decimal number. The current percentage of the need. This is a percentage in decimal value between 0 and 1.
Uses the needs defName.

Use "INITIATOR_need_Rest="
No
Hediff Any decimal number. The current severity of the hediff. Each hediff has different max severities, and some can go higher than 1.
Uses the hediffs defName.

use "INITIATOR_hediff_Bloodloss="
Hour Any Integer number. What hour of the day it is.

Use "HOUR="
No
Temperature Any decimal number. What the maps temperature is. Warning: This is in Celsius!

Use "TEMPERATURE="
No
Colony Inventory Any Integer number. How much of an item the colony has stored.
Uses the items label

Use "COLONY_INVENTORY_steel=5"
Yes