diff --git a/dirt_monster.lua b/dirt_monster.lua index 2753320..675da01 100644 --- a/dirt_monster.lua +++ b/dirt_monster.lua @@ -50,7 +50,7 @@ mobs:register_mob("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) diff --git a/dungeon_master.lua b/dungeon_master.lua index 7ace6a6..aa6ca6f 100644 --- a/dungeon_master.lua +++ b/dungeon_master.lua @@ -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) @@ -71,6 +71,9 @@ mobs:register_arrow("mobs_monster:fireball", { visual_size = {x = 1, y = 1}, textures = {"mobs_fireball.png"}, velocity = 6, +-- tail = 1, +-- tail_texture = "mobs_fireball.png", +-- tail_size = 10, -- direct hit, no fire... just plenty of pain hit_player = function(self, player) diff --git a/lava_flan.lua b/lava_flan.lua index 6a31cbe..0d00606 100644 --- a/lava_flan.lua +++ b/lava_flan.lua @@ -51,10 +51,12 @@ mobs:register_mob("mobs_monster:lava_flan", { }, on_die = function(self, pos) minetest.set_node(pos, {name = "fire:basic_flame"}) + self.object:remove() + effect(pos, 20, "fire_basic_flame.png") 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) diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..fec6f6a --- /dev/null +++ b/license.txt @@ -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. diff --git a/mese_monster.lua b/mese_monster.lua index bf5eefd..dbcf209 100644 --- a/mese_monster.lua +++ b/mese_monster.lua @@ -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) diff --git a/oerkki.lua b/oerkki.lua index beeb5dc..c869531 100644 --- a/oerkki.lua +++ b/oerkki.lua @@ -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) diff --git a/readme.md b/readme.md index 043b25a..fd18d2d 100644 --- a/readme.md +++ b/readme.md @@ -35,4 +35,4 @@ Stone 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. diff --git a/sand_monster.lua b/sand_monster.lua index ea87814..d378b99 100644 --- a/sand_monster.lua +++ b/sand_monster.lua @@ -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) diff --git a/spider.lua b/spider.lua index f2492ae..ef31b83 100644 --- a/spider.lua +++ b/spider.lua @@ -53,7 +53,7 @@ mobs:register_mob("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) diff --git a/stone_monster.lua b/stone_monster.lua index f4ea6f2..124b730 100644 --- a/stone_monster.lua +++ b/stone_monster.lua @@ -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) diff --git a/tree_monster.lua b/tree_monster.lua index 29df76c..0856955 100644 --- a/tree_monster.lua +++ b/tree_monster.lua @@ -7,6 +7,8 @@ mobs:register_mob("mobs_monster:tree_monster", { type = "monster", passive = false, attack_type = "dogfight", + attack_animals = true, + --specific_attack = {"player", "mobs_animal:chicken"}, reach = 2, damage = 2, hp_min = 7, @@ -52,7 +54,7 @@ mobs:register_mob("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)