Skip to content

Commit

Permalink
Update sculk.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
thunder1035 committed Jun 26, 2022
1 parent 91b0c1e commit e7b09c8
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion test/sculk.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
--4)sculk shrieker--
--5)sculk vein--

--------------
local sounds = mcl_sounds.node_sound_sand_defaults({
footstep = {name = "mcl_sculk_block", gain = 0.4},
dug = {name = "mcl_sculk_block", gain = 0.44},
})
---------------
--1) sculk block--
minetest.register_node("wild_update:sculk", {
Expand All @@ -22,7 +27,7 @@ minetest.register_node("wild_update:sculk", {
stack_max = 64,
drop = "",
groups = {handy = 1, hoey = 1, building_block=1,},
sounds = mcl_sounds.node_sound_sand_defaults(),
sounds = sounds,
is_ground_content = false,
on_destruct = function(pos)
mcl_experience.throw_xp(pos,math.random(15,43))
Expand All @@ -31,3 +36,26 @@ minetest.register_node("wild_update:sculk", {
_mcl_hardness = 0.6,
_mcl_silk_touch_drop = true,
})

--2)sculk catalyst--
--sculk catalyst off--
minetest.register_node("wild_update:sculk_catalyst", {
description = ("Sculk Catalyst"),
tiles = {"mcl_sculk_catalyst_top.png",
"mcl_sculk_catalyst_bottom.png","mcl_sculk_catalyst_side.png"
},
stack_max = 64,
drop = "",
groups = {handy = 1, hoey = 1, building_block=1,},
sounds = sounds,
is_ground_content = false,
on_destruct = function(pos)
mcl_experience.throw_xp(pos,math.random(20,20))
end,
_mcl_blast_resistance = 3,
light_source = 6,
_mcl_hardness = 3,
_mcl_silk_touch_drop = true,
})

--sculk catalyst on--

0 comments on commit e7b09c8

Please sign in to comment.