--- tronrealm.old/thegrid/init.lua +++ tronrealm/thegrid/init.lua @@ -5,12 +5,12 @@ -- Parameters -local YMIN = 5000 -- Approximate base of realm -local YMAX = 9000 -- Approximate top of atmosphere -local TERCEN = 7000 -- Terrain centre y, average surface level -local TERSCA = 128 -- Terrain scale in nodes, controls height of mountains -local BLEND = 40 -- Flat to rough blend distance in nodes -local FLATRAD = 345 -- Flat area radius in nodes +local YMIN = 5000 -- Approximate base of realm +local TERCEN = 5500 -- Terrain centre y, average surface level +local YMAX = 6000 -- Approximate top of atmosphere +local TERSCA = 64 -- Terrain scale in nodes, controls height of mountains +local BLEND = 40 -- Flat to rough blend distance in nodes +local FLATRAD = 345 -- Flat area radius in nodes -- White grid limits in units of chunk (chunk = 80 nodes) local WXMIN = -3 --- tronrealm.old/tronblocks/depends.txt +++ tronrealm/tronblocks/depends.txt @@ -1,2 +1,3 @@ default dye +moreblocks --- tronrealm.old/tronportal/init.lua +++ tronrealm/tronportal/init.lua @@ -315,6 +315,7 @@ end, }) +if false then minetest.register_craftitem(":tronportal:bit", { description = "Bit", inventory_image = "tronportal_bit.png", @@ -328,6 +329,7 @@ return stack end, }) +end -- dye recipes "hacks" minetest.register_craft({ --- tronrealm.old/tronportal/init.lua +++ tronrealm/tronportal/init.lua @@ -381,13 +381,12 @@ clust_scarcity = 1, clust_num_ores = 1, clust_size = 1, - height_min = 5000, - height_max = 7000, + y_min = 5000, + y_max = 7000, }) end end - minetest.register_ore({ ore_type = "scatter", ore = "tronblocks:glow_box", @@ -395,8 +394,8 @@ clust_scarcity = 17*17*17, clust_num_ores = 5, clust_size = 3, - height_min = 5000, - height_max = 7000, + y_min = 5000, + y_max = 7000, }) minetest.register_ore({ ore_type = "scatter", @@ -405,8 +404,8 @@ clust_scarcity = 17*17*17, clust_num_ores = 5, clust_size = 3, - height_min = 5000, - height_max = 7000, + y_min = 5000, + y_max = 7000, }) minetest.register_ore({ ore_type = "scatter", @@ -415,8 +414,8 @@ clust_scarcity = 17*17*17, clust_num_ores = 5, clust_size = 3, - height_min = 5000, - height_max = 7000, + y_min = 5000, + y_max = 7000, }) minetest.register_ore({ ore_type = "scatter", @@ -425,7 +424,6 @@ clust_scarcity = 17*17*17, clust_num_ores = 5, clust_size = 3, - height_min = 5000, - height_max = 7000, + y_min = 5000, + y_max = 7000, }) - --- tronrealm.old/tronblocks/init.lua +++ tronrealm/tronblocks/init.lua @@ -7,5 +7,12 @@ dofile(minetest.get_modpath("tronblocks").."/crafting.lua") --craft recipes. dofile(minetest.get_modpath("tronblocks").."/noderegister.lua") --node registry. ---support for moreblocks circular saw -if minetest.get_modpath("moreblocks") then dofile(minetest.get_modpath("tronblocks").."/sawsupport.lua") end +local enable_tronrealm_fullset = + minetest.setting_getbool ("enable_tronrealm_fullset" ) + +-- support for moreblocks circular saw + +if enable_tronrealm_fullset and + minetest.get_modpath ("moreblocks") then + dofile (minetest.get_modpath ("tronblocks") .. "/sawsupport.lua") +end --- tronrealm.old/tronblocks/noderegister.lua +++ tronrealm/tronblocks/noderegister.lua @@ -818,7 +818,7 @@ description = ("Tron Glass"), drawtype = "glasslike", tiles = {"tronblocks_glass.png"}, - inventory_image = minetest.inventorycube("tronblocks_glass.png"), + inventory_image = "tronblocks_glass.png" , paramtype = "light", sunlight_propagates = true, light_source = 11, @@ -830,7 +830,7 @@ description = ("Orange Tron Glass"), drawtype = "glasslike", tiles = {"tronblocks_glass_orange.png"}, - inventory_image = minetest.inventorycube("tronblocks_glass_orange.png"), + inventory_image = "tronblocks_glass_orange.png" , paramtype = "light", sunlight_propagates = true, light_source = 11, @@ -842,7 +842,7 @@ description = ("Blue Tron Glass"), drawtype = "glasslike", tiles = {"tronblocks_glass_blue.png"}, - inventory_image = minetest.inventorycube("tronblocks_glass_blue.png"), + inventory_image = "tronblocks_glass_blue.png" , paramtype = "light", sunlight_propagates = true, light_source = 11, @@ -854,7 +854,7 @@ description = ("Green Tron Glass"), drawtype = "glasslike", tiles = {"tronblocks_glass_green.png"}, - inventory_image = minetest.inventorycube("tronblocks_glass_green.png"), + inventory_image = "tronblocks_glass_green.png" , paramtype = "light", sunlight_propagates = true, light_source = 11, @@ -862,4 +862,3 @@ groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3}, sounds = default.node_sound_glass_defaults(), }) - --- tronrealm.old/tronblocks/crafting.lua +++ tronrealm/tronblocks/crafting.lua @@ -1,4 +1,5 @@ --crafts +if false then -- RJK minetest.register_craft({ output = "tronblocks:stone 1", recipe = { @@ -6,6 +7,8 @@ {"default:stone",} } }) +end + minetest.register_craft({ output = "tronblocks:stone_black 1", recipe = {