]> git.lizzy.rs Git - dragonblocks3d-lua.git/blobdiff - modules/Game/src/init.lua
Trees; Random Seed
[dragonblocks3d-lua.git] / modules / Game / src / init.lua
index 707ce0dd823d9f9d2e011ca4615d5be44d032d87..061eace2bc9366df3366d026f842f449593f3355 100644 (file)
@@ -1,11 +1,26 @@
-local ressource_path = Game:get_path() .. "/ressources/"
+local ressource_path = Game:get_path() .. "/ressources"
 
 BlockSystem:register_block({
        name = "game:stone",
-       texture_path = ressource_path .. "stone.png",
+       texture_path = ressource_path .. "/stone.png",
 })
 
 BlockSystem:register_block({
        name = "game:dirt",
-       texture_path = ressource_path .. "dirt.png",
+       texture_path = ressource_path .. "/dirt.png",
+})
+
+BlockSystem:register_block({
+       name = "game:grass",
+       texture_path = ressource_path .. "/grass.png",
+})
+
+BlockSystem:register_block({
+       name = "game:tree",
+       texture_path = ressource_path .. "/tree.png",
+})
+
+BlockSystem:register_block({
+       name = "game:leaves",
+       texture_path = ressource_path .. "/leaves.png",
 })