This commit is contained in:
Kacper Kostka
2023-01-08 15:29:39 +01:00
parent ae81fd77fd
commit c8420db675
131 changed files with 6702 additions and 63 deletions

View File

@@ -1,3 +1,7 @@
minetest.register_on_joinplayer(function(player)
player:set_sky({r=0, g=0, b=0}, "plain", {})
end)
minetest.register_node("amogus_blocks:ladder_steel", {
description = "Ladder",
drawtype = "signlike",
@@ -25,12 +29,12 @@ minetest.register_node("amogus_blocks:floor", {
minetest.register_node("amogus_blocks:tv", {
description = "CRT TV",
tiles = {
"PC2.png",
"PC2.png",
"PC2.png",
"PC2.png",
"PC2.png",
"PC.png"
"crt2.png",
"crt2.png",
"crt2.png",
"crt2.png",
"crt2.png",
"crt.png"
},
paramtype2 = "facedir",
drop = 'amogus_blocks:amogus_blocks', groups = {cracky=3, stone=1},
@@ -118,58 +122,5 @@ minetest.register_node("amogus_blocks:wood", {
drop = 'amogus:wood', groups = {cracky=3, stone=1},
})
-- add water with blue color without texture
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,
},
},
},
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",
liquid_alternative_source = "amogus_blocks:water",
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_alias("mapgen_dirt", "amogus_blocks:grass")
minetest.register_alias("mapgen_stone", "amogus_blocks:floor")
minetest.register_alias("mapgen_dirt", "amogus_blocks:floor")
minetest.register_alias("mapgen_stone", "amogus_blocks:grass")