This commit is contained in:
Kacper Kostka
2023-02-05 12:19:14 +01:00
7 changed files with 288 additions and 79 deletions

View File

@@ -26,7 +26,7 @@ minetest.register_node("amogus_blocks:tv", {
},
paramtype2 = "facedir",
drop = { -- amogus_items:capacitor amogus_items:pcb
-- drop two items
-- drop two items
max_items = 2,
items = {
{items = {'amogus_items:capacitor'}, rarity = 1},
@@ -199,72 +199,6 @@ minetest.register_node("amogus_blocks:wood", {
})
-- OLD water. not flowing. throwing massive amounts of errors.
--minetest.register_node("amogus_blocks:water", {
-- description = "Water",
-- drawtype = "liquid",
-- tiles = {
-- {
-- name = "water.png",
-- --animation = {
-- -- type = "vertical_frames",
-- -- aspect_w = 16,
-- -- aspect_h = 16,
-- -- length = 2.0,
-- --},
-- },
-- --{
-- -- name = "water.png",
-- -- animation = {
-- -- type = "vertical_frames",
-- -- aspect_w = 16,
-- -- aspect_h = 16,
-- -- length = 2.0,
-- -- },
-- --},
-- },
-- --special_tiles = {
-- -- -- New-style water source material (mostly unused)
-- -- {
-- -- name = "water.png",
-- -- backface_culling = false,
-- -- animation = {
-- -- type = "vertical_frames",
-- -- aspect_w = 16,
-- -- aspect_h = 16,
-- -- length = 2.0,
-- -- },
-- -- },
-- -- -- New-style flowing water material (mostly unused)
-- -- {
-- -- name = "water.png",
-- -- backface_culling = true,
-- -- animation = {
-- -- type = "vertical_frames",
-- -- aspect_w = 16,
-- -- aspect_h = 16,
-- -- length = 0.8,
-- -- },
-- -- },
-- --},
-- alpha = 160,
-- paramtype = "light",
-- walkable = false,
-- pointable = false,
-- diggable = false,
-- --buildable_to = true,
-- drowning = 1,
-- liquidtype = "source",
-- --liquid_alternative_flowing = "amogus_blocks:water_flowing",
-- --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, puts_out_fire = 1},
--})
minetest.register_node("amogus_blocks:water_source", {
description = "Water Source",
drawtype = "liquid",
@@ -295,7 +229,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", {