1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-18 08:10:38 +01:00
server-nalc/mods/watershed/nodes.lua

142 lines
4.0 KiB
Lua
Raw Normal View History

2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:appleleaf", "default:leaves")
2015-07-01 12:34:24 +02:00
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:appling", "default:sapling")
2015-07-01 12:34:24 +02:00
2015-07-05 19:34:46 +02:00
minetest.register_alias("watershed:acaciatree", "moretrees:acacia_trunk")
2015-07-01 12:34:24 +02:00
2015-07-05 09:25:41 +02:00
minetest.register_alias("watershed:acacialeaf", "moretrees:acacia_leaves")
2015-07-01 12:34:24 +02:00
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:acacialing", "moretrees:acacia_sapling")
2015-07-01 12:34:24 +02:00
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:pinetree", "default:pinetree")
2015-07-01 12:34:24 +02:00
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:needles", "default:pine_needles")
2015-07-01 12:34:24 +02:00
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:pineling", "default:pine_sapling")
2015-07-01 12:34:24 +02:00
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:jungleleaf", "default:jungleleaves")
2015-07-01 12:34:24 +02:00
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:jungling", "default:junglesapling")
2015-07-01 12:34:24 +02:00
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:dirt", "default:dirt")
2015-07-01 12:34:24 +02:00
2015-07-08 14:13:47 +02:00
minetest.register_alias("watershed:icydirt", "default:dirt_with_grass")
2015-07-01 12:34:24 +02:00
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:grass", "default:dirt_with_grass")
2015-07-01 12:34:24 +02:00
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:redstone", "default:desert_stone")
2015-07-01 12:34:24 +02:00
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:redcobble", "default:desert_cobble")
2015-07-01 12:34:24 +02:00
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:stone", "default:stone")
2015-07-01 12:34:24 +02:00
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:cactus", "default:cactus")
2015-07-01 12:34:24 +02:00
2015-07-08 14:13:47 +02:00
minetest.register_alias("watershed:goldengrass", "default:dry_shrub")
2015-07-01 12:34:24 +02:00
minetest.register_node("watershed:drygrass", {
2015-07-05 09:25:41 +02:00
description = "Dry Dirt",
2015-07-01 12:34:24 +02:00
tiles = {"watershed_drygrass.png"},
is_ground_content = false,
groups = {crumbly=1,soil=1},
drop = "default:dirt",
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_grass_footstep", gain=0.4},
}),
})
2015-07-08 14:13:47 +02:00
minetest.register_alias("watershed:permafrost", "default:dirt")
2015-07-01 12:34:24 +02:00
2015-07-08 14:13:47 +02:00
minetest.register_alias("watershed:freshice", "default:ice")
2015-07-01 12:34:24 +02:00
2015-07-05 09:25:41 +02:00
minetest.register_alias("watershed:cloud", "default:cloud")
minetest.override_item("default:cloud", {
2015-07-01 12:34:24 +02:00
description = "Cloud",
drawtype = "glasslike",
tiles = {"watershed_cloud.png"},
paramtype = "light",
is_ground_content = false,
sunlight_propagates = true,
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
post_effect_color = {a=23, r=241, g=248, b=255},
})
minetest.register_node("watershed:luxore", {
description = "Lux ore",
tiles = {"watershed_luxore.png"},
paramtype = "light",
light_source = 14,
groups = {cracky=3},
drop = "watershed:luxcrystal 8",
sounds = default.node_sound_glass_defaults(),
})
minetest.register_node("watershed:light", {
description = "Light",
tiles = {"watershed_light.png"},
paramtype = "light",
light_source = 14,
groups = {cracky=3},
sounds = default.node_sound_glass_defaults(),
})
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:acaciawood", "moretrees:acacia_wood")
2015-07-01 12:34:24 +02:00
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:pinewood", "default:pinewood")
2015-07-01 12:34:24 +02:00
2015-07-05 09:25:41 +02:00
minetest.register_alias("watershed:freshwater", "default:river_water_source")
2015-07-01 12:34:24 +02:00
2015-07-05 09:25:41 +02:00
minetest.register_alias("watershed:freshwaterflow", "default:river_water_flowing")
2015-07-01 12:34:24 +02:00
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:lava", "default:lava_source")
2015-07-01 12:34:24 +02:00
2015-07-02 17:35:53 +02:00
minetest.register_alias("watershed:lavaflow", "default:lava_flowing")
2015-07-01 12:34:24 +02:00
2015-07-05 09:25:41 +02:00
minetest.register_alias("watershed:mixwater", "default:river_water_source")
2015-07-01 12:34:24 +02:00
2015-07-05 09:25:41 +02:00
minetest.register_alias("watershed:mixwaterflow", "default:river_water_flowing")
2015-07-01 12:34:24 +02:00
-- Items
minetest.register_craftitem("watershed:luxcrystal", {
description = "Lux crystal",
inventory_image = "watershed_luxcrystal.png",
})
-- Crafting
minetest.register_craft({
type = "cooking",
output = "default:desert_stone",
recipe = "watershed:redcobble",
})
minetest.register_craft({
output = "watershed:light 8",
recipe = {
{"default:glass", "default:glass", "default:glass"},
{"default:glass", "watershed:luxcrystal", "default:glass"},
{"default:glass", "default:glass", "default:glass"},
},
})
-- Buckets
2015-07-08 14:13:47 +02:00
minetest.register_alias("watershed:bucket_freshwater", "bucket:bucket_frashwater")
2015-07-01 12:34:24 +02:00
2015-07-05 09:25:41 +02:00
minetest.register_alias("watershed:bucket_lava", "bucket:bucket_lava")
2015-07-01 12:34:24 +02:00
-- Fuel
minetest.register_craft({
type = "fuel",
recipe = "watershed:bucket_lava",
burntime = 60,
replacements = {{"watershed:bucket_lava", "bucket:bucket_empty"}},
})