Browse Source

make spacing and order like upstream

master
poikilos 5 years ago
committed by Jacob Gustafson
parent
commit
1f0b4df3b0
  1. 4
      patches/deprecated/merged-upstream/pre-Bucket_Game/mods/volcanic/README.md
  2. 110
      patches/deprecated/merged-upstream/pre-Bucket_Game/mods/volcanic/nodes.lua
  3. BIN
      patches/deprecated/merged-upstream/pre-Bucket_Game/mods/volcanic/src/volcanic_crusted_lava_source_animated.xcf

4
patches/deprecated/merged-upstream/pre-Bucket_Game/mods/volcanic/README.md

@ -12,10 +12,10 @@ Using worldedit, make permanent lava flow shapes.
* Code: Open LICENCE file in your favorite text editor * Code: Open LICENCE file in your favorite text editor
(code from the Minetest default mod is trivial) (code from the Minetest default mod is trivial)
* Lava Gel Texture * Crusted Lava Texture
CC BY-SA 3.0 CC BY-SA 3.0
Attribution: Cisoun's texture pack, edited by Poikilos Attribution: Cisoun's texture pack, edited by Poikilos
* Lava Gel Cool Lava Bucket Texture * Crusted Lava Bucket Texture
based on: based on:
- CC BY-SA 3.0 Lava from Cisoun's texture pack, edited by Poikilos - CC BY-SA 3.0 Lava from Cisoun's texture pack, edited by Poikilos
- (c) 2015-2019 and CC BY-SA 3.0: Realistic Bucket by ElementW, modified by Poikilos. - (c) 2015-2019 and CC BY-SA 3.0: Realistic Bucket by ElementW, modified by Poikilos.

110
patches/deprecated/merged-upstream/pre-Bucket_Game/mods/volcanic/nodes.lua

@ -3,96 +3,88 @@
-- * added liquid_range = 0 -- * added liquid_range = 0
-- * changed liquid_alternative_* params -- * changed liquid_alternative_* params
-- * removed igniter from groups -- * removed igniter from groups
minetest.register_node("volcanic:crusted_lava_source", {
description = "Crusted Lava Source", -- ===================================================================
drawtype = "liquid",
tiles = { local lcsa = {
{
name = "volcanic_crusted_lava_source_animated.png",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 3.0,
},
},
},
special_tiles = {
-- New-style lava source material (mostly unused)
{
name = "volcanic_crusted_lava_source_animated.png" , name = "volcanic_crusted_lava_source_animated.png" ,
backface_culling = false ,
animation = { animation = {
type = "vertical_frames" , type = "vertical_frames" ,
aspect_w = 16 , aspect_w = 16 ,
aspect_h = 16 , aspect_h = 16 ,
length = 3.0, length = 3.3 ,
},
backface_culling = false,
},
} , } ,
}
local lava_crust_source_tiles = { lcsa }
-- ===================================================================
minetest.register_node("volcanic:crusted_lava_source", {
description = "Crusted Lava Source" ,
drawtype = "liquid" ,
tiles = lava_crust_source_tiles ,
special_tiles = lava_crust_source_tiles ,
paramtype = "light" , paramtype = "light" ,
light_source = default.LIGHT_MAX - 1 , light_source = default.LIGHT_MAX - 1 ,
walkable = true,
pointable = false,
diggable = false,
buildable_to = true , buildable_to = true ,
diggable = false ,
pointable = false ,
walkable = true ,
is_ground_content = false , is_ground_content = false ,
damage_per_second = 2, -- formerly 4 * 2
drop = "" , drop = "" ,
drowning = 1 , drowning = 1 ,
liquid_range = 0,
liquidtype = "source" , liquidtype = "source" ,
liquid_alternative_flowing = "volcanic:crusted_lava_flowing", liquid_alternative_flowing = "volcanic:crusted_lava_flowing",
liquid_alternative_source = "volcanic:crusted_lava_source", liquid_alternative_source = "volcanic:crusted_lava_source",
liquid_range = 0,
liquid_viscosity = 7,
liquid_renewable = false , liquid_renewable = false ,
damage_per_second = 2, -- formerly 4 * 2 liquid_viscosity = 7 ,
post_effect_color = { a = 191, r = 255, g = 64, b = 0 } , post_effect_color = { a = 191, r = 255, g = 64, b = 0 } ,
groups = { lava = 3, liquid = 2, hot = 3 } , groups = { lava = 3, liquid = 2, hot = 3 } ,
}) })
-- ===================================================================
minetest.register_node("volcanic:crusted_lava_flowing", { minetest.register_node("volcanic:crusted_lava_flowing", {
description = "Flowing Crusted Lava", description = "Crusted Lava Flow",
drawtype = "flowingliquid" , drawtype = "flowingliquid" ,
tiles = {"volcanic_crusted_lava.png"}, -- intentionally use source animation
special_tiles = { tiles = lava_crust_source_tiles ,
{ special_tiles = { lcsa, lcsa } ,
name = "volcanic_crusted_lava_source_animated.png", -- intentionally use source animation
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 3.3,
},
},
{
name = "volcanic_crusted_lava_source_animated.png", -- intentionally use source animation
backface_culling = true,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 3.3,
},
},
},
paramtype = "light" , paramtype = "light" ,
paramtype2 = "flowingliquid" , paramtype2 = "flowingliquid" ,
light_source = default.LIGHT_MAX - 1 , light_source = default.LIGHT_MAX - 1 ,
walkable = true,
pointable = true,
diggable = true,
buildable_to = true , buildable_to = true ,
diggable = true ,
pointable = true ,
walkable = true ,
is_ground_content = false , is_ground_content = false ,
drop = 'default:cobble',
damage_per_second = 2 , -- formerly 4 * 2
drop = "default:cobble" ,
drowning = 1 , drowning = 1 ,
liquidtype = "none" , liquidtype = "none" ,
liquid_alternative_flowing = "volcanic:crusted_lava_flowing" , liquid_alternative_flowing = "volcanic:crusted_lava_flowing" ,
liquid_alternative_source = "volcanic:crusted_lava_source" , liquid_alternative_source = "volcanic:crusted_lava_source" ,
liquid_range = 0 , liquid_range = 0 ,
liquid_viscosity = 7,
liquid_renewable = false , liquid_renewable = false ,
damage_per_second = 2, -- formerly 4 * 2 liquid_viscosity = 7 ,
post_effect_color = { a = 191, r = 255, g = 64, b = 0 } , post_effect_color = { a = 191, r = 255, g = 64, b = 0 } ,
groups = {lava = 3, hot = 3, groups = {
not_in_creative_inventory = 1, crumbly = 3, cracky = 3}, lava = 3, hot = 3,
not_in_creative_inventory = 1,
crumbly = 3, cracky = 3,
} ,
}) })

BIN
patches/deprecated/merged-upstream/pre-Bucket_Game/mods/volcanic/src/volcanic_crusted_lava_source_animated.xcf

Binary file not shown.
Loading…
Cancel
Save