diff --git a/mods/amogus_blocks/init.lua b/mods/amogus_blocks/init.lua index 513802f..134ab6f 100644 --- a/mods/amogus_blocks/init.lua +++ b/mods/amogus_blocks/init.lua @@ -574,3 +574,18 @@ minetest.register_node("amogus_blocks:golden_block", { 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', +}) \ No newline at end of file diff --git a/mods/amogus_blocks/textures/grass_yellow_side.png b/mods/amogus_blocks/textures/grass_yellow_side.png new file mode 100644 index 0000000..8f6f91c Binary files /dev/null and b/mods/amogus_blocks/textures/grass_yellow_side.png differ diff --git a/mods/amogus_blocks/textures/grass_yellow_top.png b/mods/amogus_blocks/textures/grass_yellow_top.png new file mode 100644 index 0000000..52ea968 Binary files /dev/null and b/mods/amogus_blocks/textures/grass_yellow_top.png differ diff --git a/mods/amogus_generator/init.lua b/mods/amogus_generator/init.lua index 28571ef..048e589 100644 --- a/mods/amogus_generator/init.lua +++ b/mods/amogus_generator/init.lua @@ -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 minetest.register_alias("amogus_blocks:water", "air") - minetest.register_biome({ name = "amogus_beach", node_top = "amogus_blocks:sand", @@ -54,6 +53,47 @@ minetest.register_biome({ 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({ ore_type = "scatter", ore = "amogus_blocks:sussium_ore", @@ -558,4 +598,5 @@ minetest.register_abm({ end end -}) \ No newline at end of file +}) + diff --git a/mods/amogus_items/init.lua b/mods/amogus_items/init.lua index ad7adfe..6496f7d 100644 --- a/mods/amogus_items/init.lua +++ b/mods/amogus_items/init.lua @@ -92,7 +92,7 @@ minetest.register_craftitem("amogus_items:sprite", { on_use = minetest.item_eat(10), }) minetest.register_craftitem("amogus_items:coke", { - description = "Cock Cola - Soda", + description = "koka Cola - Soda", inventory_image = "coke.png", on_use = minetest.item_eat(2), }) @@ -743,3 +743,11 @@ minetest.register_tool("amogus_items:obsusian_sword", { }, 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), +}) \ No newline at end of file diff --git a/mods/amogus_items/textures/amogus_food.png b/mods/amogus_items/textures/mogus.png similarity index 100% rename from mods/amogus_items/textures/amogus_food.png rename to mods/amogus_items/textures/mogus.png