commit f18ae6384c6e020149c185650175b43cc75d66e3 Author: Thierry Vercruysse Date: Fri Mar 25 20:56:08 2016 +0100 Initial commit diff --git a/License.txt b/License.txt new file mode 100644 index 0000000..dc926b2 --- /dev/null +++ b/License.txt @@ -0,0 +1,21 @@ +Licenses + +Model/Textures: WTFPL +Author: crustyserve + +*************** + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2004 Sam Hocevar + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. + diff --git a/blender/dolphin-pink.png b/blender/dolphin-pink.png new file mode 100644 index 0000000..1bd2943 Binary files /dev/null and b/blender/dolphin-pink.png differ diff --git a/blender/link.md b/blender/link.md new file mode 100644 index 0000000..eb230d4 --- /dev/null +++ b/blender/link.md @@ -0,0 +1 @@ +http://minecraft.novaskin.me/resourcepacks#mocreatures/assets/mocreatures/textures/models/dolphin5.png \ No newline at end of file diff --git a/blender/mobs_dolphin-1.blend b/blender/mobs_dolphin-1.blend new file mode 100644 index 0000000..e63cf01 Binary files /dev/null and b/blender/mobs_dolphin-1.blend differ diff --git a/blender/mobs_dolphin-1.blend1 b/blender/mobs_dolphin-1.blend1 new file mode 100644 index 0000000..82e34a2 Binary files /dev/null and b/blender/mobs_dolphin-1.blend1 differ diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..cc03398 --- /dev/null +++ b/depends.txt @@ -0,0 +1,2 @@ +default +mobs diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..ab1a32c --- /dev/null +++ b/init.lua @@ -0,0 +1,59 @@ +if mobs.mod and mobs.mod == "redo" then + + local l_water_level = minetest.setting_get("water_level") - 1 + + mobs:register_mob("mobs_dolphin:dolphin", { + type = "animal", + attack_type = "dogfight", + damage = 10, + reach = 3, + hp_min = 20, + hp_max = 25, + armor = 150, + collisionbox = {-0.75, -0.5, -0.75, 0.75, 0.5, 0.75}, + visual = "mesh", + mesh = "mobs_dolphin.b3d", + textures = { + {"dolphin_pink.png"}, + {"dolphin_blue.png"}, + {"dolphin_white.png"} + }, + sounds = { + random = "dolphin", + }, + drops = { + {name = "ethereal:fish_raw", chance = 1, min = 1, max = 1}, + }, + makes_footstep_sound = false, + walk_velocity = 4, + run_velocity = 6, + fly = true, + fly_in = "default:water_source", + fall_speed = 0, + rotate = 270, + view_range = 10, + water_damage = 0, + lava_damage = 10, + light_damage = 0, + animation = { + speed_normal = 15, + speed_run = 15, + stand_start = 66, + stand_end = 90, + walk_start = 0, + walk_end = 40, + run_start = 40, + run_end = 60, + punch_start = 40, + punch_end = 40, + }, + follow = {"ethereal:fish_raw"}, + on_rightclick = function(self, clicker) + mobs:capture_mob(self, clicker, 80, 100, 0, true, nil) + end + }) + --name, nodes, neighbours, minlight, maxlight, interval, chance, active_object_count, min_height, max_height + mobs:spawn_specific("mobs_dolphin:dolphin", {"default:water_source"}, {"default:water_flowing","default:water_source"}, 5, 20, 30, 10000, 2, -31000, l_water_level) + mobs:register_egg("mobs_dolphin:dolphin", "Dolphin", "dolphin_inv.png", 0) + +end diff --git a/models/mobs_dolphin.b3d b/models/mobs_dolphin.b3d new file mode 100644 index 0000000..ce4a098 Binary files /dev/null and b/models/mobs_dolphin.b3d differ diff --git a/sounds/dolphin.ogg b/sounds/dolphin.ogg new file mode 100644 index 0000000..aab9f13 Binary files /dev/null and b/sounds/dolphin.ogg differ diff --git a/textures/dolphin_blue.png b/textures/dolphin_blue.png new file mode 100644 index 0000000..c18dc5b Binary files /dev/null and b/textures/dolphin_blue.png differ diff --git a/textures/dolphin_inv.png b/textures/dolphin_inv.png new file mode 100644 index 0000000..be79a49 Binary files /dev/null and b/textures/dolphin_inv.png differ diff --git a/textures/dolphin_pink.png b/textures/dolphin_pink.png new file mode 100644 index 0000000..1bd2943 Binary files /dev/null and b/textures/dolphin_pink.png differ diff --git a/textures/dolphin_white.png b/textures/dolphin_white.png new file mode 100644 index 0000000..d1fb65f Binary files /dev/null and b/textures/dolphin_white.png differ