#[non_exhaustive]pub struct Settings {Show 38 fields
pub player_health_factor: f32,
pub player_mana_factor: f32,
pub player_stamina_factor: f32,
pub player_body_heat_factor: f32,
pub player_diving_time_factor: f32,
pub enable_durability: bool,
pub enable_starving_debuff: bool,
pub food_buff_duration_factor: f32,
pub from_hunger_to_starving: Duration,
pub shroud_time_factor: f32,
pub tombstone_mode: TombstoneMode,
pub enable_glider_turbulences: bool,
pub weather_frequency: WeatherFrequency,
pub fishing_difficulty: GenericDifficulty,
pub mining_damage_factor: f32,
pub plant_growth_speed_factor: f32,
pub resource_drop_stack_amount_factor: f32,
pub factory_production_speed_factor: f32,
pub perk_upgrade_recycling_factor: f32,
pub perk_cost_factor: f32,
pub experience_combat_factor: f32,
pub experience_mining_factor: f32,
pub experience_exploration_quests_factor: f32,
pub random_spawner_amount: RandomSpawnerAmount,
pub aggro_pool_amount: AggroPoolAmount,
pub enemy_damage_factor: f32,
pub enemy_health_factor: f32,
pub enemy_stamina_factor: f32,
pub enemy_perception_range_factor: f32,
pub boss_damage_factor: f32,
pub boss_health_factor: f32,
pub threat_bonus: f32,
pub pacify_all_enemies: bool,
pub taming_startle_repercussion: TamingStartleRepercussion,
pub day_time_duration: Duration,
pub night_time_duration: Duration,
pub curse_modifier: CurseModifier,
pub flame_level_fog_removal: u8,
}Expand description
The server’s game settings, typed; read and changed through
GameSettings. Factors are 1 for the game’s normal value.
§Examples
See the module.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.player_health_factor: f32The characters’ health.
player_mana_factor: f32The characters’ mana.
player_stamina_factor: f32The characters’ stamina.
player_body_heat_factor: f32The characters’ body heat.
player_diving_time_factor: f32How long characters hold their breath.
enable_durability: boolWhether items wear out.
enable_starving_debuff: boolWhether hunger turns into starving.
food_buff_duration_factor: f32How long food buffs last.
from_hunger_to_starving: DurationHow long a character goes hungry before starving, in game time.
shroud_time_factor: f32How long characters last in the shroud.
tombstone_mode: TombstoneModeWhat a dead character leaves behind.
enable_glider_turbulences: boolWhether gliders meet turbulence.
weather_frequency: WeatherFrequencyHow often rain and storms come.
fishing_difficulty: GenericDifficultyHow hard fishing is.
mining_damage_factor: f32Damage to terrain and resources when mining.
plant_growth_speed_factor: f32How fast plants grow.
resource_drop_stack_amount_factor: f32How many resources a drop stacks.
factory_production_speed_factor: f32How fast workshops produce.
perk_upgrade_recycling_factor: f32What recycling a perk upgrade returns.
perk_cost_factor: f32What perks cost.
experience_combat_factor: f32Experience from combat.
experience_mining_factor: f32Experience from mining.
experience_exploration_quests_factor: f32Experience from exploration and quests.
random_spawner_amount: RandomSpawnerAmountHow many enemies random spawners bring.
aggro_pool_amount: AggroPoolAmountHow many enemies attack at once.
enemy_damage_factor: f32The enemies’ damage, for enemies spawned after a change.
enemy_health_factor: f32The enemies’ health, for enemies spawned after a change.
enemy_stamina_factor: f32The enemies’ stamina, for enemies spawned after a change.
enemy_perception_range_factor: f32How far enemies notice characters.
boss_damage_factor: f32The bosses’ damage.
boss_health_factor: f32The bosses’ health.
threat_bonus: f32The threat bonus.
pacify_all_enemies: boolWhether enemies leave characters alone until attacked.
taming_startle_repercussion: TamingStartleRepercussionWhat startling a tamed animal costs.
day_time_duration: DurationHow long the day lasts in real time; the clock keeps its hour.
night_time_duration: DurationHow long the night lasts in real time.
curse_modifier: CurseModifierHow hard the shroud’s curse hits.
flame_level_fog_removal: u8The Flame level from which the shroud lifts where it is cleared.