Merge pull request #1 from D00Med/V1.1

V1 1
This commit is contained in:
D00Med 2016-06-16 18:55:55 +10:00 committed by GitHub
commit ec3f4d03c5
30 changed files with 779 additions and 3 deletions

View File

@ -1 +1,2 @@
default
default
mobs?

218
init.lua
View File

@ -5,6 +5,185 @@ end
--nodes
minetest.register_node("horror:gargoyle2", {
description = "Small gargoyle",
tiles = {
"horror_stone.png",
"horror_stone.png",
"horror_stone.png",
"horror_stone.png",
"horror_stone.png",
"horror_stone.png"
},
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
groups = {cracky=3},
node_box = {
type = "fixed",
fixed = {
{-0.4375, -0.5, -0.4375, 0.4375, -0.125, 0.4375}, -- NodeBox21
{-0.25, -0.125, -0.125, 0.25, 0.25, 0.3125}, -- NodeBox22
{-0.25, 0.25, -0.125, 0.25, 0.3125, 0.25}, -- NodeBox23
{-0.1875, 0.3125, -0.125, 0.1875, 0.375, 0.1875}, -- NodeBox24
{-0.125, 0.25, -0.3125, 0.125, 0.5, 0}, -- NodeBox25
{-0.0625, 0.25, -0.375, 0.0625, 0.4375, -0.3125}, -- NodeBox26
{-0.0625, 0.1875, -0.4375, 0.0625, 0.375, -0.375}, -- NodeBox27
{0.125, -0.125, -0.1875, 0.25, 0.125, -0.0625}, -- NodeBox28
{-0.25, -0.125, -0.1875, -0.125, 0.125, -0.0625}, -- NodeBox29
{-0.25, -0.125, -0.25, -0.125, -0.0625, -0.1875}, -- NodeBox30
{0.125, -0.125, -0.25, 0.25, -0.0625, -0.1875}, -- NodeBox31
{-0.1875, 0.375, 0.0625, -0.0625, 0.5, 0.5}, -- NodeBox32
{0.0625, 0.375, 0.0625, 0.1875, 0.5, 0.5}, -- NodeBox33
{0.0625, 0.3125, 0.25, 0.1875, 0.5, 0.5}, -- NodeBox34
{-0.1875, 0.3125, 0.25, -0.0625, 0.5, 0.5}, -- NodeBox35
{-0.1875, 0.25, 0.3125, -0.0625, 0.5, 0.5}, -- NodeBox36
{0.0625, 0.25, 0.3125, 0.1875, 0.5, 0.5}, -- NodeBox37
{0.0625, 0.125, 0.375, 0.1875, 0.5, 0.5}, -- NodeBox38
{-0.1875, 0.125, 0.375, -0.0625, 0.5, 0.5}, -- NodeBox39
{0.0625, 0, 0.4375, 0.1875, 0.5, 0.5}, -- NodeBox40
{-0.1875, 0, 0.4375, -0.0625, 0.5, 0.5}, -- NodeBox41
}
}
})
minetest.register_node("horror:candlestick", {
description = "Candlestick",
tiles = {
"horror_candlestick_top.png",
"horror_metal.png",
"horror_candlestick_side.png",
"horror_candlestick_side.png",
"horror_candlestick_side.png",
"horror_candlestick_side.png"
},
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
groups = {cracky=1, oddly_breakable_by_hand=1},
node_box = {
type = "fixed",
fixed = {
{-0.25, -0.5, -0.25, 0.25, -0.4375, 0.25}, -- NodeBox1
{-0.0625, -0.4375, -0.0625, 0.0625, 0.5, 0.0625}, -- NodeBox2
{-0.125, 0, 0, 0.125, 0.0625, 0.0625}, -- NodeBox4
{-0.25, -0.0625, 0, -0.125, 0, 0.0625}, -- NodeBox5
{0.125, -0.0625, 0, 0.25, 0, 0.0625}, -- NodeBox6
{-0.3125, 0, 0, -0.25, 0.0625, 0.0625}, -- NodeBox7
{0.25, 0, 0, 0.3125, 0.0625, 0.0625}, -- NodeBox8
{-0.4375, -0.0625, -0.0625, -0.3125, 0.375, 0.0625}, -- NodeBox9
{0.3125, -0.0625, -0.0625, 0.4375, 0.375, 0.0625}, -- NodeBox10
{-0.125, -0.25, -0.125, 0.125, -0.125, 0.125}, -- NodeBox11
{-0.125, 0.125, -0.0625, 0.125, 0.1875, 0.0625}, -- NodeBox16
}
}
})
minetest.register_node("horror:stone_corner", {
description = "Stone corner",
tiles = {
"default_stone.png",
"default_stone.png",
"default_stone.png",
"default_stone.png",
"default_stone.png",
"default_stone.png"
},
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
node_box = {
type = "fixed",
fixed = {
{-0.0625, -0.5, 0.4375, 0.0625, 0.4375, 0.5}, -- NodeBox1
{-0.0625, 0.4375, -0.5, 0.0625, 0.5, 0.5}, -- NodeBox4
{-0.0625, 0.0625, 0.3125, 0.0625, 0.3125, 0.4375}, -- NodeBox5
{-0.0625, 0.3125, 0.125, 0.0625, 0.4375, 0.3125}, -- NodeBox6
{-0.0625, 0.375, -0.4375, 0.0625, 0.4375, -0.0625}, -- NodeBox7
{-0.0625, -0.4375, 0.375, 0.0625, -0.125, 0.4375}, -- NodeBox8
{-0.0625, 0.25, 0.25, 0.0625, 0.3125, 0.3125}, -- NodeBox9
{-0.0625, 0.25, -0.125, 0.0625, 0.3125, 0.1875}, -- NodeBox10
{-0.0625, -0.1875, 0.25, 0.0625, 0.1875, 0.3125}, -- NodeBox11
{-0.0625, 0.125, -0.0625, 0.0625, 0.25, 0.125}, -- NodeBox12
{-0.0625, -0.0625, 0.125, 0.0625, 0.125, 0.25}, -- NodeBox13
{-0.0625, 0.0625, 0.0625, 0.0625, 0.125, 0.125}, -- NodeBox14
{-0.0625, -0.3125, 0.3125, 0.0625, -0.125, 0.375}, -- NodeBox15
{-0.0625, 0.3125, -0.3125, 0.0625, 0.375, -0.0625}, -- NodeBox16
}
},
groups = {cracky=3},
})
minetest.register_node("horror:wood_corner", {
description = "Wooden corner",
tiles = {
"default_wood.png",
"default_wood.png",
"default_wood.png",
"default_wood.png",
"default_wood.png",
"default_wood.png"
},
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
node_box = {
type = "fixed",
fixed = {
{-0.0625, -0.5, 0.4375, 0.0625, 0.4375, 0.5}, -- NodeBox1
{-0.0625, 0.4375, -0.5, 0.0625, 0.5, 0.5}, -- NodeBox4
{-0.0625, 0.0625, 0.3125, 0.0625, 0.3125, 0.4375}, -- NodeBox5
{-0.0625, 0.3125, 0.125, 0.0625, 0.4375, 0.3125}, -- NodeBox6
{-0.0625, 0.375, -0.4375, 0.0625, 0.4375, -0.0625}, -- NodeBox7
{-0.0625, -0.4375, 0.375, 0.0625, -0.125, 0.4375}, -- NodeBox8
{-0.0625, 0.25, 0.25, 0.0625, 0.3125, 0.3125}, -- NodeBox9
{-0.0625, 0.25, -0.125, 0.0625, 0.3125, 0.1875}, -- NodeBox10
{-0.0625, -0.1875, 0.25, 0.0625, 0.1875, 0.3125}, -- NodeBox11
{-0.0625, 0.125, -0.0625, 0.0625, 0.25, 0.125}, -- NodeBox12
{-0.0625, -0.0625, 0.125, 0.0625, 0.125, 0.25}, -- NodeBox13
{-0.0625, 0.0625, 0.0625, 0.0625, 0.125, 0.125}, -- NodeBox14
{-0.0625, -0.3125, 0.3125, 0.0625, -0.125, 0.375}, -- NodeBox15
{-0.0625, 0.3125, -0.3125, 0.0625, 0.375, -0.0625}, -- NodeBox16
}
},
groups = {choppy=2, oddly_breakable_by_hand=1},
})
minetest.register_node("horror:obsidian_corner", {
description = "Obsidian corner",
tiles = {
"default_obsidian.png",
"default_obsidian.png",
"default_obsidian.png",
"default_obsidian.png",
"default_obsidian.png",
"default_obsidian.png"
},
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
node_box = {
type = "fixed",
fixed = {
{-0.0625, -0.5, 0.4375, 0.0625, 0.4375, 0.5}, -- NodeBox1
{-0.0625, 0.4375, -0.5, 0.0625, 0.5, 0.5}, -- NodeBox4
{-0.0625, 0.0625, 0.3125, 0.0625, 0.3125, 0.4375}, -- NodeBox5
{-0.0625, 0.3125, 0.125, 0.0625, 0.4375, 0.3125}, -- NodeBox6
{-0.0625, 0.375, -0.4375, 0.0625, 0.4375, -0.0625}, -- NodeBox7
{-0.0625, -0.4375, 0.375, 0.0625, -0.125, 0.4375}, -- NodeBox8
{-0.0625, 0.25, 0.25, 0.0625, 0.3125, 0.3125}, -- NodeBox9
{-0.0625, 0.25, -0.125, 0.0625, 0.3125, 0.1875}, -- NodeBox10
{-0.0625, -0.1875, 0.25, 0.0625, 0.1875, 0.3125}, -- NodeBox11
{-0.0625, 0.125, -0.0625, 0.0625, 0.25, 0.125}, -- NodeBox12
{-0.0625, -0.0625, 0.125, 0.0625, 0.125, 0.25}, -- NodeBox13
{-0.0625, 0.0625, 0.0625, 0.0625, 0.125, 0.125}, -- NodeBox14
{-0.0625, -0.3125, 0.3125, 0.0625, -0.125, 0.375}, -- NodeBox15
{-0.0625, 0.3125, -0.3125, 0.0625, 0.375, -0.0625}, -- NodeBox16
}
},
groups = {cracky=3},
})
minetest.register_node("horror:sunorb", {
description = "sun orb",
drawtype = "plantlike",
@ -47,7 +226,7 @@ minetest.register_node("horror:fire", {
drawtype = "plantlike",
sunlight_propagates = true,
paramtype = "light",
light_source = 50,
light_source = 40,
walkable = false,
damage_per_second = 2,
tiles = {{
@ -60,6 +239,33 @@ minetest.register_node("horror:fire", {
groups = {crumbly=1},
})
minetest.register_node("horror:gfire", {
description = "decorative green fire",
drawtype = "plantlike",
sunlight_propagates = true,
paramtype = "light",
light_source = 30,
walkable = false,
damage_per_second = 2,
tiles = {{
name = "horror_gfire.png",
animation = {type = "vertical_frames", aspect_w = 32, aspect_h = 32, length = 1.00},
}}
,
inventory_image = "horror_gfire_inv.png",
wield_image = "horror_gfire_inv.png",
groups = {crumbly=1, leafdecay=1, not_in_creative_inventory=1},
})
minetest.register_abm({
nodenames = {"horror:gfire"},
interval = 5,
chance = 1,
action = function(pos)
minetest.remove_node(pos)
end
})
minetest.register_abm({
nodenames = {"horror:fire"},
interval = 1,
@ -113,12 +319,18 @@ minetest.register_node("horror:spiderweb", {
drawtype = "plantlike",
sunlight_propagates = true,
paramtype = "light",
liquid_viscosity = 8,
liquidtype = "source",
liquid_alternative_flowing = "horror:spiderweb",
liquid_alternative_source = "horror:spiderweb",
liquid_renewable = false,
liquid_range = 0,
walkable = false,
tiles = {
"horror_spiderweb.png"
},
inventory_image = "horror_spiderweb.png",
groups = {snappy=1, oddly_breakable_by_hand=1}
groups = {snappy=1, oddly_breakable_by_hand=1, liquid=3}
})
minetest.register_node("horror:lantern", {
@ -457,6 +669,8 @@ minetest.register_node("horror:chain", {
}
})
--Vignette overlay from Vignette mod by TriBlade9(license MIT)
minetest.register_on_joinplayer(function(player)
minetest.after(0,function()
player:override_day_night_ratio(0.41)

560
mobs.lua
View File

@ -0,0 +1,560 @@
mobs:register_mob("horror:centipede_body", {
type = "npc",
attacks_monsters = true,
reach = 0,
damage = 0,
attack_type = "dogfight",
hp_min = 12,
hp_max = 22,
armor = 130,
collisionbox = {-0.4, -0.5, -0.4, 0.4, 0.5, 0.4},
visual = "mesh",
mesh = "centipede_segment.b3d",
textures = {
{"centipede.png"},
},
blood_texture = "mobs_blood.png",
visual_size = {x=2, y=2},
makes_footstep_sound = false,
walk_velocity = 1.3,
run_velocity = 1.3,
jump = false,
do_custom = function(self)
minetest.after(4, function()
self.object:remove()
end)
end,
water_damage = 0,
lava_damage = 2,
light_damage = 0,
replace_rate = 10,
replace_what = {"default:grass_3", "default:grass_4", "default:grass_5", "ethereal:bamboo"},
replace_with = "air",
view_range = 10,
animation = {
speed_normal = 10,
speed_run = 15,
walk_start = 1,
walk_end = 12,
run_start = 1,
run_end = 12,
},
})
mobs:register_mob("horror:centipede", {
type = "monster",
passive = false,
reach = 1,
damage = 2,
attack_type = "dogfight",
hp_min = 12,
hp_max = 22,
armor = 130,
collisionbox = {-0.4, -0.5, -0.4, 0.4, 0.5, 0.4},
visual = "mesh",
mesh = "centipede.b3d",
textures = {
{"centipede.png"},
},
visual_size = {x=2, y=2},
makes_footstep_sound = true,
walk_velocity = 2.5,
run_velocity = 3.5,
jump = false,
drops = {
{name = "mobs:meat_raw", chance = 1, min = 1, max = 1},
},
sounds = {
random = "mobs_spider",
attack = "mobs_spider",
},
do_custom = function(self, dtime)
local pos = self.object:getpos()
minetest.env:add_entity(pos, "horror:centipede_body")
minetest.after(0.25, function()
minetest.env:add_entity(pos, "horror:centipede_body")
end)
end,
water_damage = 0,
lava_damage = 2,
light_damage = 0,
replace_rate = 10,
replace_what = {"default:grass_3", "default:grass_4", "default:grass_5", "ethereal:bamboo"},
replace_with = "air",
view_range = 14,
animation = {
speed_normal = 10,
speed_run = 15,
walk_start = 1,
walk_end = 12,
run_start = 1,
run_end = 12,
},
})
mobs:register_spawn("horror:centipede", {"horror:mud","default:dirt_with_dry_grass"}, 20, 10, 15000, 2, 31000)
mobs:register_egg("horror:centipede", "Centipede", "default_dirt.png", 1)
mobs:register_mob("horror:spider", {
type = "monster",
passive = false,
reach = 1,
damage = 2,
attack_type = "dogfight",
hp_min = 12,
hp_max = 22,
armor = 130,
collisionbox = {-0.6, -0.6, -0.5, 0.5, 0.6, 0.5},
visual = "mesh",
mesh = "hspider.b3d",
textures = {
{"hspider.png"},
},
blood_texture = "mobs_blood.png",
visual_size = {x=4, y=4},
makes_footstep_sound = true,
walk_velocity = 2,
run_velocity = 3,
sounds = {
random = "mobs_spider",
attack = "mobs_spider",
},
jump = true,
drops = {
{name = "mobs:meat_raw", chance = 1, min = 1, max = 1},
},
water_damage = 0,
lava_damage = 2,
light_damage = 0,
replace_rate = 10,
replace_what = {"default:grass_3", "default:grass_4", "default:grass_5", "air"},
replace_with = "horror:spiderweb",
view_range = 14,
animation = {
speed_normal = 10,
speed_run = 15,
walk_start = 1,
walk_end = 12,
run_start = 1,
run_end = 12,
stand_start = 1,
stand_end = 1,
},
})
mobs:register_spawn("horror:spider", {"default:leaves","default:stone"}, 20, 10, 15000, 2, 31000)
mobs:register_egg("horror:spider", "6-legged Spider", "default_obsidian.png", 1)
mobs:register_mob("horror:dragon", {
type = "monster",
passive = false,
attacks_monsters = true,
damage = 8,
reach = 3,
attack_type = "dogshoot",
shoot_interval = 2.5,
arrow = "horror:fireball",
shoot_offset = 1,
hp_min = 30,
hp_max = 45,
armor = 80,
collisionbox = {-0.6, -0.9, -0.6, 0.6, 0.6, 0.6},
visual = "mesh",
mesh = "dragon_new.b3d",
textures = {
{"horror_dragon.png"},
},
blood_texture = "mobs_blood.png",
visual_size = {x=3, y=3},
makes_footstep_sound = true,
sounds = {
shoot_attack = "mobs_fireball",
},
walk_velocity = 3,
run_velocity = 5,
jump = true,
fly = true,
drops = {
{name = "mobs:lava_orb", chance = 1, min = 1, max = 1},
},
fall_speed = 0,
stepheight = 10,
water_damage = 2,
lava_damage = 0,
light_damage = 0,
view_range = 20,
animation = {
speed_normal = 10,
speed_run = 20,
walk_start = 1,
walk_end = 22,
stand_start = 1,
stand_end = 22,
run_start = 1,
run_end = 22,
punch_start = 22,
punch_end = 47,
},
})
mobs:spawn_specific("horror:dragon", {"air"}, {"default:stone"}, 20, 10, 300, 15000, 2, -100, 11000)
mobs:register_egg("horror:dragon", "Zombie Dragon", "horror_orb.png", 1)
--Thanks to Tenplus1
mobs:register_arrow("horror:fireball", {
visual = "sprite",
visual_size = {x = 0.5, y = 0.5},
textures = {"horror_fireball.png"},
velocity = 8,
tail = 1, -- enable tail
tail_texture = "horror_steam.png",
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,
hit_node = function(self, pos, node)
mobs:explosion(pos, 2, 1, 1)
end,
})
mobs:register_mob("horror:skull", {
type = "monster",
passive = false,
attacks_monsters = true,
damage = 8,
reach = 3,
attack_type = "dogfight",
shoot_interval = 2.5,
arrow = "horror:fireball",
shoot_offset = 1,
hp_min = 30,
hp_max = 45,
armor = 80,
collisionbox = {-0.3, -0.3, -0.3, 0.3, 0.3, 0.3},
visual = "mesh",
mesh = "skull.b3d",
textures = {
{"skull.png"},
},
blood_texture = "mobs_blood.png",
visual_size = {x=3, y=3},
makes_footstep_sound = true,
walk_velocity = 3,
run_velocity = 5,
jump = true,
fly = true,
do_custom = function(self)
local apos = self.object:getpos()
local part = minetest.add_particlespawner(
12, --amount
0.3, --time
{x=apos.x-0.3, y=apos.y-0.3, z=apos.z-0.3}, --minpos
{x=apos.x+0.3, y=apos.y-0.3, z=apos.z+0.3}, --maxpos
{x=-0, y=-0, z=-0}, --minvel
{x=0, y=0, z=0}, --maxvel
{x=0,y=1,z=0}, --minacc
{x=0.5,y=1,z=0.5}, --maxacc
0.2, --minexptime
0.4, --maxexptime
3, --minsize
5, --maxsize
false, --collisiondetection
"horror_flame2.png" --texture
)
end,
fall_speed = 0,
stepheight = 10,
water_damage = 2,
lava_damage = 0,
light_damage = 0,
view_range = 20,
animation = {
speed_normal = 5,
speed_run = 6,
walk_start = 1,
walk_end = 10,
stand_start = 1,
stand_end = 10,
run_start = 1,
run_end = 10,
punch_start = 1,
punch_end = 10,
},
})
mobs:spawn_specific("horror:skull", {"air"}, {"default:stone"}, 20, 10, 300, 15000, 2, -100, 11000)
mobs:register_egg("horror:skull", "Flying Skull", "horror_gfire_inv.png", 1)
mobs:register_mob("horror:mothman", {
type = "monster",
passive = false,
attacks_monsters = true,
damage = 8,
reach = 3,
attack_type = "dogfight",
hp_min = 30,
hp_max = 45,
armor = 80,
collisionbox = {-0.3, -0.3, -0.3, 0.3, 0.3, 0.3},
visual = "mesh",
mesh = "mothman.b3d",
textures = {
{"mothman.png"},
},
blood_texture = "mobs_blood.png",
visual_size = {x=3, y=3},
makes_footstep_sound = true,
walk_velocity = 3,
run_velocity = 5,
jump = true,
fly = true,
do_custom = function(self)
local apos = self.object:getpos()
local part = minetest.add_particlespawner(
12, --amount
0.3, --time
{x=apos.x-0.3, y=apos.y-0.3, z=apos.z-0.3}, --minpos
{x=apos.x+0.3, y=apos.y-0.3, z=apos.z+0.3}, --maxpos
{x=-0, y=-0, z=-0}, --minvel
{x=0, y=0, z=0}, --maxvel
{x=0,y=-1,z=0}, --minacc
{x=0.5,y=-1,z=0.5}, --maxacc
3, --minexptime
5, --maxexptime
3, --minsize
5, --maxsize
false, --collisiondetection
"horror_dust.png" --texture
)
end,
fall_speed = 0,
stepheight = 5,
water_damage = 2,
lava_damage = 0,
light_damage = 0,
view_range = 20,
animation = {
speed_normal = 20,
speed_run = 33,
walk_start = 1,
walk_end = 11,
stand_start = 1,
stand_end = 11,
run_start = 1,
run_end = 11,
punch_start = 1,
punch_end = 11,
},
})
mobs:spawn_specific("horror:mothman", {"air"}, {"horror:lantern"}, 20, 10, 300, 15000, 2, -100, 11000)
mobs:register_egg("horror:mothman", "Mothman", "horror_orb.png", 1)
mobs:register_mob("horror:manticore", {
type = "monster",
passive = false,
attacks_monsters = true,
damage = 8,
reach = 4,
attack_type = "dogfight",
hp_min = 30,
hp_max = 45,
armor = 80,
collisionbox = {-0.5, -0.5, -0.6, 0.6, 0.6, 0.6},
visual = "mesh",
mesh = "manticore.b3d",
textures = {
{"manticore.png"},
},
blood_texture = "mobs_blood.png",
visual_size = {x=3, y=3},
makes_footstep_sound = true,
walk_velocity = 3,
run_velocity = 5,
jump = true,
drops = {
{name = "horror:cockroach", chance = 1, min = 1, max = 1},
},
water_damage = 2,
lava_damage = 0,
light_damage = 0,
view_range = 20,
animation = {
speed_normal = 10,
speed_run = 20,
walk_start = 1,
walk_end = 11,
stand_start = 1,
stand_end = 11,
run_start = 1,
run_end = 11,
punch_start = 11,
punch_end = 26,
},
})
mobs:spawn_specific("horror:manticore", {"default:dirt"}, {"default:stone"}, 20, 10, 300, 15000, 2, -100, 11000)
mobs:register_egg("horror:manticore", "Manticore", "default_dirt.png", 1)
mobs:register_mob("horror:demon", {
type = "monster",
passive = false,
attacks_monsters = true,
damage = 8,
reach = 4,
attack_type = "dogfight",
hp_min = 30,
hp_max = 45,
armor = 80,
collisionbox = {-0.4, -0.5, -0.6, 0.6, 3, 0.6},
visual = "mesh",
mesh = "demon.b3d",
textures = {
{"demon.png"},
},
blood_texture = "mobs_blood.png",
visual_size = {x=3.5, y=3},
makes_footstep_sound = true,
walk_velocity = 2,
run_velocity = 3,
jump = true,
water_damage = 2,
lava_damage = 0,
light_damage = 0,
replace_rate = 5,
replace_what = {"default:grass_3", "default:grass_4", "default:grass_5", "air"},
replace_with = "horror:gfire",
view_range = 20,
animation = {
speed_normal = 10,
speed_run = 20,
walk_start = 1,
walk_end = 20,
stand_start = 39,
stand_end = 50,
run_start = 1,
run_end = 20,
punch_start = 21,
punch_end = 38,
},
})
mobs:spawn_specific("horror:demon", {"default:dirt_with_grass"}, {"default:lava_source"}, 20, 10, 300, 15000, 2, -100, 11000)
mobs:register_egg("horror:demon", "Demon", "default_dirt.png", 1)
mobs:register_mob("horror:armour", {
type = "monster",
passive = false,
attacks_monsters = true,
damage = 7,
reach = 2,
attack_type = "dogfight",
hp_min = 30,
hp_max = 45,
armor = 80,
collisionbox = {-0.3, -1, -0.3, 0.3, 1, 0.3},
visual = "mesh",
mesh = "armour.b3d",
textures = {
{"armour.png"},
},
blood_texture = "mobs_blood.png",
visual_size = {x=2, y=2},
makes_footstep_sound = true,
walk_velocity = 0.5,
run_velocity = 1,
jump = true,
water_damage = 2,
lava_damage = 0,
light_damage = 0,
view_range = 20,
animation = {
speed_normal = 17,
speed_run = 20,
walk_start = 22,
walk_end = 62,
stand_start = 1,
stand_end = 1,
run_start = 21,
run_end = 62,
punch_start = 1,
punch_end = 21,
},
})
mobs:spawn_specific("horror:armor", {"default:cobblestone"}, {"default:stone_brick"}, 20, 10, 300, 15000, 2, -100, 11000)
mobs:register_egg("horror:armour", "Axe Armour", "default_stone.png", 1)
mobs:register_mob("horror:sam", {
type = "monster",
passive = false,
attacks_monsters = true,
damage = 1,
reach = 1,
attack_type = "dogfight",
hp_min = 30,
hp_max = 45,
armor = 80,
collisionbox = {-0.25, 0.35, -0.25, 0.25, 0.9, 0.25},
physical = false,
visual = "mesh",
mesh = "character.b3d",
textures = {
{"horror_sam.png"},
},
blood_texture = "mobs_blood.png",
visual_size = {x=1, y=1},
makes_footstep_sound = false,
walk_velocity = 0.01,
run_velocity = 5,
jump = false,
water_damage = 2,
lava_damage = 0,
light_damage = 0,
view_range = 20,
animation = {
speed_normal = 1,
speed_run = 1,
walk_start = 1,
walk_end = 1,
stand_start = 1,
stand_end = 1,
run_start = 1,
run_end = 1,
punch_start = 1,
punch_end = 1,
},
})
mobs:spawn_specific("horror:sam", {"default:cobblestone"}, {"default:stone_brick"}, 20, 10, 300, 15000, 2, -100, 11000)
mobs:register_egg("horror:sam", "Sam Head", "default_brick.png", 1)

BIN
models/armour.b3d Normal file

Binary file not shown.

BIN
models/armour.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

BIN
models/centipede.b3d Normal file

Binary file not shown.

BIN
models/centipede.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

BIN
models/demon.b3d Normal file

Binary file not shown.

BIN
models/demon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 KiB

BIN
models/dragon_new.b3d Normal file

Binary file not shown.

BIN
models/horror_dragon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 KiB

BIN
models/horror_sam.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
models/hspider.b3d Normal file

Binary file not shown.

BIN
models/hspider.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

View File

@ -0,0 +1 @@
Texture by Jordach License: CC BY-SA 3.1

BIN
models/manticore.b3d Normal file

Binary file not shown.

BIN
models/manticore.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 KiB

BIN
models/mothman.b3d Normal file

Binary file not shown.

BIN
models/mothman.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

BIN
models/skull.b3d Normal file

Binary file not shown.

BIN
models/skull.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 B

BIN
textures/horror_dust.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 B

BIN
textures/horror_flame2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

BIN
textures/horror_gfire.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 B

BIN
textures/horror_steam.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B