update textures
14
init.lua
@ -64,17 +64,19 @@ stonelikenode("onefootstep", "One Footstep")
|
||||
stonelikenode("coalblock", "Coalblock")
|
||||
stonelikenode("dried_dirt", "Dried Dirt")
|
||||
stonelikenode("wall", "Wall")
|
||||
stonelikenode("mossywall", "Mossy Wall")
|
||||
stonelikenode("mossystonebrick", "Mossy Stone Brick")
|
||||
stonelikenode("stonebrick", "Alternative Stone Brick")
|
||||
|
||||
monode("goldbrick", "Goldbrick", LIGHT_MAX-1)
|
||||
monode("goldblock", "Goldblock", LIGHT_MAX-1)
|
||||
monode("gold", "Gold", LIGHT_MAX-1)
|
||||
monode("acid", "Acid", LIGHT_MAX-1)
|
||||
monode("goldbrick", "Goldbrick", 15)
|
||||
monode("goldblock", "Goldblock", 15)
|
||||
monode("gold", "Gold", 15)
|
||||
monode("acid", "Acid", 15)
|
||||
|
||||
minetest.register_node("extrablocks:goldstone", {
|
||||
description = "Gold in Stone",
|
||||
tile_images = {"default_stone.png^extrablocks_goldstone.png"},
|
||||
light_source = LIGHT_MAX-1,
|
||||
light_source = 15,
|
||||
groups = {cracky=3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
@ -279,3 +281,5 @@ generate_ore("extrablocks:lapis_lazuli_ore","default:stone", minp, maxp, seed+11
|
||||
generate_ore("extrablocks:marble_ore", "default:stone", minp, maxp, seed+116, 1/128, 20, -100, -32)
|
||||
generate_ore("extrablocks:marble_ore", "default:stone", minp, maxp, seed+117, 1/10/10/10, 3, -100, -90)
|
||||
end)
|
||||
|
||||
dofile(minetest.get_modpath("extrablocks").."/natur.lua")
|
||||
|
17
natur.lua
Normal file
@ -0,0 +1,17 @@
|
||||
local function moss(input, output)
|
||||
minetest.register_abm({
|
||||
nodenames = {input},
|
||||
neighbors = {"group:water"},
|
||||
interval = 50,
|
||||
chance = 20,
|
||||
action = function(pos)
|
||||
if not minetest.env:find_node_near(pos, 3, output) then
|
||||
minetest.env:add_node(pos, {name=output})
|
||||
end
|
||||
end,
|
||||
})
|
||||
end
|
||||
|
||||
moss("default:cobble", "default:mossycobble")
|
||||
moss("default:stonebrick", "extrablocks:mossystonebrick")
|
||||
moss("extrablocks:wall", "extrablocks:mossywall")
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 335 B After Width: | Height: | Size: 779 B |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 13 KiB |
BIN
textures/extrablocks_mossystonebrick.png
Normal file
After Width: | Height: | Size: 988 B |
BIN
textures/extrablocks_mossywall.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 491 B |
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 566 B |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 967 B |
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 311 B |
Before Width: | Height: | Size: 136 B After Width: | Height: | Size: 336 B |
Before Width: | Height: | Size: 247 B After Width: | Height: | Size: 247 B |
Before Width: | Height: | Size: 163 B After Width: | Height: | Size: 573 B |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 506 B |
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 666 B |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 126 B |