1
0
Fork 0

Implement drops of sea pickles

This commit is contained in:
Wuzzy 2019-12-27 15:32:09 +01:00
parent b77307b7ac
commit 8c0bea7dad
1 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,7 @@ end
local sounds_coral_plant = mcl_sounds.node_sound_leaves_defaults({footstep = mcl_sounds.node_sound_dirt_defaults().footstep}) local sounds_coral_plant = mcl_sounds.node_sound_leaves_defaults({footstep = mcl_sounds.node_sound_dirt_defaults().footstep})
local ontop = "dead_brain_coral_block" local ontop = "dead_brain_coral_block"
local canonical = "mcl_ocean:sea_pickle_1_"..ontop
for s=1,4 do for s=1,4 do
local desc, doc_desc, doc_use, doc_create, nici, img, img_off, on_place local desc, doc_desc, doc_use, doc_create, nici, img, img_off, on_place
@ -113,6 +114,7 @@ for s=1,4 do
} }
}, },
sounds = sounds_coral_plant, sounds = sounds_coral_plant,
drop = canonical .. " "..s,
node_placement_prediction = "", node_placement_prediction = "",
node_dig_prediction = "mcl_ocean:"..ontop, node_dig_prediction = "mcl_ocean:"..ontop,
after_dig_node = function(pos) after_dig_node = function(pos)
@ -145,6 +147,7 @@ for s=1,4 do
inventory_image = img_off, inventory_image = img_off,
wield_image = img_off, wield_image = img_off,
sounds = sounds_coral_plant, sounds = sounds_coral_plant,
drop = canonical .. " "..s,
node_placement_prediction = "", node_placement_prediction = "",
node_dig_prediction = "mcl_ocean:"..ontop, node_dig_prediction = "mcl_ocean:"..ontop,
after_dig_node = function(pos) after_dig_node = function(pos)