Merge branch 'master' of http://git.cubesoftware.xyz:20524/kacperks/SussyCraft
This commit is contained in:
commit
70ff62b1f2
@ -111,7 +111,6 @@ minetest.register_node("amogus_blocks:grass", {
|
||||
drop = 'amogus:grass', groups = {cracky=3, stone=1},
|
||||
})
|
||||
|
||||
-- add wood block
|
||||
minetest.register_node("amogus_blocks:wood", {
|
||||
description = "Wood",
|
||||
tiles = {"wood.png"},
|
||||
@ -119,5 +118,58 @@ 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")
|
BIN
mods/amogus_blocks/textures/water.png
Normal file
BIN
mods/amogus_blocks/textures/water.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 201 B |
Loading…
Reference in New Issue
Block a user