make webs snappy

This commit is contained in:
FaceDeer 2021-03-28 02:58:32 -06:00
parent 126efd8a67
commit fd392311d6
2 changed files with 3 additions and 3 deletions

View File

@ -137,7 +137,7 @@ minetest.register_node("big_webs:webbing", {
is_ground_content = false,
climbable = true,
floodable = true,
groups = {choppy = 2, webbing = 1, flammable=1, fall_damage_add_percent=-100, bouncy=20},
groups = {snappy = 2, choppy = 2, webbing = 1, flammable=1, fall_damage_add_percent=-100, bouncy=20},
sounds = sound,
on_construct = function(pos)
minetest.get_node_timer(pos):start(30)
@ -185,7 +185,7 @@ minetest.register_node("big_webs:web_egg", {
is_ground_content = false,
climbable = true,
floodable = true,
groups = {choppy = 2, webbing = 1, flammable=1, fall_damage_add_percent=-100, bouncy=20},
groups = {snappy = 2, choppy = 2, webbing = 1, flammable=1, fall_damage_add_percent=-100, bouncy=20},
sounds = sound,
on_construct = function(pos)
minetest.get_node_timer(pos):start(1)

View File

@ -367,7 +367,7 @@ local decorate_level_3 = function(minp, maxp, seed, vm, node_arrays, area, data)
else
df_caverns.tunnel_ceiling(minp, maxp, area, vi, nvals_cracks, data, data_param2, false)
end
if c_webs_egg and not flooded_caverns and biome_name == "barren" and nvals_cracks[index2d] > 0.5 and math.random() < 0.2 then
if c_webs_egg and biome_name == "barren" and nvals_cracks[index2d] > 0.5 and math.random() < 0.1 then
local index = vi-ystride
if data[index] == c_air then
data[index] = c_webs_egg