1
0
mirror of https://github.com/AntumMT/mod-slimes.git synced 2024-12-22 16:50:27 +01:00
This commit is contained in:
TomasJLuis 2015-04-10 14:03:57 +02:00
parent dcf0c0f9ef
commit 9b8d38618a
18 changed files with 22 additions and 10 deletions

View File

@ -1,3 +1,5 @@
default
tnt
mobs
mesecons_materials?

View File

@ -1,3 +1,5 @@
-- Green Slimes by TomasJLuis
-- sounds
local green_sounds = {
damage = "slimes_damage",
@ -39,7 +41,7 @@ mobs:register_mob("slimes:greensmall", {
lava_damage = 10,
light_damage = 0,
})
mobs:register_egg("slimes:greensmall", "Small Green Slime", "green_slime_front.png", 0)
mobs:register_egg("slimes:greensmall", "Small Green Slime", "green_slime_egg.png", 1)
-- register medium green slime
mobs:register_mob("slimes:greenmedium", {
@ -74,7 +76,7 @@ mobs:register_mob("slimes:greenmedium", {
lava_damage = 10,
light_damage = 0,
})
mobs:register_egg("slimes:greenmedium", "Medium Green Slime", "green_slime_front.png", 0)
mobs:register_egg("slimes:greenmedium", "Medium Green Slime", "green_slime_egg.png", 1)
-- register big green slime
mobs:register_mob("slimes:greenbig", {
@ -109,7 +111,7 @@ mobs:register_mob("slimes:greenbig", {
lava_damage = 10,
light_damage = 0,
})
mobs:register_egg("slimes:greenbig", "Big Green Slime", "green_slime_front.png", 0)
mobs:register_egg("slimes:greenbig", "Big Green Slime", "green_slime_egg.png", 1)
--mobs:spawn_specific(name, nodes, neighbors, min_light, max_light, interval, chance, active_object_count, min_height, max_height)
mobs:spawn_specific("slimes:greenbig", {"default:junglegrass"},{"air","default:junglegrass"}, 4, 20, 30, 5000, 8, 0, 32000)
@ -119,3 +121,4 @@ mobs:spawn_specific("slimes:greensmall", {"default:junglegrass"},{"air","default
--mobs:register_spawn(name, nodes, max_light, min_light, chance, active_object_count, max_height)
mobs:register_spawn("slimes:greenmedium", {"default:mossycobble"}, 20, 4, 10000, 8, 32000)
mobs:register_spawn("slimes:greensmall", {"default:mossycobble"}, 20, 4, 10000, 8, 32000)

View File

@ -1,4 +1,7 @@
-- Slimes by TenPlus1 and TomasJLuis
-- Slimes by TomasJLuis
-- Migration to Mobs Redo API by TenPlus1
-- load mod files
dofile(minetest.get_modpath("slimes").."/greenslimes.lua")
dofile(minetest.get_modpath("slimes").."/lavaslimes.lua")
@ -11,3 +14,4 @@ if not minetest.get_modpath("mesecons_materials") then
end
if minetest.setting_get("log_mods") then minetest.log("action", "Slimes loaded") end

View File

@ -1,3 +1,5 @@
-- Lava Slimes by TomasJLuis
-- sounds
local lava_sounds = {
damage = "slimes_damage",
@ -29,7 +31,7 @@ mobs:register_mob("slimes:lavasmall", {
walk_chance = 0,
jump_chance = 30,
jump_height = 6,
armor = 100,
armor = 90,
view_range = 15,
drops = {
{name = "tnt:gunpowder", chance = 4, min = 1, max = 2},
@ -41,7 +43,7 @@ mobs:register_mob("slimes:lavasmall", {
replace_rate = 20,
footstep = "fire:basic_flame",
})
mobs:register_egg("slimes:lavasmall", "Small Lava Slime", "lava_slime_front.png", 0)
mobs:register_egg("slimes:lavasmall", "Small Lava Slime", "lava_slime_egg.png", 1)
-- register medium lava slime
mobs:register_mob("slimes:lavamedium", {
@ -63,7 +65,7 @@ mobs:register_mob("slimes:lavamedium", {
walk_chance = 0,
jump_chance = 30,
jump_height = 6,
armor = 100,
armor = 90,
view_range = 15,
on_die = function(self, pos)
local num = math.random(2, 4)
@ -78,7 +80,7 @@ mobs:register_mob("slimes:lavamedium", {
replace_rate = 20,
footstep = "fire:basic_flame",
})
mobs:register_egg("slimes:lavamedium", "Medium Lava Slime", "lava_slime_front.png", 0)
mobs:register_egg("slimes:lavamedium", "Medium Lava Slime", "lava_slime_egg.png", 1)
-- register big lava slime
mobs:register_mob("slimes:lavabig", {
@ -100,7 +102,7 @@ mobs:register_mob("slimes:lavabig", {
walk_chance = 0,
jump_chance = 30,
jump_height = 6,
armor = 100,
armor = 90,
view_range = 15,
on_die = function(self, pos)
local num = math.random(1, 2)
@ -116,7 +118,7 @@ mobs:register_mob("slimes:lavabig", {
replace_offset = -1,
footstep = "fire:basic_flame",
})
mobs:register_egg("slimes:lavabig", "Big Lava Slime", "lava_slime_front.png", 0)
mobs:register_egg("slimes:lavabig", "Big Lava Slime", "lava_slime_egg.png", 1)
--mobs:spawn_specific(name, nodes, neighbors, min_light, max_light, interval, chance, active_object_count, min_height, max_height)

View File

@ -87,3 +87,4 @@ http://www.freesound.org/people/DrMinky/sounds/
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
textures/jeija_glue.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 B

BIN
textures/lava_slime_egg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 874 B