summaryrefslogtreecommitdiff
path: root/mods/vzxv/nodes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mods/vzxv/nodes.lua')
-rw-r--r--mods/vzxv/nodes.lua65
1 files changed, 38 insertions, 27 deletions
diff --git a/mods/vzxv/nodes.lua b/mods/vzxv/nodes.lua
index c09fa17..a0759ff 100644
--- a/mods/vzxv/nodes.lua
+++ b/mods/vzxv/nodes.lua
@@ -1,35 +1,46 @@
-vzxv.mundane_block("vzxv:stone","Stone",nil,{groups={
- cracky=2,stone=1
-}})
-vzxv.mundane_block("vzxv:cobblestone","Cobblestone",nil,{groups={
- cracky=2,stone=1
-}})
-vzxv.mundane_block("vzxv:dirt","Dirt",nil,{groups={
- soil=1,crumbly=1,handy=1
-}})
-vzxv.slabs("vzxv:sand","Sand","sand",{groups={
- crumbly=1,handy=1
-}})
-vzxv.slabs("vzxv:moistdirt","Dirt","moistdirt",{groups={
- soil=2,crumbly=1,handy=1
-}})
-vzxv.slabs("vzxv:moistgrass","Grass",{"vzxvmoistgrass.png","vzxvmoistdirt.png","vzxvmoistgrass.png"},{groups={
- plant=1,crumbly=2,soil=1,grassy=1
-}})
+vzxv.mundane_block("vzxv:stone", "Stone", nil,
+ { groups = { cracky = 2, stone = 1 } }
+)
+
+vzxv.mundane_block("vzxv:cobblestone", "Cobblestone", nil,
+ { groups = { cracky = 2, stone = 1 } }
+)
+
+vzxv.mundane_block("vzxv:dirt", "Dirt", nil,
+ { groups = { soil = 1, crumbly = 1, handy = 1 } }
+)
+
+vzxv.slabs("vzxv:sand", "Sand", "sand",
+ { groups={ crumbly = 1,handy = 1 } }
+)
+
+vzxv.slabs("vzxv:moistdirt","Dirt","moistdirt",
+ { groups={ soil = 2, crumbly = 1, handy = 1 } }
+)
+
+vzxv.slabs("vzxv:moistgrass","Grass",
+ {"vzxvmoistgrass.png","vzxvmoistdirt.png","vzxvmoistgrass.png"},
+ { groups = { plant = 1, crumbly = 2, soil = 1, grassy=1 } }
+)
+
local dry_grass = "vzxvmoistgrass.png^[colorize:#F05:25"
-vzxv.slabs("vzxv:grass","Grass",{dry_grass,"vzxvdirt.png",dry_grass},{groups={
- plant=1,crumbly=2,soil=1,grassy=1
-}})
+vzxv.slabs("vzxv:grass","Grass",{dry_grass, "vzxvdirt.png", dry_grass},
+ { groups = { plant=1, crumbly=2, soil=1, grassy=1 } }
+)
+
+vzxv.mundane_block("vzxv:sedimentary", "Stone",
+ {
+ "vzxvstone.png","vzxvsedimentary_bottom.png","vzxvsedimentary.png",
+ "vzxvsedimentary.png",
+ },
+ { groups = { cracky = 1, stone = 1 } }
+)
-vzxv.mundane_block("vzxv:planks","Planks",nil,{groups={
- choppy=1,
-}})
+vzxv.mundane_block("vzxv:planks","Planks",nil, {groups = {choppy = 1}})
vzxv.mundane_block("vzxv:stick","Stick",{"vzxvlog.png","vzxvlog.png","vzxvbark.png"},{
- groups={
- choppy=1,handy=3
- },
+ groups = { choppy = 1, handy = 3 },
node_box = {type="fixed",fixed={-0.05,-0.5,-0.05,0.05,0.5,0.05}},
drawtype = "nodebox"
})