From a601906435ea38f8e65d9a7f96dafe464311a113 Mon Sep 17 00:00:00 2001 From: Looki2000 Date: Sat, 4 Feb 2023 21:23:55 +0100 Subject: [PATCH] removed water source from player creative inventory --- mods/amogus_blocks/init.lua | 2 +- mods/amogus_generator/init.lua | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/mods/amogus_blocks/init.lua b/mods/amogus_blocks/init.lua index f39d73e..a061d36 100644 --- a/mods/amogus_blocks/init.lua +++ b/mods/amogus_blocks/init.lua @@ -295,7 +295,7 @@ minetest.register_node("amogus_blocks:water_source", { liquid_alternative_source = "amogus_blocks:water_source", liquid_viscosity = 1, post_effect_color = {a = 103, r = 30, g = 60, b = 90}, - groups = {water = 3, liquid = 3, cools_lava = 1} + groups = {water = 3, liquid = 3, cools_lava = 1, not_in_creative_inventory = 1}, }) minetest.register_node("amogus_blocks:water_flowing", { diff --git a/mods/amogus_generator/init.lua b/mods/amogus_generator/init.lua index 40fe4d9..1beeea1 100644 --- a/mods/amogus_generator/init.lua +++ b/mods/amogus_generator/init.lua @@ -69,7 +69,9 @@ minetest.register_ore({ clust_size = 1, y_max = 31000, y_min = -31000, -})minetest.register_ore({ +}) + +minetest.register_ore({ ore_type = "scatter", ore = "amogus_blocks:gold_ore", wherein = "amogus_blocks:stone", @@ -78,7 +80,9 @@ minetest.register_ore({ clust_size = 1, y_max = 31000, y_min = -31000, -})minetest.register_ore({ +}) + +minetest.register_ore({ ore_type = "scatter", ore = "amogus_blocks:obsusian", wherein = "amogus_blocks:stone", @@ -87,7 +91,9 @@ minetest.register_ore({ clust_size = 1, y_max = 31000, y_min = -31000, -})minetest.register_ore({ +}) + +minetest.register_ore({ ore_type = "scatter", ore = "amogus_blocks:iron_ore", wherein = "amogus_blocks:stone", @@ -531,6 +537,8 @@ minetest.register_decoration({ schematic = "/schematics/STATUE_GIANT.mts", }) + +-- wtf is this?? --minetest.register_on_generated(function(minp, maxp, seed) -- for x = minp.x, maxp.x do -- for y = minp.y, maxp.y do