Add T4 Hero System (configurable on install)

Add T4 Hero System (configurable on install with TRUE/FALS) part of #285

-Adventures
-Merchants
-Equipment
This commit is contained in:
novgorodschi catalin
2026-07-10 09:15:42 +03:00
parent ed325b6d99
commit 3c99623a33
46 changed files with 4367 additions and 32 deletions
+1
View File
@@ -335,6 +335,7 @@ define("NEW_FUNCTIONS_MEDAL_10YEAR", %NEW_FUNCTIONS_MEDAL_10YEAR%);
define("NEW_FUNCTIONS_SPECIAL_MEDALS_SYSTEM", %NEW_FUNCTIONS_SPECIAL_MEDALS_SYSTEM%);
define("NEW_FUNCTIONS_MILESTONES", %NEW_FUNCTIONS_MILESTONES%);
define("NEW_FUNCTIONS_MEDAL_RESET", %NEW_FUNCTIONS_MEDAL_RESET%);
define("NEW_FUNCTIONS_HERO_T4", %NEW_FUNCTIONS_HERO_T4%);
//////////////////////////////////////////
// **** DO NOT EDIT SETTINGS **** //
+1
View File
@@ -171,6 +171,7 @@ class Process {
$findReplace["%NEW_FUNCTIONS_SPECIAL_MEDALS_SYSTEM%"] = $_POST['new_functions_special_medals_system'];
$findReplace["%NEW_FUNCTIONS_MILESTONES%"] = $_POST['new_functions_milestones'];
$findReplace["%NEW_FUNCTIONS_MEDAL_RESET%"] = $_POST['new_functions_medal_reset'];
$findReplace["%NEW_FUNCTIONS_HERO_T4%"] = $_POST['new_functions_hero_t4'];
fwrite($gameConfig, str_replace(array_keys($findReplace), array_values($findReplace), $text));
+2 -1
View File
@@ -207,7 +207,8 @@ $mechs = [
'new_functions_medal_10year' => 'Medal 10y',
'new_functions_special_medals_system' => 'Special Medals System',
'new_functions_medal_reset' => 'Medal Reset',
'new_functions_milestones' => 'Server Milestones'
'new_functions_milestones' => 'Server Milestones',
'new_functions_hero_t4' => 'T4 Hero (items, adventures, auction)'
];
foreach($mechs as $k => $l){