mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
Add in caps for underground water and axolotl
This commit is contained in:
parent
afb4540408
commit
812269264b
4 changed files with 13 additions and 2 deletions
|
@ -65,6 +65,8 @@ local mob_cap = {
|
|||
ambient = tonumber(minetest.settings:get("mcl_mob_cap_ambient")) or 15,
|
||||
water = tonumber(minetest.settings:get("mcl_mob_cap_water")) or 8,
|
||||
water_ambient = tonumber(minetest.settings:get("mcl_mob_cap_water_ambient")) or 20,
|
||||
water_underground = tonumber(minetest.settings:get("mcl_mob_cap_water_underground")) or 5,
|
||||
axolotl = tonumber(minetest.settings:get("mcl_mob_cap_axolotl")) or 2, -- TODO should be 5 when lush caves added
|
||||
player = tonumber(minetest.settings:get("mcl_mob_cap_player")) or 75,
|
||||
global_hostile = tonumber(minetest.settings:get("mcl_mob_cap_hostile")) or 300,
|
||||
global_non_hostile = tonumber(minetest.settings:get("mcl_mob_cap_non_hostile")) or 300,
|
||||
|
|
|
@ -2,7 +2,7 @@ local S = minetest.get_translator(minetest.get_current_modname())
|
|||
|
||||
local axolotl = {
|
||||
type = "animal",
|
||||
spawn_class = "water",
|
||||
spawn_class = "axolotl",
|
||||
can_despawn = true,
|
||||
passive = false,
|
||||
hp_min = 14,
|
||||
|
|
|
@ -31,7 +31,7 @@ end
|
|||
|
||||
mcl_mobs.register_mob("mobs_mc:glow_squid", {
|
||||
type = "animal",
|
||||
spawn_class = "water",
|
||||
spawn_class = "water_underground",
|
||||
can_despawn = true,
|
||||
passive = true,
|
||||
hp_min = 10,
|
||||
|
|
|
@ -151,6 +151,15 @@ mcl_mob_cap_animal (Mob cap animals) int 13 0 1024
|
|||
#Maximum amount of water mobs that will spawn near a player (default:8)
|
||||
mcl_mob_cap_water (Mob cap water) int 8 0 1024
|
||||
|
||||
#Maximum amount of ambient water mobs that will spawn near a player (default:20)
|
||||
mcl_mob_cap_water_ambient (Mob cap ambient water) int 20 0 1024
|
||||
|
||||
#Maximum amount of underground water mobs that will spawn near a player (default:5)
|
||||
mcl_mob_cap_water_underground (Mob cap underground water) int 5 0 1024
|
||||
|
||||
#Maximum amount of axolotl mobs that will spawn near a player (default:5)
|
||||
mcl_mob_cap_axolotl (Mob cap axolotl) int 5 0 1024
|
||||
|
||||
#Maximum amount of ambient mobs that will spawn near a player (default:15)
|
||||
mcl_mob_cap_ambient (Mob cap ambient mobs) int 15 0 1024
|
||||
|
||||
|
|
Loading…
Reference in a new issue