remove debug skybox command from plants
This commit is contained in:
parent
51e99c1ebe
commit
2a5bd35240
@ -48,8 +48,9 @@ atvomat.crusher_recipes["silver"] = {"core:silver_ore", 1, "core:silver_dust",
|
||||
atvomat.crusher_recipes["mese"] = {"core:mese_ore", 1, "core:mese_crystal", 4}
|
||||
atvomat.crusher_recipes["diamond"] = {"core:diamond_ore", 1, "core:diamond", 4}
|
||||
|
||||
-- dyes (15 colours currently)
|
||||
-- dyes (16 colours currently)
|
||||
atvomat.crusher_recipes["reddye"] = {"", 1, "dye:red", 4}
|
||||
atvomat.crusher_recipes["brown"] = {"", 1, "dye:brown", 4}
|
||||
atvomat.crusher_recipes["orangedye"] = {"", 1, "dye:orange", 4}
|
||||
atvomat.crusher_recipes["yellowdye"] = {"", 1, "dye:yellow", 4}
|
||||
atvomat.crusher_recipes["limedye"] = {"", 1, "dye:lime", 4}
|
||||
|
@ -31,71 +31,3 @@ minetest.register_node("plants:daisy2", {
|
||||
},
|
||||
sounds = mcore.sound_plants,
|
||||
})
|
||||
|
||||
--[[
|
||||
|
||||
table of good looking sky colours:
|
||||
|
||||
winter twilight:
|
||||
|
||||
local side_col = "#14184b"
|
||||
|
||||
local side_mid_col = "#14384b"
|
||||
|
||||
local side_ovl = "#31746a"
|
||||
|
||||
sunrise and sunset:
|
||||
|
||||
local side_col = "#ffc875"
|
||||
|
||||
local side_mid_col = "#ff7c1f"
|
||||
|
||||
local side_ovl = "#e65800"
|
||||
|
||||
daytime:
|
||||
|
||||
|
||||
|
||||
]]--
|
||||
|
||||
minetest.register_chatcommand("starbox", {
|
||||
|
||||
description = "debug starbox",
|
||||
|
||||
func = function(name)
|
||||
|
||||
local player = minetest.get_player_by_name(name)
|
||||
|
||||
-- top of skybox
|
||||
local side_col = "#b8d7ff"
|
||||
|
||||
-- middle blend part of skybox
|
||||
local side_mid_col = "#63a3f7"
|
||||
|
||||
-- bottom of skybox
|
||||
local side_ovl = "#3d80d9"
|
||||
|
||||
-- string for skybox sides
|
||||
local side_str = "(sky_test_side.png^[multiply:" .. side_mid_col .. ")^(sky_test_side_ovl.png^[multiply:" .. side_ovl .. ")^(sky_test_side_ovl_2.png^[multiply:" .. side_col .. ")"
|
||||
|
||||
player:set_sky(side_col, "skybox", {"sky_test_top.png^[multiply:" .. side_col,
|
||||
"sky_test_bottom.png^[multiply:" .. side_ovl,
|
||||
side_str,
|
||||
side_str,
|
||||
side_str,
|
||||
side_str}, true)
|
||||
|
||||
player:set_clouds({
|
||||
|
||||
density = atmos.weather_clouds[3],
|
||||
color = atmos.weather_cloud_colour[3],
|
||||
thickness = atmos.weather_cloud_thicc[3],
|
||||
height = atmos.weather_cloud_height[3],
|
||||
|
||||
})
|
||||
|
||||
player:override_day_night_ratio(1)
|
||||
|
||||
end,
|
||||
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user