diff --git a/.directory b/.directory new file mode 100644 index 0000000..7f56d68 --- /dev/null +++ b/.directory @@ -0,0 +1,4 @@ +[Dolphin] +PreviewsShown=true +Timestamp=2017,3,30,17,35,56 +Version=3 diff --git a/mudkip/init.lua b/mudkip/init.lua index f84570b..abcb856 100644 --- a/mudkip/init.lua +++ b/mudkip/init.lua @@ -28,79 +28,78 @@ local def = { - -- general - name = "poketest:mudkip", - stats = { - hp = 5, - lifetime = 300, -- 5 Minutes - can_jump = 1, - can_swim = true, - can_burn = true, - can_panic = true, - has_kockback = true, - sneaky = true, - }, + -- general + name = "poketest:mudkip", + stats = { + hp = 5, + lifetime = 300, -- 5 Minutes + can_jump = 1, + can_swim = true, + can_burn = true, + can_panic = true, + has_kockback = true, + sneaky = true, + }, + modes = { + idle = {chance = 0.25, duration = 5, update_yaw = 3}, + idle2 = {chance = 0.69, duration = 0.8}, + pick = {chance = 0.2, duration = 2}, + walk = {chance = 0.2, duration = 5.5, moving_speed = 0.7, update_yaw = 2}, + panic = {moving_speed = 2.1}, + lay_egg = {chance = 0.01, duration = 1}, + }, - modes = { - idle = {chance = 0.25, duration = 5, update_yaw = 3}, - idle2 = {chance = 0.69, duration = 0.8}, - pick = {chance = 0.2, duration = 2}, - walk = {chance = 0.2, duration = 5.5, moving_speed = 0.7, update_yaw = 2}, - panic = {moving_speed = 2.1}, - lay_egg = {chance = 0.01, duration = 1}, - }, + model = { + mesh = "poketest_mudkip.b3d", + textures = {"poketest_mudkip.png"}, + collisionbox = {-0.25, -0.01, -0.3, 0.25, 0.45, 0.3}, + rotation = -90, - model = { - mesh = "poketest_mudkip.b3d", - textures = {"poketest_mudkip.png"}, - collisionbox = {-0.25, -0.01, -0.3, 0.25, 0.45, 0.3}, - rotation = -90, + collide_with_objects = false, + animations = { + idle = {start = 0, stop = 1, speed = 10}, + idle2 = {start = 40, stop = 50, speed = 50}, + pick = {start = 88, stop = 134, speed = 50}, + walk = {start = 4, stop = 36, speed = 50}, + -- special modes + swim = {start = 51, stop = 87, speed = 40}, + panic = {start = 51, stop = 87, speed = 55}, + death = {start = 135, stop = 160, speed = 28, loop = false, duration = 2.12}, + }, + }, - collide_with_objects = false, - animations = { - idle = {start = 0, stop = 1, speed = 10}, - idle2 = {start = 40, stop = 50, speed = 50}, - pick = {start = 88, stop = 134, speed = 50}, - walk = {start = 4, stop = 36, speed = 50}, - -- special modes - swim = {start = 51, stop = 87, speed = 40}, - panic = {start = 51, stop = 87, speed = 55}, - death = {start = 135, stop = 160, speed = 28, loop = false, duration = 2.12}, - }, - }, + sounds = { + on_damage = {name = "poketest_mudkip_hit", gain = 0.5, distance = 10}, + on_death = {name = "poketest_mudkip_hit", gain = 0.5, distance = 10}, + swim = {name = "creatures_splash", gain = 1.0, distance = 10}, + random = { + idle = {name = "poketest_mudkip", gain = 0.9, distance = 12, time_min = 8, time_max = 50}, + }, + }, - sounds = { - on_damage = {name = "poketest_mudkip_hit", gain = 0.5, distance = 10}, - on_death = {name = "poketest_mudkip_hit", gain = 0.5, distance = 10}, - swim = {name = "creatures_splash", gain = 1.0, distance = 10}, - random = { - idle = {name = "poketest_mudkip", gain = 0.9, distance = 12, time_min = 8, time_max = 50}, - }, - }, + spawning = { + abm_nodes = { + spawn_on = {"default:dirt_with_grass", "default:dirt"}, + }, + abm_interval = 55, + abm_chance = 7800, + max_number = 1, + number = 1, + light = {min = 8, max = 15}, + height_limit = {min = 0, max = 150}, - spawning = { - abm_nodes = { - spawn_on = {"default:dirt_with_grass", "default:dirt"}, - }, - abm_interval = 55, - abm_chance = 7800, - max_number = 1, - number = 1, - light = {min = 8, max = 15}, - height_limit = {min = 0, max = 150}, + spawn_egg = { + description = "mudkip Spawn-Egg", + texture = "poketest_egg_mudkip.png", + }, + }, - spawn_egg = { - description = "mudkip Spawn-Egg", - texture = "poketest_egg_mudkip.png", - }, - }, + drops = { + {"creatures:flesh"}, - drops = { - {"default:meat"}, - - }, + }, } - + creatures.register_mob(def) diff --git a/pikachu/init.lua b/pikachu/init.lua index 3e057d2..b373819 100644 --- a/pikachu/init.lua +++ b/pikachu/init.lua @@ -27,79 +27,78 @@ local def = { - -- general - name = "poketest:pikachu", - stats = { - hp = 5, - lifetime = 300, -- 5 Minutes - can_jump = 1, - can_swim = true, - can_burn = true, - can_panic = true, - has_kockback = true, - sneaky = true, - }, + -- general + name = "poketest:pikachu", + stats = { + hp = 5, + lifetime = 300, -- 5 Minutes + can_jump = 1, + can_swim = true, + can_burn = true, + can_panic = true, + has_kockback = true, + sneaky = true, + }, + modes = { + idle = {chance = 0.25, duration = 5, update_yaw = 3}, + idle2 = {chance = 0.69, duration = 0.8}, + pick = {chance = 0.2, duration = 2}, + walk = {chance = 0.2, duration = 5.5, moving_speed = 0.7, update_yaw = 2}, + panic = {moving_speed = 2.1}, + lay_egg = {chance = 0.01, duration = 1}, + }, - modes = { - idle = {chance = 0.25, duration = 5, update_yaw = 3}, - idle2 = {chance = 0.69, duration = 0.8}, - pick = {chance = 0.2, duration = 2}, - walk = {chance = 0.2, duration = 5.5, moving_speed = 0.7, update_yaw = 2}, - panic = {moving_speed = 2.1}, - lay_egg = {chance = 0.01, duration = 1}, - }, + model = { + mesh = "poketest_pikachu.b3d", + textures = {"poketest_pikachu.png"}, + collisionbox = {-0.25, -0.01, -0.3, 0.25, 0.45, 0.3}, + rotation = 90.0, - model = { - mesh = "poketest_pikachu.b3d", - textures = {"poketest_pikachu.png"}, - collisionbox = {-0.25, -0.01, -0.3, 0.25, 0.45, 0.3}, - rotation = 90.0, + collide_with_objects = false, + animations = { + idle = {start = 0, stop = 1, speed = 10}, + idle2 = {start = 40, stop = 50, speed = 50}, + pick = {start = 88, stop = 134, speed = 50}, + walk = {start = 4, stop = 36, speed = 50}, + -- special modes + swim = {start = 51, stop = 87, speed = 40}, + panic = {start = 51, stop = 87, speed = 55}, + death = {start = 135, stop = 160, speed = 28, loop = false, duration = 2.12}, + }, + }, - collide_with_objects = false, - animations = { - idle = {start = 0, stop = 1, speed = 10}, - idle2 = {start = 40, stop = 50, speed = 50}, - pick = {start = 88, stop = 134, speed = 50}, - walk = {start = 4, stop = 36, speed = 50}, - -- special modes - swim = {start = 51, stop = 87, speed = 40}, - panic = {start = 51, stop = 87, speed = 55}, - death = {start = 135, stop = 160, speed = 28, loop = false, duration = 2.12}, - }, - }, + sounds = { + on_damage = {name = "poketest_pikachu_hit", gain = 0.5, distance = 10}, + on_death = {name = "poketest_pikachu_hit", gain = 0.5, distance = 10}, + swim = {name = "creatures_splash", gain = 1.0, distance = 10}, + random = { + idle = {name = "poketest_pikachu", gain = 0.9, distance = 12, time_min = 8, time_max = 50}, + }, + }, - sounds = { - on_damage = {name = "poketest_pikachu_hit", gain = 0.5, distance = 10}, - on_death = {name = "poketest_pikachu_hit", gain = 0.5, distance = 10}, - swim = {name = "creatures_splash", gain = 1.0, distance = 10}, - random = { - idle = {name = "poketest_pikachu", gain = 0.9, distance = 12, time_min = 8, time_max = 50}, - }, - }, + spawning = { + abm_nodes = { + spawn_on = {"default:dirt_with_grass", "default:dirt"}, + }, + abm_interval = 55, + abm_chance = 7800, + max_number = 1, + number = 1, + light = {min = 8, max = 15}, + height_limit = {min = 0, max = 150}, - spawning = { - abm_nodes = { - spawn_on = {"default:dirt_with_grass", "default:dirt"}, - }, - abm_interval = 55, - abm_chance = 7800, - max_number = 1, - number = 1, - light = {min = 8, max = 15}, - height_limit = {min = 0, max = 150}, + spawn_egg = { + description = "Pikachu Spawn-Egg", + texture = "poketest_egg_pikachu.png", + }, + }, - spawn_egg = { - description = "Pikachu Spawn-Egg", - texture = "poketest_egg_pikachu.png", - }, - }, + drops = { + {"creatures:flesh"}, - drops = { - {"default:meat"}, - - }, + }, } - + creatures.register_mob(def) diff --git a/togedemaru/.directory b/togedemaru/.directory new file mode 100644 index 0000000..2013511 --- /dev/null +++ b/togedemaru/.directory @@ -0,0 +1,3 @@ +[Dolphin] +Timestamp=2017,3,31,17,44,35 +Version=3 diff --git a/togedemaru/depends.txt b/togedemaru/depends.txt new file mode 100644 index 0000000..f8d82c5 --- /dev/null +++ b/togedemaru/depends.txt @@ -0,0 +1,2 @@ +default +creatures diff --git a/togedemaru/init.lua b/togedemaru/init.lua new file mode 100644 index 0000000..50b14fc --- /dev/null +++ b/togedemaru/init.lua @@ -0,0 +1,104 @@ +--= togedemaru for poketesr (cme) =-- +--engine: Copyright (c) 2015-2016 BlockMen +--poketest: Copyright (c) 2017 MBB +-- init.lua +-- +--POKETEST USES BLOCKMENĀ“S CREATURES MOB ENGINE +-- +--ENGINE: +-- +-- This software is provided 'as-is', without any express or implied warranty. In no +-- event will the authors be held liable for any damages arising from the use of +-- this software. +-- +-- Permission is granted to anyone to use this software for any purpose, including +-- commercial applications, and to alter it and redistribute it freely, subject to the +-- following restrictions: +-- +-- 1. The origin of this software must not be misrepresented; you must not +-- claim that you wrote the original software. If you use this software in a +-- product, an acknowledgment in the product documentation is required. +-- 2. Altered source versions must be plainly marked as such, and must not +-- be misrepresented as being the original software. +-- 3. This notice may not be removed or altered from any source distribution. +-- + + + + +local def = { + -- general + name = "poketest:togedemaru", + stats = { + hp = 5, + lifetime = 300, -- 5 Minutes + can_jump = 1, + can_swim = true, + can_burn = true, + can_panic = true, + has_kockback = true, + sneaky = true, + }, + + modes = { + idle = {chance = 0.25, duration = 5, update_yaw = 3}, + idle2 = {chance = 0.69, duration = 0.8}, + pick = {chance = 0.2, duration = 2}, + walk = {chance = 0.2, duration = 5.5, moving_speed = 0.7, update_yaw = 2}, + panic = {moving_speed = 2.1}, + lay_egg = {chance = 0.01, duration = 1}, + }, + + model = { + mesh = "poketest_togedemaru.b3d", + textures = {"poketest_togedemaru.png"}, + collisionbox = {-0.25, -0.01, -0.3, 0.25, 0.45, 0.3}, + rotation = -180.0, + + collide_with_objects = false, + animations = { + idle = {start = 0, stop = 1, speed = 10}, + idle2 = {start = 40, stop = 50, speed = 50}, + pick = {start = 88, stop = 134, speed = 50}, + walk = {start = 4, stop = 36, speed = 50}, + -- special modes + swim = {start = 51, stop = 87, speed = 40}, + panic = {start = 51, stop = 87, speed = 55}, + death = {start = 135, stop = 160, speed = 28, loop = false, duration = 2.12}, + }, + }, + + sounds = { + on_damage = {name = "poketest_togedemaru_hit", gain = 0.5, distance = 10}, + on_death = {name = "poketest_togedemaru_hit", gain = 0.5, distance = 10}, + swim = {name = "creatures_splash", gain = 1.0, distance = 10}, + random = { + idle = {name = "poketest_togedemaru", gain = 0.9, distance = 12, time_min = 8, time_max = 50}, + }, + }, + + spawning = { + abm_nodes = { + spawn_on = {"default:dirt_with_grass", "default:dirt"}, + }, + abm_interval = 55, + abm_chance = 7800, + max_number = 1, + number = 1, + light = {min = 8, max = 15}, + height_limit = {min = 0, max = 150}, + + spawn_egg = { + description = "togedemaru Spawn-Egg", + texture = "poketest_egg_togedemaru.png", + }, + }, + + drops = { + {"creatures:flesh"}, + + }, +} + + +creatures.register_mob(def) diff --git a/togedemaru/models/poketest_togedemaru.b3d b/togedemaru/models/poketest_togedemaru.b3d new file mode 100644 index 0000000..af6c79b Binary files /dev/null and b/togedemaru/models/poketest_togedemaru.b3d differ diff --git a/togedemaru/textures/poketest_egg_togedemaru.png b/togedemaru/textures/poketest_egg_togedemaru.png new file mode 100644 index 0000000..9f12400 Binary files /dev/null and b/togedemaru/textures/poketest_egg_togedemaru.png differ diff --git a/togedemaru/textures/poketest_togedemaru.png b/togedemaru/textures/poketest_togedemaru.png new file mode 100644 index 0000000..d626898 Binary files /dev/null and b/togedemaru/textures/poketest_togedemaru.png differ diff --git a/torchick/init.lua b/torchick/init.lua index f84a11f..f473e67 100644 --- a/torchick/init.lua +++ b/torchick/init.lua @@ -1,7 +1,7 @@ --= torchick for poketesr (cme) =-- --engine: Copyright (c) 2015-2016 BlockMen --poketest: Copyright (c) 2017 MBB ---NODEBOX OF THIS POKEMON BY +--NODEBOX OF THIS POKEMON BY -- init.lua -- --POKETEST USES BLOCKMENĀ“S CREATURES MOB ENGINE @@ -96,7 +96,7 @@ local def = { }, drops = { - {"default:meat"}, + {"creatures:flesh"}, }, }