rupee blocks, retro dungeons

master
D00Med 2016-12-29 11:23:56 +10:00
parent c3d7897db6
commit dfa473ec97
11 changed files with 88 additions and 4 deletions

View File

@ -1036,6 +1036,67 @@ minetest.register_node("hyrule_mapgen:leaves_with_mystery", {
minetest.register_node("hyrule_mapgen:grupee", {
description = "Green Rupee Block",
drawtype = "allfaces",
paramtype = "light",
tiles = {
"hyrule_mapgen_grupee.png"
},
use_texture_alpha = true,
groups = {cracky=1, oddly_breakable_by_hand=1}
})
minetest.register_node("hyrule_mapgen:rrupee", {
description = "Red Rupee Block",
drawtype = "allfaces",
paramtype = "light",
tiles = {
"hyrule_mapgen_rrupee.png"
},
use_texture_alpha = true,
groups = {cracky=1, oddly_breakable_by_hand=1}
})
minetest.register_node("hyrule_mapgen:brupee", {
description = "Blue Rupee Block",
drawtype = "allfaces",
paramtype = "light",
tiles = {
"hyrule_mapgen_brupee.png"
},
use_texture_alpha = true,
groups = {cracky=1, oddly_breakable_by_hand=1}
})
minetest.register_craft({
output = 'hyrule_mapgen:grupee',
recipe = {
{'hyruletools:green_rupee', 'hyruletools:green_rupee', 'hyruletools:green_rupee'},
{'hyruletools:green_rupee', 'hyruletools:green_rupee', 'hyruletools:green_rupee'},
{'hyruletools:green_rupee', 'hyruletools:green_rupee', 'hyruletools:green_rupee'},
}
})
minetest.register_craft({
output = 'hyrule_mapgen:rrupee',
recipe = {
{'hyruletools:red_rupee', 'hyruletools:red_rupee', 'hyruletools:red_rupee'},
{'hyruletools:red_rupee', 'hyruletools:red_rupee', 'hyruletools:red_rupee'},
{'hyruletools:red_rupee', 'hyruletools:red_rupee', 'hyruletools:red_rupee'},
}
})
minetest.register_craft({
output = 'hyrule_mapgen:brupee',
recipe = {
{'hyruletools:blue_rupee', 'hyruletools:blue_rupee', 'hyruletools:blue_rupee'},
{'hyruletools:blue_rupee', 'hyruletools:blue_rupee', 'hyruletools:blue_rupee'},
{'hyruletools:blue_rupee', 'hyruletools:blue_rupee', 'hyruletools:blue_rupee'},
}
})
minetest.register_node("hyrule_mapgen:sandstone", {
description = "Dungeon Sandstone",
tiles = {

View File

@ -24,7 +24,7 @@ License for Textures, Models and Sounds
CC-BY-SA 3.0 UNPORTED. Created by DOOMED
hyrule_mapgen_roots.png, hyrule_mapgen_roots2.png, hyrule_mapgen_statue_active.png, hyrule_mapgen_statue_front.png, hyrule_mapgen_statue_side.png, hyrule_mapgen_big_sapling.png, cactus.b3d, leaf.b3d, waterlily.b3d, default_stone.png - CC-BY-SA 3.0 UNPORTED. Created by toby109tt(aka tobyplowy)
hyrule_mapgen_roots.png, hyrule_mapgen_roots2.png, hyrule_mapgen_statue_active.png, hyrule_mapgen_statue_front.png, hyrule_mapgen_statue_side.png, hyrule_mapgen_big_sapling.png, cactus.b3d, leaf.b3d, waterlily.b3d, default_stone.png, hyrule_mapgen_grupee.png, hyrule_mapgen_brupee.png, hyrule_mapgen_rrupee.png - CC-BY-SA 3.0 UNPORTED. Created by toby109tt(aka tobyplowy)
For moreblocks_slope.obj:

View File

@ -1191,4 +1191,20 @@ minetest.register_on_newplayer(function(player)
end)
end
end
end)
--dungeons
--below ground
minetest.register_on_generated(function(minp, maxp)
if maxp.y > -500 then
return
end
local stone = minetest.find_nodes_in_area(minp, maxp,
{"default:stone"})
for n = 1, #stone do
if math.random(1, 500000) == 1 then
local pos = {x = stone[n].x, y = stone[n].y, z = stone[n].z }
minetest.place_schematic(pos, minetest.get_modpath("hyrule_mapgen").."/schematics/dungeon_retro.mts", random, {}, true)
end
end
end)

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 831 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 840 B

View File

@ -3293,3 +3293,10 @@ minetest.register_craft({
{'default:paper', 'default:paper'},
}
})
minetest.register_craftitem("hyruletools:gameboy", {
description = "Gameboy",
inventory_image = "hyruletools_gameboy.png",
groups = {not_in_creative_inventory=1}
})

View File

@ -26,5 +26,5 @@ CC-BY-SA 3.0 UNPORTED. Created by D00Med
hyruletools_bomb.b3d, hyruletools_medallion*.png, hyruletools_bombflower.png, hyruletools_bomb.png, hyruletools_bombflower_plant.png, hyruletools_boomer_*.png - CC-BY-SA 3.0 UNPORTED. Created by toby109tt(aka tobyplowy) and D00Med
hyruletools_ocarina_*.png, hyruletools_letter_inv_*.png - CC-BY-SA 3.0 UNPORTED. Created by toby109tt(aka tobyplowy)
hyruletools_ocarina_*.png, hyruletools_gameboy.png, hyruletools_letter_inv_*.png - CC-BY-SA 3.0 UNPORTED. Created by toby109tt(aka tobyplowy)

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

View File

@ -23,9 +23,9 @@ License for Textures, Models
CC-BY-SA 3.0 UNPORTED. Created by D00Med
midna.b3d, subrosian.b3d, poe.b3d, octorock.b3d, redead.png, armos.b3d, peahat.b3d CC-BY-SA 3.0 UNPORTED Created by toby109tt(aka tobyplowy) and D00Med(animation and textures)
midna.b3d, subrosian.b3d, poe.b3d, octorock.b3d, redead.png, armos.b3d, peahat.b3d, wolfos.b3d, tektite.b3d CC-BY-SA 3.0 UNPORTED Created by toby109tt(aka tobyplowy) and D00Med(animation and textures)
mobs_subrosian.png, mobs_subrosian2.png, mobs_armos*.png, mobs_subrosian3.png - CC-BY-SA 3.0 UNPORTED Created by toby109tt(aka tobyplowy)
mobs_subrosian.png, mobs_subrosian2.png, mobs_armos*.png, mobs_subrosian3.png, mobs_tektite.png, mobs_tektite2.png - CC-BY-SA 3.0 UNPORTED Created by toby109tt(aka tobyplowy)
mobs_pig_angry_slow -
--From Warthog by KrupnoPavel, see license for mobs_animal and mobs_redo

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB