1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-26 18:50:38 +01:00

* kpgmobs: update submodule

* pmobs:
  - Disable ninja mob
  - Less spawning chance for npcs and wolves (1/31000 -> 1/51000)
* minetest.conf
  - Set setting remove_far_mobs to true
  - Update setting active_block_range from 1 to 2
This commit is contained in:
sys4-fr 2017-12-02 22:09:27 +01:00
parent 706d03f9a4
commit 2beba3599e
6 changed files with 8 additions and 6 deletions

View File

@ -40,7 +40,7 @@ max_block_send_distance = 8 # 6 for better performances
max_simultaneous_block_sends_per_client = 24 # 6 for better performances max_simultaneous_block_sends_per_client = 24 # 6 for better performances
max_simultaneous_block_sends_server_total = 500 # 125 for better performances max_simultaneous_block_sends_server_total = 500 # 125 for better performances
time_send_interval = 10 time_send_interval = 10
active_block_range = 1 active_block_range = 2
server_map_save_interval = 60 server_map_save_interval = 60
sqlite_synchronous = 0 sqlite_synchronous = 0
@ -125,6 +125,8 @@ give_initial_stuff = true
areas.self_protection = true areas.self_protection = true
areas.self_protection_max_size = {x=128, y=128, z=128} areas.self_protection_max_size = {x=128, y=128, z=128}
areas.self_protection_max_areas = 30 areas.self_protection_max_areas = 30
# MOBS
remove_far_mobs = true
# DROPONDIE MOD - si false, les sacs des joueurs sont vidées à leurs mort # DROPONDIE MOD - si false, les sacs des joueurs sont vidées à leurs mort
keepInventory = false keepInventory = false
# RANDOM_MESSAGES MOD - paramétrage de l'interval entre deux messages, 30min actuellement # RANDOM_MESSAGES MOD - paramétrage de l'interval entre deux messages, 30min actuellement

@ -1 +1 @@
Subproject commit b36b7e4d79ff2cacb2edc99bef5d442162e71c42 Subproject commit 7f37810119561de8b66cf12c5ae616f7536ad513

View File

@ -6,7 +6,7 @@ dofile(minetest.get_modpath("pmobs").."/dog.lua")
-- Monsters -- Monsters
dofile(minetest.get_modpath("pmobs").."/ninja.lua") -- CProgrammingRU --dofile(minetest.get_modpath("pmobs").."/ninja.lua") -- CProgrammingRU
dofile(minetest.get_modpath("pmobs").."/yeti.lua") -- TenPlus1 dofile(minetest.get_modpath("pmobs").."/yeti.lua") -- TenPlus1
-- NPC -- NPC

View File

@ -98,7 +98,7 @@ mobs:register_mob("pmobs:npc", {
end, end,
}) })
-- spawning disabled for now -- spawning disabled for now
mobs:register_spawn("pmobs:npc", {"default:dirt_with_grass"}, 20, 0, 22000, 1, 31000) mobs:register_spawn("pmobs:npc", {"default:dirt_with_grass"}, 20, 0, 22000, 1, 51000)
-- register spawn egg -- register spawn egg
mobs:register_egg("pmobs:npc", "Npc", "default_brick.png", 1) mobs:register_egg("pmobs:npc", "Npc", "default_brick.png", 1)

View File

@ -129,7 +129,7 @@ mobs:register_mob("pmobs:npc_female", {
-- spawning enable for now -- spawning enable for now
--mobs:spawn_specific("pmobs:npc_female", {"default:dirt_with_grass"}, {"air"}, -1, 20, 30, 500000, 1, -31000, 31000, true, true) --mobs:spawn_specific("pmobs:npc_female", {"default:dirt_with_grass"}, {"air"}, -1, 20, 30, 500000, 1, -31000, 31000, true, true)
mobs:register_spawn("pmobs:npc_female", {"default:dirt_with_grass"}, 20, 0, 22000, 1, 31000) mobs:register_spawn("pmobs:npc_female", {"default:dirt_with_grass"}, 20, 0, 22000, 1, 51000)
-- register spawn egg -- register spawn egg
mobs:register_egg("pmobs:npc_female", "Npc", "mobs_npc_female_inv.png", 1) mobs:register_egg("pmobs:npc_female", "Npc", "mobs_npc_female_inv.png", 1)

View File

@ -64,7 +64,7 @@ mobs:register_mob(
step = 0.5, step = 0.5,
blood_texture = "mobs_blood.png", blood_texture = "mobs_blood.png",
}) })
mobs:register_spawn("pmobs:wolf", {"default:dirt_with_grass","default:dirt","default:snow", "default:snowblock"}, 20, -1, 22000, 1, 31000) mobs:register_spawn("pmobs:wolf", {"default:dirt_with_grass","default:dirt","default:snow", "default:snowblock"}, 20, -1, 22000, 1, 51000)
mobs:register_egg("pmobs:wolf", "Wolf", "wool_grey.png", 1) mobs:register_egg("pmobs:wolf", "Wolf", "wool_grey.png", 1)
mobs:alias_mob("mobs:wolf", "pmobs:wolf") mobs:alias_mob("mobs:wolf", "pmobs:wolf")