Skip to content

Commit

Permalink
Default: New grass textures, new footprint overlay texture
Browse files Browse the repository at this point in the history
  • Loading branch information
paramat committed Aug 15, 2015
1 parent 450543f commit c7b9e73
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 15 deletions.
6 changes: 2 additions & 4 deletions mods/default/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ paramat (CC BY-SA 3.0):
default_dry_grass_side.png
default_dry_grass_*.png
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):
default_desert_cobble.png
Expand Down Expand Up @@ -153,10 +155,6 @@ Neuromancer (CC BY-SA 3.0):
default_dirt.png
default_furnace_*.png

Philipbenr (CC BY-SA 3.0):
default_grass.png
default_grass_side.png

Gambit (WTFPL):
default_bronze_ingot.png
default_copper_ingot.png
Expand Down
23 changes: 12 additions & 11 deletions mods/default/nodes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Soft / Non-Stone
default:dirt
default:dirt_with_grass
default:dirt_with_dry_grass
default:dirt_with_grass_footsteps
default:dirt_with_dry_grass
default:dirt_with_snow
default:sand
Expand Down Expand Up @@ -282,6 +282,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", {
description = "Dirt with Dry Grass",
tiles = {"default_dry_grass.png",
Expand All @@ -295,16 +306,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"},
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_snow", {
description = "Dirt with Snow",
tiles = {"default_snow.png", "default_dirt.png", "default_dirt.png^default_snow_side.png"},
Expand Down
Binary file added mods/default/textures/default_footprint.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified mods/default/textures/default_grass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed mods/default/textures/default_grass_footsteps.png
Binary file not shown.
Binary file modified mods/default/textures/default_grass_side.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c7b9e73

Please sign in to comment.