Commit 0c7eb557 authored by Milan's avatar Milan

add first modifications

parent 8955af2c
......@@ -2,3 +2,6 @@
Thanks to TenPlus1, blert2112, and taikedz
** This mod has been modified for the Illuna Minetestservers, it may not work for you as expected.
Check out the original one here: https://github.com/D00Med/dmobs **
minetest.register_alias("dragons:dragons_armor_steel", "dmobs:dragon_armor_steel")
minetest.register_alias("dragons:dragons_gem_fire", "dmobs:dragon_gem_fire")
minetest.register_alias("dragons:dragon", "dmobs:dragon")
minetest.register_alias("dragons:dragon2", "dmobs:dragon2")
minetest.register_alias("dragons:dragon3", "dmobs:dragon3")
minetest.register_alias("dragons:dragon4", "dmobs:dragon4")
minetest.register_alias("dragons:egg", "dmobs:egg")
minetest.register_alias("dragons:egg_great", "dmobs:dragon_egg_great")
minetest.register_alias("dragons:dragon_gem", "dmobs:dragon_gem")
minetest.register_alias("dragons:dragon_gem_lightning", "dmobs:dragon_gem_lightning")
minetest.register_alias("dragons:dragon_gem_fire", "dmobs:dragon_gem_fire")
minetest.register_alias("dragons:dragon_gem_poison", "dmobs:dragon_gem_poison")
minetest.register_alias("dragons:dragon_gem_ice", "dmobs:dragon_gem_ice")
minetest.register_alias("dragons:poison", "dmobs:poison")
minetest.register_alias("dragons:dragon_red", "dmobs:dragon_red")
minetest.register_alias("dragons:dragon_black", "dmobs:dragon_black")
minetest.register_alias("dragons:dragon_green", "dmobs:dragon:green")
minetest.register_alias("dragons:dragon_blue", "dmobs:dragon_blue")
minetest.register_alias("dragons:dragon_egg_fire", "dmobs:dragon_egg_fire")
minetest.register_alias("dragons:dragon_egg_lighting", "dmobs:dragon_egg_lighning")
minetest.register_alias("dragons:dragon_egg_poison", "dmobs:dragon_egg_poison")
minetest.register_alias("dragons:dragon_egg_ice", "dmobs:dragon_egg_ice")
......@@ -2,8 +2,8 @@ local dragondef = {
type = "monster",
passive = false,
attacks_monsters = true,
damage = 4,
reach = 3,
damage = 22,
reach = 6,
attack_type = "dogshoot",
shoot_interval = 2.5,
dogshoot_switch = 2,
......@@ -11,9 +11,9 @@ local dragondef = {
dogshoot_count_max =5,
arrow = "dmobs:fire",
shoot_offset = 1,
hp_min = 70,
hp_max = 100,
armor = 100,
hp_min = 680,
hp_max = 850,
armor = 1200,
collisionbox = {-0.6, -1.2, -0.6, 0.6, 0.6, 0.6},
visual = "mesh",
mesh = "dragon.b3d",
......@@ -33,8 +33,8 @@ local dragondef = {
sounds = {
shoot_attack = "mobs_fireball",
},
walk_velocity = 3,
run_velocity = 5,
walk_velocity = 6,
run_velocity = 11,
jump = true,
fly = true,
drops = {
......
......@@ -2,8 +2,8 @@ local dragondef = {
type = "monster",
passive = false,
attacks_monsters = true,
damage = 4,
reach = 3,
damage = 22,
reach = 6,
attack_type = "dogshoot",
shoot_interval = 2.5,
dogshoot_switch = 2,
......@@ -11,9 +11,9 @@ local dragondef = {
dogshoot_count_max =5,
arrow = "dmobs:lightning",
shoot_offset = 1,
hp_min = 70,
hp_max = 100,
armor = 100,
hp_min = 680,
hp_max = 850,
armor = 1200,
collisionbox = {-0.6, -1.2, -0.6, 0.6, 0.6, 0.6},
visual = "mesh",
mesh = "dragon.b3d",
......@@ -33,8 +33,8 @@ local dragondef = {
sounds = {
shoot_attack = "mobs_fireball",
},
walk_velocity = 3,
run_velocity = 5,
walk_velocity = 8,
run_velocity = 14,
jump = true,
fly = true,
drops = {
......
......@@ -2,8 +2,8 @@ local dragondef = {
type = "monster",
passive = false,
attacks_monsters = true,
damage = 4,
reach = 3,
damage = 18,
reach = 5,
attack_type = "dogshoot",
shoot_interval = 2.5,
dogshoot_switch = 2,
......@@ -11,9 +11,9 @@ local dragondef = {
dogshoot_count_max =5,
arrow = "dmobs:poison",
shoot_offset = 1,
hp_min = 70,
hp_max = 100,
armor = 100,
hp_min = 700,
hp_max = 1250,
armor = 1000,
collisionbox = {-0.6, -1.2, -0.6, 0.6, 0.6, 0.6},
visual = "mesh",
mesh = "dragon.b3d",
......@@ -33,8 +33,8 @@ local dragondef = {
sounds = {
shoot_attack = "mobs_fireball",
},
walk_velocity = 3,
run_velocity = 5,
walk_velocity = 6,
run_velocity = 10,
jump = true,
fly = true,
drops = {
......
......@@ -2,8 +2,8 @@ local dragondef = {
type = "monster",
passive = false,
attacks_monsters = true,
damage = 4,
reach = 3,
damage = 32,
reach = 7,
attack_type = "dogshoot",
shoot_interval = 2.5,
dogshoot_switch = 2,
......@@ -11,9 +11,9 @@ local dragondef = {
dogshoot_count_max =5,
arrow = "dmobs:ice",
shoot_offset = 1,
hp_min = 70,
hp_max = 100,
armor = 100,
hp_min = 900,
hp_max = 1600,
armor = 2100,
collisionbox = {-0.6, -1.2, -0.6, 0.6, 0.6, 0.6},
visual = "mesh",
mesh = "dragon.b3d",
......@@ -33,8 +33,8 @@ local dragondef = {
sounds = {
shoot_attack = "mobs_fireball",
},
walk_velocity = 3,
run_velocity = 5,
walk_velocity = 11,
run_velocity = 18,
jump = true,
fly = true,
drops = {
......
......@@ -38,6 +38,12 @@ minetest.register_craftitem("dmobs:dragon_gem", {
-- mobs:spawn_specific("dmobs:dragon3", {"air"}, {"default:stone"}, 20, 10, 300, 15000, 2, -100, 11000)
-- mobs:spawn_specific("dmobs:dragon4", {"air"}, {"default:stone"}, 20, 10, 300, 15000, 2, -100, 11000)
mobs:spawn_specific("dragons:dragon1", {"caverealms:glow_ruby"}, {"caverealms:glow_ruby_ore", "default:air"}, 2, 14, 120, 90000, 1, -28000, -17000, nil)
mobs:spawn_specific("dragons:dragon2", {"caverealms:glow_mese"}, {"default:stone_with_mese", "default:air"}, 2, 14, 120, 90000, 1, -28000, -17000, nil)
mobs:spawn_specific("dragons:dragon3", {"caverealms:glow_emerald"}, {"caverealms:glow_emerald_ore", "default:air"}, 2, 14, 120, 90000, 1, -28000, -17000, nil)
mobs:spawn_specific("dragons:dragon4", {"caverealms:glow_ore", "caverealms:thin_ice"}, {"default:ice", "default:air"}, 2, 14, 120, 60000, 1, -28000, -17000, nil)
mobs:spawn_specific("dragons:dragon1", {"loud_walking:stone_with_moss", "loud_walking:stone_with_salt"}, {"default:air"}, 2, 14, 120, 90000, 1, 30100, 29950, nil)
mobs:register_egg("dmobs:dragon", "Wild Fire Dragon", "default_apple.png", 1)
mobs:register_egg("dmobs:dragon2", "Wild Lightning Dragon", "default_mese_crystal.png", 1)
......
......@@ -98,6 +98,7 @@ else
loadmob("wyvern","/dragons/")
dofile(minetest.get_modpath("dmobs").."/dragons/eggs.lua")
dofile(minetest.get_modpath("dmobs").."/dragons/aliases.lua")
end
dofile(minetest.get_modpath("dmobs").."/arrows/dragonfire.lua")
dofile(minetest.get_modpath("dmobs").."/arrows/dragonarrows.lua")
......
......@@ -40,13 +40,19 @@ end
-- dragons
mobs:register_spawn("dmobs:dragon", {"default:leaves","default:dirt_with_grass"}, 20, 10, 64000, 2, 31000)
--mobs:register_spawn("dmobs:dragon", {"default:leaves","default:dirt_with_grass"}, 20, 10, 64000, 2, 31000)
if dmobs.dragons then
mobs:register_spawn("dmobs:dragon2", {"default:pine_needles"}, 20, 10, 64000, 2, 31000)
mobs:register_spawn("dmobs:dragon3", {"default:acacia_leaves","default:dirt_with_dry_grass"}, 20, 10, 64000, 2, 31000)
mobs:register_spawn("dmobs:dragon4", {"default:jungleleaves"}, 20, 10, 64000, 2, 31000)
mobs:register_spawn("dmobs:waterdragon", {"default:water_source"}, 20, 10, 32000, 1, 31000, false)
mobs:register_spawn("dmobs:wyvern", {"default:leaves"}, 20, 10, 32000, 1, 31000, false)
mobs:register_spawn("dmobs:dragon_great", {"default:lava_source"}, 20, 0, 64000, -21000, 1000, false)
--mobs:register_spawn("dmobs:dragon2", {"default:pine_needles"}, 20, 10, 64000, 2, 31000)
--mobs:register_spawn("dmobs:dragon3", {"default:acacia_leaves","default:dirt_with_dry_grass"}, 20, 10, 64000, 2, 31000)
--mobs:register_spawn("dmobs:dragon4", {"default:jungleleaves"}, 20, 10, 64000, 2, 31000)
--mobs:register_spawn("dmobs:waterdragon", {"default:water_source"}, 20, 10, 32000, 1, 31000, false)
--mobs:register_spawn("dmobs:wyvern", {"default:leaves"}, 20, 10, 32000, 1, 31000, false)
--mobs:register_spawn("dmobs:dragon_great", {"default:lava_source"}, 20, 0, 64000, -21000, 1000, false)
mobs:spawn_specific("dmobs:dragon1", {"caverealms:glow_ruby"}, {"caverealms:glow_ruby_ore", "default:air"}, 2, 14, 120, 90000, 1, -28000, -17000, nil)
mobs:spawn_specific("dmobs:dragon2", {"caverealms:glow_mese"}, {"default:stone_with_mese", "default:air"}, 2, 14, 120, 90000, 1, -28000, -17000, nil)
mobs:spawn_specific("dmobs:dragon3", {"caverealms:glow_emerald"}, {"caverealms:glow_emerald_ore", "default:air"}, 2, 14, 120, 90000, 1, -28000, -17000, nil)
mobs:spawn_specific("dmobs:dragon4", {"caverealms:glow_ore", "caverealms:thin_ice"}, {"default:ice", "default:air"}, 2, 14, 120, 60000, 1, -28000, -17000, nil)
mobs:spawn_specific("dmobs:dragon2", {"loud_walking:stone_with_moss", "loud_walking:stone_with_salt"}, {"default:air"}, 2, 14, 120, 90000, 1, 30100, 29950, nil)
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment