c
123
mods/amogus_blocks/init.lua
Normal file
@@ -0,0 +1,123 @@
|
||||
minetest.register_node("amogus_blocks:ladder_steel", {
|
||||
description = "Ladder",
|
||||
drawtype = "signlike",
|
||||
tiles = {"ladder.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
is_ground_content = false,
|
||||
selection_box = {
|
||||
type = "wallmounted",
|
||||
},
|
||||
groups = {cracky = 2},
|
||||
})
|
||||
|
||||
minetest.register_node("amogus_blocks:floor", {
|
||||
description = "Floor",
|
||||
tiles = {"floor.png"},
|
||||
|
||||
drop = 'amogus_blocks:floor',
|
||||
legacy_mineral = true, groups = {cracky=3, stone=1},
|
||||
})
|
||||
|
||||
minetest.register_node("amogus_blocks:tv", {
|
||||
description = "CRT TV",
|
||||
tiles = {
|
||||
"PC2.png",
|
||||
"PC2.png",
|
||||
"PC2.png",
|
||||
"PC2.png",
|
||||
"PC2.png",
|
||||
"PC.png"
|
||||
},
|
||||
paramtype2 = "facedir",
|
||||
drop = 'amogus_blocks:amogus_blocks', groups = {cracky=3, stone=1},
|
||||
})
|
||||
|
||||
minetest.register_node("amogus_blocks:bricks", {
|
||||
description = "Bricks",
|
||||
tiles = {"Bricks.png"},
|
||||
|
||||
drop = 'amogus_blocks:grey_bricks', groups = {cracky=3, stone=1},
|
||||
})
|
||||
minetest.register_node("amogus_blocks:grey_bricks", {
|
||||
description = "Bricks 2",
|
||||
tiles = {"Bricks2.png"}, groups = {cracky=3, stone=1},
|
||||
|
||||
drop = 'amogus_blocks:grey_bricks', groups = {cracky=3, stone=1},
|
||||
})
|
||||
minetest.register_node("amogus_blocks:planks", {
|
||||
description = "Planks",
|
||||
tiles = {"Planks.png"},
|
||||
|
||||
drop = 'amogus_blocks:planks', groups = {cracky=3, stone=1},
|
||||
})
|
||||
minetest.register_node("amogus_blocks:purpleblock", {
|
||||
description = "Purple Block",
|
||||
tiles = {"purpleblock.png"},
|
||||
|
||||
drop = 'amogus_blocks:purpleblock', groups = {cracky=3, stone=1},
|
||||
})
|
||||
minetest.register_node("amogus_blocks:purpleblock", {
|
||||
description = "Purple Block",
|
||||
tiles = {"purpleblock.png"},
|
||||
|
||||
drop = 'amogus_blocks:purpleblock', groups = {cracky=3, stone=1},
|
||||
})
|
||||
minetest.register_node("amogus_blocks:redblock", {
|
||||
description = "Red Block",
|
||||
tiles = {"redblock.png"},
|
||||
|
||||
drop = 'amogus_blocks:redblock', groups = {cracky=3, stone=1},
|
||||
})
|
||||
|
||||
minetest.register_node("amogus_blocks:glass", {
|
||||
description = "Glass",
|
||||
tiles = {"glass.png"},
|
||||
|
||||
drop = 'amogus_blocks:glass', groups = {cracky=3, stone=1},
|
||||
})
|
||||
minetest.register_node("amogus_blocks:glowing_block", {
|
||||
description = "Glowing Block",
|
||||
tiles = {"glowing_block.png"},
|
||||
|
||||
drop = 'amogus_blocks:glowing_block', groups = {cracky=3, stone=1},
|
||||
light_source = 14
|
||||
})
|
||||
|
||||
minetest.register_node("amogus_blocks:transparent", {
|
||||
description = "Transparent",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"glass.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||
})
|
||||
|
||||
minetest.register_node("amogus_blocks:grass", {
|
||||
description = "Grass",
|
||||
tiles = {
|
||||
"g2.png",
|
||||
"d.png",
|
||||
"g.png",
|
||||
"g.png",
|
||||
"g.png",
|
||||
"g.png"
|
||||
},
|
||||
|
||||
drop = 'amogus:grass', groups = {cracky=3, stone=1},
|
||||
})
|
||||
|
||||
-- add wood block
|
||||
minetest.register_node("amogus_blocks:wood", {
|
||||
description = "Wood",
|
||||
tiles = {"wood.png"},
|
||||
|
||||
drop = 'amogus:wood', groups = {cracky=3, stone=1},
|
||||
})
|
||||
|
||||
minetest.register_alias("mapgen_dirt", "amogus_blocks:grass")
|
||||
minetest.register_alias("mapgen_stone", "amogus_blocks:floor")
|
||||
BIN
mods/amogus_blocks/textures/Bricks.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
mods/amogus_blocks/textures/Bricks2.png
Normal file
|
After Width: | Height: | Size: 1015 B |
BIN
mods/amogus_blocks/textures/PC.png
Normal file
|
After Width: | Height: | Size: 147 B |
BIN
mods/amogus_blocks/textures/PC2.png
Normal file
|
After Width: | Height: | Size: 100 B |
BIN
mods/amogus_blocks/textures/Planks.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
mods/amogus_blocks/textures/d.png
Normal file
|
After Width: | Height: | Size: 234 B |
BIN
mods/amogus_blocks/textures/flashlight.png
Normal file
|
After Width: | Height: | Size: 158 B |
BIN
mods/amogus_blocks/textures/floor grey.png
Normal file
|
After Width: | Height: | Size: 265 B |
BIN
mods/amogus_blocks/textures/floor.png
Normal file
|
After Width: | Height: | Size: 126 B |
BIN
mods/amogus_blocks/textures/fluxcap.png
Normal file
|
After Width: | Height: | Size: 214 B |
BIN
mods/amogus_blocks/textures/fluxcap2.png
Normal file
|
After Width: | Height: | Size: 116 B |
BIN
mods/amogus_blocks/textures/g.png
Normal file
|
After Width: | Height: | Size: 245 B |
BIN
mods/amogus_blocks/textures/g2.png
Normal file
|
After Width: | Height: | Size: 192 B |
BIN
mods/amogus_blocks/textures/glass.png
Normal file
|
After Width: | Height: | Size: 139 B |
BIN
mods/amogus_blocks/textures/glowing_block.png
Normal file
|
After Width: | Height: | Size: 823 B |
BIN
mods/amogus_blocks/textures/ground.png
Normal file
|
After Width: | Height: | Size: 154 KiB |
BIN
mods/amogus_blocks/textures/ladder.png
Normal file
|
After Width: | Height: | Size: 783 B |
BIN
mods/amogus_blocks/textures/plumba.png
Normal file
|
After Width: | Height: | Size: 142 B |
BIN
mods/amogus_blocks/textures/purpleblock.png
Normal file
|
After Width: | Height: | Size: 125 B |
BIN
mods/amogus_blocks/textures/redblock.png
Normal file
|
After Width: | Height: | Size: 127 B |
BIN
mods/amogus_blocks/textures/wall.png
Normal file
|
After Width: | Height: | Size: 292 B |
BIN
mods/amogus_blocks/textures/wood.png
Normal file
|
After Width: | Height: | Size: 187 B |