Merge branch 'github'

This commit is contained in:
bri cassa 2021-03-06 18:24:29 +01:00
commit 0cadd5e5b9
2 changed files with 10 additions and 11 deletions

View File

@ -12,7 +12,7 @@ minetest.register_node("darkage:glass", {
description = "Clean Medieval Glass",
drawtype = "glasslike",
tiles = {"darkage_glass.png"},
use_texture_alpha=false,
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable=1},
@ -35,7 +35,7 @@ minetest.register_node("darkage:glass_round", {
drawtype = "glasslike",
tiles = { "darkage_glass_round.png" },
paramtype = "light",
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
sounds = default.node_sound_glass_defaults(),
groups = {cracky=3,oddly_breakable_by_hand=3, not_cuttable=1},
@ -57,7 +57,7 @@ minetest.register_node("darkage:glass_square", {
drawtype = "glasslike",
tiles = { "darkage_glass_square.png" },
paramtype = "light",
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
sounds = default.node_sound_glass_defaults(),
groups = {cracky=3,oddly_breakable_by_hand=3, not_cuttable=1},
@ -83,7 +83,7 @@ minetest.register_node("darkage:glow_glass", {
description = "Medieval Glow Glass",
drawtype = "glasslike",
tiles = {"darkage_glass.png"},
use_texture_alpha=true,
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
light_source = default.LIGHT_MAX-3,
@ -114,7 +114,7 @@ minetest.register_node("darkage:glow_glass_round", {
description = "Medieval Round Glow Glass",
drawtype = "glasslike",
tiles = {"darkage_glass_round.png"},
use_texture_alpha=true,
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
light_source = default.LIGHT_MAX-3,
@ -144,7 +144,7 @@ minetest.register_node("darkage:glow_glass_square", {
description = "Medieval Square Glow Glass",
drawtype = "glasslike",
tiles = {"darkage_glass_square.png"},
use_texture_alpha=true,
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
light_source = default.LIGHT_MAX-3,
@ -181,7 +181,7 @@ if minetest.get_modpath("unifieddyes") then
description = "Milky Medieval Glass (Good for colorization)",
drawtype = "glasslike",
tiles = {"darkage_milk_glass.png"},
use_texture_alpha=true,
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "color",
palette = "unifieddyes_palette_extended.png",
@ -219,7 +219,7 @@ if minetest.get_modpath("unifieddyes") then
description = "Milky Medieval Round Glass (Good for colorization)",
drawtype = "glasslike",
tiles = {"darkage_milk_glass_round.png"},
use_texture_alpha=true,
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "color",
palette = "unifieddyes_palette_extended.png",
@ -257,7 +257,7 @@ if minetest.get_modpath("unifieddyes") then
description = "Milky Medieval Square Glass (Good for colorization)",
drawtype = "glasslike",
tiles = {"darkage_milk_glass_square.png"},
use_texture_alpha=true,
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "color",
palette = "unifieddyes_palette_extended.png",

View File

@ -153,8 +153,7 @@ local function generate_claylike(data, varea, name, minp, maxp, seed, chance, mi
end
end
local mgparams = minetest.get_mapgen_params()
local seed = mgparams.seed
local seed = minetest.get_mapgen_setting("seed")
--[[ Generate desert stone with iron in derset.