1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Add population upon founding patheon and religion

Discussion in 'Mod Creation Help' started by Cagarustus, Dec 27, 2017.

  1. Cagarustus

    Cagarustus Chieftain

    Mar 9, 2017
    I want to make it so that every city adds +1 population when founding a pantheon, and a further +2 population when founding a religion.

    I've coded the following, but it doesn't appear to be working:

    INSERT INTO Modifiers (ModifierId, ModifierType, SubjectRequirementSetId)

    INSERT INTO ModifierArguments (ModifierId, Name, Value)
    ('CAG_TRAIT_INDIA_GREATAGAIN_1', 'Amount', '1'),
    ('CAG_TRAIT_INDIA_GREATAGAIN_2', 'Amount', '2');

    INSERT INTO TraitModifiers (TraitType, ModifierId)
    In my mind, there must be something wrong with the SubjectRequirementSetId, but I'm not sure. The Database Log doesn't indicate anything, so I'm not sure what's wrong.

Share This Page