write something there
This commit is contained in:
commit
b4b6c08f4f
8546 changed files with 309825 additions and 0 deletions
72
mods/livingslimes/slimes/algae.lua
Normal file
72
mods/livingslimes/slimes/algae.lua
Normal file
|
@ -0,0 +1,72 @@
|
|||
livingslimes.register_slime("Algae",{
|
||||
-- Mob Properties
|
||||
color = "#0C9:170",
|
||||
size = 4,
|
||||
glow = 1,
|
||||
aquatic = true,
|
||||
max_health = 10,
|
||||
damage = 1,
|
||||
speed = 3.5,
|
||||
tracking_range = 13,
|
||||
behaviors = {
|
||||
"wander",
|
||||
"neutral",
|
||||
"dig",
|
||||
"eat",
|
||||
"digest",
|
||||
},
|
||||
diet = {
|
||||
["group:mushroom"] = 5,
|
||||
["group:grass"] = 1,
|
||||
["group:flora"] = 1,
|
||||
},
|
||||
|
||||
-- Spawning properties
|
||||
spawn_chance = livingslimes.settings.spawn_chance_docile,
|
||||
spawn_cap = 2,
|
||||
spawn_biomes = {
|
||||
"swamp",
|
||||
"alderswamp",
|
||||
"naturalbiomes:alderswamp",
|
||||
"marsh",
|
||||
"Swampland",
|
||||
"MangroveSwamp",
|
||||
},
|
||||
spawn_nodes = {
|
||||
"group:soil",
|
||||
"group:water",
|
||||
},
|
||||
min_height = 0,
|
||||
max_height = 31000,
|
||||
min_light = 0,
|
||||
max_light = 16,
|
||||
min_group = 1,
|
||||
max_group = 2,
|
||||
|
||||
-- Drops properties
|
||||
edible = 1,
|
||||
harmful = 0,
|
||||
drops = (function()
|
||||
local d = {}
|
||||
|
||||
if livingslimes.dependencies.default then
|
||||
d[#d + 1] = {
|
||||
name = "flowers:mushroom_red",
|
||||
min = 1,
|
||||
max = 1,
|
||||
chance = 10,
|
||||
}
|
||||
end
|
||||
|
||||
if livingslimes.dependencies.mcl_mushrooms then
|
||||
d[#d + 1] = {
|
||||
name = "mcl_mushrooms:mushroom_red",
|
||||
min = 1,
|
||||
max = 1,
|
||||
chance = 10,
|
||||
}
|
||||
end
|
||||
|
||||
return d
|
||||
end)(),
|
||||
})
|
44
mods/livingslimes/slimes/dark.lua
Normal file
44
mods/livingslimes/slimes/dark.lua
Normal file
|
@ -0,0 +1,44 @@
|
|||
livingslimes.register_slime("Dark",{
|
||||
-- Mob Properties
|
||||
color = "#100015:120",
|
||||
size = 5,
|
||||
aquatic = false,
|
||||
max_health = 18,
|
||||
damage = 4,
|
||||
speed = 2.5,
|
||||
tracking_range = 14,
|
||||
behaviors = {
|
||||
"wander",
|
||||
"attack",
|
||||
"eat",
|
||||
"digest",
|
||||
},
|
||||
diet = {
|
||||
["group:sword"] = 10,
|
||||
["group:pickaxe"] = 9,
|
||||
["group:axe"] = 8,
|
||||
["group:shovel"] = 7,
|
||||
["group:hoe"] = 7,
|
||||
["group:food"] = 2,
|
||||
any = 1,
|
||||
},
|
||||
|
||||
-- Spawning properties
|
||||
spawn_chance = livingslimes.settings.spawn_chance_hostile,
|
||||
spawn_cap = 1,
|
||||
spawn_biomes = nil,
|
||||
spawn_nodes = {
|
||||
"group:soil",
|
||||
"group:stone",
|
||||
},
|
||||
min_height = -31000,
|
||||
max_height = -32,
|
||||
min_light = 0,
|
||||
max_light = 7,
|
||||
min_group = 1,
|
||||
max_group = 1,
|
||||
|
||||
-- Drops properties
|
||||
edible = 2,
|
||||
harmful = 0,
|
||||
})
|
97
mods/livingslimes/slimes/grass.lua
Normal file
97
mods/livingslimes/slimes/grass.lua
Normal file
|
@ -0,0 +1,97 @@
|
|||
livingslimes.register_slime("Grass",{
|
||||
-- Mob Properties
|
||||
color = "#0A1:180",
|
||||
size = 5,
|
||||
aquatic = false,
|
||||
max_health = 14,
|
||||
damage = 2,
|
||||
speed = 3.25,
|
||||
tracking_range = 13,
|
||||
behaviors = {
|
||||
"wander",
|
||||
"attack",
|
||||
"dig",
|
||||
"eat",
|
||||
"digest",
|
||||
},
|
||||
diet = {
|
||||
["group:sword"] = 10,
|
||||
["group:pickaxe"] = 9,
|
||||
["group:axe"] = 8,
|
||||
["group:shovel"] = 7,
|
||||
["group:hoe"] = 7,
|
||||
["group:grass"] = 3,
|
||||
["group:flora"] = 3,
|
||||
["group:leaves"] = 3,
|
||||
["group:food"] = 2,
|
||||
any = 1,
|
||||
},
|
||||
|
||||
-- Spawning properties
|
||||
spawn_chance = livingslimes.settings.spawn_chance_hostile,
|
||||
spawn_cap = 1,
|
||||
spawn_biomes = {
|
||||
"grassland",
|
||||
"grassytwo",
|
||||
"junglee",
|
||||
"grassytwo",
|
||||
"dorwinion",
|
||||
"prairie",
|
||||
"grove",
|
||||
"alpine",
|
||||
"deciduous_forest",
|
||||
"japanese_forest",
|
||||
"japaneseforest",
|
||||
"meadow",
|
||||
"cherry",
|
||||
"sakura",
|
||||
"bamboo",
|
||||
"bambooforest",
|
||||
"bamboo_forest",
|
||||
"Plains",
|
||||
"SunflowerPlains",
|
||||
"Forest",
|
||||
"FlowerForest",
|
||||
"BirchForest",
|
||||
"BirchForestM",
|
||||
"mediterranean",
|
||||
"naturalbiomes:bushland",
|
||||
"naturalbiomes:heath",
|
||||
},
|
||||
spawn_nodes = {
|
||||
"group:soil",
|
||||
},
|
||||
min_height = 0,
|
||||
max_height = 31000,
|
||||
min_light = 0,
|
||||
max_light = 16,
|
||||
min_group = 1,
|
||||
max_group = 1,
|
||||
|
||||
-- Drops properties
|
||||
edible = 2,
|
||||
harmful = 0,
|
||||
drops = (function()
|
||||
local d = {}
|
||||
|
||||
if livingslimes.dependencies.default then
|
||||
d[#d + 1] = {
|
||||
name = "default:grass_1",
|
||||
min = 1,
|
||||
max = 1,
|
||||
chance = 10,
|
||||
}
|
||||
end
|
||||
|
||||
if livingslimes.dependencies.mcl_flowers then
|
||||
d[#d + 1] = {
|
||||
name = "mcl_flowers:tallgrass",
|
||||
min = 1,
|
||||
max = 1,
|
||||
chance = 10,
|
||||
}
|
||||
end
|
||||
|
||||
return d
|
||||
end)(),
|
||||
})
|
85
mods/livingslimes/slimes/ice.lua
Normal file
85
mods/livingslimes/slimes/ice.lua
Normal file
|
@ -0,0 +1,85 @@
|
|||
livingslimes.register_slime("Ice",{
|
||||
-- Mob Properties
|
||||
color = "#8BF:180",
|
||||
size = 5,
|
||||
aquatic = false,
|
||||
max_health = 14,
|
||||
damage = 2,
|
||||
speed = 3.25,
|
||||
tracking_range = 13,
|
||||
behaviors = {
|
||||
"wander",
|
||||
"attack",
|
||||
"eat",
|
||||
"digest",
|
||||
},
|
||||
diet = {
|
||||
["group:sword"] = 10,
|
||||
["group:pickaxe"] = 9,
|
||||
["group:axe"] = 8,
|
||||
["group:shovel"] = 7,
|
||||
["group:hoe"] = 7,
|
||||
["group:snowy"] = 5,
|
||||
["group:food"] = 2,
|
||||
any = 1,
|
||||
},
|
||||
|
||||
-- Spawning properties
|
||||
spawn_chance = livingslimes.settings.spawn_chance_hostile,
|
||||
spawn_cap = 1,
|
||||
spawn_biomes = {
|
||||
"tundra",
|
||||
"tundra_highland",
|
||||
"taiga",
|
||||
"coniferous_forest",
|
||||
"frost_land",
|
||||
"glacier",
|
||||
"everness_frosted_icesheet",
|
||||
"everness:frosted_icesheet",
|
||||
"icesheet",
|
||||
"snowy_grassland",
|
||||
"frost",
|
||||
"frost_floatland",
|
||||
"IcePlains",
|
||||
"IcePlainsSpikes",
|
||||
"ColdTaiga",
|
||||
},
|
||||
spawn_nodes = {
|
||||
"group:soil",
|
||||
"group:snowy",
|
||||
"group:ice",
|
||||
},
|
||||
min_height = 0,
|
||||
max_height = 31000,
|
||||
min_light = 0,
|
||||
max_light = 16,
|
||||
min_group = 1,
|
||||
max_group = 1,
|
||||
|
||||
-- Drops properties
|
||||
edible = 2,
|
||||
harmful = 0,
|
||||
drops = (function()
|
||||
local d = {}
|
||||
|
||||
if livingslimes.dependencies.default then
|
||||
d[#d + 1] = {
|
||||
name = "default:ice",
|
||||
min = 1,
|
||||
max = 1,
|
||||
chance = 10,
|
||||
}
|
||||
end
|
||||
|
||||
if livingslimes.dependencies.mcl_core then
|
||||
d[#d + 1] = {
|
||||
name = "mcl_core:ice",
|
||||
min = 1,
|
||||
max = 1,
|
||||
chance = 10,
|
||||
}
|
||||
end
|
||||
|
||||
return d
|
||||
end)(),
|
||||
})
|
46
mods/livingslimes/slimes/lava.lua
Normal file
46
mods/livingslimes/slimes/lava.lua
Normal file
|
@ -0,0 +1,46 @@
|
|||
livingslimes.register_slime("Lava",{
|
||||
-- Mob Properties
|
||||
color = "#F80:190",
|
||||
size = 8,
|
||||
glow = 6,
|
||||
aquatic = true,
|
||||
max_health = 24,
|
||||
armor_groups = { fire = 0 },
|
||||
fire_resistance = 1,
|
||||
damage = 5,
|
||||
speed = 4.75,
|
||||
tracking_range = 11,
|
||||
behaviors = {
|
||||
"wander",
|
||||
"attack",
|
||||
"fire",
|
||||
"eat",
|
||||
"digest",
|
||||
},
|
||||
diet = {
|
||||
["group:sword"] = 10,
|
||||
["group:pickaxe"] = 9,
|
||||
["group:axe"] = 8,
|
||||
["group:shovel"] = 7,
|
||||
["group:hoe"] = 7,
|
||||
["group:food"] = 2,
|
||||
any = 1,
|
||||
},
|
||||
|
||||
-- Spawning properties
|
||||
spawn_chance = math.floor(livingslimes.settings.spawn_chance_hostile / 10), -- lava is typically more rare so spawn chance is higher
|
||||
spawn_cap = 3,
|
||||
spawn_nodes = {
|
||||
"group:lava",
|
||||
},
|
||||
min_height = -31000,
|
||||
max_height = 31000,
|
||||
min_light = 0,
|
||||
max_light = 16,
|
||||
min_group = 1,
|
||||
max_group = 2,
|
||||
|
||||
-- Drops properties
|
||||
edible = -2,
|
||||
harmful = 2,
|
||||
})
|
82
mods/livingslimes/slimes/mineral.lua
Normal file
82
mods/livingslimes/slimes/mineral.lua
Normal file
|
@ -0,0 +1,82 @@
|
|||
livingslimes.register_slime("Mineral",{
|
||||
-- Mob Properties
|
||||
color = "#803010:220",
|
||||
size = 6,
|
||||
max_health = 30,
|
||||
damage = 3,
|
||||
speed = 3,
|
||||
tracking_range = 14,
|
||||
behaviors = {
|
||||
"wander",
|
||||
"neutral",
|
||||
"dig",
|
||||
"eat",
|
||||
"digest",
|
||||
},
|
||||
diet = {
|
||||
["default:mese"] = 19,
|
||||
["mcl_core:stone_with_diamond"] = 19,
|
||||
["default:stone_with_diamond"] = 18,
|
||||
["mcl_core:stone_with_emerald"] = 18,
|
||||
["default:stone_with_mese"] = 17,
|
||||
["mcl_core:stone_with_redstone"] = 17,
|
||||
["mcl_core:stone_with_lapis"] = 17,
|
||||
["mcl_core:stone_with_redstone"] = 17,
|
||||
["default:stone_with_gold"] = 16,
|
||||
["mcl_core:stone_with_gold"] = 16,
|
||||
["default:stone_with_iron"] = 15,
|
||||
["mcl_core:stone_with_iron"] = 15,
|
||||
["default:stone_with_tin"] = 14,
|
||||
["everness:quartz_ore"] = 14,
|
||||
["everness:pyrite_ore"] = 14,
|
||||
["default:stone_with_coal"] = 13,
|
||||
["mcl_core:stone_with_coal"] = 13,
|
||||
["group:stone"] = 12,
|
||||
["group:sword"] = 10,
|
||||
["group:pickaxe"] = 9,
|
||||
["group:axe"] = 8,
|
||||
["group:shovel"] = 7,
|
||||
["group:hoe"] = 7,
|
||||
},
|
||||
|
||||
-- Spawning properties
|
||||
spawn_chance = livingslimes.settings.spawn_chance_docile,
|
||||
spawn_cap = 2,
|
||||
spawn_nodes = {
|
||||
"group:stone",
|
||||
"group:soil",
|
||||
},
|
||||
min_height = -31000,
|
||||
max_height = -32,
|
||||
min_light = 0,
|
||||
max_light = 9,
|
||||
min_group = 1,
|
||||
max_group = 1,
|
||||
|
||||
-- Drops properties
|
||||
edible = 2,
|
||||
harmful = 0,
|
||||
drops = (function()
|
||||
local d = {}
|
||||
|
||||
if livingslimes.dependencies.default then
|
||||
d[#d + 1] = {
|
||||
name = "default:cobble",
|
||||
min = 1,
|
||||
max = 1,
|
||||
chance = 10,
|
||||
}
|
||||
end
|
||||
|
||||
if livingslimes.dependencies.mcl_core then
|
||||
d[#d + 1] = {
|
||||
name = "mcl_core:cobble",
|
||||
min = 1,
|
||||
max = 1,
|
||||
chance = 10,
|
||||
}
|
||||
end
|
||||
|
||||
return d
|
||||
end)(),
|
||||
})
|
39
mods/livingslimes/slimes/ocean.lua
Normal file
39
mods/livingslimes/slimes/ocean.lua
Normal file
|
@ -0,0 +1,39 @@
|
|||
livingslimes.register_slime("Ocean",{
|
||||
-- Mob Properties
|
||||
color = "#00C:170",
|
||||
size = 3,
|
||||
aquatic = true,
|
||||
max_health = 10,
|
||||
damage = 1,
|
||||
speed = 3.75,
|
||||
tracking_range = 13,
|
||||
behaviors = {
|
||||
"wander",
|
||||
"neutral",
|
||||
"eat",
|
||||
"digest",
|
||||
},
|
||||
diet = {
|
||||
any = 1,
|
||||
},
|
||||
|
||||
-- Spawning properties
|
||||
spawn_chance = livingslimes.settings.spawn_chance_docile,
|
||||
spawn_cap = 2,
|
||||
spawn_biomes = nil,
|
||||
spawn_nodes = {
|
||||
"group:water",
|
||||
"mapgen_water_source",
|
||||
"mapgen_river_water_source",
|
||||
},
|
||||
min_height = 0,
|
||||
max_height = 1,
|
||||
min_light = 0,
|
||||
max_light = 16,
|
||||
min_group = 1,
|
||||
max_group = 2,
|
||||
|
||||
-- Drops properties
|
||||
edible = 1,
|
||||
harmful = 0,
|
||||
})
|
70
mods/livingslimes/slimes/poison.lua
Normal file
70
mods/livingslimes/slimes/poison.lua
Normal file
|
@ -0,0 +1,70 @@
|
|||
livingslimes.register_slime("Poison",{
|
||||
-- Mob Properties
|
||||
color = "#205:180",
|
||||
size = 5,
|
||||
glow = 3,
|
||||
aquatic = false,
|
||||
max_health = 12,
|
||||
damage = 2,
|
||||
speed = 3.25,
|
||||
tracking_range = 14,
|
||||
behaviors = {
|
||||
"wander",
|
||||
"poison",
|
||||
"dig",
|
||||
"eat",
|
||||
"digest",
|
||||
},
|
||||
diet = {
|
||||
["group:sword"] = 10,
|
||||
["group:pickaxe"] = 9,
|
||||
["group:axe"] = 8,
|
||||
["group:shovel"] = 8,
|
||||
["group:hoe"] = 8,
|
||||
["group:mushroom"] = 5,
|
||||
["group:food"] = 2,
|
||||
any = 1,
|
||||
},
|
||||
|
||||
-- Spawning properties
|
||||
spawn_chance = livingslimes.settings.spawn_chance_hostile,
|
||||
spawn_cap = 1,
|
||||
spawn_biomes = {
|
||||
"rainforest",
|
||||
"rainforest_swamp",
|
||||
"swamp",
|
||||
"junglee",
|
||||
"mushroom",
|
||||
"marsh",
|
||||
"nightshade",
|
||||
"jumble",
|
||||
"livingjungle",
|
||||
"livingjungle:livingjungle",
|
||||
"alderswamp",
|
||||
"naturalbiomes:alderswamp",
|
||||
"everness_cursed_lands",
|
||||
"everness:cursed_lands",
|
||||
"everness_coral_forest",
|
||||
"everness:coral_forest",
|
||||
"MushroomIsland",
|
||||
"Jungle",
|
||||
"JungleM",
|
||||
"JungleEdge",
|
||||
"JungleEdgeM",
|
||||
"Swampland",
|
||||
"MangroveSwamp",
|
||||
},
|
||||
spawn_nodes = {
|
||||
"group:soil",
|
||||
},
|
||||
min_height = 1,
|
||||
max_height = 31000,
|
||||
min_light = 0,
|
||||
max_light = 16,
|
||||
min_group = 1,
|
||||
max_group = 1,
|
||||
|
||||
-- Drops properties
|
||||
edible = -5,
|
||||
harmful = 1,
|
||||
})
|
79
mods/livingslimes/slimes/savanna.lua
Normal file
79
mods/livingslimes/slimes/savanna.lua
Normal file
|
@ -0,0 +1,79 @@
|
|||
livingslimes.register_slime("Savanna",{
|
||||
-- Mob Properties
|
||||
color = "#dfbb30:180",
|
||||
size = 5,
|
||||
aquatic = false,
|
||||
max_health = 14,
|
||||
damage = 2,
|
||||
speed = 3.25,
|
||||
tracking_range = 13,
|
||||
behaviors = {
|
||||
"wander",
|
||||
"attack",
|
||||
"dig",
|
||||
"eat",
|
||||
"digest",
|
||||
},
|
||||
diet = {
|
||||
["group:sword"] = 10,
|
||||
["group:pickaxe"] = 9,
|
||||
["group:axe"] = 8,
|
||||
["group:shovel"] = 8,
|
||||
["group:hoe"] = 8,
|
||||
["group:grass"] = 5,
|
||||
["group:food"] = 2,
|
||||
any = 1,
|
||||
},
|
||||
|
||||
-- Spawning properties
|
||||
spawn_chance = livingslimes.settings.spawn_chance_hostile,
|
||||
spawn_cap = 1,
|
||||
spawn_biomes = {
|
||||
"savanna",
|
||||
"naturalbiomes:wetsavanna",
|
||||
"plains",
|
||||
"outback",
|
||||
"naturalbiomes:outback",
|
||||
"mesa",
|
||||
"everness_baobab_savanna",
|
||||
"everness:baobab_savanna",
|
||||
"Savanna",
|
||||
"SavannaM",
|
||||
},
|
||||
spawn_nodes = {
|
||||
"group:soil",
|
||||
},
|
||||
min_height = 0,
|
||||
max_height = 31000,
|
||||
min_light = 0,
|
||||
max_light = 16,
|
||||
min_group = 1,
|
||||
max_group = 1,
|
||||
|
||||
-- Drops properties
|
||||
edible = 2,
|
||||
harmful = 0,
|
||||
drops = (function()
|
||||
local d = {}
|
||||
|
||||
if livingslimes.dependencies.default then
|
||||
d[#d + 1] = {
|
||||
name = "default:dry_grass_1",
|
||||
min = 1,
|
||||
max = 1,
|
||||
chance = 10,
|
||||
}
|
||||
end
|
||||
|
||||
if livingslimes.dependencies.mcl_flowers then
|
||||
d[#d + 1] = {
|
||||
name = "mcl_flowers:tallgrass",
|
||||
min = 1,
|
||||
max = 1,
|
||||
chance = 10,
|
||||
}
|
||||
end
|
||||
|
||||
return d
|
||||
end)(),
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue