mirror of
https://github.com/adrido/darkage.git
synced 2025-01-09 09:20:19 +01:00
Merge branch 'master' of https://bitbucket.org/adrido/darkage
This commit is contained in:
commit
7ebedc68bb
14
glass.lua
14
glass.lua
@ -29,6 +29,20 @@ minetest.register_craft({
|
|||||||
})
|
})
|
||||||
|
|
||||||
--[[ Round Glass By Semmett9 aka Infinatum ]]
|
--[[ Round Glass By Semmett9 aka Infinatum ]]
|
||||||
|
if minetest.get_modpath("unifieddyes") then
|
||||||
|
minetest.register_node("darkage:milk_glass", {
|
||||||
|
description = "Milky Medieval Glass (Good for colorization)",
|
||||||
|
drawtype = "glasslike",
|
||||||
|
tiles = {"darkage_milk_glass.png"},
|
||||||
|
use_texture_alpha=true,
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "color",
|
||||||
|
palette = "unifieddyes_palette_extended.png",
|
||||||
|
sunlight_propagates = true,
|
||||||
|
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable=1, ud_param2_colorable = 1},
|
||||||
|
sounds = default.node_sound_glass_defaults(),
|
||||||
|
after_dig_node = unifieddyes.after_dig_node
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_node("darkage:glass_round", {
|
minetest.register_node("darkage:glass_round", {
|
||||||
description = "Round Glass",
|
description = "Round Glass",
|
||||||
|
Loading…
Reference in New Issue
Block a user