1
0
mirror of https://github.com/t-affeldt/regional_weather.git synced 2025-07-18 08:20:28 +02:00

Add feature toggles for movement modifier and hydrating puddles

This commit is contained in:
Till Affeldt
2020-05-16 05:02:01 +02:00
parent a0c56052dd
commit e6f0067f3b
4 changed files with 27 additions and 12 deletions

View File

@ -26,6 +26,11 @@ local node_box = {
fixed = {-0.5, -0.5, -0.5, 0.5, -0.49, 0.5}
}
local apply_water_group
if regional_weather.settings.puddles_water then
apply_water_group = 1
end
for i = 1,VARIANT_COUNT do
for flip = 0,1 do
local name = BLOCK_PREFIX .. i
@ -54,7 +59,7 @@ for i = 1,VARIANT_COUNT do
attached_node = 1,
slippery = 1,
flora = 1,
water = 1,
water = apply_water_group,
weather_puddle = 1
},
drop = "",