diff --git a/depends.txt b/depends.txt index 331d858..7c506cf 100644 --- a/depends.txt +++ b/depends.txt @@ -1 +1,2 @@ -default \ No newline at end of file +default +mobs? \ No newline at end of file diff --git a/init.lua b/init.lua index 9820b00..d548b48 100644 --- a/init.lua +++ b/init.lua @@ -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) diff --git a/mobs.lua b/mobs.lua index e69de29..123bf03 100644 --- a/mobs.lua +++ b/mobs.lua @@ -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) diff --git a/models/armour.b3d b/models/armour.b3d new file mode 100644 index 0000000..7518ed3 Binary files /dev/null and b/models/armour.b3d differ diff --git a/models/armour.png b/models/armour.png new file mode 100644 index 0000000..4a878f0 Binary files /dev/null and b/models/armour.png differ diff --git a/models/centipede.b3d b/models/centipede.b3d new file mode 100644 index 0000000..0952d5b Binary files /dev/null and b/models/centipede.b3d differ diff --git a/models/centipede.png b/models/centipede.png new file mode 100644 index 0000000..ae49cb3 Binary files /dev/null and b/models/centipede.png differ diff --git a/models/centipede_segment.b3d b/models/centipede_segment.b3d new file mode 100644 index 0000000..f3c0f21 Binary files /dev/null and b/models/centipede_segment.b3d differ diff --git a/models/demon.b3d b/models/demon.b3d new file mode 100644 index 0000000..0248882 Binary files /dev/null and b/models/demon.b3d differ diff --git a/models/demon.png b/models/demon.png new file mode 100644 index 0000000..516e6ae Binary files /dev/null and b/models/demon.png differ diff --git a/models/dragon_new.b3d b/models/dragon_new.b3d new file mode 100644 index 0000000..7c86b0b Binary files /dev/null and b/models/dragon_new.b3d differ diff --git a/models/horror_dragon.png b/models/horror_dragon.png new file mode 100644 index 0000000..d67b9b8 Binary files /dev/null and b/models/horror_dragon.png differ diff --git a/models/horror_sam.png b/models/horror_sam.png new file mode 100644 index 0000000..2ca6eca Binary files /dev/null and b/models/horror_sam.png differ diff --git a/models/hspider.b3d b/models/hspider.b3d new file mode 100644 index 0000000..378b101 Binary files /dev/null and b/models/hspider.b3d differ diff --git a/models/hspider.png b/models/hspider.png new file mode 100644 index 0000000..f8085b5 Binary files /dev/null and b/models/hspider.png differ diff --git a/models/license of horror_sam.txt b/models/license of horror_sam.txt new file mode 100644 index 0000000..cbd2c39 --- /dev/null +++ b/models/license of horror_sam.txt @@ -0,0 +1 @@ +Texture by Jordach License: CC BY-SA 3.1 \ No newline at end of file diff --git a/models/manticore.b3d b/models/manticore.b3d new file mode 100644 index 0000000..f81d28a Binary files /dev/null and b/models/manticore.b3d differ diff --git a/models/manticore.png b/models/manticore.png new file mode 100644 index 0000000..5b96c10 Binary files /dev/null and b/models/manticore.png differ diff --git a/models/mothman.b3d b/models/mothman.b3d new file mode 100644 index 0000000..082c699 Binary files /dev/null and b/models/mothman.b3d differ diff --git a/models/mothman.png b/models/mothman.png new file mode 100644 index 0000000..7de5628 Binary files /dev/null and b/models/mothman.png differ diff --git a/models/skull.b3d b/models/skull.b3d new file mode 100644 index 0000000..493023f Binary files /dev/null and b/models/skull.b3d differ diff --git a/models/skull.png b/models/skull.png new file mode 100644 index 0000000..ff507a7 Binary files /dev/null and b/models/skull.png differ diff --git a/textures/horror_candlestick_side.png b/textures/horror_candlestick_side.png new file mode 100644 index 0000000..20f2b19 Binary files /dev/null and b/textures/horror_candlestick_side.png differ diff --git a/textures/horror_candlestick_top.png b/textures/horror_candlestick_top.png new file mode 100644 index 0000000..9ff3b53 Binary files /dev/null and b/textures/horror_candlestick_top.png differ diff --git a/textures/horror_dust.png b/textures/horror_dust.png new file mode 100644 index 0000000..840d2c4 Binary files /dev/null and b/textures/horror_dust.png differ diff --git a/textures/horror_fireball.png b/textures/horror_fireball.png new file mode 100644 index 0000000..285787e Binary files /dev/null and b/textures/horror_fireball.png differ diff --git a/textures/horror_flame2.png b/textures/horror_flame2.png new file mode 100644 index 0000000..6148f9a Binary files /dev/null and b/textures/horror_flame2.png differ diff --git a/textures/horror_gfire.png b/textures/horror_gfire.png new file mode 100644 index 0000000..d967d5e Binary files /dev/null and b/textures/horror_gfire.png differ diff --git a/textures/horror_gfire_inv.png b/textures/horror_gfire_inv.png new file mode 100644 index 0000000..0582bad Binary files /dev/null and b/textures/horror_gfire_inv.png differ diff --git a/textures/horror_steam.png b/textures/horror_steam.png new file mode 100644 index 0000000..9403dd1 Binary files /dev/null and b/textures/horror_steam.png differ