I'm building my own custom civ and I am having problems getting the civilization trait to work.
My goal is to automatically boost Tourism as part of the civilization trait. Below is what I got so far:
My goal is to automatically boost Tourism as part of the civilization trait. Below is what I got so far:
Code:
-- Types
--------------------------------------------------------------------------------------------------------------------------
INSERT INTO Types
(Type, Kind)
VALUES ('TRAIT_CIVILIZATION_GA_BELLAS_ARTES', 'KIND_TRAIT');
--------------------------------------------------------------------------------------------------------------------------
-- Traits
--------------------------------------------------------------------------------------------------------------------------
INSERT INTO Traits
(TraitType, Name, Description)
VALUES ('TRAIT_CIVILIZATION_GA_BELLAS_ARTES', 'LOC_TRAIT_CIVILIZATION_GA_BELLAS_ARTES_NAME', 'LOC_TRAIT_CIVILIZATION_GA_BELLAS_ARTES_DESCRIPTION');
--------------------------------------------------------------------------------------------------------------------------
-- TraitModifiers
--------------------------------------------------------------------------------------------------------------------------
INSERT INTO TraitModifiers
(TraitType, ModifierId)
VALUES ('TRAIT_CIVILIZATION_GA_BELLAS_ARTES', 'GA_TRAIT_AdjustTourism');
--------------------------------------------------------------------------------------------------------------------------
-- Modifiers
--------------------------------------------------------------------------------------------------------------------------
INSERT INTO Modifiers
(ModifierId, ModifierType)
VALUES ('GA_TRAIT_AdjustTourism', 'MODIFIER_PLAYER_ADJUST_TOURISM');
--------------------------------------------------------------------------------------------------------------------------
-- ModifierArguments
--------------------------------------------------------------------------------------------------------------------------
INSERT INTO ModifierArguments
(ModifierId, Name, Value)
VALUES ('GA_TRAIT_AdjustTourism', 'Amount', '100');