Setup/Data

* move custom data from setup scripts to DB
 * move strings from DB to locale files
 * use common function to calculate coordinates of dungeon entrances instead of inline sql
 * fixed manual data zones and itemset
 * fixed typos across the board
This commit is contained in:
Sarjuuk
2022-02-21 22:51:25 +01:00
parent 10805a1f70
commit bc71ae762c
32 changed files with 481 additions and 373 deletions

View File

@@ -15,18 +15,12 @@ if (!CLI)
SqlGen::register(new class extends SetupScript
{
use TrCustomData;
protected $command = 'itemset';
protected $tblDependencyAowow = ['spell'];
protected $tblDependencyTC = ['item_template', 'game_event'];
protected $dbcSourceFiles = ['itemset'];
private $customData = array(
221 => ['item1' => 7948, 'item2' => 7949, 'item3' => 7950, 'item4' => 7951, 'item5' => 7952, 'item6' => 7953]
);
private $setToHoliday = array (
761 => 141, // Winterveil
762 => 372, // Brewfest