From a11e41bd754b81a26e7dcb0b0fd5b934ca3d97e9 Mon Sep 17 00:00:00 2001 From: D00Med Date: Sat, 4 Feb 2017 07:29:42 +1000 Subject: [PATCH] pirana --- mods/mobs_farlands/aquatic.lua | 53 ++++++++++++++++++++ mods/mobs_farlands/models/pirana.b3d | Bin 0 -> 13624 bytes mods/mobs_farlands/textures/mobs_pirana.png | Bin 0 -> 598 bytes 3 files changed, 53 insertions(+) create mode 100644 mods/mobs_farlands/models/pirana.b3d create mode 100644 mods/mobs_farlands/textures/mobs_pirana.png diff --git a/mods/mobs_farlands/aquatic.lua b/mods/mobs_farlands/aquatic.lua index ee42a66..c16780e 100644 --- a/mods/mobs_farlands/aquatic.lua +++ b/mods/mobs_farlands/aquatic.lua @@ -148,6 +148,59 @@ mobs:register_spawn("mobs_m:riverfish", {"default:river_water_source",}, 20, 10, mobs:register_egg("mobs_m:riverfish", "River Fish", "default_dirt.png", 1) +mobs:register_mob("mobs_m:pirana", { + type = "monster", + passive = false, + group_attack = true, + reach = 1, + damage = 0.5, + attack_type = "dogfight", + hp_min = 10, + hp_max = 25, + armor = 90, + collisionbox = {-0.2, 0, -0.2, 0.2, 0.4, 0.2}, + visual_size = {x=1.6, y=1.6}, + visual = "mesh", + mesh = "pirana.b3d", + textures = { + {"mobs_pirana.png"}, + }, + makes_footstep_sound = false, + view_range = 10, + walk_velocity = 3, + run_velocity = 6, + runaway = false, + runaway_timer = 40, + jump = false, + jump_height = 0, + stepheight = 0, + fly = true, + fly_in = "default:river_water_source", + fall_damage = 0, + fall_speed = 0, + drops = { + {name = "mobs_m:smallfish_raw", + chance = 9, min = 1, max = 1}, + }, + water_damage = 0, + lava_damage = 1, + light_damage = 0, + animation = { + speed_normal = 15, + speed_run = 20, + stand_start = 2, + stand_end = 30, + walk_start = 2, + walk_end = 30, + run_start = 2, + run_end = 30, + }, +}) + +mobs:register_spawn("mobs_m:pirana", {"default:river_water_source",}, 20, 10, 15000, 2, 11000) + +mobs:register_egg("mobs_m:pirana", "Pirana", "default_dirt.png", 1) + minetest.register_craftitem("mobs_m:smallfish_raw", { description = "Small Raw Fish", inventory_image = "mobs_smallfish_item.png", diff --git a/mods/mobs_farlands/models/pirana.b3d b/mods/mobs_farlands/models/pirana.b3d new file mode 100644 index 0000000000000000000000000000000000000000..3f3e5520eb91ac6416e1ec2e225a7524f3d27c7e GIT binary patch literal 13624 zcmeHNeRveb8Q&xj5Ksa{1OyU33@GN~at8^y+no@Di71dJLa`N!3fA(WdR6eAjG%6Sc0)2lwJ9l%Nz2u(yhfn)B&-1(4 zx%b_7X5RVD>@T^^%X8;v^jDM^MN#sKN0g*dZC+2CG5wCTj0_jGbrufpK?dalm0`p4 z2cPsP$~7}?9gpv%((p!M96Gq9uvr@(U}W))C2d;qpy)c5(6{~Jz;pc{2wd|)oY8l8 z2cziq1;(~(ax_I5OM^*Zuq$&PVZxr^9i)crHJY$@>m8em`(a;p={mYsA#gk53p?V6 z>^y!`cJwdqcZjb^b{4YN&>YPEH7Py|^$)w*f0Op6;!F84`{(&lbh&>ke`f!dol+EC zew$bybNmhCgA;sy&f|kUl%Iz8Cu0p8;Rn_?WEblb$}jAp_?BJDKjL$H6ZtjyC*p_J zHyA$xKZD~l`61?q`+5Gc{))0@!l@j$l3~mqJ*b8@pD}Ao3#0RxJacRq-?6(+<-C2m zjyc;EMcB2(U4iiXvHqd>4tBEEXpi=uQYrP%?EMS7b-!ds^cwA}9#bkYJ_oxF4`H{) zFWt}Qzi{HIoR5m;vc$O)ZR6J|KSeB-=3lxfHP_jm5VX&~sD^ST=MTLnFcIIut|NZT zianK5|I+w)|H5wFFWHgbBGzm9o=S|*!EW|1?AG|D`w>5Z9c(u+_lx2qfsKo=G{)_8 z1uBkjwboxZIgl5>LsQQFv$CN*In3U%u$G1254)m>_zmrd&+Wwz?-%`RvD=SnoPWH3 z+z-2Tzs*jM5{&Qo9&bZC?_b!h@k{r^UZb5HJ+MZazhJAHeaieeDe`ZO=dS&+VxcU)V$EBkVkWQ+D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