Initial commit

This commit is contained in:
Thierry Vercruysse 2016-03-25 20:56:08 +01:00
commit f18ae6384c
13 changed files with 83 additions and 0 deletions

21
License.txt Normal file
View File

@ -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 <sam@hocevar.net>
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.

BIN
blender/dolphin-pink.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

1
blender/link.md Normal file
View File

@ -0,0 +1 @@
http://minecraft.novaskin.me/resourcepacks#mocreatures/assets/mocreatures/textures/models/dolphin5.png

Binary file not shown.

Binary file not shown.

2
depends.txt Normal file
View File

@ -0,0 +1,2 @@
default
mobs

59
init.lua Normal file
View File

@ -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

BIN
models/mobs_dolphin.b3d Normal file

Binary file not shown.

BIN
sounds/dolphin.ogg Normal file

Binary file not shown.

BIN
textures/dolphin_blue.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
textures/dolphin_inv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
textures/dolphin_pink.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
textures/dolphin_white.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB