mirror of
https://github.com/t-affeldt/regional_weather.git
synced 2025-01-08 01:00:30 +01:00
Make snow griefing optional
This commit is contained in:
parent
0fd6942225
commit
1079f9a762
@ -103,6 +103,7 @@ climate_api.register_abm({
|
||||
end
|
||||
})
|
||||
|
||||
if regional_weather.settings.snow_griefing then
|
||||
climate_api.register_abm({
|
||||
label = "replace flora with snow covers and stack covers higher",
|
||||
nodenames = {
|
||||
@ -154,6 +155,7 @@ climate_api.register_abm({
|
||||
end
|
||||
end
|
||||
})
|
||||
end
|
||||
|
||||
climate_api.register_abm({
|
||||
label = "melt snow covers",
|
||||
|
1
init.lua
1
init.lua
@ -21,6 +21,7 @@ regional_weather = {}
|
||||
regional_weather.settings = {}
|
||||
regional_weather.settings.player_speed = get_setting_bool("player_speed", true)
|
||||
regional_weather.settings.snow = get_setting_bool("snow_layers", true)
|
||||
regional_weather.settings.snow_griefing = get_setting_bool("snow_griefing", true)
|
||||
regional_weather.settings.puddles = get_setting_bool("puddles", true)
|
||||
regional_weather.settings.puddles_water = get_setting_bool("puddles_water", true)
|
||||
regional_weather.settings.soil = get_setting_bool("soil", true)
|
||||
|
@ -6,6 +6,9 @@ regional_weather_player_speed (Change movement speed based on wind) bool true
|
||||
# If set to true, snow layers will stack up during snowy weather.
|
||||
regional_weather_snow_layers (Place snow layers) bool true
|
||||
|
||||
# If set to true, snow layers will destroy crops
|
||||
regional_weather_snow_griefing (Destructive snow layers) bool true
|
||||
|
||||
# If set to true, river water sources will freeze at low temperatures and melt when it gets warmer again.
|
||||
# This process does not affect regular ice blocks because it adds its own temporary ones.
|
||||
regional_weather_ice (Freeze river water) bool true
|
||||
|
Loading…
Reference in New Issue
Block a user