diff --git a/harrytest/textures/wand.png b/harrytest/textures/wand.png index d027ccb..7502422 100644 Binary files a/harrytest/textures/wand.png and b/harrytest/textures/wand.png differ diff --git a/harrytestmobs/init.lua b/harrytestmobs/init.lua index 9b77dbd..06bd7a8 100644 --- a/harrytestmobs/init.lua +++ b/harrytestmobs/init.lua @@ -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) \ No newline at end of file +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) \ No newline at end of file diff --git a/harrytestmobs/textures/dwizard_back.png b/harrytestmobs/textures/dwizard_back.png new file mode 100644 index 0000000..2a3a2cb Binary files /dev/null and b/harrytestmobs/textures/dwizard_back.png differ diff --git a/harrytestmobs/textures/dwizard_front.png b/harrytestmobs/textures/dwizard_front.png new file mode 100644 index 0000000..b3ce5ad Binary files /dev/null and b/harrytestmobs/textures/dwizard_front.png differ diff --git a/harrytestspells/depends.txt b/harrytestspells/depends.txt deleted file mode 100644 index 562cf63..0000000 --- a/harrytestspells/depends.txt +++ /dev/null @@ -1 +0,0 @@ -default diff --git a/harrytestspells/init.lua b/harrytestspells/init.lua deleted file mode 100644 index 884e055..0000000 --- a/harrytestspells/init.lua +++ /dev/null @@ -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, -}) -