big changes

This commit is contained in:
2023-04-26 21:27:40 +02:00
parent dcaa8e5d63
commit 88b8e857cb
4 changed files with 79 additions and 33 deletions

View File

@@ -143,6 +143,29 @@ minetest.register_node("amogus_blocks:transparent", {
groups = {cracky=3,oddly_breakable_by_hand=3},
})
---- grasses and dirts (blocks) ----
minetest.register_node("amogus_blocks:dirt", {
description = "Dirt",
tiles = {"d.png"},
groups = {crumbly = 3},
drop = {
max_items = 2,
items = {
{
items = {"amogus_blocks:dirt"}, -- always drop one dirt
rarity = 1,
},
{
items = {"amogus_items:rock"},
rarity = 3,
},
},
},
})
minetest.register_node("amogus_blocks:grass", {
description = "Grass",
tiles = {
@@ -158,15 +181,16 @@ minetest.register_node("amogus_blocks:grass", {
max_items = 2,
items = {
{
items = {'amogus_blocks:dirt 5'},
rarity = 3,
items = {'amogus_blocks:dirt'},
rarity = 1,
},
{
items = {'amogus_items:rock'},
rarity = 2,
rarity = 3,
},
},
}, groups = {crumbly=3},
},
groups = {crumbly=3},
})
minetest.register_node("amogus_blocks:grass_green", {
@@ -185,16 +209,18 @@ minetest.register_node("amogus_blocks:grass_green", {
items = {
{
items = {'amogus_blocks:dirt'},
rarity = 3,
rarity = 1,
},
{
items = {'amogus_items:rock'},
rarity = 2,
rarity = 3,
},
},
}, groups = {crumbly=3},
})
---------------------------------
minetest.register_node("amogus_blocks:wood", {
description = "Wood",
@@ -273,29 +299,10 @@ minetest.register_node("amogus_blocks:water_flowing", {
groups = {water = 3, liquid = 3, not_in_creative_inventory = 1, cools_lava = 1}
})
minetest.register_node("amogus_blocks:dirt", {
description = "Dirt",
tiles = {"d.png"},
groups = {crumbly = 3},
drop = {
max_items = 2,
items = {
{
items = {'amogus_blocks:dirt'},
rarity = 3,
},
{
items = {'amogus_items:rock'},
rarity = 2,
},
},
},
})minetest.register_node("amogus_blocks:sand", {
minetest.register_node("amogus_blocks:sand", {
description = "Sand",
tiles = {"sand.png"},
groups = {crumbly = 3},
groups = {crumbly = 3, falling_node = 1},
})
minetest.register_node("amogus_blocks:stone", {