diff --git a/Notes b/Notes index 6fd09168..4796b036 100644 --- a/Notes +++ b/Notes @@ -13,57 +13,4 @@ hud:hotbar { } openminer:player():set_hud(hud) -``` -## World -```lua -openminer:get_block(pos) -openminer:get_meta(pos) -openminer:get_inventory(pos) -``` -## Biome definition - -```lua -mod:biome { - name = "grassland", - - top_block = "default:grass", - ground_block = "default:dirt", - deep_block = "default:stone", - beach_block = "default:sand", - liquid_block = "default:water", - - tree = { - type = "basic", -- only one type of tree to start - - leaf_block = "default:leaves", - log_block = "default:log", - }, - - flora = { - { - block = "default:tallgrass", - spawns_on = "default:grass", - probability = 0.25 -- this in the range 0..1 - }, - - { - block = "default:flower", - spawns_on = "default:grass", - probability = 0.1 - } - } -} -``` - - * * * - -# Old notes - -• GUI Texture: - -• Button: 200x20 (0;46, 0;66, 0;86) -• Hotbar: 182x22 -• Selection: 24x24 (0;22) - -> vim:ft=notes diff --git a/TODO b/TODO deleted file mode 100644 index 1fa78451..00000000 --- a/TODO +++ /dev/null @@ -1,9 +0,0 @@ -TODO - -# Refactorings - -• TODO: Add a mesh system, either here or in `GameKit` - → Maybe this is the way to add custom vertex attributes while having default ones? Check 3dee - → Or maybe it would be better to use a VAO in `GameKit` - -> vim:ft=notes diff --git a/mods/default/init.lua b/mods/default/init.lua index 2795e0ce..64580b12 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -55,8 +55,6 @@ function init(player) player_inv:add_stack("default:stone_shovel", 1); player_inv:add_stack("default:iron_ore", 64); player_inv:add_stack("default:coal", 64); - player_inv:add_stack("default:oak_slab", 64); - player_inv:add_stack("default:portal", 64); player_inv:add_stack("default:iron_ingot", 64); player_inv:add_stack("default:gold_ingot", 64);