-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSDG_Beliefs10_City.sql
17 lines (14 loc) · 1.32 KB
/
SDG_Beliefs10_City.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-- GENERAL CITY
-- ------------------------------------
-- ------------------------------------
-- OKTOBERFEST
-- ------------------------------------
-- ------------------------------------
INSERT INTO Types (Type, Kind) VALUES ('SDG_OKTOBERFEST', 'KIND_BELIEF') ;
INSERT INTO BeliefClasses (BeliefClassType, Name, MaxInReligion, AdoptionOrder)
SELECT 'SDG_BELIEF_CLASS_CITY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%'), 'LOC_SDG_BELIEF_CLASS_CITY_NAME', 999, (SELECT COUNT(BeliefType) + 100 FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO Beliefs (BeliefType, Name, Description, BeliefClassType)
SELECT 'SDG_OKTOBERFEST', 'LOC_SDG_OKTOBERFEST', 'LOC_SDG_OKTOBERFEST_DESCRIPTION', 'SDG_BELIEF_CLASS_CITY_' || (SELECT cast(COUNT(BeliefType) + 100 as text) FROM Beliefs WHERE BeliefClassType LIKE 'SDG_BELIEF_CLASS_%') ;
INSERT INTO BeliefModifiers (BeliefType, ModifierID) VALUES ('SDG_OKTOBERFEST', 'SDG_OKTOBERFEST_HARVEST_BONUS') ;
INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId) VALUES ('SDG_OKTOBERFEST_HARVEST_BONUS', 'DB_DM_CITIES_ADJUST_RESOURCE_HARVEST_BONUS', 'CITY_FOLLOWS_RELIGION_REQUIREMENTS') ;
INSERT INTO ModifierArguments (ModifierId, Name, Value) VALUES ('SDG_OKTOBERFEST_HARVEST_BONUS', 'Amount', 25) ;