merge tenplus1/mobs_monster into master
This commit is contained in:
commit
85b8899395
@ -50,7 +50,7 @@ mobs:register_mob("mobs_monster:dirt_monster", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
mobs:register_spawn("mobs_monster:dirt_monster",
|
mobs:register_spawn("mobs_monster:dirt_monster",
|
||||||
{"default:dirt_with_grass", "ethereal:gray_dirt"}, 7, 0, 7000, 1, 31000, false)
|
{"default:dirt_with_grass", "ethereal:gray_dirt"}, 7, 0, 7000, 3, 31000, false)
|
||||||
|
|
||||||
mobs:register_egg("mobs_monster:dirt_monster", S("Dirt Monster"), "default_dirt.png", 1)
|
mobs:register_egg("mobs_monster:dirt_monster", S("Dirt Monster"), "default_dirt.png", 1)
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ mobs:register_mob("mobs_monster:dungeon_master", {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
mobs:register_spawn("mobs_monster:dungeon_master", {"default:stone"}, 7, 0, 7000, 1, -70)
|
mobs:register_spawn("mobs_monster:dungeon_master", {"default:stone"}, 7, 0, 7000, 2, -70)
|
||||||
|
|
||||||
mobs:register_egg("mobs_monster:dungeon_master", S("Dungeon Master"), "fire_basic_flame.png", 1, true)
|
mobs:register_egg("mobs_monster:dungeon_master", S("Dungeon Master"), "fire_basic_flame.png", 1, true)
|
||||||
|
|
||||||
@ -71,6 +71,9 @@ mobs:register_arrow("mobs_monster:fireball", {
|
|||||||
visual_size = {x = 1, y = 1},
|
visual_size = {x = 1, y = 1},
|
||||||
textures = {"mobs_fireball.png"},
|
textures = {"mobs_fireball.png"},
|
||||||
velocity = 6,
|
velocity = 6,
|
||||||
|
-- tail = 1,
|
||||||
|
-- tail_texture = "mobs_fireball.png",
|
||||||
|
-- tail_size = 10,
|
||||||
|
|
||||||
-- direct hit, no fire... just plenty of pain
|
-- direct hit, no fire... just plenty of pain
|
||||||
hit_player = function(self, player)
|
hit_player = function(self, player)
|
||||||
|
@ -51,10 +51,12 @@ mobs:register_mob("mobs_monster:lava_flan", {
|
|||||||
},
|
},
|
||||||
on_die = function(self, pos)
|
on_die = function(self, pos)
|
||||||
minetest.set_node(pos, {name = "fire:basic_flame"})
|
minetest.set_node(pos, {name = "fire:basic_flame"})
|
||||||
|
self.object:remove()
|
||||||
|
effect(pos, 20, "fire_basic_flame.png")
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
mobs:register_spawn("mobs_monster:lava_flan", {"default:lava_source"}, 15, 0, 1000, 2, 0)
|
mobs:register_spawn("mobs_monster:lava_flan", {"default:lava_source"}, 15, 0, 1000, 3, 0)
|
||||||
|
|
||||||
mobs:register_egg("mobs_monster:lava_flan", S("Lava Flan"), "default_lava.png", 1)
|
mobs:register_egg("mobs_monster:lava_flan", S("Lava Flan"), "default_lava.png", 1)
|
||||||
|
|
||||||
|
21
license.txt
Normal file
21
license.txt
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2016 TenPlus1
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
@ -54,7 +54,7 @@ mobs:register_mob("mobs_monster:mese_monster", {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
mobs:register_spawn("mobs_monster:mese_monster", {"default:stone"}, 7, 0, 5000, 1, -20)
|
mobs:register_spawn("mobs_monster:mese_monster", {"default:stone"}, 7, 0, 5000, 2, -20)
|
||||||
|
|
||||||
mobs:register_egg("mobs_monster:mese_monster", S("Mese Monster"), "default_mese_block.png", 1)
|
mobs:register_egg("mobs_monster:mese_monster", S("Mese Monster"), "default_mese_block.png", 1)
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ mobs:register_mob("mobs_monster:oerkki", {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
mobs:register_spawn("mobs_monster:oerkki", {"default:stone"}, 7, 0, 7000, 1, -10)
|
mobs:register_spawn("mobs_monster:oerkki", {"default:stone"}, 7, 0, 7000, 3, -10)
|
||||||
|
|
||||||
mobs:register_egg("mobs_monster:oerkki", S("Oerkki"), "default_obsidian.png", 1)
|
mobs:register_egg("mobs_monster:oerkki", S("Oerkki"), "default_obsidian.png", 1)
|
||||||
|
|
||||||
|
@ -35,4 +35,4 @@ Stone Monster
|
|||||||
|
|
||||||
Tree Monster
|
Tree Monster
|
||||||
|
|
||||||
- Found atop tree's at night time they drop down and look for food in the form of players. Can drop saplings and sometimes an apple or three.
|
- Found atop tree's at night time they drop down and look for food in the form of players and animals. Can drop saplings and sometimes an apple or three.
|
||||||
|
@ -55,7 +55,7 @@ mobs:register_mob("mobs_monster:sand_monster", {
|
|||||||
]]
|
]]
|
||||||
})
|
})
|
||||||
|
|
||||||
mobs:register_spawn("mobs_monster:sand_monster", {"default:desert_sand"}, 20, 0, 7000, 1, 31000)
|
mobs:register_spawn("mobs_monster:sand_monster", {"default:desert_sand"}, 20, 0, 7000, 4, 31000)
|
||||||
|
|
||||||
mobs:register_egg("mobs_monster:sand_monster", S("Sand Monster"), "default_desert_sand.png", 1)
|
mobs:register_egg("mobs_monster:sand_monster", S("Sand Monster"), "default_desert_sand.png", 1)
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ mobs:register_mob("mobs_monster:spider", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
mobs:register_spawn("mobs_monster:spider",
|
mobs:register_spawn("mobs_monster:spider",
|
||||||
{"default:desert_stone", "ethereal:crystal_dirt"}, 13, 0, 7000, 1, 71)
|
{"default:desert_stone", "ethereal:crystal_dirt"}, 13, 0, 7000, 3, 71)
|
||||||
|
|
||||||
mobs:register_egg("mobs_monster:spider", S("Spider"), "homedecor_cobweb.png", 1)
|
mobs:register_egg("mobs_monster:spider", S("Spider"), "homedecor_cobweb.png", 1)
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ mobs:register_mob("mobs_monster:stone_monster", {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
mobs:register_spawn("mobs_monster:stone_monster", {"default:stone", "default:desert_stone"}, 7, 0, 7000, 1, 0)
|
mobs:register_spawn("mobs_monster:stone_monster", {"default:stone", "default:desert_stone"}, 7, 0, 7000, 3, 0)
|
||||||
|
|
||||||
mobs:register_egg("mobs_monster:stone_monster", S("Stone Monster"), "default_stone.png", 1)
|
mobs:register_egg("mobs_monster:stone_monster", S("Stone Monster"), "default_stone.png", 1)
|
||||||
|
|
||||||
|
@ -7,6 +7,8 @@ mobs:register_mob("mobs_monster:tree_monster", {
|
|||||||
type = "monster",
|
type = "monster",
|
||||||
passive = false,
|
passive = false,
|
||||||
attack_type = "dogfight",
|
attack_type = "dogfight",
|
||||||
|
attack_animals = true,
|
||||||
|
--specific_attack = {"player", "mobs_animal:chicken"},
|
||||||
reach = 2,
|
reach = 2,
|
||||||
damage = 2,
|
damage = 2,
|
||||||
hp_min = 7,
|
hp_min = 7,
|
||||||
@ -52,7 +54,7 @@ mobs:register_mob("mobs_monster:tree_monster", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
mobs:register_spawn("mobs_monster:tree_monster",
|
mobs:register_spawn("mobs_monster:tree_monster",
|
||||||
{"default:leaves", "default:jungleleaves"}, 7, 0, 7000, 1, 31000, false)
|
{"default:leaves", "default:jungleleaves"}, 7, 0, 7000, 3, 31000, false)
|
||||||
|
|
||||||
mobs:register_egg("mobs_monster:tree_monster", S("Tree Monster"), "default_tree_top.png", 1)
|
mobs:register_egg("mobs_monster:tree_monster", S("Tree Monster"), "default_tree_top.png", 1)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user