From d7384fa12f16dc3e10327d4695ea6286f44bfa5c Mon Sep 17 00:00:00 2001 From: blert2112 Date: Fri, 24 Jul 2015 19:59:02 -0400 Subject: name changes for compatability --- mobs_jellyfish/License.txt | 21 ++++++++++++++++ mobs_jellyfish/depends.txt | 3 +++ mobs_jellyfish/init.lua | 39 ++++++++++++++++++++++++++++++ mobs_jellyfish/models/jellyfish.b3d | Bin 0 -> 30205 bytes mobs_jellyfish/textures/jellyfish.png | Bin 0 -> 10261 bytes mobs_jellyfish/textures/jellyfish_inv.png | Bin 0 -> 3838 bytes 6 files changed, 63 insertions(+) create mode 100644 mobs_jellyfish/License.txt create mode 100644 mobs_jellyfish/depends.txt create mode 100644 mobs_jellyfish/init.lua create mode 100644 mobs_jellyfish/models/jellyfish.b3d create mode 100644 mobs_jellyfish/textures/jellyfish.png create mode 100644 mobs_jellyfish/textures/jellyfish_inv.png (limited to 'mobs_jellyfish') diff --git a/mobs_jellyfish/License.txt b/mobs_jellyfish/License.txt new file mode 100644 index 0000000..f10d72f --- /dev/null +++ b/mobs_jellyfish/License.txt @@ -0,0 +1,21 @@ +Licenses + +Model/Textures: WTFPL +Author: blert2112 + +*************** + + 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. + \ No newline at end of file diff --git a/mobs_jellyfish/depends.txt b/mobs_jellyfish/depends.txt new file mode 100644 index 0000000..0980886 --- /dev/null +++ b/mobs_jellyfish/depends.txt @@ -0,0 +1,3 @@ +default + +mobs diff --git a/mobs_jellyfish/init.lua b/mobs_jellyfish/init.lua new file mode 100644 index 0000000..ef2fc0a --- /dev/null +++ b/mobs_jellyfish/init.lua @@ -0,0 +1,39 @@ + +if mobs.mod and mobs.mod == "redo" then + + mobs:register_mob("mobs_jellyfish:jellyfish", { + type = "animal", + attack_type = "dogfight", + damage = 5, + hp_min = 5, + hp_max = 10, + armor = 100, + collisionbox = {-0.25, -0.25, -0.25, 0.25, 0.25, 0.25}, + visual = "mesh", + mesh = "jellyfish.b3d", + textures = { + {"jellyfish.png"} + }, + makes_footstep_sound = false, + walk_velocity = 0.1, + run_velocity = 0.1, + fly = true, + fly_in = "default:water_source", + fall_speed = 0, + view_range = 10, + water_damage = 0, + lava_damage = 5, + light_damage = 0, + 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_jellyfish:jellyfish", + {"default:water_source"}, + {"default:water_flowing","default:water_source"}, + 5, 20, 30, 10000, 1, -31000, 0) + mobs:register_egg("mobs_jellyfish:jellyfish", "Jellyfish", "jellyfish_inv.png", 0) + +end + diff --git a/mobs_jellyfish/models/jellyfish.b3d b/mobs_jellyfish/models/jellyfish.b3d new file mode 100644 index 0000000..16b7fd3 Binary files /dev/null and b/mobs_jellyfish/models/jellyfish.b3d differ diff --git a/mobs_jellyfish/textures/jellyfish.png b/mobs_jellyfish/textures/jellyfish.png new file mode 100644 index 0000000..3f0db90 Binary files /dev/null and b/mobs_jellyfish/textures/jellyfish.png differ diff --git a/mobs_jellyfish/textures/jellyfish_inv.png b/mobs_jellyfish/textures/jellyfish_inv.png new file mode 100644 index 0000000..641b388 Binary files /dev/null and b/mobs_jellyfish/textures/jellyfish_inv.png differ -- cgit v1.2.3