модуль группового квестинга

This commit is contained in:
2026-03-14 23:31:49 +04:00
parent c53d6b30d4
commit 15c4cbf085
18 changed files with 1096 additions and 0 deletions
+17
View File
@@ -70,6 +70,9 @@ FORCE_PLAYERBOTS="${FORCE_PLAYERBOTS:-${ACORE_PLAYERBOTS_FORCE:-0}}"
: "${ACORE_AOE_LOOT_RANGE:=55.0}"
: "${ACORE_AOE_LOOT_GROUP:=1}"
: "${ACORE_QUEST_PARTY_ENABLE:=1}"
: "${ACORE_QUEST_PARTY_MESSAGE:=0}"
: "${ACORE_ELUNA_ENABLED:=true}"
: "${ACORE_ELUNA_TRACEBACK:=false}"
: "${ACORE_ELUNA_SCRIPT_PATH:=lua_scripts}"
@@ -325,6 +328,8 @@ sync_module_dists() {
"$MODULES_ETC_DIR/mod_learnspells.conf.dist"
sync_file "$ROOT_DIR/modules/mod-playerbots/conf/playerbots.conf.dist" \
"$MODULES_ETC_DIR/playerbots.conf.dist"
sync_file "$ROOT_DIR/modules/mod-quest-loot-party/conf/mod-quest-loot-party.conf.dist" \
"$MODULES_ETC_DIR/mod-quest-loot-party.conf.dist"
}
write_autobalance_conf() {
@@ -398,6 +403,16 @@ AOELoot.Group = ${ACORE_AOE_LOOT_GROUP}
EOF
}
write_quest_loot_party_conf() {
write_file "$MODULES_ETC_DIR/mod-quest-loot-party.conf.dist" <<EOF
[worldserver]
# Managed by ./setup-modules.sh
QuestParty.Enable = ${ACORE_QUEST_PARTY_ENABLE}
QuestParty.Message = ${ACORE_QUEST_PARTY_MESSAGE}
EOF
}
write_eluna_conf() {
write_file "$MODULES_ETC_DIR/mod_eluna.conf.dist" <<EOF
[worldserver]
@@ -528,6 +543,7 @@ cleanup_legacy_module_overrides() {
"$MODULES_ETC_DIR/mod_aoe_loot.conf"
"$MODULES_ETC_DIR/mod_eluna.conf"
"$MODULES_ETC_DIR/mod_learnspells.conf"
"$MODULES_ETC_DIR/mod-quest-loot-party.conf"
"$MODULES_ETC_DIR/playerbots.conf"
)
@@ -580,6 +596,7 @@ main() {
write_autobalance_conf
write_individual_progression_conf
write_aoe_loot_conf
write_quest_loot_party_conf
write_eluna_conf
write_learnspells_conf
write_playerbots_conf