parent
03772895e3
commit
51a2429359
|
@ -6,6 +6,7 @@
|
||||||
-- Copyright (C) 2019 - 2020 Steamed_Punk steamedpunk.mt at gmail.com
|
-- Copyright (C) 2019 - 2020 Steamed_Punk steamedpunk.mt at gmail.com
|
||||||
-- ---------------------------------------
|
-- ---------------------------------------
|
||||||
|
|
||||||
|
|
||||||
-- License code for better lighting.
|
-- License code for better lighting.
|
||||||
-- ---------------------------------------
|
-- ---------------------------------------
|
||||||
|
|
||||||
|
@ -14,7 +15,6 @@
|
||||||
-- Copyright (C) 2020 Nathan.S at https://github.com/NathanSalapat
|
-- Copyright (C) 2020 Nathan.S at https://github.com/NathanSalapat
|
||||||
-- ---------------------------------------
|
-- ---------------------------------------
|
||||||
|
|
||||||
|
|
||||||
-- NODES
|
-- NODES
|
||||||
|
|
||||||
-- STREETLIGHT
|
-- STREETLIGHT
|
||||||
|
@ -25,6 +25,8 @@ minetest.register_node("mt_buildings:streetlight", {
|
||||||
mesh = "streetlight.obj",
|
mesh = "streetlight.obj",
|
||||||
tiles = {"Lamp.png"},
|
tiles = {"Lamp.png"},
|
||||||
use_texture_alpha = true,
|
use_texture_alpha = true,
|
||||||
|
inventory_image = "streetlight_inv.png",
|
||||||
|
wield_image = "streetlight_inv.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
|
|
10
well.lua
10
well.lua
|
@ -15,6 +15,8 @@ minetest.register_node("mt_buildings:well", {
|
||||||
mesh = "well.obj",
|
mesh = "well.obj",
|
||||||
use_texture_alpha = true,
|
use_texture_alpha = true,
|
||||||
tiles = {"Well01.jpg"},
|
tiles = {"Well01.jpg"},
|
||||||
|
inventory_image = "well_inv.png",
|
||||||
|
wield_image = "well_inv.png",
|
||||||
buildable_to = false,
|
buildable_to = false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
@ -39,11 +41,11 @@ minetest.register_node("mt_buildings:well", {
|
||||||
-- WELL_CRAFT
|
-- WELL_CRAFT
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mt_buildings:hut01",
|
output = "mt_buildings:well",
|
||||||
recipe = {
|
recipe = {
|
||||||
{'group:tree', 'group:tree', 'group:tree'},
|
{'group:wood', 'group:wood', 'group:wood'},
|
||||||
{'group:tree','group:tree', 'group:tree'},
|
{'group:tree','bucket:bucket_empty', 'group:tree'},
|
||||||
{'', 'group:tree', ''},
|
{'default:cobble', 'default:cobble', 'default:cobble'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue