-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBetterReportScreen_Database.sql
More file actions
25 lines (19 loc) · 1.35 KB
/
Copy pathBetterReportScreen_Database.sql
File metadata and controls
25 lines (19 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
-- ===========================================================================
-- Better Report Screen
-- Author: Infixo
-- 2018-03-21: Created
-- 2019-03-30: Added ReportsList Loader
-- ===========================================================================
-- just to make versioning easier
INSERT INTO GlobalParameters (Name, Value) VALUES ('BRS_VERSION_MAJOR', '7');
INSERT INTO GlobalParameters (Name, Value) VALUES ('BRS_VERSION_MINOR', '0');
-- options
INSERT INTO GlobalParameters (Name, Value) VALUES ('BRS_OPTION_MODIFIERS', '0');
-- ReportsList Loader
UPDATE RLLReports SET ButtonLabel = 'LOC_HUD_REPORTS_TAB_CITIES' WHERE ReportType = 'REPORT_EMPIRE_CITY_STATUS';
INSERT OR REPLACE INTO RLLReports (ReportType, ButtonLabel, LuaEvent, StackID, SortOrder, RequiresXP2) VALUES
('REPORT_EMPIRE_DEALS', 'LOC_HUD_REPORTS_TAB_DEALS', 'ReportsList_OpenDeals', 'EmpireReportsStack', 140, 0),
('REPORT_EMPIRE_UNITS', 'LOC_HUD_REPORTS_TAB_UNITS', 'ReportsList_OpenUnits', 'EmpireReportsStack', 150, 0),
('REPORT_EMPIRE_POLICIES', 'LOC_HUD_REPORTS_TAB_POLICIES', 'ReportsList_OpenPolicies', 'EmpireReportsStack', 160, 0),
('REPORT_EMPIRE_MINORS', 'LOC_HUD_REPORTS_TAB_MINORS', 'ReportsList_OpenMinors', 'EmpireReportsStack', 170, 0),
('REPORT_EMPIRE_CITIES2', 'LOC_HUD_REPORTS_TAB_CITIES2', 'ReportsList_OpenCities2', 'EmpireReportsStack', 180, 1);