2014-03-31 06:16:20 +02:00
|
|
|
minetest.register_node("watershed:appleleaf", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Appletree leaves",
|
2014-03-31 06:16:20 +02:00
|
|
|
drawtype = "allfaces_optional",
|
|
|
|
visual_scale = 1.3,
|
|
|
|
tiles = {"default_leaves.png"},
|
|
|
|
paramtype = "light",
|
|
|
|
is_ground_content = false,
|
|
|
|
groups = {snappy=3, flammable=2, leaves=1},
|
2014-06-10 02:26:45 +02:00
|
|
|
drop = {
|
|
|
|
max_items = 1,
|
|
|
|
items = {
|
|
|
|
{items = {"watershed:appling"},rarity = 20},
|
|
|
|
{items = {"watershed:appleleaf"}}
|
|
|
|
}
|
|
|
|
},
|
2014-03-31 06:16:20 +02:00
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
2014-06-10 02:26:45 +02:00
|
|
|
minetest.register_node("watershed:appling", {
|
|
|
|
description = "Appletree sapling",
|
|
|
|
drawtype = "plantlike",
|
|
|
|
visual_scale = 1.0,
|
|
|
|
tiles = {"default_sapling.png"},
|
|
|
|
inventory_image = "default_sapling.png",
|
|
|
|
wield_image = "default_sapling.png",
|
2014-04-01 02:39:57 +02:00
|
|
|
paramtype = "light",
|
2014-06-10 02:26:45 +02:00
|
|
|
walkable = false,
|
2014-04-01 02:39:57 +02:00
|
|
|
is_ground_content = false,
|
2014-06-10 02:26:45 +02:00
|
|
|
selection_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
|
|
|
|
},
|
|
|
|
groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1},
|
2014-04-01 02:39:57 +02:00
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
2014-04-14 07:01:05 +02:00
|
|
|
minetest.register_node("watershed:acaciatree", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Acacia tree",
|
2014-04-14 07:01:05 +02:00
|
|
|
tiles = {"watershed_acaciatreetop.png", "watershed_acaciatreetop.png", "watershed_acaciatree.png"},
|
|
|
|
paramtype2 = "facedir",
|
2014-04-19 20:52:33 +02:00
|
|
|
is_ground_content = false,
|
2014-04-14 07:01:05 +02:00
|
|
|
groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
on_place = minetest.rotate_node
|
|
|
|
})
|
|
|
|
|
2014-06-10 02:26:45 +02:00
|
|
|
minetest.register_node("watershed:acacialeaf", {
|
|
|
|
description = "Acacia leaves",
|
2014-03-31 06:16:20 +02:00
|
|
|
drawtype = "allfaces_optional",
|
|
|
|
visual_scale = 1.3,
|
2014-06-10 02:26:45 +02:00
|
|
|
tiles = {"watershed_acacialeaf.png"},
|
2014-03-31 06:16:20 +02:00
|
|
|
paramtype = "light",
|
2014-02-19 02:16:19 +01:00
|
|
|
is_ground_content = false,
|
2014-06-10 02:26:45 +02:00
|
|
|
groups = {snappy=3, flammable=2, leaves=1},
|
|
|
|
drop = {
|
|
|
|
max_items = 1,
|
|
|
|
items = {
|
|
|
|
{items = {"watershed:acacialing"},rarity = 20},
|
|
|
|
{items = {"watershed:acacialeaf"}}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("watershed:acacialing", {
|
|
|
|
description = "Acacia tree sapling",
|
|
|
|
drawtype = "plantlike",
|
|
|
|
visual_scale = 1.0,
|
|
|
|
tiles = {"watershed_acacialing.png"},
|
|
|
|
inventory_image = "watershed_acacialing.png",
|
|
|
|
wield_image = "watershed_acacialing.png",
|
|
|
|
paramtype = "light",
|
|
|
|
walkable = false,
|
|
|
|
is_ground_content = false,
|
|
|
|
selection_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
|
|
|
|
},
|
|
|
|
groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1},
|
2014-02-19 02:16:19 +01:00
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
2014-04-14 07:01:05 +02:00
|
|
|
minetest.register_node("watershed:pinetree", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Pine tree",
|
2014-04-14 07:01:05 +02:00
|
|
|
tiles = {"watershed_pinetreetop.png", "watershed_pinetreetop.png", "watershed_pinetree.png"},
|
|
|
|
paramtype2 = "facedir",
|
2014-04-19 20:52:33 +02:00
|
|
|
is_ground_content = false,
|
2014-04-14 07:01:05 +02:00
|
|
|
groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
on_place = minetest.rotate_node
|
|
|
|
})
|
|
|
|
|
2014-06-10 02:26:45 +02:00
|
|
|
minetest.register_node("watershed:needles", {
|
|
|
|
description = "Pine needles",
|
|
|
|
drawtype = "allfaces_optional",
|
|
|
|
visual_scale = 1.3,
|
|
|
|
tiles = {"watershed_needles.png"},
|
|
|
|
paramtype = "light",
|
|
|
|
is_ground_content = false,
|
|
|
|
groups = {snappy=3},
|
|
|
|
drop = {
|
|
|
|
max_items = 1,
|
|
|
|
items = {
|
|
|
|
{items = {"watershed:pineling"},rarity = 20},
|
|
|
|
{items = {"watershed:needles"}}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("watershed:pineling", {
|
|
|
|
description = "Pine sapling",
|
|
|
|
drawtype = "plantlike",
|
|
|
|
visual_scale = 1.0,
|
|
|
|
tiles = {"watershed_pineling.png"},
|
|
|
|
inventory_image = "watershed_pineling.png",
|
|
|
|
wield_image = "watershed_pineling.png",
|
|
|
|
paramtype = "light",
|
|
|
|
walkable = false,
|
|
|
|
is_ground_content = false,
|
|
|
|
selection_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
|
|
|
|
},
|
|
|
|
groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1},
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
2014-02-19 02:16:19 +01:00
|
|
|
minetest.register_node("watershed:jungleleaf", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Jungletree leaves",
|
2014-02-19 02:16:19 +01:00
|
|
|
drawtype = "allfaces_optional",
|
|
|
|
visual_scale = 1.3,
|
|
|
|
tiles = {"default_jungleleaves.png"},
|
|
|
|
paramtype = "light",
|
|
|
|
is_ground_content = false,
|
2014-03-31 06:16:20 +02:00
|
|
|
groups = {snappy=3, flammable=2, leaves=1},
|
2014-06-10 02:26:45 +02:00
|
|
|
drop = {
|
|
|
|
max_items = 1,
|
|
|
|
items = {
|
|
|
|
{items = {"watershed:jungling"},rarity = 20},
|
|
|
|
{items = {"watershed:jungleleaf"}}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("watershed:jungling", {
|
|
|
|
description = "Jungletree sapling",
|
|
|
|
drawtype = "plantlike",
|
|
|
|
visual_scale = 1.0,
|
2014-06-11 06:08:05 +02:00
|
|
|
tiles = {"default_junglesapling.png"},
|
|
|
|
inventory_image = "default_junglesapling.png",
|
|
|
|
wield_image = "default_junglesapling.png",
|
2014-06-10 02:26:45 +02:00
|
|
|
paramtype = "light",
|
|
|
|
walkable = false,
|
|
|
|
is_ground_content = false,
|
|
|
|
selection_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
|
|
|
|
},
|
|
|
|
groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1},
|
2014-02-19 02:16:19 +01:00
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
2014-02-19 09:19:17 +01:00
|
|
|
minetest.register_node("watershed:dirt", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Dirt",
|
2014-02-19 09:19:17 +01:00
|
|
|
tiles = {"default_dirt.png"},
|
|
|
|
is_ground_content = false,
|
|
|
|
groups = {crumbly=3,soil=1},
|
|
|
|
drop = "default:dirt",
|
|
|
|
sounds = default.node_sound_dirt_defaults(),
|
|
|
|
})
|
|
|
|
|
2014-04-19 20:52:33 +02:00
|
|
|
minetest.register_node("watershed:icydirt", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Icy dirt",
|
2014-04-19 20:52:33 +02:00
|
|
|
tiles = {"watershed_icydirt.png"},
|
|
|
|
is_ground_content = false,
|
|
|
|
groups = {crumbly=1},
|
|
|
|
drop = "default:dirt",
|
|
|
|
sounds = default.node_sound_dirt_defaults({
|
|
|
|
footstep = {name="default_snow_footstep", gain=0.15},
|
|
|
|
dug = {name="default_snow_footstep", gain=0.45},
|
|
|
|
}),
|
|
|
|
})
|
|
|
|
|
2014-02-19 02:16:19 +01:00
|
|
|
minetest.register_node("watershed:grass", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Grass",
|
2014-04-22 15:21:21 +02:00
|
|
|
tiles = {"default_grass.png", "default_dirt.png", "default_grass.png"},
|
2014-02-19 02:16:19 +01:00
|
|
|
is_ground_content = false,
|
|
|
|
groups = {crumbly=3,soil=1},
|
|
|
|
drop = "default:dirt",
|
|
|
|
sounds = default.node_sound_dirt_defaults({
|
|
|
|
footstep = {name="default_grass_footstep", gain=0.25},
|
|
|
|
}),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("watershed:redstone", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Red stone",
|
2014-02-19 02:16:19 +01:00
|
|
|
tiles = {"default_desert_stone.png"},
|
2014-03-05 11:41:34 +01:00
|
|
|
is_ground_content = false,
|
2014-02-19 02:16:19 +01:00
|
|
|
groups = {cracky=3},
|
2014-04-09 07:06:10 +02:00
|
|
|
drop = "watershed:redcobble",
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("watershed:redcobble", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Red cobblestone",
|
2014-04-09 07:06:10 +02:00
|
|
|
tiles = {"watershed_redcobble.png"},
|
|
|
|
is_ground_content = false,
|
|
|
|
groups = {cracky=3, stone=2},
|
2014-02-19 02:16:19 +01:00
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("watershed:stone", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Stone",
|
2014-02-19 02:16:19 +01:00
|
|
|
tiles = {"default_stone.png"},
|
2014-03-05 11:41:34 +01:00
|
|
|
is_ground_content = false,
|
2014-02-19 02:16:19 +01:00
|
|
|
groups = {cracky=3},
|
2014-04-09 07:06:10 +02:00
|
|
|
drop = "default:cobble",
|
2014-02-19 02:16:19 +01:00
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
})
|
|
|
|
|
2014-02-20 08:18:40 +01:00
|
|
|
minetest.register_node("watershed:cactus", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Cactus",
|
2014-02-20 08:18:40 +01:00
|
|
|
tiles = {"default_cactus_top.png", "default_cactus_top.png", "default_cactus_side.png"},
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
is_ground_content = false,
|
|
|
|
groups = {snappy=1,choppy=3,flammable=2},
|
|
|
|
drop = "default:cactus",
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
on_place = minetest.rotate_node
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("watershed:goldengrass", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Golden grass",
|
2014-02-20 08:18:40 +01:00
|
|
|
drawtype = "plantlike",
|
|
|
|
tiles = {"watershed_goldengrass.png"},
|
|
|
|
inventory_image = "watershed_goldengrass.png",
|
|
|
|
wield_image = "watershed_goldengrass.png",
|
|
|
|
paramtype = "light",
|
|
|
|
walkable = false,
|
|
|
|
buildable_to = true,
|
2014-03-05 11:41:34 +01:00
|
|
|
is_ground_content = false,
|
2014-02-20 08:18:40 +01:00
|
|
|
groups = {snappy=3,flammable=3,flora=1,attached_node=1},
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
selection_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2014-02-20 13:24:02 +01:00
|
|
|
minetest.register_node("watershed:drygrass", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Dry grass",
|
2014-02-20 13:24:02 +01:00
|
|
|
tiles = {"watershed_drygrass.png"},
|
|
|
|
is_ground_content = false,
|
2014-04-19 20:52:33 +02:00
|
|
|
groups = {crumbly=1,soil=1},
|
2014-02-20 13:24:02 +01:00
|
|
|
drop = "default:dirt",
|
|
|
|
sounds = default.node_sound_dirt_defaults({
|
|
|
|
footstep = {name="default_grass_footstep", gain=0.4},
|
|
|
|
}),
|
|
|
|
})
|
|
|
|
|
2014-02-25 19:14:54 +01:00
|
|
|
minetest.register_node("watershed:permafrost", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Permafrost",
|
2014-02-25 19:14:54 +01:00
|
|
|
tiles = {"watershed_permafrost.png"},
|
|
|
|
is_ground_content = false,
|
2014-04-19 20:52:33 +02:00
|
|
|
groups = {crumbly=1},
|
2014-02-25 19:14:54 +01:00
|
|
|
drop = "default:dirt",
|
|
|
|
sounds = default.node_sound_dirt_defaults(),
|
|
|
|
})
|
|
|
|
|
2014-03-22 07:40:39 +01:00
|
|
|
minetest.register_node("watershed:vine", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Jungletree vine",
|
2014-03-22 07:40:39 +01:00
|
|
|
drawtype = "airlike",
|
|
|
|
paramtype = "light",
|
|
|
|
walkable = false,
|
|
|
|
climbable = true,
|
|
|
|
pointable = false,
|
|
|
|
diggable = false,
|
|
|
|
buildable_to = true,
|
|
|
|
is_ground_content = false,
|
|
|
|
groups = {not_in_creative_inventory=1},
|
|
|
|
})
|
|
|
|
|
2014-04-09 07:06:10 +02:00
|
|
|
minetest.register_node("watershed:freshice", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Fresh ice",
|
2014-04-09 07:06:10 +02:00
|
|
|
tiles = {"watershed_freshice.png"},
|
|
|
|
is_ground_content = false,
|
|
|
|
paramtype = "light",
|
|
|
|
groups = {cracky=3},
|
|
|
|
sounds = default.node_sound_glass_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("watershed:cloud", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Cloud",
|
2014-04-09 07:06:10 +02:00
|
|
|
drawtype = "glasslike",
|
|
|
|
tiles = {"watershed_cloud.png"},
|
|
|
|
paramtype = "light",
|
2014-04-30 08:32:01 +02:00
|
|
|
is_ground_content = false,
|
2014-04-09 07:06:10 +02:00
|
|
|
sunlight_propagates = true,
|
|
|
|
walkable = false,
|
|
|
|
pointable = false,
|
|
|
|
diggable = false,
|
|
|
|
buildable_to = true,
|
|
|
|
post_effect_color = {a=23, r=241, g=248, b=255},
|
|
|
|
})
|
|
|
|
|
2014-05-07 19:48:59 +02:00
|
|
|
minetest.register_node("watershed:luxore", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Lux ore",
|
|
|
|
tiles = {"watershed_luxore.png"},
|
|
|
|
light_source = 14,
|
|
|
|
groups = {cracky=3},
|
|
|
|
drop = "watershed:luxcrystal 8",
|
|
|
|
sounds = default.node_sound_glass_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("watershed:luxoreoff", {
|
|
|
|
description = "Dark lux ore",
|
2014-04-10 06:27:59 +02:00
|
|
|
tiles = {"watershed_luxore.png"},
|
|
|
|
light_source = 14,
|
|
|
|
groups = {cracky=3},
|
|
|
|
drop = "watershed:luxcrystal 8",
|
|
|
|
sounds = default.node_sound_glass_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("watershed:light", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Light",
|
2014-04-10 06:27:59 +02:00
|
|
|
tiles = {"watershed_light.png"},
|
|
|
|
light_source = 14,
|
|
|
|
groups = {cracky=3},
|
|
|
|
sounds = default.node_sound_glass_defaults(),
|
|
|
|
})
|
|
|
|
|
2014-04-15 09:03:32 +02:00
|
|
|
minetest.register_node("watershed:acaciawood", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Acacia wood planks",
|
2014-04-15 09:03:32 +02:00
|
|
|
tiles = {"watershed_acaciawood.png"},
|
|
|
|
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("watershed:pinewood", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Pine wood planks",
|
2014-04-15 09:03:32 +02:00
|
|
|
tiles = {"watershed_pinewood.png"},
|
|
|
|
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
2014-06-10 02:26:45 +02:00
|
|
|
|
|
|
|
|
2014-04-09 07:06:10 +02:00
|
|
|
minetest.register_node("watershed:freshwater", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Freshwater source",
|
2014-04-09 07:06:10 +02:00
|
|
|
inventory_image = minetest.inventorycube("watershed_freshwater.png"),
|
2014-02-19 02:16:19 +01:00
|
|
|
drawtype = "liquid",
|
|
|
|
tiles = {
|
2014-03-24 03:38:56 +01:00
|
|
|
{
|
2014-04-09 07:06:10 +02:00
|
|
|
name="watershed_freshwateranim.png",
|
2014-03-24 03:38:56 +01:00
|
|
|
animation={type="vertical_frames",
|
|
|
|
aspect_w=16, aspect_h=16, length=2.0}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
special_tiles = {
|
|
|
|
{
|
2014-04-09 07:06:10 +02:00
|
|
|
name="watershed_freshwateranim.png",
|
2014-03-24 03:38:56 +01:00
|
|
|
animation={type="vertical_frames",
|
|
|
|
aspect_w=16, aspect_h=16, length=2.0},
|
|
|
|
backface_culling = false,
|
|
|
|
}
|
2014-02-19 02:16:19 +01:00
|
|
|
},
|
|
|
|
alpha = WATER_ALPHA,
|
|
|
|
paramtype = "light",
|
|
|
|
is_ground_content = false,
|
|
|
|
walkable = false,
|
|
|
|
pointable = false,
|
|
|
|
diggable = false,
|
|
|
|
buildable_to = true,
|
|
|
|
drop = "",
|
|
|
|
drowning = 1,
|
|
|
|
liquidtype = "source",
|
2014-04-09 07:06:10 +02:00
|
|
|
liquid_alternative_flowing = "watershed:freshwaterflow",
|
|
|
|
liquid_alternative_source = "watershed:freshwater",
|
2014-02-19 02:16:19 +01:00
|
|
|
liquid_viscosity = WATER_VISC,
|
|
|
|
liquid_renewable = false,
|
2014-04-22 15:21:21 +02:00
|
|
|
liquid_range = 4,
|
|
|
|
post_effect_color = {a=64, r=100, g=150, b=200},
|
2014-02-19 02:16:19 +01:00
|
|
|
groups = {water=3, liquid=3, puts_out_fire=1},
|
|
|
|
})
|
|
|
|
|
2014-04-09 07:06:10 +02:00
|
|
|
minetest.register_node("watershed:freshwaterflow", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Flowing freshwater",
|
2014-04-09 07:06:10 +02:00
|
|
|
inventory_image = minetest.inventorycube("watershed_freshwater.png"),
|
2014-02-19 02:16:19 +01:00
|
|
|
drawtype = "flowingliquid",
|
2014-04-09 07:06:10 +02:00
|
|
|
tiles = {"watershed_freshwater.png"},
|
2014-02-19 02:16:19 +01:00
|
|
|
special_tiles = {
|
|
|
|
{
|
2014-04-09 07:06:10 +02:00
|
|
|
image="watershed_freshwaterflowanim.png",
|
2014-02-19 02:16:19 +01:00
|
|
|
backface_culling=false,
|
|
|
|
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.8}
|
|
|
|
},
|
|
|
|
{
|
2014-04-09 07:06:10 +02:00
|
|
|
image="watershed_freshwaterflowanim.png",
|
2014-02-19 02:16:19 +01:00
|
|
|
backface_culling=true,
|
|
|
|
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.8}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
alpha = WATER_ALPHA,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "flowingliquid",
|
|
|
|
is_ground_content = false,
|
|
|
|
walkable = false,
|
|
|
|
pointable = false,
|
|
|
|
diggable = false,
|
|
|
|
buildable_to = true,
|
|
|
|
drop = "",
|
|
|
|
drowning = 1,
|
|
|
|
liquidtype = "flowing",
|
2014-04-09 07:06:10 +02:00
|
|
|
liquid_alternative_flowing = "watershed:freshwaterflow",
|
|
|
|
liquid_alternative_source = "watershed:freshwater",
|
2014-02-19 02:16:19 +01:00
|
|
|
liquid_viscosity = WATER_VISC,
|
|
|
|
liquid_renewable = false,
|
2014-04-22 15:21:21 +02:00
|
|
|
liquid_range = 4,
|
|
|
|
post_effect_color = {a=64, r=100, g=150, b=200},
|
2014-02-19 02:16:19 +01:00
|
|
|
groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1},
|
2014-03-30 08:34:18 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("watershed:lava", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Lava source",
|
2014-03-30 08:34:18 +02:00
|
|
|
inventory_image = minetest.inventorycube("default_lava.png"),
|
|
|
|
drawtype = "liquid",
|
|
|
|
tiles = {
|
|
|
|
{name="default_lava_source_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}
|
|
|
|
},
|
|
|
|
special_tiles = {
|
|
|
|
{
|
|
|
|
name="default_lava_source_animated.png",
|
|
|
|
animation={type="vertical_frames",
|
|
|
|
aspect_w=16, aspect_h=16, length=3.0},
|
|
|
|
backface_culling = false,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
paramtype = "light",
|
|
|
|
light_source = 14,
|
2014-04-04 03:34:26 +02:00
|
|
|
is_ground_content = false,
|
2014-03-30 08:34:18 +02:00
|
|
|
walkable = false,
|
|
|
|
pointable = false,
|
|
|
|
diggable = false,
|
|
|
|
buildable_to = true,
|
|
|
|
drop = "",
|
|
|
|
drowning = 1,
|
|
|
|
liquidtype = "source",
|
|
|
|
liquid_alternative_flowing = "watershed:lavaflow",
|
|
|
|
liquid_alternative_source = "watershed:lava",
|
|
|
|
liquid_viscosity = LAVA_VISC,
|
|
|
|
liquid_renewable = false,
|
2014-04-03 06:37:53 +02:00
|
|
|
liquid_range = 2,
|
2014-03-30 08:34:18 +02:00
|
|
|
damage_per_second = 8,
|
|
|
|
post_effect_color = {a=192, r=255, g=64, b=0},
|
|
|
|
groups = {lava=3, liquid=2, hot=3, igniter=1},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("watershed:lavaflow", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Flowing lava",
|
2014-03-30 08:34:18 +02:00
|
|
|
inventory_image = minetest.inventorycube("default_lava.png"),
|
|
|
|
drawtype = "flowingliquid",
|
|
|
|
tiles = {"default_lava.png"},
|
|
|
|
special_tiles = {
|
|
|
|
{
|
|
|
|
image="default_lava_flowing_animated.png",
|
|
|
|
backface_culling=false,
|
|
|
|
animation={type="vertical_frames",
|
|
|
|
aspect_w=16, aspect_h=16, length=3.3}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
image="default_lava_flowing_animated.png",
|
|
|
|
backface_culling=true,
|
|
|
|
animation={type="vertical_frames",
|
|
|
|
aspect_w=16, aspect_h=16, length=3.3}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "flowingliquid",
|
|
|
|
light_source = 14,
|
2014-04-04 03:34:26 +02:00
|
|
|
is_ground_content = false,
|
2014-03-30 08:34:18 +02:00
|
|
|
walkable = false,
|
|
|
|
pointable = false,
|
|
|
|
diggable = false,
|
|
|
|
buildable_to = true,
|
|
|
|
drop = "",
|
|
|
|
drowning = 1,
|
|
|
|
liquidtype = "flowing",
|
|
|
|
liquid_alternative_flowing = "watershed:lavaflow",
|
|
|
|
liquid_alternative_source = "watershed:lava",
|
|
|
|
liquid_viscosity = LAVA_VISC,
|
|
|
|
liquid_renewable = false,
|
2014-04-03 06:37:53 +02:00
|
|
|
liquid_range = 2,
|
2014-03-30 08:34:18 +02:00
|
|
|
damage_per_second = 8,
|
|
|
|
post_effect_color = {a=192, r=255, g=64, b=0},
|
|
|
|
groups = {lava=3, liquid=2, hot=3, igniter=1, not_in_creative_inventory=1},
|
2014-04-10 06:27:59 +02:00
|
|
|
})
|
|
|
|
|
2014-04-22 15:21:21 +02:00
|
|
|
minetest.register_node("watershed:mixwater", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Mixed water source",
|
2014-04-22 15:21:21 +02:00
|
|
|
inventory_image = minetest.inventorycube("watershed_mixwater.png"),
|
|
|
|
drawtype = "liquid",
|
|
|
|
tiles = {
|
|
|
|
{
|
|
|
|
name="watershed_mixwateranim.png",
|
|
|
|
animation={type="vertical_frames",
|
|
|
|
aspect_w=16, aspect_h=16, length=2.0}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
special_tiles = {
|
|
|
|
{
|
|
|
|
name="watershed_mixwateranim.png",
|
|
|
|
animation={type="vertical_frames",
|
|
|
|
aspect_w=16, aspect_h=16, length=2.0},
|
|
|
|
backface_culling = false,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
alpha = WATER_ALPHA,
|
|
|
|
paramtype = "light",
|
|
|
|
is_ground_content = false,
|
|
|
|
walkable = false,
|
|
|
|
pointable = false,
|
|
|
|
diggable = false,
|
|
|
|
buildable_to = true,
|
|
|
|
drop = "",
|
|
|
|
drowning = 1,
|
|
|
|
liquidtype = "source",
|
|
|
|
liquid_alternative_flowing = "watershed:mixwaterflow",
|
|
|
|
liquid_alternative_source = "watershed:mixwater",
|
|
|
|
liquid_viscosity = WATER_VISC,
|
|
|
|
liquid_renewable = false,
|
|
|
|
liquid_range = 4,
|
|
|
|
post_effect_color = {a=64, r=100, g=120, b=200},
|
|
|
|
groups = {water=3, liquid=3, puts_out_fire=1},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("watershed:mixwaterflow", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Flowing mixed water",
|
2014-04-22 15:21:21 +02:00
|
|
|
inventory_image = minetest.inventorycube("watershed_mixwater.png"),
|
|
|
|
drawtype = "flowingliquid",
|
|
|
|
tiles = {"watershed_mixwater.png"},
|
|
|
|
special_tiles = {
|
|
|
|
{
|
|
|
|
image="watershed_mixwaterflowanim.png",
|
|
|
|
backface_culling=false,
|
|
|
|
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.8}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
image="watershed_mixwaterflowanim.png",
|
|
|
|
backface_culling=true,
|
|
|
|
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.8}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
alpha = WATER_ALPHA,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "flowingliquid",
|
|
|
|
is_ground_content = false,
|
|
|
|
walkable = false,
|
|
|
|
pointable = false,
|
|
|
|
diggable = false,
|
|
|
|
buildable_to = true,
|
|
|
|
drop = "",
|
|
|
|
drowning = 1,
|
|
|
|
liquidtype = "flowing",
|
|
|
|
liquid_alternative_flowing = "watershed:mixwaterflow",
|
|
|
|
liquid_alternative_source = "watershed:mixwater",
|
|
|
|
liquid_viscosity = WATER_VISC,
|
|
|
|
liquid_renewable = false,
|
|
|
|
liquid_range = 4,
|
|
|
|
post_effect_color = {a=64, r=100, g=120, b=200},
|
|
|
|
groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1},
|
|
|
|
})
|
|
|
|
|
2014-04-10 06:27:59 +02:00
|
|
|
-- Items
|
|
|
|
|
|
|
|
minetest.register_craftitem("watershed:luxcrystal", {
|
2014-06-10 02:26:45 +02:00
|
|
|
description = "Lux crystal",
|
2014-04-10 06:27:59 +02:00
|
|
|
inventory_image = "watershed_luxcrystal.png",
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Crafting
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "default:desert_stone",
|
|
|
|
recipe = "watershed:redcobble",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2014-04-22 15:21:21 +02:00
|
|
|
output = "watershed:light 8",
|
2014-04-10 06:27:59 +02:00
|
|
|
recipe = {
|
2014-04-22 15:21:21 +02:00
|
|
|
{"default:glass", "default:glass", "default:glass"},
|
|
|
|
{"default:glass", "watershed:luxcrystal", "default:glass"},
|
|
|
|
{"default:glass", "default:glass", "default:glass"},
|
2014-04-10 06:27:59 +02:00
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2014-04-15 09:03:32 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "watershed:acaciawood 4",
|
|
|
|
recipe = {
|
|
|
|
{"watershed:acaciatree"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "watershed:pinewood 4",
|
|
|
|
recipe = {
|
|
|
|
{"watershed:pinetree"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2014-04-10 06:27:59 +02:00
|
|
|
-- Buckets
|
|
|
|
|
|
|
|
bucket.register_liquid(
|
|
|
|
"watershed:freshwater",
|
|
|
|
"watershed:freshwaterflow",
|
|
|
|
"watershed:bucket_freshwater",
|
|
|
|
"watershed_bucketfreshwater.png",
|
|
|
|
"WS Fresh Water Bucket"
|
|
|
|
)
|
|
|
|
|
|
|
|
bucket.register_liquid(
|
|
|
|
"watershed:lava",
|
|
|
|
"watershed:lavaflow",
|
|
|
|
"watershed:bucket_lava",
|
|
|
|
"bucket_lava.png",
|
|
|
|
"WS Lava Bucket"
|
|
|
|
)
|
|
|
|
|
|
|
|
-- Fuel
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "watershed:bucket_lava",
|
|
|
|
burntime = 60,
|
|
|
|
replacements = {{"watershed:bucket_lava", "bucket:bucket_empty"}},
|
2014-06-10 02:26:45 +02:00
|
|
|
})
|
2014-06-16 03:59:02 +02:00
|
|
|
|
|
|
|
-- Register stairs and slabs
|
|
|
|
|
|
|
|
stairs.register_stair_and_slab("acaciawood", "watershed:acaciawood",
|
|
|
|
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
|
|
|
{"watershed_acaciawood.png"},
|
|
|
|
"Acaciawood stair",
|
|
|
|
"Acaciawood slab",
|
|
|
|
default.node_sound_wood_defaults())
|
|
|
|
|
|
|
|
stairs.register_stair_and_slab("pinewood", "watershed:pinewood",
|
|
|
|
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
|
|
|
{"watershed_pinewood.png"},
|
|
|
|
"Pinewood stair",
|
|
|
|
"Pinewood slab",
|
|
|
|
default.node_sound_wood_defaults())
|