Skip to content

Commit

Permalink
Update init.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
oong819 authored Oct 29, 2022
1 parent 4d3508b commit f42e121
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions mods/default/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,20 @@ minetest.register_decoration({
schematic = minetest.get_modpath("default") .. "/schematics/derock.mts",
flags = "place_center_x, place_center_z",
})

default.chest.register_chest({
description = "Thest",
tiles = {
"default_chest_top.png",
"default_chest_top.png",
"default_chest_side.png",
"default_chest_side.png",
"default_chest_front.png",
"default_chest_inside.png"
}, -- Textures which are applied to the chest model.
sounds = default.node_sound_wood_defaults(),
sound_open = "default_chest_open",
sound_close = "default_chest_close",
groups = {not_in_creative_inventory = 1},
breakable = false,
})

0 comments on commit f42e121

Please sign in to comment.