forked from Kimapr/nodecore-skyblock
Fix water
This commit is contained in:
parent
e23461dac1
commit
8b06b97ac1
|
@ -50,14 +50,30 @@ local function regliquid(def)
|
|||
regterrain(t)
|
||||
end
|
||||
|
||||
local function anim(name, len)
|
||||
return {
|
||||
name = name,
|
||||
animation = {
|
||||
type = "vertical_frames",
|
||||
aspect_w = 16,
|
||||
aspect_h = 16,
|
||||
length = len
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
regliquid({
|
||||
description = "HM Water",
|
||||
mapgen = {},
|
||||
tiles = {"nc_terrain_water.png"},
|
||||
tiles = {anim("nc_terrain_water.png", 4)},
|
||||
special_tiles = {
|
||||
anim("nc_terrain_water_flow.png", 4),
|
||||
anim("nc_terrain_water_flow.png", 4)
|
||||
},
|
||||
paramtype = "light",
|
||||
liquid_viscosity = 1,
|
||||
liquid_renewable = false,
|
||||
alpha = 160,
|
||||
liquid_renewable = true,
|
||||
alpha = 192,
|
||||
walkable = false,
|
||||
pointable = false,
|
||||
diggable = false,
|
||||
|
|
Loading…
Reference in New Issue