77 lines
1.5 KiB
Lua
77 lines
1.5 KiB
Lua
|
game.listen("init", function()
|
||
|
print("Loading base content")
|
||
|
|
||
|
game.add_block({
|
||
|
id = "base:void",
|
||
|
textures = {
|
||
|
all = "base:blocks/error"
|
||
|
},
|
||
|
opaque = {
|
||
|
all = false
|
||
|
}
|
||
|
})
|
||
|
|
||
|
game.add_block({
|
||
|
id = "base:stone",
|
||
|
textures = {
|
||
|
all = "base:blocks/stone"
|
||
|
}
|
||
|
})
|
||
|
|
||
|
game.add_block({
|
||
|
id = "base:cobblestone",
|
||
|
textures = {
|
||
|
all = "base:blocks/cobblestone"
|
||
|
}
|
||
|
})
|
||
|
|
||
|
game.add_block({
|
||
|
id = "base:dirt",
|
||
|
textures = {
|
||
|
all = "base:blocks/dirt"
|
||
|
}
|
||
|
})
|
||
|
|
||
|
game.add_block({
|
||
|
id = "base:grass",
|
||
|
textures = {
|
||
|
top = "base:blocks/grass_top",
|
||
|
bottom = "base:blocks/dirt",
|
||
|
sides = "base:blocks/grass_side"
|
||
|
}
|
||
|
})
|
||
|
|
||
|
game.add_block({
|
||
|
id = "base:planks",
|
||
|
textures = {
|
||
|
all = "base:blocks/planks"
|
||
|
}
|
||
|
})
|
||
|
|
||
|
game.add_block({
|
||
|
id = "base:wood_log",
|
||
|
textures = {
|
||
|
top = "base:blocks/wood_log_top",
|
||
|
bottom = "base:blocks/wood_log_top",
|
||
|
sides = "base:blocks/wood_log_side"
|
||
|
}
|
||
|
})
|
||
|
|
||
|
game.add_block({
|
||
|
id = "base:sand",
|
||
|
textures = {
|
||
|
all = "base:blocks/sand"
|
||
|
}
|
||
|
})
|
||
|
|
||
|
game.add_block({
|
||
|
id = "base:glass",
|
||
|
textures = {
|
||
|
all = "base:blocks/glass"
|
||
|
},
|
||
|
opaque = {
|
||
|
all = false
|
||
|
}
|
||
|
})
|
||
|
end)
|