ice nodes, white wolfos, quartz ore

master
D00Med 2016-12-30 11:12:41 +10:00
parent 6936e31261
commit aa767a7da5
10 changed files with 131 additions and 25 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 843 B

After

Width:  |  Height:  |  Size: 788 B

View File

@ -605,6 +605,60 @@ minetest.override_item("default:stone_with_gold", {
--new nodes
minetest.register_node("hyrule_mapgen:ice_brick", {
description = "Ice Brick",
tiles = {"hyrule_mapgen_ice_brick.png"},
groups = {cracky = 3, cools_lava = 1},
sounds = default.node_sound_glass_defaults(),
})
minetest.register_craft({
output = 'hyrule_mapgen:ice_brick',
recipe = {
{'default:ice', 'default:ice', ''},
{'default:ice', '', ''},
{'default:ice', '', ''},
}
})
stairs.register_stair_and_slab(
"ice_brick",
"hyrule_mapgen:ice_brick",
{cracky = 3, cools_lava = 1},
{"hyrule_mapgen_ice_brick.png"},
"Ice brick Stair",
"Ice brick Slab",
default.node_sound_glass_defaults()
)
minetest.register_node("hyrule_mapgen:icicle", {
description = "Icicle",
tiles = {
"default_ice.png",
},
use_texture_alpha = true,
drawtype = "nodebox",
paramtype = "light",
node_box = {
type = "fixed",
fixed = {
{-0.25, -0.5, -0.25, 0.25, 0.5, 0.25}, -- NodeBox1
{-0.1875, 0.4375, -0.1875, 0.1875, 1.1875, 0.1875}, -- NodeBox2
{-0.125, 1.1875, -0.125, 0.125, 1.6875, 0.125}, -- NodeBox3
{-0.0625, 1.6875, -0.0625, 0.0625, 2.0625, 0.0625}, -- NodeBox4
}
},
groups = {cracky=3, oddly_breakable_by_hand=1, dig_immediate=3},
sounds = default.node_sound_glass_defaults(),
drop = "",
on_destruct = function(pos)
minetest.env:add_item({x=pos.x-0.3, y=pos.y+0.5, z=pos.z-0.3}, "hyruletools:ice_fragment")
minetest.env:add_item({x=pos.x-0.3, y=pos.y+0.5, z=pos.z+0.3}, "hyruletools:ice_fragment")
minetest.env:add_item({x=pos.x+0.3, y=pos.y+0.5, z=pos.z-0.3}, "hyruletools:ice_fragment")
minetest.env:add_item({x=pos.x+0.3, y=pos.y+0.5, z=pos.z+0.3}, "hyruletools:ice_fragment")
end,
})
minetest.register_node("hyrule_mapgen:spikes", {
description = "Spikes",
drawtype = "firelike",
@ -1092,6 +1146,17 @@ minetest.register_node("hyrule_mapgen:brupee", {
groups = {cracky=1, oddly_breakable_by_hand=1}
})
minetest.register_node("hyrule_mapgen:nrupee", {
description = "Nyan Rupee Block",
drawtype = "allfaces",
paramtype = "light",
tiles = {
"hyrule_mapgen_nrupee.png"
},
use_texture_alpha = true,
groups = {cracky=1, oddly_breakable_by_hand=1}
})
minetest.register_craft({
output = 'hyrule_mapgen:grupee',
@ -1120,6 +1185,15 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = 'hyrule_mapgen:brupee',
recipe = {
{'hyruletools:nyan_rupee', 'hyruletools:nyan_rupee', 'hyruletools:nyan_rupee'},
{'hyruletools:nyan_rupee', 'hyruletools:nyan_rupee', 'hyruletools:nyan_rupee'},
{'hyruletools:nyan_rupee', 'hyruletools:nyan_rupee', 'hyruletools:nyan_rupee'},
}
})
minetest.register_node("hyrule_mapgen:sandstone", {
description = "Dungeon Sandstone",
tiles = {

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 900 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

@ -50,6 +50,59 @@ mobs:register_mob("mobs_loz:wolfos", {
},
})
mobs:register_spawn("mobs_loz:wolfos", {"default:snowblock", "default:snow", "default:dirt_with_grass2"}, 7, 0, 7000, 2, 31000)
mobs:register_spawn("mobs_loz:wolfos", {"default:dirt_with_grass2"}, 7, 0, 7000, 2, 31000)
mobs:register_egg("mobs_loz:wolfos", "Wolfos", "wool_grey.png", 1)
mobs:register_egg("mobs_loz:wolfos", "Wolfos", "wool_grey.png", 1)
mobs:register_mob("mobs_loz:wolfos2", {
type = "monster",
passive = false,
attack_type = "dogfight",
reach = 2.5,
damage = 4,
hp_min = 40,
hp_max = 77,
armor = 90,
collisionbox = {-0.5, -0, -0.5, 0.5, 1, 0.5},
--visual_size = {x=1.5, y=1.5},
visual = "mesh",
mesh = "wolfos.b3d",
textures = {
{"mobs_wolfos2.png"},
},
makes_footstep_sound = true,
view_range = 15,
walk_velocity = 1.3,
run_velocity = 3,
drops = {
{name = "hyruletools:blue_rupee",
chance = 5, min = 1, max = 3},
},
on_die = function(self)
local pos = self.object:getpos()
if math.random(1,5) == 2 then
minetest.env:add_entity(pos, "hyruletools:heart_entity")
end
minetest.env:add_entity(pos, "experience:orb")
end,
water_damage = 0,
lava_damage = 5,
light_damage = 0,
fear_height = 6,
animation = {
speed_normal = 14,
speed_run = 18,
stand_start = 1,
stand_end = 20,
walk_start = 45,
walk_end = 65,
run_start = 45,
run_end = 65,
punch_start = 20,
punch_end = 40,
},
})
mobs:register_spawn("mobs_loz:wolfos2", {"default:snowblock", "default:snow",}, 7, 0, 7000, 2, 31000)
mobs:register_egg("mobs_loz:wolfos2", "White Wolfos", "wool_cyan.png", 1)

View File

@ -48,17 +48,10 @@ minetest.register_node("quartz:pillar", {
tiles = {"quartz_pillar_top.png", "quartz_pillar_top.png", "quartz_pillar_side.png"},
groups = {snappy=1,bendy=2,cracky=1,level=2},
sounds = default.node_sound_stone_defaults(),
on_place = minetest.rotate_node,
paramtype2 = "facedir"
})
--Quartz Pillar (horizontal)
minetest.register_node("quartz:pillar_horizontal", {
description = "Quartz Pillar Horizontal",
tiles = {"quartz_pillar_side.png", "quartz_pillar_side.png", "quartz_pillar_side.png^[transformR90",
"quartz_pillar_side.png^[transformR90", "quartz_pillar_top.png", "quartz_pillar_top.png"},
paramtype2 = "facedir",
groups = {snappy=1,bendy=2,cracky=1,level=2},
sounds = default.node_sound_stone_defaults(),
})
--Stairs & Slabs
stairs.register_stair_and_slab("quartzblock", "quartz:block",
@ -114,17 +107,3 @@ minetest.register_craft({
}
})
--Quartz Pillar (horizontal)
minetest.register_craft({
output = 'quartz:pillar_horizontal 2',
recipe = {
{'quartz:block', 'quartz:block'},
}
})
minetest.register_craft({
output = 'quartz:pillar_horizontal 2',
recipe = {
{'quartz:pillar', 'quartz:pillar'},
}
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 510 B

After

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 798 B

After

Width:  |  Height:  |  Size: 220 B