ShelteredCondition ​
Inherits: Condition < Resource
Checks whether the party's view is inside a shelter (a ShelterVolume): "the party is under a roof" lets a camp be made, "the party is in the open" starts a storm quest. The shelter is the one at the camera, the same one that weakens the weather on the screen. See docs: World > Shelter.
Properties ​
bool | sheltered | true |
float | at_least | 0.5 |
Methods ​
bool | evaluate( _argument: Variant = null ) |
String | get_description() |
String | get_function_description() |
String | get_expected_argument_type() |
bool | is_valid() |
Property descriptions ​
bool sheltered = true ​
Is the condition met inside a shelter (true) or in the open (false)?
float at_least = 0.5 ​
How much of the weather the shelter has to keep off to count (0 to 1): a tent of 0.6 does not count at 0.8
Method descriptions ​
bool evaluate( _argument: Variant = null ) ​
Is the condition met?
String get_description() ​
A short text about what the condition checks.
String get_function_description() ​
The sentence the editor shows for the condition, with {placeholders} for its values.
String get_expected_argument_type() ​
The kind of thing the condition is checked against (an entity, an encounter ...).
bool is_valid() ​
Are the settings of the condition complete?