OK, so I want to add a new modifier to an existing belief - specifically, I want to make it so that Pilgrimage doubles the tourism of religious art and relics. However, whenever I load the sql and check the game database in sqlitespy, the new modifiers are not added into either the Modifiers or BeliefModifiers tables. I've added new modifiers to Zen Meditation and those show up in the database and work properly - what am I doing wrong here?
ETA: added a zip of the mod folder
Code:
INSERT INTO Modifiers (ModifierId, ModifierType, RunOnce, Permanent, OwnerRequirementSetId, SubjectRequirementSetId)
VALUES ('PILGRIMAGE_TOURISM_BONUS', 'MODIFIER_ALL_CITIES_ATTACH_MODIFIER', 0, 0, NULL, 'CITY_FOLLOWS_RELIGION_REQUIREMENTS'),
('PILGRIMAGE_TOURISM_RELICS', 'MODIFIER_ALL_CITIES_ATTACH_MODIFIER', 0, 0, NULL, 'CITY_FOLLOWS_RELIGION_REQUIREMENTS'),
('PILGRIMAGE_TOURISM_BONUS_MODIFIER', 'MODIFIER_SINGLE_CITY_ADJUST_TOURISM', 0, 0, NULL, NULL),
('PILGRIMAGE_TOURISM_RELICS_MODIFIER', 'MODIFIER_SINGLE_CITY_ADJUST_TOURISM', 0, 0, NULL, NULL) ;
INSERT INTO BeliefModifiers
(BeliefType, ModifierID)
VALUES ('BELIEF_PILGRIMAGE', 'PILGRIMAGE_TOURISM_BONUS'),
('BELIEF_PILGRIMAGE', 'PILGRIMAGE_TOURISM_RELICS') ;
INSERT INTO ModifierArguments
(ModifierId, Name, Type, Value, Extra, SecondExtra)
VALUES ('PILGRIMAGE_TOURISM_BONUS', 'ModifierID', 'ARGTYPE_IDENTITY', 'PILGRIMAGE_TOURISM_BONUS_MODIFIER', NULL, NULL),
('PILGRIMAGE_TOURISM_RELICS', 'ModifierID', 'ARGTYPE_IDENTITY', 'PILGRIMAGE_TOURISM_RELICS_MODIFIER', NULL, NULL),
('PILGRIMAGE_TOURISM_BONUS_MODIFIER', 'GreatWorkObjectType', 'ARGTYPE_IDENTITY', 'GREATWORKOBJECT_RELIGIOUS', NULL, NULL),
('PILGRIMAGE_TOURISM_BONUS_MODIFIER', 'ScalingFactor', 'ARGTYPE_IDENTITY', 200, NULL, NULL),
('PILGRIMAGE_TOURISM_BONUS_RELICS_MODIFIER', 'GreatWorkObjectType', 'ARGTYPE_IDENTITY', 'GREATWORKOBJECT_RELIC', NULL, NULL),
('PILGRIMAGE_TOURISM_BONUS_RELICS_MODIFER', 'ScalingFactor', 'ARGTYPE_IDENTITY', 200, NULL, NULL) ;
ETA: added a zip of the mod folder
Attachments
Last edited: