Don't spawn vines on group:leafdecay
[minetest_hades/hades_revisited.git] / mods / columnia / init.lua
blobdd656c1e195c80284fc8e2bc941ebfe1d59a0b55
1 -- its a fork (2015 by Glünggi) of the mymillwork mod by DonBatman wtfpl license
3 columnia = {}
5 local S = minetest.get_translator("columnia")
7 -- Bracket
8 minetest.register_node("columnia:bracket", {
9 description = S("Bracket"),
10 tiles = {"columnia_rusty.png",},
11 drawtype = "nodebox",
12 sunlight_propagates = true,
13 paramtype = 'light',
14 paramtype2 = "facedir",
15 node_box = {
16 type = "fixed",
17 fixed = {
18 {-0.25, 0, 0.4375, 0.25, 0.5, 0.5},
19 {-0.1875, -0.5, -0.1875, 0.1875, -0.375, 0.1875},
20 {-0.0625, -0.375, -0.0625, 0.0625, 0.1875, 0.0625},
21 {-0.0625, 0.1875, -0.0625, 0.0625, 0.3125, 0.4375},
22 {-0.1875, 0.0625, 0.3125, 0.1875, 0.4375, 0.4375},
23 {-0.125, -0.375, -0.125, 0.125, -0.25, 0.125},
26 groups = {cracky=3,},
27 sounds = hades_sounds.node_sound_metal_defaults(),
30 minetest.register_craft({
31 output = 'columnia:bracket 4',
32 recipe = {
33 {"hades_core:steel_ingot", "hades_core:steel_ingot", ""},
34 {"", "hades_core:steel_ingot", ""},
35 {"", "hades_core:steel_ingot", ""},
37 replacements = {{"columnia:blueprint", "columnia:blueprint"}},
40 -- Lamp
41 minetest.register_node("columnia:lamp_ceiling", {
42 description = S("Column Lamp"),
43 drawtype = "nodebox",
44 paramtype = "light",
45 paramtype2 = "facedir",
46 inventory_image = "columnia_lamp_inv.png",
47 tiles = {
48 "columnia_rusty.png", "columnia_lamp.png", "columnia_lamp.png",
49 "columnia_lamp.png", "columnia_lamp.png", "columnia_lamp.png"
51 sunlight_propagates = true,
52 light_source = 13,
53 walkable = false,
54 groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
55 node_box = {
56 type = "fixed",
57 fixed = {
58 {-0.1875, 0.4375, -0.1875, 0.1875, 0.5, 0.1875},
59 {-0.125, 0.375, -0.125, 0.125, 0.4375, 0.125},
62 sounds = hades_sounds.node_sound_glass_defaults(),
65 minetest.register_craft({
66 output = 'columnia:lamp_ceiling 4',
67 recipe = {
68 {"hades_core:steel_ingot", "hades_core:steel_ingot", ""},
69 {"", "glowcrystals:glowdust", ""},
70 {"", "hades_core:glass", ""},
73 minetest.register_craft({
74 output = 'columnia:lamp_ceiling 4',
75 recipe = {
76 {"hades_core:steel_ingot", "hades_core:steel_ingot", ""},
77 {"", "hades_torches:torch", ""},
78 {"", "hades_core:glass", ""},
82 -- Rusty_Block
84 minetest.register_node("columnia:rusty_block", {
85 description = S("Rusty Block"),
86 tiles = {"columnia_rusty_block.png"},
87 is_ground_content = true,
88 groups = {cracky=1},
89 sounds = hades_sounds.node_sound_heavy_metal_defaults(),
92 minetest.register_craft({
93 output = 'columnia:rusty_block 3',
94 recipe = {
95 {"hades_core:iron_lump", "hades_core:iron_lump", "hades_core:iron_lump"},
96 {"hades_core:iron_lump", "hades_core:iron_lump", "hades_core:iron_lump"},
97 {"hades_core:iron_lump", "hades_core:iron_lump", "hades_core:iron_lump"},
101 dofile(minetest.get_modpath("columnia").."/columnia.lua")
102 dofile(minetest.get_modpath("columnia").."/machines.lua")
103 dofile(minetest.get_modpath("columnia").."/register.lua")