Compare commits

..

No commits in common. "9a9b150cd18cee4495ce20490e320cb3fe2ada7d" and "68142350eeb2b1aed285a19f1f9fa427391183c5" have entirely different histories.

17 changed files with 13 additions and 182 deletions

View File

@ -97,7 +97,7 @@ minetest.register_node("amogus_blocks:glowing_block", {
}) })
minetest.register_node("amogus_blocks:transparent", { minetest.register_node("amogus_blocks:transparent", {
description = "Glass", description = "Transparent",
drawtype = "glasslike", drawtype = "glasslike",
tiles = {"glass.png"}, tiles = {"glass.png"},
paramtype = "light", paramtype = "light",
@ -248,10 +248,6 @@ minetest.register_node("amogus_blocks:dirt", {
}, },
}, },
})minetest.register_node("amogus_blocks:sand", {
description = "Sand",
tiles = {"sand.png"},
groups = {crumbly = 3},
}) })
minetest.register_node("amogus_blocks:stone", { minetest.register_node("amogus_blocks:stone", {
@ -269,7 +265,7 @@ minetest.register_node("amogus_blocks:stone", {
}, },
--sounds = default.node_sound_stone_defaults(), --sounds = default.node_sound_stone_defaults(),
groups = {stone = 3}, groups = {cracky = 3, stone = 1},
}) })
--add gold ore and sussium ore --add gold ore and sussium ore
@ -277,7 +273,7 @@ minetest.register_node("amogus_blocks:stone", {
minetest.register_node("amogus_blocks:gold_ore", { minetest.register_node("amogus_blocks:gold_ore", {
description = "Gold Ore", description = "Gold Ore",
tiles = {"gold.png"}, tiles = {"gold.png"},
groups = {stone = 2}, groups = {cracky = 3, stone = 1},
drop = 'amogus_items:gold_ingot', drop = 'amogus_items:gold_ingot',
--sounds = default.node_sound_stone_defaults(), --sounds = default.node_sound_stone_defaults(),
}) })
@ -285,7 +281,7 @@ minetest.register_node("amogus_blocks:gold_ore", {
minetest.register_node("amogus_blocks:sussium_ore", { minetest.register_node("amogus_blocks:sussium_ore", {
description = "Sussium Ore", description = "Sussium Ore",
tiles = {"sussium.png"}, tiles = {"sussium.png"},
groups = {stone = 1}, groups = {cracky = 3, stone = 1},
drop = 'amogus_items:sussium_ingot', drop = 'amogus_items:sussium_ingot',
--sounds = default.node_sound_stone_defaults(), --sounds = default.node_sound_stone_defaults(),
}) })
@ -355,13 +351,3 @@ minetest.register_node("amogus_blocks:amogus_spawner", {
end end
end end
}) })
minetest.register_node("amogus_blocks:green_leaves", {
description = "Green Leaves",
drawtype = "glasslike",
tiles = {"leaves.png"},
paramtype = "light",
is_ground_content = false,
sunlight_propagates = true,
groups = {cracky=3,oddly_breakable_by_hand=3},
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 B

View File

@ -1,22 +1,7 @@
minetest.register_alias("mapgen_stone", "amogus_blocks:stone") minetest.register_alias("mapgen_stone", "amogus_blocks:stone")
minetest.register_alias("mapgen_dirt", "amogus_blocks:dirt") minetest.register_alias("mapgen_dirt", "amogus_blocks:dirt")
minetest.register_alias("mapgen_dirt_with_grass", "amogus_blocks:grass")
minetest.register_alias("mapgen_water_source", "amogus_blocks:water") minetest.register_alias("mapgen_water_source", "amogus_blocks:water")
minetest.register_biome({
name = "amogus_beach",
node_top = "amogus_blocks:sand",
depth_top = 1,
node_filler = "amogus_blocks:sand",
depth_filler = 3,
node_stone = "amogus_blocks:stone",
node_water_top = "amogus_blocks:water",
depth_water_top = 1,
node_water = "amogus_blocks:water",
node_river_water = "amogus_blocks:water",
y_max = 6,
y_min = -5,
heat_point = 50,
humidity_point = 50,
})
minetest.register_biome({ minetest.register_biome({
name = "amogus_biome", name = "amogus_biome",
@ -108,6 +93,8 @@ minetest.register_decoration({
}) })
--- generate trees
minetest.register_decoration({ minetest.register_decoration({
deco_type = "schematic", deco_type = "schematic",
place_on = {"amogus_blocks:grass"}, place_on = {"amogus_blocks:grass"},
@ -122,22 +109,10 @@ minetest.register_decoration({
}) })
minetest.register_decoration({ minetest.register_decoration({
deco_type = "schematic", deco_type = "schematic",
place_on = {"amogus_blocks:grass_green"}, place_on = {"amogus_blocks:grass"},
sidelen = 16, sidelen = 16,
fill_ratio = 0.01, fill_ratio = 0.01,
biomes = {"green__biome"}, biomes = {"amogus_biome"},
y_max = 31000,
y_min = 1,
schematic = "/schematics/green_tree.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
minetest.register_decoration({
deco_type = "schematic",
place_on = {"amogus_blocks:grass","amogus_blocks:grass_green"},
sidelen = 16,
fill_ratio = 0.01,
biomes = {"amogus_biome","green_biome"},
y_max = 31000, y_max = 31000,
y_min = 1, y_min = 1,
schematic = "/schematics/fallen.mts", schematic = "/schematics/fallen.mts",
@ -174,105 +149,6 @@ minetest.register_decoration({
flags = "place_center_x, place_center_z", flags = "place_center_x, place_center_z",
rotation = "random", rotation = "random",
}) })
minetest.register_decoration({
deco_type = "schematic",
place_on = {"amogus_blocks:grass"},
sidelen = 16,
noise_params = {
offset = 0,
scale = 0.0001,
spread = {x = 100, y = 100, z = 100},
seed = 4321,
octaves = 3,
persist = 0.6
},
biomes = {"amogus_biome"},
y_max = 31000,
y_min = 1,
schematic = "/schematics/amogus_statue.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
minetest.register_decoration({
deco_type = "schematic",
place_on = {"amogus_blocks:grass"},
sidelen = 16,
noise_params = {
offset = 0,
scale = 0.0001,
spread = {x = 100, y = 100, z = 100},
seed = 1234,
octaves = 3,
persist = 0.6
},
biomes = {"amogus_biome"},
y_max = 31000,
y_min = 1,
schematic = "/schematics/lucky_tree_2.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
minetest.register_decoration({
deco_type = "schematic",
place_on = {"amogus_blocks:grass"},
sidelen = 16,
noise_params = {
offset = 0,
scale = 0.0001,
spread = {x = 100, y = 100, z = 100},
seed = 1234,
octaves = 3,
persist = 0.6
},
biomes = {"amogus_biome"},
y_max = 31000,
y_min = 1,
schematic = "/schematics/lucky_tree_1.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
minetest.register_decoration({
deco_type = "schematic",
place_on = {"amogus_blocks:grass_green"},
sidelen = 16,
noise_params = {
offset = 0,
scale = 0.0001,
spread = {x = 100, y = 100, z = 100},
seed = 1234,
octaves = 3,
persist = 0.6
},
biomes = {"green_biome"},
y_max = 31000,
y_min = 1,
schematic = "/schematics/lucky_tree_2.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
minetest.register_decoration({
deco_type = "schematic",
place_on = {"amogus_blocks:grass_green"},
sidelen = 16,
noise_params = {
offset = 0,
scale = 0.0001,
spread = {x = 100, y = 100, z = 100},
seed = 1234,
octaves = 3,
persist = 0.6
},
biomes = {"green_biome"},
y_max = 31000,
y_min = 1,
schematic = "/schematics/lucky_tree_1.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
--minetest.register_abm({ --minetest.register_abm({
-- label = "Spawn random entities", -- label = "Spawn random entities",
-- nodenames = {"group:soil", "group:crumbly", "group:choppy", "group:snappy", "group:cracky"}, -- nodenames = {"group:soil", "group:crumbly", "group:choppy", "group:snappy", "group:cracky"},

View File

@ -7,9 +7,8 @@ minetest.register_item(":", { -- Hand
max_drop_level = 0, max_drop_level = 0,
full_punch_interval = 0.4, full_punch_interval = 0.4,
groupcaps = { groupcaps = {
choppy = {times = {[1] = 2, [2] = 1.5, [3] = 1.3}, uses = 20, maxlevel = 1}, choppy = {times = {[1] = 2, [2] = 1.5, [3] = 1.0}, uses = 20, maxlevel = 1},
crumbly = {times = {[1] = 0.5, [2] = 0.3, [3] = 0.2}, uses = 20, maxlevel = 1}, crumbly = {times = {[1] = 0.5, [2] = 0.3, [3] = 0.2}, uses = 20, maxlevel = 1},
cracky = {times = {[1] = 1.0, [2] = 0.7, [3] = 0.5}, uses = 20, maxlevel = 1},
}, },
damage_groups = {fleshy = 1, snappy = 1, cracky=1}, damage_groups = {fleshy = 1, snappy = 1, cracky=1},
} }
@ -196,40 +195,12 @@ minetest.register_tool("amogus_items:stonepickaxe", {
max_drop_level=1, max_drop_level=1,
groupcaps={ groupcaps={
cracky={times={[1]=2.0, [2]=1.0, [3]=0.50}, uses=30, maxlevel=1}, cracky={times={[1]=2.0, [2]=1.0, [3]=0.50}, uses=30, maxlevel=1},
crumbly={times={[1]=2.0, [2]=1.5, [3]=1.0}, uses=30, maxlevel=2},
},
damage_groups = {fleshy=2},
},
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("amogus_items:goldenpickaxe", {
description = "Golden Pickaxe",
inventory_image = "golden_pick.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
cracky={times={[1]=1.3, [2]=0.60, [3]=0.40}, uses=30, maxlevel=1},
crumbly={times={[1]=2.0, [2]=1.5, [3]=1.0}, uses=30, maxlevel=2},
},
damage_groups = {fleshy=2},
},
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("amogus_items:sussiumpickaxe", {
description = "Sussium Pickaxe",
inventory_image = "sussium_pickaxe.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
stone={times={[1]=0.85, [2]=0.40, [3]=0.20}, uses=30, maxlevel=1},
crumbly={times={[1]=2.0, [2]=1.5, [3]=1.0}, uses=30, maxlevel=2},
}, },
damage_groups = {fleshy=2}, damage_groups = {fleshy=2},
}, },
sound = {breaks = "default_tool_breaks"}, sound = {breaks = "default_tool_breaks"},
}) })
minetest.register_tool("amogus_items:goldenaxe", { minetest.register_tool("amogus_items:goldenaxe", {
description = "Golden Axe", description = "Golden Axe",
inventory_image = "goldenaxe.png", inventory_image = "goldenaxe.png",
@ -238,7 +209,6 @@ minetest.register_tool("amogus_items:goldenaxe", {
max_drop_level=1, max_drop_level=1,
groupcaps={ groupcaps={
choppy={times={[1]=2.50, [2]=1.40, [3]=0.40}, uses=30, maxlevel=2}, choppy={times={[1]=2.50, [2]=1.40, [3]=0.40}, uses=30, maxlevel=2},
crumbly={times={[1]=2.0, [2]=1.5, [3]=1.0}, uses=30, maxlevel=2},
}, },
damage_groups = {fleshy=4}, damage_groups = {fleshy=4},
}, },
@ -246,13 +216,12 @@ minetest.register_tool("amogus_items:goldenaxe", {
}) })
minetest.register_tool("amogus_items:stoneaxe", { minetest.register_tool("amogus_items:stoneaxe", {
description = "Stone Axe", description = "Stone Axe",
inventory_image = "stone_axe.png", inventory_image = "goldenaxe.png",
tool_capabilities = { tool_capabilities = {
full_punch_interval = 1.0, full_punch_interval = 1.0,
max_drop_level=1, max_drop_level=1,
groupcaps={ groupcaps={
choppy={times={[1]=2.50, [2]=1.40, [3]=0.80}, uses=30, maxlevel=2}, choppy={times={[1]=2.50, [2]=1.40, [3]=0.40}, uses=30, maxlevel=2},
crumbly={times={[1]=2.0, [2]=1.5, [3]=1.0}, uses=30, maxlevel=2},
}, },
damage_groups = {fleshy=4}, damage_groups = {fleshy=4},
}, },

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

After

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 B

After

Width:  |  Height:  |  Size: 157 B