Incremental Refactor Celebration

Incremental Refactor Celebration
This commit is contained in:
Catalin Novgorodschi
2026-05-13 15:17:21 +03:00
parent f99ab72d25
commit afbe64a006
+72 -34
View File
@@ -8,42 +8,80 @@
## License: TravianZ Project ## ## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ## ## ##
## URLs: https://travianz.org ##
## https://github.com/Shadowss/TravianZ ##
## ##
################################################################################# #################################################################################
$cel=array(1=>array('name'=>'Small Celebration','wood'=>6400,'clay'=>6650,'iron'=>5940,'crop'=>1340,'attri'=>500,'time'=>86400),array('name'=>'Great Celebration','wood'=>29700,'clay'=>33250,'iron'=>32000,'crop'=>6700,'attri'=>2000,'time'=>216000)); /**
* Celebration definitions
* ---------------------------------------------------------------------------
* index 1 = Small Celebration
* index 2 = Great Celebration
*/
$cel = [
1 => [
'name' => 'Small Celebration',
'wood' => 6400,
'clay' => 6650,
'iron' => 5940,
'crop' => 1340,
'attri' => 500,
'time' => 86400
],
2 => [
'name' => 'Great Celebration',
'wood' => 29700,
'clay' => 33250,
'iron' => 32000,
'crop' => 6700,
'attri' => 2000,
'time' => 216000
]
];
$sc = array( /**
1 => 86400, * Small celebration scaling / duration table
2 => 83290, * (level => time in seconds)
3 => 80291, */
4 => 77401, $sc = [
5 => 74614, 1 => 86400,
6 => 71928, 2 => 83290,
7 => 69338, 3 => 80291,
8 => 66843, 4 => 77401,
9 => 64436, 5 => 74614,
10 => 62117, 6 => 71928,
11 => 59880, 7 => 69338,
12 => 57725, 8 => 66843,
13 => 55647, 9 => 64436,
14 => 53643, 10 => 62117,
15 => 51712, 11 => 59880,
16 => 49850, 12 => 57725,
17 => 48056, 13 => 55647,
18 => 46326, 14 => 53643,
19 => 44658, 15 => 51712,
20 => 43050); 16 => 49850,
17 => 48056,
18 => 46326,
19 => 44658,
20 => 43050
];
$gc= array( /**
10 => 155291, * Great celebration scaling / duration table
11 => 149701, * (level => time in seconds)
12 => 144312, */
13 => 139116, $gc = [
14 => 134108, 10 => 155291,
15 => 129280, 11 => 149701,
16 => 124626, 12 => 144312,
17 => 120140, 13 => 139116,
18 => 115815, 14 => 134108,
19 => 111645, 15 => 129280,
20 => 107626); 16 => 124626,
17 => 120140,
18 => 115815,
19 => 111645,
20 => 107626
];
?> ?>