1234567891011121314151617181920212223242526272829303132333435363738394041 |
- ghost_stone = ghost_stone or {}
- ghost_stone.modpath = minetest.get_modpath("ghost_stone")
- if not ghost_stone.run_once then
- minetest.register_node("ghost_stone:cobble", {
- description = "Ghost Stone",
- drawtype = "glasslike",
- paramtype = "light",
-
-
- inventory_image = "ghost_stone.png",
- wield_image = "ghost_stone.png",
-
- tiles = {"default_cobble.png"},
- is_ground_content = false,
- groups = utility.dig_groups("cobble"),
- sounds = rackstone.rackstone_sounds(),
- walkable = false,
- post_effect_color = {a = 100, r = 255, g = 0, b = 40},
- drowning = 8,
- })
-
- minetest.register_craft({
- output = "ghost_stone:cobble 8",
- recipe = {
- {"default:cobble", "default:cobble", "default:cobble"},
- {"default:cobble", "rackstone:evilrack", "default:cobble"},
- {"default:cobble", "default:cobble", "default:cobble"},
- },
- })
-
- local c = "ghost_stone:core"
- local f = ghost_stone.modpath .. "/init.lua"
- reload.register_file(c, f, false)
-
- ghost_stone.run_once = true
- end
|