I am trying to make it so my leader's UA is that he can work desert tiles for one food and one production. This is the code.
-- Civilization Traits
-------------------------------------
INSERT INTO CivilizationTraits
(CivilizationType, TraitType )
VALUES ('CIVILIZATION_KENIISU_GOTHS', 'TRAIT_CIVILIZATION_KENIISU_GOTHS_UA' ); -- Assigns Trait to Civilization
-------------------------------------
-- Types
-------------------------------------
INSERT INTO Types
(Type, Kind)
VALUES ('TRAIT_CIVILIZATION_KENIISU_GOTHS_UA', 'KIND_TRAIT'); -- Defines Trait as, well, a Trait.
-------------------------------------
-- Traits
-------------------------------------
INSERT INTO Traits
(TraitType, Name, Description)
VALUES ('TRAIT_CIVILIZATION_KENIISU_GOTHS_UA', 'LOC_TRAIT_CIVILIZATION_KENIISU_GOTHS_UA_NAME', 'LOC_TRAIT_CIVILIZATION_KENIISU_GOTHS_UA_DESCRIPTION'); -- Assigns Info to the Trait such as Name and Description
-------------------------------------
-- TraitModifiers
-------------------------------------
INSERT INTO TraitModifiers
(TraitType, ModifierId)
VALUES ('TRAIT_CIVILIZATION_KENIISU_GOTHS_UA', 'KENIISU_GOLDEN_AGE_CAMPUS_GP'); -- Assigns the Modiifer to the Trait
------------------------------------------------------------------------
-- Modifiers
------------------------------------------------------------------------
INSERT INTO Modifiers
(ModifierId, ModifierType, SubjectRequirementSetId)
VALUES ('KENIISU_GOLDEN_AGE_CAMPUS_GP', 'MODIFIER_PLAYER_ADJUST_PLOT_YIELD', 'PLOT_IS_DESERT'); -- Setups the Modifier to be a Modifier adjusting Great Person Point to a District if that District is a Campus
------------------------------------------------------------------------
-- Modifier Arguments
------------------------------------------------------------------------
INSERT INTO ModifierArguments
(ModifierId, Name, Value)
VALUES ('KENIISU_GOLDEN_AGE_CAMPUS_GP', 'YieldType', 'YIELD_FOOD', null, 'ARGTYPE_IDENTITY'), -- Sets the Modifier's Value to "1" making it so the Great Person point is increased by 1
('KENIISU_GOLDEN_AGE_CAMPUS_GP', 'Amount', 1, null 'ARGTYPE_IDENTITY'),
('KENIISU_GOLDEN_AGE_CAMPUS_GP', 'YieldType', 'YIELD_PRODUCTION', null, 'ARGTYPE_IDENTITY'), -- Makes it so it assigns the Point to a Great Scientist.
('KENIISU_GOLDEN_AGE_CAMPUS_GP', 'Amount', 1, null, 'ARGTYPE_IDENTITY');
------------------------
Yes I'm using a template because im only 2 days into learning how to mod this game. I'm pretty sure PLOT_IS_DESERT is one thing I got wrong (of many) anything else? Thanks
-- Civilization Traits
-------------------------------------
INSERT INTO CivilizationTraits
(CivilizationType, TraitType )
VALUES ('CIVILIZATION_KENIISU_GOTHS', 'TRAIT_CIVILIZATION_KENIISU_GOTHS_UA' ); -- Assigns Trait to Civilization
-------------------------------------
-- Types
-------------------------------------
INSERT INTO Types
(Type, Kind)
VALUES ('TRAIT_CIVILIZATION_KENIISU_GOTHS_UA', 'KIND_TRAIT'); -- Defines Trait as, well, a Trait.
-------------------------------------
-- Traits
-------------------------------------
INSERT INTO Traits
(TraitType, Name, Description)
VALUES ('TRAIT_CIVILIZATION_KENIISU_GOTHS_UA', 'LOC_TRAIT_CIVILIZATION_KENIISU_GOTHS_UA_NAME', 'LOC_TRAIT_CIVILIZATION_KENIISU_GOTHS_UA_DESCRIPTION'); -- Assigns Info to the Trait such as Name and Description
-------------------------------------
-- TraitModifiers
-------------------------------------
INSERT INTO TraitModifiers
(TraitType, ModifierId)
VALUES ('TRAIT_CIVILIZATION_KENIISU_GOTHS_UA', 'KENIISU_GOLDEN_AGE_CAMPUS_GP'); -- Assigns the Modiifer to the Trait
------------------------------------------------------------------------
-- Modifiers
------------------------------------------------------------------------
INSERT INTO Modifiers
(ModifierId, ModifierType, SubjectRequirementSetId)
VALUES ('KENIISU_GOLDEN_AGE_CAMPUS_GP', 'MODIFIER_PLAYER_ADJUST_PLOT_YIELD', 'PLOT_IS_DESERT'); -- Setups the Modifier to be a Modifier adjusting Great Person Point to a District if that District is a Campus
------------------------------------------------------------------------
-- Modifier Arguments
------------------------------------------------------------------------
INSERT INTO ModifierArguments
(ModifierId, Name, Value)
VALUES ('KENIISU_GOLDEN_AGE_CAMPUS_GP', 'YieldType', 'YIELD_FOOD', null, 'ARGTYPE_IDENTITY'), -- Sets the Modifier's Value to "1" making it so the Great Person point is increased by 1
('KENIISU_GOLDEN_AGE_CAMPUS_GP', 'Amount', 1, null 'ARGTYPE_IDENTITY'),
('KENIISU_GOLDEN_AGE_CAMPUS_GP', 'YieldType', 'YIELD_PRODUCTION', null, 'ARGTYPE_IDENTITY'), -- Makes it so it assigns the Point to a Great Scientist.
('KENIISU_GOLDEN_AGE_CAMPUS_GP', 'Amount', 1, null, 'ARGTYPE_IDENTITY');
------------------------
Yes I'm using a template because im only 2 days into learning how to mod this game. I'm pretty sure PLOT_IS_DESERT is one thing I got wrong (of many) anything else? Thanks