Minor fixes and Fix creative inventory background and other minor fixes
@ -23,7 +23,7 @@ dofile(default_path.."/crafting.lua")
|
||||
dofile(default_path.."/mapgen.lua")
|
||||
dofile(default_path.."/aliases.lua")
|
||||
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
if not minetest.settings:get_bool("creative_mode") then
|
||||
minetest.register_on_newplayer(function (player)
|
||||
player:get_inventory():add_item('main', 'default:sword_steel')
|
||||
player:get_inventory():add_item('main', 'default:torch 8')
|
||||
|
@ -447,7 +447,7 @@ function default.register_biomes()
|
||||
node_dust = "default:snow",
|
||||
node_riverbed = "default:gravel",
|
||||
depth_riverbed = 2,
|
||||
y_max = upper_limit,
|
||||
y_max = 31000,
|
||||
y_min = 47,
|
||||
heat_point = 0,
|
||||
humidity_point = 40,
|
||||
@ -506,7 +506,7 @@ function default.register_biomes()
|
||||
depth_filler = 3,
|
||||
node_riverbed = "default:sand",
|
||||
depth_riverbed = 2,
|
||||
y_max = upper_limit,
|
||||
y_max = 31000,
|
||||
y_min = 4,
|
||||
heat_point = 25,
|
||||
humidity_point = 70,
|
||||
@ -538,7 +538,7 @@ function default.register_biomes()
|
||||
depth_filler = 1,
|
||||
node_riverbed = "default:sand",
|
||||
depth_riverbed = 2,
|
||||
y_max = upper_limit,
|
||||
y_max = 31000,
|
||||
y_min = 4,
|
||||
heat_point = 20,
|
||||
humidity_point = 35,
|
||||
@ -569,7 +569,7 @@ function default.register_biomes()
|
||||
depth_filler = 1,
|
||||
node_riverbed = "default:sand",
|
||||
depth_riverbed = 2,
|
||||
y_max = upper_limit,
|
||||
y_max = 31000,
|
||||
y_min = 6,
|
||||
heat_point = 50,
|
||||
humidity_point = 35,
|
||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 668 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 590 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 422 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 435 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 497 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 505 B |
Before Width: | Height: | Size: 568 B After Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 514 B After Width: | Height: | Size: 172 B |
@ -46,8 +46,8 @@ local theme_main = sfinv.gui_bg ..
|
||||
sfinv.gui_bg_img
|
||||
|
||||
local theme_inv = sfinv.gui_slots .. [[
|
||||
list[current_player;main;0,4.5;9,3;9]
|
||||
list[current_player;main;0,7.74;9,1;]
|
||||
list[current_player;main;0.01,4.49;9,3;9]
|
||||
list[current_player;main;0.01,7.72;9,1;]
|
||||
]]
|
||||
|
||||
function sfinv.make_formspec(player, context, content, show_inv, size)
|
||||
|