Code:
--Modifiers
UPDATE Modifiers
SET ModifierId = 'TRAIT_NORWAY_PRODUCTIONSHALLOWWATER', ModifierType = 'MODIFIER_PLAYER_ADJUST_PLOT_YIELD', Permanent = '0', SubjectRequirementSetId = 'PLOT_HAS_SHALLOW_WATER'
WHERE ModifierId = 'TRAIT_MELEE_NAVAL_HEAL_NEUTRAL';
--Modifiers arguments
INSERT INTO ModifierArguments
( ModifierId, Name, Type, Value ) VALUES
( 'TRAIT_NORWAY_PRODUCTIONSHALLOWWATER', 'YieldType', 'ARGTYPE_IDENTITY', 'YIELD_PRODUCTION' ),
( 'TRAIT_NORWAY_PRODUCTIONSHALLOWWATER', 'Amount', 'ARGTYPE_IDENTITY', '1' );
--TraitModifiers
UPDATE TraitModifiers
SET ModifierId = 'TRAIT_NORWAY_PRODUCTIONSHALLOWWATER'
WHERE TraitType = 'TRAIT_CIVILIZATION_EARLY_OCEAN_NAVIGATION' AND ModifierId = 'TRAIT_MELEE_NAVAL_HEAL_NEUTRAL';
I am trying to make this happened that Norway gets Auckland's bonus, but when I tried this code.
I get this log
Code:
[4286862.211] [Configuration]: Validating Foreign Key Constraints...
[4286862.212] [Configuration]: Passed Validation.
[4286868.577] [Gameplay] ERROR: near "": syntax error
[4286878.279] [Gameplay]: Validating Foreign Key Constraints...
[4286878.299] [Gameplay]: Passed Validation.
all the time. "[4286868.577] [Gameplay] ERROR: near "": syntax error", I can't figure out what is wrong.
since, I failed to find syntax error, so I deleted every SQL code, and tried the mod I made again. but it gave me same error.
Did I miss something?