2019-06-15 17:14:46 +03:00
|
|
|
--[[
|
|
|
|
|
|
|
|
TechAge
|
|
|
|
=======
|
|
|
|
|
|
|
|
Copyright (C) 2019 Joachim Stolberg
|
|
|
|
|
2020-10-19 20:09:17 +03:00
|
|
|
AGPL v3
|
2019-06-15 17:14:46 +03:00
|
|
|
See LICENSE.txt for more information
|
2022-01-03 23:40:31 +03:00
|
|
|
|
2019-06-15 17:14:46 +03:00
|
|
|
TA3/TA4 Industrial Lamp 3
|
|
|
|
|
|
|
|
]]--
|
|
|
|
|
2019-07-02 22:33:12 +03:00
|
|
|
local S = techage.S
|
2019-06-15 17:14:46 +03:00
|
|
|
|
|
|
|
local size = {x = 6/32, y = 4/32, z = 6/32}
|
|
|
|
|
|
|
|
techage.register_lamp("techage:industriallamp3", {
|
2019-07-02 22:33:12 +03:00
|
|
|
description = S("TA Industrial Lamp 3"),
|
2019-06-15 17:14:46 +03:00
|
|
|
inventory_image = 'techage_industriallamp_inv3.png',
|
|
|
|
tiles = {
|
|
|
|
-- up, down, right, left, back, front
|
|
|
|
'techage_industriallamp3.png',
|
|
|
|
'techage_industriallamp3.png',
|
|
|
|
'techage_industriallamp3.png^[transformR180',
|
|
|
|
'techage_industriallamp3.png^[transformR180',
|
|
|
|
'techage_industriallamp3.png',
|
|
|
|
'techage_industriallamp3.png',
|
|
|
|
},
|
|
|
|
drawtype = "nodebox",
|
|
|
|
node_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {
|
|
|
|
{-0.1875, -0.5, -0.1875, 0.1875, -0.375, 0.1875},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},{
|
|
|
|
tiles = {
|
|
|
|
-- up, down, right, left, back, front
|
|
|
|
'techage_industriallamp3_on.png',
|
|
|
|
'techage_industriallamp3_on.png',
|
|
|
|
'techage_industriallamp3_on.png^[transformR180',
|
|
|
|
'techage_industriallamp3_on.png^[transformR180',
|
|
|
|
'techage_industriallamp3_on.png',
|
|
|
|
'techage_industriallamp3_on.png',
|
|
|
|
},
|
|
|
|
drawtype = "nodebox",
|
|
|
|
node_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {
|
|
|
|
{-0.1875, -0.5, -0.1875, 0.1875, -0.375, 0.1875},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "techage:industriallamp3_off 2",
|
|
|
|
recipe = {
|
|
|
|
{"default:glass", "default:glass", ""},
|
|
|
|
{"techage:simplelamp_off", "dye:red", ""},
|
|
|
|
{"basic_materials:steel_bar", "basic_materials:steel_bar", ""},
|
|
|
|
},
|
2022-01-04 21:40:27 +03:00
|
|
|
})
|