mirror of
https://github.com/adrido/darkage.git
synced 2025-07-01 07:50:42 +02:00
Added colored glass ( If unifieddyes installed)
If you have unified dyes installed and have a recent version of Minetest the glasses can colored by punching with dye.
This commit is contained in:
55
building.lua
55
building.lua
@ -169,58 +169,3 @@ darkage.register_reinforce("Chalked Bricks", "darkage:chalked_bricks", {
|
||||
groups = {cracky = 2, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
minetest.register_node("darkage:glass", {
|
||||
description = "Medieval Glass",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"darkage_glass.png"},
|
||||
use_texture_alpha=true,
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable=1},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("darkage:glow_glass", {
|
||||
description = "Medieval Glow Glass",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"darkage_glass.png"},
|
||||
use_texture_alpha=true,
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = default.LIGHT_MAX-1,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable=1},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = "darkage:glass 1",
|
||||
recipe = {
|
||||
{"darkage:glow_glass"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "darkage:glass 8",
|
||||
recipe = {
|
||||
{"default:glass", "default:steel_ingot", "default:glass"},
|
||||
{"default:steel_ingot", "default:glass", "default:steel_ingot"},
|
||||
{"default:glass", "default:steel_ingot", "default:glass"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "darkage:glow_glass 1",
|
||||
recipe = {
|
||||
{"darkage:glass"},
|
||||
{"default:torch"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "darkage:glass 1",
|
||||
recipe = {
|
||||
{"darkage:glow_glass"},
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user