octorock, poe, new midna model
|
@ -1,2 +0,0 @@
|
|||
default
|
||||
mobs
|
|
@ -1,65 +0,0 @@
|
|||
|
||||
-- Ghost by BlockMen
|
||||
if minetest.setting_getbool("loz_mode") then
|
||||
mobs:register_mob("ghost:ghost", {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
reach = 1,
|
||||
damage = 2,
|
||||
attack_type = "dogfight",
|
||||
hp_min = 7,
|
||||
hp_max = 12,
|
||||
armor = 130,
|
||||
collisionbox = {-0.3, -0.5, -0.3, 0.3, 0.75, 0.3},
|
||||
visual = "mesh",
|
||||
mesh = "creatures_mob.x",
|
||||
textures = {
|
||||
{"creatures_ghost.png"},
|
||||
},
|
||||
blood_texture = "tnt_smoke.png",
|
||||
visual_size = {x=1, y=1},
|
||||
makes_footstep_sound = false,
|
||||
sounds = {
|
||||
random = "creatures_ghost",
|
||||
damage = "creatures_ghost_hit",
|
||||
death = "creatures_ghost_death"
|
||||
},
|
||||
walk_velocity = 2,
|
||||
run_velocity = 2,
|
||||
fall_speed = 0,
|
||||
jump = true,
|
||||
fly = true,
|
||||
fly_in = "air",
|
||||
water_damage = 0,
|
||||
lava_damage = 0,
|
||||
light_damage = 2,
|
||||
view_range = 14,
|
||||
drops = {
|
||||
{name = "ghost:soul",
|
||||
chance = 5, min = 1, max = 1},
|
||||
},
|
||||
animation = {
|
||||
speed_normal = 30, speed_run = 30,
|
||||
walk_start = 168, walk_end = 187,
|
||||
|
||||
},
|
||||
})
|
||||
|
||||
mobs:register_spawn("ghost:ghost", {"default:dirt_with_grass","default:dirt_with_grass3","default:dirt_with_grass2"}, 5, 0, 7000, 1, 31000)
|
||||
|
||||
mobs:register_egg("ghost:ghost", "Poe", "ghost_soul.png", 1)
|
||||
|
||||
minetest.register_craftitem("ghost:soul", {
|
||||
description = "Poe soul",
|
||||
inventory_image = "ghost_soul.png"
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'bucket:bucket_empty',
|
||||
recipe = {
|
||||
{'', '', ''},
|
||||
{'ghost:soul', '', 'ghost:soul'},
|
||||
{'', 'ghost:soul', ''},
|
||||
}
|
||||
})
|
||||
end
|
Before Width: | Height: | Size: 2.5 KiB |
|
@ -1 +1,2 @@
|
|||
default
|
||||
default
|
||||
tnt
|
|
@ -540,7 +540,15 @@ minetest.register_node("hyrule_mapgen:railblock", {
|
|||
tiles = {
|
||||
"hyrule_mapgen_railblock.png"
|
||||
},
|
||||
groups = {cracky=1,}
|
||||
groups = {cracky=1, magnetic=0}
|
||||
})
|
||||
|
||||
minetest.register_node("hyrule_mapgen:magnblock", {
|
||||
description = "Magnetic Block (almost unbreakeable)",
|
||||
tiles = {
|
||||
"hyrule_mapgen_magnblock.png"
|
||||
},
|
||||
groups = {cracky=7, magnetic=1}
|
||||
})
|
||||
|
||||
minetest.register_node("hyrule_mapgen:subrosian_stone", {
|
||||
|
@ -636,6 +644,50 @@ minetest.register_node("hyrule_mapgen:dungeon_brick", {
|
|||
groups = {cracky=3},
|
||||
})
|
||||
|
||||
minetest.register_node("hyrule_mapgen:subrosian_tile", {
|
||||
description = "Subrosian Tile",
|
||||
tiles = {
|
||||
"hyrule_mapgen_subrosiantile.png",
|
||||
},
|
||||
groups = {cracky=2},
|
||||
})
|
||||
|
||||
minetest.register_node("hyrule_mapgen:subrosian_sand", {
|
||||
description = "Subrosian Sand",
|
||||
tiles = {
|
||||
"hyrule_mapgen_subrosiansand.png",
|
||||
},
|
||||
groups = {crumbly=1, oddly_breakable_by_hand=1},
|
||||
})
|
||||
|
||||
minetest.register_node("hyrule_mapgen:roots", {
|
||||
description = "Hanging Roots",
|
||||
drawtype = "torchlike",
|
||||
tiles = {"hyrule_mapgen_roots.png"},
|
||||
inventory_image = "hyrule_mapgen_roots.png",
|
||||
is_ground_content = false,
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {{-0.3, -0.2, -0.3, 0.3, 0.5, 0.3}}
|
||||
},
|
||||
groups = {crumbly=1, oddly_breakable_by_hand=1},
|
||||
})
|
||||
|
||||
tnt.register_tnt({
|
||||
name = "hyrule_mapgen:powder_keg",
|
||||
description = "Powder Keg",
|
||||
tiles = {
|
||||
"hyrule_mapgen_keg_top.png",
|
||||
"hyrule_mapgen_keg_top.png",
|
||||
"hyrule_mapgen_keg_side.png",
|
||||
"hyrule_mapgen_keg_side.png",
|
||||
"hyrule_mapgen_keg_front.png",
|
||||
"hyrule_mapgen_keg_front.png",
|
||||
},
|
||||
radius = 3,
|
||||
})
|
||||
|
||||
minetest.register_node("hyrule_mapgen:statue", {
|
||||
description = "Gossip Stone",
|
||||
|
|
|
@ -23,3 +23,5 @@ License for Textures, Models and Sounds
|
|||
---------------------------------------
|
||||
|
||||
CC-BY-SA 3.0 UNPORTED. Created by DOOMED
|
||||
|
||||
hyrule_mapgen_roots.png, hyrule_mapgen_statue_active.png, hyrule_mapgen_statue_front.png, hyrule_mapgen_statue_side.png - CC-BY-SA 3.0 UNPORTED. Created by toby109tt(aka tobyplowy)
|
||||
|
|
|
@ -6,7 +6,7 @@ minetest.clear_registered_biomes()
|
|||
minetest.register_biome({
|
||||
name = "lavabiome",
|
||||
--node_dust = "",
|
||||
node_top = "hyrule_mapgen:dirt",
|
||||
node_top = "hyrule_mapgen:lavabiome_dirt",
|
||||
depth_top = 2,
|
||||
node_filler = "default:obsidian",
|
||||
depth_filler = 0,
|
||||
|
@ -28,7 +28,7 @@ minetest.register_biome({
|
|||
node_top = "default:dirt_with_grass2",
|
||||
depth_top = 1,
|
||||
node_filler = "default:dirt",
|
||||
depth_filler = 2,
|
||||
depth_filler = 5,
|
||||
--node_stone = "",
|
||||
--node_water_top = "",
|
||||
--depth_water_top = ,
|
||||
|
@ -46,7 +46,7 @@ minetest.register_biome({
|
|||
node_top = "default:dirt_with_grass2",
|
||||
depth_top = 1,
|
||||
node_filler = "default:dirt",
|
||||
depth_filler = 2,
|
||||
depth_filler = 5,
|
||||
--node_stone = "",
|
||||
--node_water_top = "",
|
||||
--depth_water_top = ,
|
||||
|
@ -54,8 +54,8 @@ minetest.register_biome({
|
|||
node_river_water = "default:water_source",
|
||||
y_min = 9,
|
||||
y_max = 100,
|
||||
heat_point = 45,
|
||||
humidity_point = 25,
|
||||
heat_point = 35,
|
||||
humidity_point = 15,
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
|
@ -64,7 +64,7 @@ minetest.register_biome({
|
|||
node_top = "default:sand",
|
||||
depth_top = 1,
|
||||
node_filler = "default:sand",
|
||||
depth_filler = 2,
|
||||
depth_filler = 5,
|
||||
--node_stone = "",
|
||||
--node_water_top = "",
|
||||
--depth_water_top = ,
|
||||
|
@ -82,7 +82,7 @@ minetest.register_biome({
|
|||
node_top = "default:sand",
|
||||
depth_top = 1,
|
||||
node_filler = "default:sand",
|
||||
depth_filler = 2,
|
||||
depth_filler = 5,
|
||||
--node_stone = "",
|
||||
--node_water_top = "",
|
||||
--depth_water_top = ,
|
||||
|
@ -137,7 +137,7 @@ minetest.register_biome({
|
|||
node_top = "default:dirt_with_grass",
|
||||
depth_top = 1,
|
||||
node_filler = "default:dirt",
|
||||
depth_filler = 0,
|
||||
depth_filler = 3,
|
||||
--node_stone = "",
|
||||
--node_water_top = "",
|
||||
--depth_water_top = ,
|
||||
|
@ -173,7 +173,7 @@ minetest.register_biome({
|
|||
node_top = "default:dirt_with_grass",
|
||||
depth_top = 1,
|
||||
node_filler = "default:dirt",
|
||||
depth_filler = 0,
|
||||
depth_filler = 5,
|
||||
node_stone = "default:sandstone",
|
||||
--node_water_top = "",
|
||||
--depth_water_top = ,
|
||||
|
@ -209,7 +209,7 @@ minetest.register_biome({
|
|||
node_top = "default:dirt_with_dry_grass",
|
||||
depth_top = 1,
|
||||
node_filler = "default:dirt",
|
||||
depth_filler = 2,
|
||||
depth_filler = 5,
|
||||
--node_stone = "",
|
||||
--node_water_top = "",
|
||||
--depth_water_top = ,
|
||||
|
@ -227,7 +227,7 @@ minetest.register_biome({
|
|||
node_top = "default:dirt_with_grass3",
|
||||
depth_top = 1,
|
||||
node_filler = "default:dirt",
|
||||
depth_filler = 2,
|
||||
depth_filler = 5,
|
||||
--node_stone = "",
|
||||
--node_water_top = "",
|
||||
--depth_water_top = ,
|
||||
|
@ -245,7 +245,7 @@ minetest.register_biome({
|
|||
node_top = "default:dirt_with_grass",
|
||||
depth_top = 1,
|
||||
node_filler = "default:dirt",
|
||||
depth_filler = 5,
|
||||
depth_filler = 6,
|
||||
--node_stone = "",
|
||||
--node_water_top = "",
|
||||
--depth_water_top = ,
|
||||
|
@ -300,7 +300,7 @@ minetest.register_biome({
|
|||
node_top = "default:desert_sand",
|
||||
depth_top = 1,
|
||||
node_filler = "default:desert_sand",
|
||||
depth_filler = 1,
|
||||
depth_filler = 2,
|
||||
node_stone = "default:desert_stone",
|
||||
--node_water_top = "",
|
||||
--depth_water_top = ,
|
||||
|
@ -336,7 +336,7 @@ minetest.register_biome({
|
|||
node_top = "default:dirt_with_dry_grass",
|
||||
depth_top = 1,
|
||||
node_filler = "default:dirt",
|
||||
depth_filler = 1,
|
||||
depth_filler = 5,
|
||||
--node_stone = "",
|
||||
--node_water_top = "",
|
||||
--depth_water_top = ,
|
||||
|
@ -390,7 +390,7 @@ minetest.register_biome({
|
|||
node_top = "default:dirt_with_grass",
|
||||
depth_top = 1,
|
||||
node_filler = "default:dirt",
|
||||
depth_filler = 2,
|
||||
depth_filler = 5,
|
||||
--node_stone = "",
|
||||
--node_water_top = "",
|
||||
--depth_water_top = ,
|
||||
|
@ -596,7 +596,6 @@ minetest.register_decoration({
|
|||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
--rocks(req. rocks mod)
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass", "default:dirt", "default:sand", "default:desert_sand"},
|
||||
|
@ -610,7 +609,7 @@ minetest.register_decoration({
|
|||
persist = 0.6
|
||||
},
|
||||
biomes = {"stone_grassland", "sandstone_grassland", "deciduous_forest", "desert"},
|
||||
decoration = "rocks:rock",
|
||||
decoration = "hyrule_mapgen:rock",
|
||||
y_min = 15,
|
||||
y_max = 40,
|
||||
})
|
||||
|
@ -618,7 +617,7 @@ minetest.register_decoration({
|
|||
--geysers(lavabiome)
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"hyrule_mapgen:dirt"},
|
||||
place_on = {"hyrule_mapgen:lavabiome_dirt"},
|
||||
sidelen = 80,
|
||||
noise_params = {
|
||||
offset = 0.004,
|
||||
|
@ -774,7 +773,7 @@ minetest.register_decoration({
|
|||
-- goron hut
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"hyrule_mapgen:dirt"},
|
||||
place_on = {"hyrule_mapgen:lavabiome_dirt"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0.004,
|
||||
|
@ -794,7 +793,7 @@ minetest.register_decoration({
|
|||
-- volcano
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"hyrule_mapgen:dirt"},
|
||||
place_on = {"hyrule_mapgen:lavabiome_dirt"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0.004,
|
||||
|
|
Before Width: | Height: | Size: 841 B After Width: | Height: | Size: 830 B |
After Width: | Height: | Size: 454 B |
|
@ -199,13 +199,58 @@ end)
|
|||
|
||||
--tools
|
||||
|
||||
|
||||
minetest.register_entity("hyruletools:block_dummy", {
|
||||
visual = "mesh",
|
||||
mesh = "node.b3d",
|
||||
textures = {"hyrule_mapgen_magnblock.png"},
|
||||
collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
|
||||
visual_size = {x=3.5, y=3.5},
|
||||
physical = true
|
||||
})
|
||||
|
||||
minetest.register_tool("hyruletools:magglv_n", {
|
||||
description = "Magnetic Glove (N)",
|
||||
inventory_image = "hyruletools_magglv_n.png",
|
||||
wield_image = "hyruletools_magglv_n.png",
|
||||
on_use = function(itemstack, placer, pointed_thing)
|
||||
local pos = user:getpos()
|
||||
local dir = user:get_look_dir()
|
||||
local pos = pointed_thing.under
|
||||
local dir = placer:get_look_dir()
|
||||
if minetest.get_item_group(minetest.get_node(pos).name, "magnetic") ~= 0 and minetest.get_node_or_nil(pos) ~= nil then
|
||||
local node = minetest.get_node(pos).name
|
||||
minetest.remove_node(pos)
|
||||
local obj = minetest.env:add_entity(pos, "hyruletools:block_dummy")
|
||||
obj:setvelocity({x=-dir.x*8, y=-4, z=-dir.z*8})
|
||||
obj:setacceleration({x=dir.x*2, y=-5, z=dir.z*2})
|
||||
minetest.after(0.5, function()
|
||||
local pos2 = obj:getpos()
|
||||
obj:remove()
|
||||
minetest.set_node(pos2, {name=node})
|
||||
end)
|
||||
end
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_tool("hyruletools:magglv_s", {
|
||||
description = "Magnetic Glove (S)",
|
||||
inventory_image = "hyruletools_magglv_s.png",
|
||||
wield_image = "hyruletools_magglv_s.png",
|
||||
on_use = function(itemstack, placer, pointed_thing)
|
||||
local pos = pointed_thing.under
|
||||
local dir = placer:get_look_dir()
|
||||
if minetest.get_item_group(minetest.get_node(pos).name, "magnetic") ~= 0 and minetest.get_node_or_nil(pos) ~= nil then
|
||||
local node = minetest.get_node(pos).name
|
||||
minetest.remove_node(pos)
|
||||
local obj = minetest.env:add_entity(pos, "hyruletools:block_dummy")
|
||||
obj:setvelocity({x=dir.x*8, y=-4, z=dir.z*8})
|
||||
obj:setacceleration({x=-dir.x*2, y=-5, z=-dir.z*2})
|
||||
minetest.after(0.5, function()
|
||||
local pos2 = obj:getpos()
|
||||
obj:remove()
|
||||
minetest.set_node(pos2, {name=node})
|
||||
end)
|
||||
end
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
@ -1938,6 +1983,7 @@ minetest.register_abm({
|
|||
end
|
||||
})
|
||||
|
||||
|
||||
minetest.register_entity("hyruletools:chain", {
|
||||
textures = {"hyruletools_hook.png"},
|
||||
velocity = 15,
|
||||
|
|
After Width: | Height: | Size: 281 B |
After Width: | Height: | Size: 917 B |
|
@ -17,4 +17,6 @@ dofile(path.."/midna.lua")
|
|||
dofile(path.."/subrosian.lua")
|
||||
dofile(path.."/redead.lua")
|
||||
dofile(path.."/peahat.lua")
|
||||
dofile(path.."/octorock.lua")
|
||||
dofile(path.."/poe.lua")
|
||||
end
|
|
@ -23,7 +23,9 @@ License for Textures, Models
|
|||
|
||||
CC-BY-SA 3.0 UNPORTED. Created by D00Med
|
||||
|
||||
midna.b3d, subrosian.b3d CC-BY-SA 3.0 UNPORTED Created by toby109tt(aka tobyplowy) and D00Med
|
||||
midna.b3d, subrosian.b3d, poe.b3d, octorock.b3d, redead.png, peahat.b3d CC-BY-SA 3.0 UNPORTED Created by toby109tt(aka tobyplowy) and D00Med
|
||||
|
||||
mobs_subrosian.png, mobs_subrosian2.png, mobs_subrosian3.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
|
||||
|
|
|
@ -0,0 +1,82 @@
|
|||
|
||||
mobs:register_mob("mobs_loz:octorock", {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
attack_type = "shoot",
|
||||
shoot_interval = 1.5,
|
||||
arrow = "mobs_loz:octorock_rock",
|
||||
shoot_offset = 1.2,
|
||||
hp_min = 20,
|
||||
hp_max = 35,
|
||||
armor = 80,
|
||||
collisionbox = {-0.5, 0, -0.5, 0.5, 0.8, 0.5},
|
||||
visual_size = {x=1.5, y=1.5},
|
||||
visual = "mesh",
|
||||
mesh = "octorock.b3d",
|
||||
textures = {
|
||||
{"mobs_octorock.png"},
|
||||
},
|
||||
makes_footstep_sound = true,
|
||||
view_range = 10,
|
||||
walk_velocity = 1,
|
||||
run_velocity = 1.5,
|
||||
jump = false,
|
||||
jump_height = 0,
|
||||
fall_damage = 0,
|
||||
fall_speed = -6,
|
||||
stepheight = 3,
|
||||
drops = {
|
||||
{name = "hyruletools:blue_rupee",
|
||||
chance = 5, min = 5, max = 5},
|
||||
{name = "hyruletools:heart",
|
||||
chance = 1, min = 1, max = 2},
|
||||
},
|
||||
water_damage = 1,
|
||||
lava_damage = 1,
|
||||
light_damage = 0,
|
||||
animation = {
|
||||
speed_normal = 12,
|
||||
speed_run = 12,
|
||||
stand_start = 1,
|
||||
stand_end = 12,
|
||||
walk_start = 18,
|
||||
walk_end = 38,
|
||||
run_start = 18,
|
||||
run_end = 38,
|
||||
shoot_start = 1,
|
||||
shoot_end = 12,
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
mobs:register_arrow("mobs_loz:octorock_rock", {
|
||||
visual = "sprite",
|
||||
visual_size = {x = 0.5, y = 0.5},
|
||||
textures = {"mobs_octorock_shot.png"},
|
||||
velocity = 8,
|
||||
|
||||
hit_player = function(self, player)
|
||||
local item = player:get_wielded_item():get_name()
|
||||
if item ~= "shields:shield_steel" and item ~= "shields:shield_admin" and item ~= "shields:shield_bronze" and item ~= "shields:shield_wood" and item ~= "shields:shield_cactus" and item ~= "shields:shield_wood_enhanced" and item ~= "shields:shield_cactus_enhanced" then
|
||||
player:punch(self.object, 1.0, {
|
||||
full_punch_interval = 1.0,
|
||||
damage_groups = {fleshy = 1},
|
||||
}, nil)
|
||||
end
|
||||
end,
|
||||
|
||||
hit_mob = function(self, player)
|
||||
player:punch(self.object, 1.0, {
|
||||
full_punch_interval = 1.0,
|
||||
damage_groups = {fleshy = 1},
|
||||
}, nil)
|
||||
end,
|
||||
|
||||
hit_node = function(self, pos, node)
|
||||
self.object:remove()
|
||||
end,
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_loz:octorock", {"default:sand", "default:dirt_with_grass3", "default:desert_sand"}, 20, 10, 15000, 2, 31000)
|
||||
|
||||
mobs:register_egg("mobs_loz:octorock", "Octorock", "default_sand.png", 1)
|
|
@ -0,0 +1,58 @@
|
|||
|
||||
mobs:register_mob("mobs_loz:poe", {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
reach = 1,
|
||||
damage = 2,
|
||||
attack_type = "dogfight",
|
||||
hp_min = 12,
|
||||
hp_max = 22,
|
||||
armor = 110,
|
||||
collisionbox = {-0.3, 0, -0.3, 0.3, 1, 0.3},
|
||||
visual = "mesh",
|
||||
mesh = "poe.b3d",
|
||||
textures = {
|
||||
{"mobs_poe.png"},
|
||||
},
|
||||
visual_size = {x=1, y=1},
|
||||
makes_footstep_sound = false,
|
||||
walk_velocity = 1,
|
||||
run_velocity = 2,
|
||||
fall_speed = 0,
|
||||
fly = true,
|
||||
fly_in = "air",
|
||||
water_damage = 0,
|
||||
lava_damage = 0,
|
||||
light_damage = 1,
|
||||
view_range = 10,
|
||||
drops = {
|
||||
{name = "mobs_loz:soul",
|
||||
chance = 5, min = 1, max = 1},
|
||||
},
|
||||
animation = {
|
||||
speed_normal = 12,
|
||||
speed_run = 12,
|
||||
walk_start = 1,
|
||||
walk_end = 20,
|
||||
punch_start = 20,
|
||||
punch_end = 40,
|
||||
},
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_loz:poe", {"default:dirt_with_grass","default:dirt_with_grass3","default:dirt_with_grass2"}, 5, 0, 7000, 1, 31000)
|
||||
|
||||
mobs:register_egg("mobs_loz:poe", "Poe", "mobs_poe_soul.png", 1)
|
||||
|
||||
minetest.register_craftitem("mobs_loz:soul", {
|
||||
description = "Poe soul",
|
||||
inventory_image = "mobs_poe_soul.png"
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'bucket:bucket_empty',
|
||||
recipe = {
|
||||
{'', '', ''},
|
||||
{'mobs_loz:soul', '', 'mobs_loz:soul'},
|
||||
{'', 'mobs_loz:soul', ''},
|
||||
}
|
||||
})
|
|
@ -36,9 +36,9 @@ mobs:register_mob("mobs_loz:deku_scrub", {
|
|||
stepheight = 3,
|
||||
drops = {
|
||||
{name = "hyruletools:blue_rupee",
|
||||
chance = 5, min = 5, max = 15},
|
||||
chance = 5, min = 5, max = 3},
|
||||
{name = "hyruletools:heart",
|
||||
chance = 1, min = 1, max = 9},
|
||||
chance = 1, min = 1, max = 2},
|
||||
},
|
||||
water_damage = 1,
|
||||
lava_damage = 1,
|
||||
|
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 391 B |
Before Width: | Height: | Size: 125 B After Width: | Height: | Size: 118 B |
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 603 B After Width: | Height: | Size: 603 B |
|
@ -1,2 +0,0 @@
|
|||
default
|
||||
mobs
|
|
@ -1 +0,0 @@
|
|||
Adds many types of monster.
|
|
@ -1,56 +0,0 @@
|
|||
|
||||
-- Dirt Monster by PilzAdam
|
||||
|
||||
mobs:register_mob("mobs_monster:dirt_monster", {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
pathfinding = true,
|
||||
reach = 2,
|
||||
damage = 2,
|
||||
hp_min = 3,
|
||||
hp_max = 27,
|
||||
armor = 100,
|
||||
collisionbox = {-0.4, -1, -0.4, 0.4, 0.8, 0.4},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_stone_monster.b3d",
|
||||
textures = {
|
||||
{"mobs_dirt_monster.png"},
|
||||
},
|
||||
blood_texture = "default_dirt.png",
|
||||
makes_footstep_sound = true,
|
||||
sounds = {
|
||||
random = "mobs_dirtmonster",
|
||||
},
|
||||
view_range = 15,
|
||||
walk_velocity = 1,
|
||||
run_velocity = 3,
|
||||
jump = true,
|
||||
drops = {
|
||||
{name = "default:dirt", chance = 1, min = 3, max = 5},
|
||||
},
|
||||
water_damage = 1,
|
||||
lava_damage = 5,
|
||||
light_damage = 2,
|
||||
fear_height = 4,
|
||||
animation = {
|
||||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
stand_start = 0,
|
||||
stand_end = 14,
|
||||
walk_start = 15,
|
||||
walk_end = 38,
|
||||
run_start = 40,
|
||||
run_end = 63,
|
||||
punch_start = 40,
|
||||
punch_end = 63,
|
||||
},
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_monster:dirt_monster",
|
||||
{"default:dirt_with_grass", "ethereal:gray_dirt"}, 7, 0, 7000, 1, 31000, false)
|
||||
|
||||
mobs:register_egg("mobs_monster:dirt_monster", "Dirt Monster", "default_dirt.png", 1)
|
||||
|
||||
-- compatibility
|
||||
mobs:alias_mob("mobs:dirt_monster", "mobs_monster:dirt_monster")
|
|
@ -1,92 +0,0 @@
|
|||
|
||||
-- Dungeon Master by PilzAdam
|
||||
|
||||
mobs:register_mob("mobs_monster:dungeon_master", {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
damage = 4,
|
||||
attack_type = "dogshoot",
|
||||
dogshoot_switch = 1,
|
||||
dogshoot_count_max = 10,
|
||||
reach = 3,
|
||||
shoot_interval = 2.5,
|
||||
arrow = "mobs_monster:fireball",
|
||||
shoot_offset = 1,
|
||||
hp_min = 12,
|
||||
hp_max = 35,
|
||||
armor = 60,
|
||||
collisionbox = {-0.7, -1, -0.7, 0.7, 1.6, 0.7},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_dungeon_master.b3d",
|
||||
textures = {
|
||||
{"mobs_dungeon_master.png"},
|
||||
{"mobs_dungeon_master2.png"},
|
||||
{"mobs_dungeon_master3.png"},
|
||||
},
|
||||
makes_footstep_sound = true,
|
||||
sounds = {
|
||||
random = "mobs_dungeonmaster",
|
||||
shoot_attack = "mobs_fireball",
|
||||
},
|
||||
walk_velocity = 1,
|
||||
run_velocity = 3,
|
||||
jump = true,
|
||||
view_range = 15,
|
||||
drops = {
|
||||
{name = "default:mese_crystal_fragment", chance = 1, min = 1, max = 3},
|
||||
{name = "default:diamond", chance = 4, min = 1, max = 1},
|
||||
{name = "default:mese_crystal", chance = 2, min = 1, max = 2},
|
||||
{name = "default:diamondblock", chance = 30, min = 1, max = 1},
|
||||
},
|
||||
water_damage = 1,
|
||||
lava_damage = 1,
|
||||
light_damage = 0,
|
||||
fear_height = 3,
|
||||
animation = {
|
||||
stand_start = 0,
|
||||
stand_end = 19,
|
||||
walk_start = 20,
|
||||
walk_end = 35,
|
||||
punch_start = 36,
|
||||
punch_end = 48,
|
||||
shoot_start = 36,
|
||||
shoot_end = 48,
|
||||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
},
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_monster:dungeon_master", {"default:stone"}, 7, 0, 7000, 1, -70)
|
||||
|
||||
mobs:register_egg("mobs_monster:dungeon_master", "Dungeon Master", "fire_basic_flame.png", 1, true)
|
||||
|
||||
-- compatibility
|
||||
mobs:alias_mob("mobs:dungeon_master", "mobs_monster:dungeon_master")
|
||||
|
||||
-- fireball (weapon)
|
||||
mobs:register_arrow("mobs_monster:fireball", {
|
||||
visual = "sprite",
|
||||
visual_size = {x = 1, y = 1},
|
||||
textures = {"mobs_fireball.png"},
|
||||
velocity = 6,
|
||||
|
||||
-- direct hit, no fire... just plenty of pain
|
||||
hit_player = function(self, player)
|
||||
player:punch(self.object, 1.0, {
|
||||
full_punch_interval = 1.0,
|
||||
damage_groups = {fleshy = 8},
|
||||
}, nil)
|
||||
end,
|
||||
|
||||
hit_mob = function(self, player)
|
||||
player:punch(self.object, 1.0, {
|
||||
full_punch_interval = 1.0,
|
||||
damage_groups = {fleshy = 8},
|
||||
}, nil)
|
||||
end,
|
||||
|
||||
-- node hit, bursts into flame
|
||||
hit_node = function(self, pos, node)
|
||||
mobs:explosion(pos, 1, 1, 0)
|
||||
end
|
||||
})
|
|
@ -1,16 +0,0 @@
|
|||
|
||||
local path = minetest.get_modpath("mobs_monster")
|
||||
|
||||
-- Monsters
|
||||
|
||||
--dofile(path .. "/dirt_monster.lua") -- PilzAdam
|
||||
--dofile(path .. "/dungeon_master.lua")
|
||||
dofile(path .. "/oerkki.lua")
|
||||
dofile(path .. "/sand_monster.lua")
|
||||
--dofile(path .. "/stone_monster.lua")
|
||||
dofile(path .. "/tree_monster.lua")
|
||||
dofile(path .. "/lava_flan.lua") -- Zeg9
|
||||
dofile(path .. "/mese_monster.lua")
|
||||
dofile(path .. "/spider.lua") -- AspireMint
|
||||
|
||||
print ("[MOD] Mobs Redo 'Monsters' loaded")
|
|
@ -1,140 +0,0 @@
|
|||
|
||||
-- Lava Flan by Zeg9 (additional textures by JurajVajda)
|
||||
|
||||
mobs:register_mob("mobs_monster:lava_flan", {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
reach = 2,
|
||||
damage = 3,
|
||||
hp_min = 10,
|
||||
hp_max = 35,
|
||||
armor = 80,
|
||||
collisionbox = {-0.5, -0.5, -0.5, 0.5, 1.5, 0.5},
|
||||
visual = "mesh",
|
||||
mesh = "zmobs_lava_flan.x",
|
||||
textures = {
|
||||
{"zmobs_lava_flan.png"},
|
||||
{"zmobs_lava_flan2.png"},
|
||||
{"zmobs_lava_flan3.png"},
|
||||
},
|
||||
blood_texture = "fire_basic_flame.png",
|
||||
makes_footstep_sound = false,
|
||||
sounds = {
|
||||
random = "mobs_lavaflan",
|
||||
war_cry = "mobs_lavaflan",
|
||||
},
|
||||
walk_velocity = 0.5,
|
||||
run_velocity = 2,
|
||||
jump = true,
|
||||
view_range = 10,
|
||||
floats = 1,
|
||||
drops = {
|
||||
{name = "mobs:lava_orb", chance = 15, min = 1, max = 1},
|
||||
},
|
||||
water_damage = 5,
|
||||
lava_damage = 0,
|
||||
light_damage = 0,
|
||||
animation = {
|
||||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
stand_start = 0,
|
||||
stand_end = 8,
|
||||
walk_start = 10,
|
||||
walk_end = 18,
|
||||
run_start = 20,
|
||||
run_end = 28,
|
||||
punch_start = 20,
|
||||
punch_end = 28,
|
||||
},
|
||||
on_die = function(self, pos)
|
||||
minetest.set_node(pos, {name = "fire:basic_flame"})
|
||||
end,
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_monster:lava_flan", {"default:lava_source"}, 15, 0, 1000, 2, 0)
|
||||
|
||||
mobs:register_egg("mobs_monster:lava_flan", "Lava Flan", "default_lava.png", 1)
|
||||
|
||||
-- compatibility
|
||||
mobs:alias_mob("mobs:lava_flan", "mobs_monster:lava_flan")
|
||||
|
||||
-- lava orb
|
||||
minetest.register_craftitem(":mobs:lava_orb", {
|
||||
description = "Lava orb",
|
||||
inventory_image = "zmobs_lava_orb.png",
|
||||
})
|
||||
|
||||
minetest.register_alias("zmobs:lava_orb", "mobs:lava_orb")
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "mobs:lava_orb",
|
||||
burntime = 80,
|
||||
})
|
||||
|
||||
-- Lava Pick (digs and smelts at same time)
|
||||
|
||||
local old_handle_node_drops = minetest.handle_node_drops
|
||||
|
||||
function minetest.handle_node_drops(pos, drops, digger)
|
||||
|
||||
-- are we holding Lava Pick?
|
||||
if digger:get_wielded_item():get_name() ~= ("mobs:pick_lava") then
|
||||
return old_handle_node_drops(pos, drops, digger)
|
||||
end
|
||||
|
||||
-- reset new smelted drops
|
||||
local hot_drops = {}
|
||||
|
||||
-- loop through current node drops
|
||||
for _, drop in pairs(drops) do
|
||||
|
||||
-- get cooked output of current drops
|
||||
local stack = ItemStack(drop)
|
||||
local output = minetest.get_craft_result({
|
||||
method = "cooking",
|
||||
width = 1,
|
||||
items = {drop}
|
||||
})
|
||||
|
||||
-- if we have cooked result then add to new list
|
||||
if output
|
||||
and output.item
|
||||
and not output.item:is_empty() then
|
||||
|
||||
table.insert(hot_drops,
|
||||
ItemStack({
|
||||
name = output.item:get_name(),
|
||||
count = output.item:to_table().count,
|
||||
})
|
||||
)
|
||||
else -- if not then return normal drops
|
||||
table.insert(hot_drops, stack)
|
||||
end
|
||||
end
|
||||
|
||||
return old_handle_node_drops(pos, hot_drops, digger)
|
||||
end
|
||||
|
||||
minetest.register_tool(":mobs:pick_lava", {
|
||||
description = "Lava Pickaxe",
|
||||
inventory_image = "mobs_pick_lava.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.4,
|
||||
max_drop_level=3,
|
||||
groupcaps={
|
||||
cracky = {times={[1]=1.80, [2]=0.90, [3]=0.45}, uses=30, maxlevel=3},
|
||||
},
|
||||
damage_groups = {fleshy=6},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mobs:pick_lava",
|
||||
recipe = {
|
||||
{"mobs:lava_orb", "mobs:lava_orb", "mobs:lava_orb"},
|
||||
{"", "default:obsidian_shard", ""},
|
||||
{"", "default:obsidian_shard", ""},
|
||||
}
|
||||
})
|
|
@ -1,95 +0,0 @@
|
|||
|
||||
-- Mese Monster by Zeg9
|
||||
|
||||
mobs:register_mob("mobs_monster:mese_monster", {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
damage = 3,
|
||||
attack_type = "shoot",
|
||||
shoot_interval = 0.5,
|
||||
arrow = "mobs_monster:mese_arrow",
|
||||
shoot_offset = 2,
|
||||
hp_min = 10,
|
||||
hp_max = 25,
|
||||
armor = 80,
|
||||
collisionbox = {-0.5, -1.5, -0.5, 0.5, 0.5, 0.5},
|
||||
visual = "mesh",
|
||||
mesh = "zmobs_mese_monster.x",
|
||||
textures = {
|
||||
{"zmobs_mese_monster.png"},
|
||||
},
|
||||
blood_texture = "default_mese_crystal_fragment.png",
|
||||
makes_footstep_sound = false,
|
||||
sounds = {
|
||||
random = "mobs_mesemonster",
|
||||
},
|
||||
view_range = 10,
|
||||
walk_velocity = 0.5,
|
||||
run_velocity = 2,
|
||||
jump = true,
|
||||
jump_height = 8,
|
||||
fall_damage = 0,
|
||||
fall_speed = -6,
|
||||
stepheight = 2.1,
|
||||
drops = {
|
||||
{name = "default:mese_crystal", chance = 9, min = 1, max = 3},
|
||||
{name = "default:mese_crystal_fragment", chance = 1, min = 1, max = 9},
|
||||
},
|
||||
water_damage = 1,
|
||||
lava_damage = 1,
|
||||
light_damage = 0,
|
||||
animation = {
|
||||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
stand_start = 0,
|
||||
stand_end = 14,
|
||||
walk_start = 15,
|
||||
walk_end = 38,
|
||||
run_start = 40,
|
||||
run_end = 63,
|
||||
punch_start = 40,
|
||||
punch_end = 63,
|
||||
},
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_monster:mese_monster", {"default:stone"}, 7, 0, 5000, 1, -20)
|
||||
|
||||
mobs:register_egg("mobs_monster:mese_monster", "Mese Monster", "default_mese_block.png", 1)
|
||||
|
||||
-- compatibility
|
||||
mobs:alias_mob("mobs:mese_monster", "mobs_monster:mese_monster")
|
||||
|
||||
-- mese arrow (weapon)
|
||||
mobs:register_arrow("mobs_monster:mese_arrow", {
|
||||
visual = "sprite",
|
||||
visual_size = {x = 0.5, y = 0.5},
|
||||
textures = {"default_mese_crystal_fragment.png"},
|
||||
velocity = 6,
|
||||
|
||||
hit_player = function(self, player)
|
||||
player:punch(self.object, 1.0, {
|
||||
full_punch_interval = 1.0,
|
||||
damage_groups = {fleshy = 2},
|
||||
}, nil)
|
||||
end,
|
||||
|
||||
hit_mob = function(self, player)
|
||||
player:punch(self.object, 1.0, {
|
||||
full_punch_interval = 1.0,
|
||||
damage_groups = {fleshy = 2},
|
||||
}, nil)
|
||||
end,
|
||||
|
||||
hit_node = function(self, pos, node)
|
||||
end
|
||||
})
|
||||
|
||||
-- 9x mese crystal fragments = 1x mese crystal
|
||||
minetest.register_craft({
|
||||
output = "default:mese_crystal",
|
||||
recipe = {
|
||||
{"default:mese_crystal_fragment", "default:mese_crystal_fragment", "default:mese_crystal_fragment"},
|
||||
{"default:mese_crystal_fragment", "default:mese_crystal_fragment", "default:mese_crystal_fragment"},
|
||||
{"default:mese_crystal_fragment", "default:mese_crystal_fragment", "default:mese_crystal_fragment"},
|
||||
}
|
||||
})
|
|
@ -1 +0,0 @@
|
|||
name = mobs_monster
|
|
@ -1,63 +0,0 @@
|
|||
|
||||
-- Oerkki by PilzAdam
|
||||
|
||||
mobs:register_mob("mobs_monster:oerkki", {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
pathfinding = true,
|
||||
reach = 2,
|
||||
damage = 4,
|
||||
hp_min = 8,
|
||||
hp_max = 34,
|
||||
armor = 100,
|
||||
collisionbox = {-0.4, -1, -0.4, 0.4, 0.9, 0.4},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_oerkki.b3d",
|
||||
textures = {
|
||||
{"mobs_oerkki.png"},
|
||||
{"mobs_oerkki2.png"},
|
||||
},
|
||||
makes_footstep_sound = false,
|
||||
sounds = {
|
||||
random = "mobs_oerkki",
|
||||
},
|
||||
walk_velocity = 1,
|
||||
run_velocity = 3,
|
||||
view_range = 10,
|
||||
jump = true,
|
||||
drops = {
|
||||
{name = "default:obsidian", chance = 3, min = 1, max = 2},
|
||||
},
|
||||
water_damage = 2,
|
||||
lava_damage = 4,
|
||||
light_damage = 1,
|
||||
fear_height = 4,
|
||||
animation = {
|
||||
stand_start = 0,
|
||||
stand_end = 23,
|
||||
walk_start = 24,
|
||||
walk_end = 36,
|
||||
run_start = 37,
|
||||
run_end = 49,
|
||||
punch_start = 37,
|
||||
punch_end = 49,
|
||||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
},
|
||||
replace_rate = 5,
|
||||
replace_what = {"default:torch"},
|
||||
replace_with = "air",
|
||||
replace_offset = -1,
|
||||
immune_to = {
|
||||
{"default:sword_wood", 0}, -- no damage
|
||||
{"default:gold_lump", -10}, -- heals by 10 points
|
||||
},
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_monster:oerkki", {"default:stone"}, 7, 0, 7000, 1, -10)
|
||||
|
||||
mobs:register_egg("mobs_monster:oerkki", "Oerkki", "default_obsidian.png", 1)
|
||||
|
||||
-- compatibility
|
||||
mobs:alias_mob("mobs:oerkki", "mobs_monster:oerkki")
|
|
@ -1,38 +0,0 @@
|
|||
|
||||
MONSTER MOBS
|
||||
|
||||
Dirt Monster
|
||||
|
||||
- Spawning at night on green grass (or grey in ethereal) these mobs wander around looking for a player to eat. Drops 1-5 dirt when killed.
|
||||
|
||||
Dungeon Master
|
||||
|
||||
- Spawning below -70 underground DM's have a tendency to hurl fire balls at unsuspecting players and can cause major damage, but get too close and he will switch to dogfight attack. Can drop mese or diamond when killed.
|
||||
|
||||
Lava Flan
|
||||
|
||||
- Cute as they may look lava flan wallow in their namesake (no, not flans) and get curious about players who wander by, forgetting that they can burn you and cause damage. They have a 1 in 5 chance of dropping lava orb when killed.
|
||||
|
||||
Mese Monster
|
||||
|
||||
- These mobs are territorial and spawn below -20 and will fire mese shards at passers by, so best avoided. Will drop mese when killed.
|
||||
|
||||
Oerkki
|
||||
|
||||
- Found in dark areas like most monsters Oerkki wander the caverns stealing away torches on the ground and attacking anyone found in that area. 1 in 3 chance of dropping obsidian.
|
||||
|
||||
Sand Monster
|
||||
|
||||
- The hot deserts are home to these guys who spawn at any time of the day to attack players. They drop 3-5 desert sand when killed.
|
||||
|
||||
Spider
|
||||
|
||||
- Found in dark holes inside desertstone (crystal biomes in ethereal), spiders wait for prey to amble past and strike. They are mostly docile during the day though unless hit. Will drop string when killed.
|
||||
|
||||
Stone Monster
|
||||
|
||||
- Found underground in dark caves these mobs seem to be zombie-like in fashion with a tendency to rush a player in the area. can drop torch, iron or coal when killed.
|
||||
|
||||
Tree Monster
|
||||
|
||||
- Found atop tree's at night time they drop down and look for food in the form of players. Can drop saplings and sometimes an apple or three.
|
|
@ -1,61 +0,0 @@
|
|||
|
||||
-- Sand Monster by PilzAdam
|
||||
|
||||
mobs:register_mob("mobs_monster:sand_monster", {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
pathfinding = true,
|
||||
reach = 2,
|
||||
damage = 1,
|
||||
hp_min = 4,
|
||||
hp_max = 20,
|
||||
armor = 100,
|
||||
collisionbox = {-0.4, -1, -0.4, 0.4, 0.8, 0.4},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_sand_monster.b3d",
|
||||
textures = {
|
||||
{"mobs_sand_monster.png"},
|
||||
},
|
||||
makes_footstep_sound = true,
|
||||
sounds = {
|
||||
random = "mobs_sandmonster",
|
||||
},
|
||||
walk_velocity = 1.5,
|
||||
run_velocity = 4,
|
||||
view_range = 15,
|
||||
jump = true,
|
||||
floats = 0,
|
||||
drops = {
|
||||
{name = "default:desert_sand", chance = 1, min = 3, max = 5},
|
||||
},
|
||||
water_damage = 3,
|
||||
lava_damage = 4,
|
||||
light_damage = 0,
|
||||
fear_height = 4,
|
||||
animation = {
|
||||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
stand_start = 0,
|
||||
stand_end = 39,
|
||||
walk_start = 41,
|
||||
walk_end = 72,
|
||||
run_start = 74,
|
||||
run_end = 105,
|
||||
punch_start = 74,
|
||||
punch_end = 105,
|
||||
},
|
||||
--[[
|
||||
custom_attack = function(self, p)
|
||||
local pos = self.object:getpos()
|
||||
minetest.add_item(pos, "default:sand")
|
||||
end,
|
||||
]]
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_monster:sand_monster", {"default:desert_sand"}, 20, 0, 7000, 1, 31000)
|
||||
|
||||
mobs:register_egg("mobs_monster:sand_monster", "Sand Monster", "default_desert_sand.png", 1)
|
||||
|
||||
-- compatibility
|
||||
mobs:alias_mob("mobs:sand_monster", "mobs_monster:sand_monster")
|
|
@ -1,93 +0,0 @@
|
|||
|
||||
-- Spider by AspireMint (fishyWET (CC-BY-SA 3.0 license for texture)
|
||||
|
||||
mobs:register_mob("mobs_monster:spider", {
|
||||
docile_by_day = true,
|
||||
type = "monster",
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
reach = 2,
|
||||
damage = 3,
|
||||
hp_min = 20,
|
||||
hp_max = 40,
|
||||
armor = 200,
|
||||
collisionbox = {-0.9, -0.01, -0.7, 0.7, 0.6, 0.7},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_spider.x",
|
||||
textures = {
|
||||
{"mobs_spider.png"},
|
||||
},
|
||||
visual_size = {x = 7, y = 7},
|
||||
makes_footstep_sound = false,
|
||||
sounds = {
|
||||
random = "mobs_spider",
|
||||
attack = "mobs_spider",
|
||||
},
|
||||
walk_velocity = 1,
|
||||
run_velocity = 3,
|
||||
jump = true,
|
||||
view_range = 15,
|
||||
floats = 0,
|
||||
drops = {
|
||||
{name = "farming:string", chance = 1, min = 1, max = 2},
|
||||
{name = "ethereal:crystal_spike", chance = 15, min = 1, max = 2},
|
||||
},
|
||||
water_damage = 5,
|
||||
lava_damage = 5,
|
||||
light_damage = 0,
|
||||
animation = {
|
||||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
stand_start = 1,
|
||||
stand_end = 1,
|
||||
walk_start = 20,
|
||||
walk_end = 40,
|
||||
run_start = 20,
|
||||
run_end = 40,
|
||||
punch_start = 50,
|
||||
punch_end = 90,
|
||||
},
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_monster:spider",
|
||||
{"default:desert_stone", "ethereal:crystal_dirt"}, 13, 0, 7000, 1, 71)
|
||||
|
||||
mobs:register_egg("mobs_monster:spider", "Spider", "mobs_cobweb.png", 1)
|
||||
|
||||
-- compatibility
|
||||
mobs:alias_mob("mobs:spider", "mobs_monster:spider")
|
||||
|
||||
-- ethereal crystal spike compatibility
|
||||
if not minetest.get_modpath("ethereal") then
|
||||
minetest.register_alias("ethereal:crystal_spike", "default:sandstone")
|
||||
end
|
||||
|
||||
-- cobweb
|
||||
minetest.register_node(":mobs:cobweb", {
|
||||
description = "Cobweb",
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1.1,
|
||||
tiles = {"mobs_cobweb.png"},
|
||||
inventory_image = "mobs_cobweb.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
liquid_viscosity = 11,
|
||||
liquidtype = "source",
|
||||
liquid_alternative_flowing = "mobs:cobweb",
|
||||
liquid_alternative_source = "mobs:cobweb",
|
||||
liquid_renewable = false,
|
||||
liquid_range = 0,
|
||||
walkable = false,
|
||||
groups = {snappy = 1},
|
||||
drop = "farming:cotton",
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mobs:cobweb",
|
||||
recipe = {
|
||||
{"farming:string", "", "farming:string"},
|
||||
{"", "farming:string", ""},
|
||||
{"farming:string", "", "farming:string"},
|
||||
}
|
||||
})
|
|
@ -1,57 +0,0 @@
|
|||
|
||||
-- Stone Monster by PilzAdam
|
||||
|
||||
mobs:register_mob("mobs_monster:stone_monster", {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
pathfinding = true,
|
||||
reach = 2,
|
||||
damage = 3,
|
||||
hp_min = 12,
|
||||
hp_max = 35,
|
||||
armor = 80,
|
||||
collisionbox = {-0.4, -1, -0.4, 0.4, 0.9, 0.4},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_stone_monster.b3d",
|
||||
textures = {
|
||||
{"mobs_stone_monster.png"},
|
||||
{"mobs_stone_monster2.png"}, -- by AMMOnym
|
||||
},
|
||||
makes_footstep_sound = true,
|
||||
sounds = {
|
||||
random = "mobs_stonemonster",
|
||||
},
|
||||
walk_velocity = 1,
|
||||
run_velocity = 2,
|
||||
jump = true,
|
||||
floats = 0,
|
||||
view_range = 10,
|
||||
drops = {
|
||||
{name = "default:torch", chance = 2, min = 3, max = 5},
|
||||
{name = "default:iron_lump", chance = 5, min = 1, max = 2},
|
||||
{name = "default:coal_lump", chance = 3, min = 1, max = 3},
|
||||
},
|
||||
water_damage = 0,
|
||||
lava_damage = 1,
|
||||
light_damage = 0,
|
||||
animation = {
|
||||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
stand_start = 0,
|
||||
stand_end = 14,
|
||||
walk_start = 15,
|
||||
walk_end = 38,
|
||||
run_start = 40,
|
||||
run_end = 63,
|
||||
punch_start = 40,
|
||||
punch_end = 63,
|
||||
},
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_monster:stone_monster", {"default:stone", "default:desert_stone"}, 7, 0, 7000, 1, 0)
|
||||
|
||||
mobs:register_egg("mobs_monster:stone_monster", "Stone Monster", "default_stone.png", 1)
|
||||
|
||||
-- compatibility
|
||||
mobs:alias_mob("mobs:stone_monster", "mobs_monster:stone_monster")
|
Before Width: | Height: | Size: 144 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 744 B |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 809 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 522 B |
Before Width: | Height: | Size: 567 B |
|
@ -1,64 +0,0 @@
|
|||
|
||||
-- Tree Monster (or Tree Gollum) by PilzAdam
|
||||
|
||||
mobs:register_mob("mobs_monster:tree_monster", {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
reach = 2,
|
||||
damage = 2,
|
||||
hp_min = 7,
|
||||
hp_max = 33,
|
||||
armor = 100,
|
||||
collisionbox = {-0.4, -1, -0.4, 0.4, 0.8, 0.4},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_tree_monster.b3d",
|
||||
textures = {
|
||||
{"mobs_tree_monster.png"},
|
||||
{"mobs_tree_monster2.png"},
|
||||
},
|
||||
blood_texture = "default_wood.png",
|
||||
makes_footstep_sound = true,
|
||||
sounds = {
|
||||
random = "mobs_treemonster",
|
||||
},
|
||||
walk_velocity = 1,
|
||||
run_velocity = 3,
|
||||
jump = true,
|
||||
view_range = 15,
|
||||
drops = {
|
||||
{name = "ethereal:tree_sapling", chance = 3, min = 1, max = 2},
|
||||
{name = "ethereal:jungle_tree_sapling", chance = 3, min = 1, max = 2},
|
||||
{name = "default:apple", chance = 2, min = 1, max=3},
|
||||
},
|
||||
water_damage = 2,
|
||||
lava_damage = 0,
|
||||
light_damage = 2,
|
||||
fall_damage = 0,
|
||||
animation = {
|
||||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
stand_start = 0,
|
||||
stand_end = 24,
|
||||
walk_start = 25,
|
||||
walk_end = 47,
|
||||
run_start = 48,
|
||||
run_end = 62,
|
||||
punch_start = 48,
|
||||
punch_end = 62,
|
||||
},
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_monster:tree_monster",
|
||||
{"default:leaves", "default:jungleleaves"}, 7, 0, 7000, 1, 31000, false)
|
||||
|
||||
mobs:register_egg("mobs_monster:tree_monster", "Tree Monster", "default_tree_top.png", 1)
|
||||
|
||||
-- compatibility
|
||||
mobs:alias_mob("mobs:tree_monster", "mobs_monster:tree_monster")
|
||||
|
||||
-- ethereal sapling compatibility
|
||||
if not minetest.get_modpath("ethereal") then
|
||||
minetest.register_alias("ethereal:tree_sapling", "default:sapling")
|
||||
minetest.register_alias("ethereal:jungle_tree_sapling", "default:junglesapling")
|
||||
end
|
|
@ -694,10 +694,10 @@ minetest.register_decoration({
|
|||
})
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = "default:dirt_with_grass",
|
||||
place_on = "default:dirt_with_grass", "default:dirt_with_grass3",
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.01,
|
||||
biomes = {"stone_grassland", "sandstone_grassland"},
|
||||
biomes = {"stone_grassland", "sandstone_grassland", "wild_forest"},
|
||||
decoration = "moreplants:tallgrass",
|
||||
height = 1,
|
||||
})
|
||||
|
@ -730,7 +730,7 @@ minetest.register_decoration({
|
|||
})
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = "default:dirt_with_grass",
|
||||
place_on = "default:dirt_with_grass", "default:dirt_with_grass2",
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.01,
|
||||
biomes = {"rainforest", "coniferous_forest"},
|
||||
|
@ -766,7 +766,7 @@ minetest.register_decoration({
|
|||
})
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = "default:water_source",
|
||||
place_on = "default:dirt",
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.005,
|
||||
biomes = {"stone_grassland_ocean", "deciduous_forest_ocean"},
|
||||
|
@ -819,10 +819,10 @@ minetest.register_decoration({
|
|||
})
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = "default:snow_block",
|
||||
place_on = "default:dirt_with_grass3",
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.005,
|
||||
biomes = {"tundra"},
|
||||
biomes = {"wild_forest"},
|
||||
decoration = "moreplants:moonflower",
|
||||
height = 1,
|
||||
})
|
||||
|
@ -855,7 +855,7 @@ minetest.register_decoration({
|
|||
})
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = "default:dirt_with_grass",
|
||||
place_on = "default:dirt_with_grass2",
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.02,
|
||||
biomes = {"coniferous_forest"},
|
||||
|
@ -864,7 +864,7 @@ minetest.register_decoration({
|
|||
})
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = "default:dirt_with_grass",
|
||||
place_on = "default:dirt_with_grass2",
|
||||
sidelen = 26,
|
||||
fill_ratio = 0.02,
|
||||
biomes = {"coniferous_forest"},
|
||||
|
@ -873,7 +873,7 @@ minetest.register_decoration({
|
|||
})
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = "default:dirt_with_grass",
|
||||
place_on = "default:dirt_with_grass2",
|
||||
sidelen = 26,
|
||||
fill_ratio = 0.02,
|
||||
biomes = {"coniferous_forest"},
|
||||
|
@ -882,10 +882,10 @@ minetest.register_decoration({
|
|||
})
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = "default:dirt_with_grass",
|
||||
place_on = "default:dirt_with_grass", "default:dirt_with_dry_grass",
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.01,
|
||||
biomes = {"deciduous_forest"},
|
||||
biomes = {"deciduous_forest", "magic_forest"},
|
||||
decoration = "moreplants:mushroom",
|
||||
height = 1,
|
||||
})
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
hudbars?
|
||||
|
||||
experience
|
||||
experience
|
||||
playereffects
|