1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-16 23:40:31 +01:00

Updated default and stairs

- Added alias for pine trees (consequence of the pine nodes changing name)
 - Added new textures for foosteps and grass/grass_side
 - Updated default/README.txt
 - Updated default/nodes.lua
This commit is contained in:
LeMagnesium 2015-08-16 10:57:01 +02:00
parent 3b45ad5a31
commit 0faa14e2d5
6 changed files with 20 additions and 20 deletions

View File

@ -119,6 +119,8 @@ paramat (CC BY-SA 3.0):
default_dry_grass_side.png default_dry_grass_side.png
default_dry_grass_*.png default_dry_grass_*.png
default_junglewood.png, derived from a texture by BlockMen (CC BY-SA 3.0) default_junglewood.png, derived from a texture by BlockMen (CC BY-SA 3.0)
default_grass.png, derived from a texture by Philipbenr (CC BY-SA 3.0)
default_grass_side.png, derived from a texture by Philipbenr (CC BY-SA 3.0)
brunob.santos (CC BY-SA 4.0): brunob.santos (CC BY-SA 4.0):
default_desert_cobble.png default_desert_cobble.png
@ -153,10 +155,6 @@ Neuromancer (CC BY-SA 3.0):
default_dirt.png default_dirt.png
default_furnace_*.png default_furnace_*.png
Philipbenr (CC BY-SA 3.0):
default_grass.png
default_grass_side.png
Gambit (WTFPL): Gambit (WTFPL):
default_bronze_ingot.png default_bronze_ingot.png
default_copper_ingot.png default_copper_ingot.png

View File

@ -38,8 +38,8 @@ Soft / Non-Stone
default:dirt default:dirt
default:dirt_with_grass default:dirt_with_grass
default:dirt_with_dry_grass
default:dirt_with_grass_footsteps default:dirt_with_grass_footsteps
default:dirt_with_dry_grass
default:dirt_with_snow default:dirt_with_snow
default:sand default:sand
@ -354,6 +354,17 @@ minetest.register_node("default:dirt_with_grass", {
}), }),
}) })
minetest.register_node("default:dirt_with_grass_footsteps", {
description = "Dirt with Grass and Footsteps",
tiles = {"default_grass.png^default_footprint.png", "default_dirt.png",
"default_dirt.png^default_grass_side.png"},
groups = {crumbly=3,soil=1,not_in_creative_inventory=1},
drop = 'default:dirt',
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_grass_footstep", gain=0.25},
}),
})
minetest.register_node("default:dirt_with_dry_grass", { minetest.register_node("default:dirt_with_dry_grass", {
description = "Dirt with Dry Grass", description = "Dirt with Dry Grass",
tiles = {"default_dry_grass.png", tiles = {"default_dry_grass.png",
@ -367,21 +378,6 @@ minetest.register_node("default:dirt_with_dry_grass", {
}), }),
}) })
minetest.register_node("default:dirt_with_grass_footsteps", {
description = "Dirt with Grass and Footsteps",
tiles = {"default_grass_footsteps.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
is_ground_content = true,
groups = {crumbly=3,soil=1,not_in_creative_inventory=1},
drop = {
items = {
{items = {"default:dirt"}},
},
},
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_grass_footstep", gain=0.4},
}),
})
minetest.register_node("default:dirt_with_snow", { minetest.register_node("default:dirt_with_snow", {
description = "Dirt with Snow", description = "Dirt with Snow",
tiles = {"default_snow.png", "default_dirt.png", "default_dirt.png^default_snow_side.png"}, tiles = {"default_snow.png", "default_dirt.png", "default_dirt.png^default_snow_side.png"},

Binary file not shown.

After

Width:  |  Height:  |  Size: 466 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 740 B

After

Width:  |  Height:  |  Size: 777 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 473 B

After

Width:  |  Height:  |  Size: 490 B

View File

@ -7,6 +7,12 @@
stairs = {} stairs = {}
-- Register aliases for new pine node names
minetest.register_alias("stairs:stair_pinewood", "stairs:stair_pine_wood")
minetest.register_alias("stairs:slab_pinewood", "stairs:slab_pine_wood")
-- Get setting for replace ABM -- Get setting for replace ABM
local replace = minetest.setting_getbool("enable_stairs_replace_abm") local replace = minetest.setting_getbool("enable_stairs_replace_abm")