new biome
This commit is contained in:
parent
8a28cbfddb
commit
31df071956
@ -574,3 +574,18 @@ minetest.register_node("amogus_blocks:golden_block", {
|
|||||||
|
|
||||||
groups = {stone=2},
|
groups = {stone=2},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node("amogus_blocks:grass_yellow", {
|
||||||
|
description = "Yellow Grass",
|
||||||
|
tiles = {
|
||||||
|
"grass_yellow_top.png",
|
||||||
|
"d.png",
|
||||||
|
"grass_yellow_side.png",
|
||||||
|
"grass_yellow_side.png",
|
||||||
|
"grass_yellow_side.png",
|
||||||
|
"grass_yellow_side.png"
|
||||||
|
},
|
||||||
|
|
||||||
|
groups = {crumbly=3,soil=1},
|
||||||
|
drop = 'amogus_blocks:dirt',
|
||||||
|
})
|
BIN
mods/amogus_blocks/textures/grass_yellow_side.png
Normal file
BIN
mods/amogus_blocks/textures/grass_yellow_side.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 308 B |
BIN
mods/amogus_blocks/textures/grass_yellow_top.png
Normal file
BIN
mods/amogus_blocks/textures/grass_yellow_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 238 B |
@ -7,7 +7,6 @@ minetest.register_alias("mapgen_river_water_source", "amogus_blocks:water_source
|
|||||||
-- I need to register alias of amogus_blocks:water that doesn't even exist in any of the mods to air because Minetest is f****d up and tries to use "water" by default
|
-- I need to register alias of amogus_blocks:water that doesn't even exist in any of the mods to air because Minetest is f****d up and tries to use "water" by default
|
||||||
minetest.register_alias("amogus_blocks:water", "air")
|
minetest.register_alias("amogus_blocks:water", "air")
|
||||||
|
|
||||||
|
|
||||||
minetest.register_biome({
|
minetest.register_biome({
|
||||||
name = "amogus_beach",
|
name = "amogus_beach",
|
||||||
node_top = "amogus_blocks:sand",
|
node_top = "amogus_blocks:sand",
|
||||||
@ -54,6 +53,47 @@ minetest.register_biome({
|
|||||||
humidity_point = 50,
|
humidity_point = 50,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_biome({
|
||||||
|
name = "yellow_biome",
|
||||||
|
node_top = "amogus_blocks:grass_yellow",
|
||||||
|
depth_top = 1,
|
||||||
|
node_filler = "amogus_blocks:dirt",
|
||||||
|
depth_filler = 1,
|
||||||
|
node_stone = "amogus_blocks:stone",
|
||||||
|
node_water_top = "amogus_blocks:water_source",
|
||||||
|
node_water = "amogus_blocks:water_source",
|
||||||
|
node_river_water = "amogus_blocks:water_source",
|
||||||
|
y_max = 31000,
|
||||||
|
y_min = 1,
|
||||||
|
heat_point = 50,
|
||||||
|
humidity_point = 50,
|
||||||
|
})
|
||||||
|
minetest.register_decoration({
|
||||||
|
deco_type = "schematic",
|
||||||
|
place_on = {"amogus_blocks:grass_yellow"},
|
||||||
|
sidelen = 16,
|
||||||
|
fill_ratio = 0.01,
|
||||||
|
biomes = {"yellow_biome"},
|
||||||
|
y_max = 31000,
|
||||||
|
y_min = 1,
|
||||||
|
schematic = minetest.get_modpath("amogus_generator") .. "/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_yellow"},
|
||||||
|
sidelen = 16,
|
||||||
|
fill_ratio = 0.01,
|
||||||
|
biomes = {"yellow_biome"},
|
||||||
|
y_max = 31000,
|
||||||
|
y_min = 1,
|
||||||
|
schematic = minetest.get_modpath("amogus_generator") .. "/schematics/lucky_tree_2.mts",
|
||||||
|
flags = "place_center_x, place_center_z",
|
||||||
|
rotation = "random",
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
ore_type = "scatter",
|
ore_type = "scatter",
|
||||||
ore = "amogus_blocks:sussium_ore",
|
ore = "amogus_blocks:sussium_ore",
|
||||||
@ -558,4 +598,5 @@ minetest.register_abm({
|
|||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ minetest.register_craftitem("amogus_items:sprite", {
|
|||||||
on_use = minetest.item_eat(10),
|
on_use = minetest.item_eat(10),
|
||||||
})
|
})
|
||||||
minetest.register_craftitem("amogus_items:coke", {
|
minetest.register_craftitem("amogus_items:coke", {
|
||||||
description = "Cock Cola - Soda",
|
description = "koka Cola - Soda",
|
||||||
inventory_image = "coke.png",
|
inventory_image = "coke.png",
|
||||||
on_use = minetest.item_eat(2),
|
on_use = minetest.item_eat(2),
|
||||||
})
|
})
|
||||||
@ -743,3 +743,11 @@ minetest.register_tool("amogus_items:obsusian_sword", {
|
|||||||
},
|
},
|
||||||
sound = {breaks = "default_tool_breaks"},
|
sound = {breaks = "default_tool_breaks"},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- create mogus item that can be eaten
|
||||||
|
|
||||||
|
minetest.register_craftitem("amogus_items:mogus", {
|
||||||
|
description = "Mogus",
|
||||||
|
inventory_image = "mogus.png",
|
||||||
|
on_use = minetest.item_eat(1),
|
||||||
|
})
|
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 154 B |
Loading…
x
Reference in New Issue
Block a user