2018-12-20 02:51:30 +01:00
|
|
|
print("Hello from Lua!")
|
|
|
|
|
2019-01-04 18:05:35 +01:00
|
|
|
mod = LuaMod.new("default")
|
|
|
|
|
2018-12-28 08:36:56 +01:00
|
|
|
dofile("mods/blocks.lua")
|
2018-12-20 05:19:56 +01:00
|
|
|
dofile("mods/items.lua")
|
|
|
|
dofile("mods/recipes.lua")
|
2018-12-20 02:51:30 +01:00
|
|
|
|
|
|
|
function init()
|
2018-12-28 21:23:26 +01:00
|
|
|
player:inventory():add_stack("default:workbench", 1);
|
|
|
|
player:inventory():add_stack("default:dirt", 64);
|
2019-01-05 17:15:03 +01:00
|
|
|
player:inventory():add_stack("default:grass", 64);
|
2018-12-28 21:23:26 +01:00
|
|
|
player:inventory():add_stack("default:stone", 64);
|
|
|
|
player:inventory():add_stack("default:glass", 64);
|
|
|
|
player:inventory():add_stack("default:glowstone", 64);
|
|
|
|
player:inventory():add_stack("default:furnace", 1);
|
|
|
|
player:inventory():add_stack("default:slab_planks", 64);
|
|
|
|
player:inventory():add_stack("default:pickaxe_stone", 1);
|
|
|
|
|
|
|
|
player:inventory():add_stack("default:wood", 64);
|
|
|
|
player:inventory():add_stack("default:planks", 64);
|
|
|
|
player:inventory():add_stack("default:cobblestone", 64);
|
|
|
|
player:inventory():add_stack("default:stick", 64);
|
|
|
|
player:inventory():add_stack("default:axe_stone", 1);
|
|
|
|
player:inventory():add_stack("default:hoe_stone", 1);
|
|
|
|
player:inventory():add_stack("default:pickaxe_stone", 1);
|
|
|
|
player:inventory():add_stack("default:shovel_stone", 1);
|
|
|
|
player:inventory():add_stack("default:ore_iron", 64);
|
|
|
|
player:inventory():add_stack("default:coal", 64);
|
2018-12-20 02:51:30 +01:00
|
|
|
end
|
|
|
|
|