Add files via upload

Updated well and streetlight lua's
master
Steamed-Punk 2020-10-19 18:41:44 +02:00 committed by GitHub
parent 03772895e3
commit 51a2429359
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 6 deletions

View File

@ -6,6 +6,7 @@
-- Copyright (C) 2019 - 2020 Steamed_Punk steamedpunk.mt at gmail.com
-- ---------------------------------------
-- License code for better lighting.
-- ---------------------------------------
@ -14,7 +15,6 @@
-- Copyright (C) 2020 Nathan.S at https://github.com/NathanSalapat
-- ---------------------------------------
-- NODES
-- STREETLIGHT
@ -24,7 +24,9 @@ minetest.register_node("mt_buildings:streetlight", {
drawtype = "mesh",
mesh = "streetlight.obj",
tiles = {"Lamp.png"},
use_texture_alpha = true,
use_texture_alpha = true,
inventory_image = "streetlight_inv.png",
wield_image = "streetlight_inv.png",
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,

View File

@ -15,6 +15,8 @@ minetest.register_node("mt_buildings:well", {
mesh = "well.obj",
use_texture_alpha = true,
tiles = {"Well01.jpg"},
inventory_image = "well_inv.png",
wield_image = "well_inv.png",
buildable_to = false,
paramtype = "light",
paramtype2 = "facedir",
@ -39,11 +41,11 @@ minetest.register_node("mt_buildings:well", {
-- WELL_CRAFT
minetest.register_craft({
output = "mt_buildings:hut01",
output = "mt_buildings:well",
recipe = {
{'group:tree', 'group:tree', 'group:tree'},
{'group:tree','group:tree', 'group:tree'},
{'', 'group:tree', ''},
{'group:wood', 'group:wood', 'group:wood'},
{'group:tree','bucket:bucket_empty', 'group:tree'},
{'default:cobble', 'default:cobble', 'default:cobble'},
}
})