Added mobs

Added dark wizard mob, still useless at this point, gonna continue
working hard on it
master
Misael Roman 2012-09-27 17:29:27 -05:00
parent 27f5df5b5c
commit 6f2dbad933
6 changed files with 32 additions and 217 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -8,7 +8,7 @@ Version 9.27.12
dofile(minetest.get_modpath("harrytestmobs").."/api.lua")
--------Passive Mobs
--------Mobs
--- 1. Good Wizards
mobs:register_mob("harrytestmobs:good_wizard", {
@ -37,4 +37,34 @@ mobs:register_mob("harrytestmobs:good_wizard", {
light_damage = 0,
attack_type = "dogfight",
})
mobs:register_spawn("harrytestmobs:good_wizard", {"default:dirt_with_grass"}, 20, 8, 5000, 0, 31000)
mobs:register_spawn("harrytestmobs:good_wizard", {"default:dirt_with_grass"}, 20, 8, 5000, 0, 31000)
--- 2. Dark Wizards
mobs:register_mob("harrytestmobs:dark_wizard", {
type = "animal",
hp_max = 5,
collisionbox = {-0.4, -1, -0.4, 0.4, 1, 0.4},
visual = "upright_sprite",
visual_size = {x=1, y=2},
textures = {"dwizard_front.png", "dwizard_back.png"},
makes_footstep_sound = true,
view_range = 10,
walk_velocity = 0.5,
run_velocity = 2,
damage = 3,
drops = {
{name = "default:mossycobble",
chance = 1,
min = 3,
max = 5,},
},
light_resistant = true,
armor = 2,
drawtype = "front",
water_damage = 0,
lava_damage = 0,
light_damage = 0,
attack_type = "dogfight",
})
mobs:register_spawn("harrytestmobs:dark_wizard", {"default:dirt_with_grass"}, 20, 8, 5000, 0, 31000)

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -1 +0,0 @@
default

View File

@ -1,214 +0,0 @@
--[[
****
Custom Mod For Creative Server
by LandMine
Version 9.15.12
****
--]]
-- Blocks
----SOLID
minetest.register_node("lmb:asphalt", {
description = "Asphalt",
tile_images = {"asphalt.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:checkeredwood", {
description = "Checkered Wood",
tile_images = {"checkeredwood.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:checkeredwool", {
description = "Checkered Wool",
tile_images = {"checkeredwool.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:chessboard", {
description = "Chess Board",
tile_images = {"ChessBoard.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:coalblock", {
description = "Coal Block",
tile_images = {"coalblock.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:clock", {
description = "Clock",
tile_images = {"Clock.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:cobbleblock", {
description = "Cobble Block",
tile_images = {"cobbleblock.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:concrete", {
description = "Concrete",
tile_images = {"concrete.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:crate", {
description = "Crate",
tile_images = {"Crate.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:diamond", {
description = "Diamond Block",
tile_images = {"diamond.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:goldblock", {
description = "Gold Block",
tile_images = {"goldblock.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:gunpowderblock", {
description = "Powder Block",
tile_images = {"gunpowderblock.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:haybale", {
description = "Hay Bale",
tile_images = {"HayBale.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:largebrick", {
description = "Large Brick",
tile_images = {"largebrick.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:lavarock", {
description = "Lava Rock",
tile_images = {"lavarock.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:limestone", {
description = "Lime Stone",
tile_images = {"limestone.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:marble", {
description = "Marble",
tile_images = {"marble.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:marbletile", {
description = "Marbletile",
tile_images = {"marbletile.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:sandbricks", {
description = "Sand Bricks",
tile_images = {"SandBricks.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:slimeblock", {
description = "Slime Block",
tile_images = {"slimeblock.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:squareblock", {
description = "Square Block",
tile_images = {"squareblock.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:stoneblock", {
description = "StoneB lock",
tile_images = {"stoneblock.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("lmb:map", {
description = "Map",
drawtype = "signlike",
tile_images = {"Map.png"},
inventory_image = "Map.png",
wield_image = "Map.png",
paramtype = "light",
paramtype2 = "wallmounted",
is_ground_content = true,
walkable = false,
climbable = false,
selection_box = {
type = "wallmounted",
},
groups = {snappy=3,flammable=2},
sounds = default.node_sound_leaves_defaults(),
legacy_wallmounted = true,
})