Skip to content

Visual editor

These sheets can be edited in the browser with Elin ModMaker. A character's sprites, portrait, talk lines, dramas and per-language text are gathered in one place, and cross-sheet references such as race, job and elements come with completion and validation.

Religion Sheet โ€‹

When making source sheets, always copy the first 3 rows from the official sheet and start your data at the 4th row. Do not alter the column order.

Migrating From CWL

CWL specs have been removed from the wiki, but mods using a CWL spec (such as cwl_xxx#minor#cannot) are still compatible. We recommend switching to the new format.

Sheet Columns โ€‹

ColumnTypeDescription
idstringCustom religion ID must begin with custom, for example: custom_spaghettigod
name_JPstringDisplay name in Japanese
namestringDisplay name in English. For other languages, use SourceLocalization
name2_JPstring[]Domain name, short name, in Japanese
name2string[]Domain name, short name, in English
typestringDisplay category only: shown as the ("sub_" + type) lang entry in faction lists/logs. Whether a religion is treated as custom is decided by the id prefix (custom), and custom religions are always instantiated as ReligionCustom; this column does not pick a C# type. A custom Religion subclass requires code registration via RegisterCustomReligion
idMaterialstringMaterial alias of the altar
faithstringUnused
domainstringUnused
taxintReligion tax percentage. Blank means 100
relationintStarting relation. Blank means 50
elementselementsReligion elements bonus given to chara, as element_alias/value
cat_offerstring[]Offering category
rewardsstring[]Gift rank 1 & 2 rewards
textType_JPstringAvatar type in Japanese
textTypestringAvatar type in English
textAvatarstringAvatar information
detail_JPstringDetail in Japanese
detailstringDetail in English
textBenefit_JPstringBlessing information in Japanese
textBenefitstringBlessing information in English
textPet_JPstringGod pet information in Japanese
textPetstringGod pet information in English

Portrait โ€‹

To create an optional custom portrait for your religion, put a .png image named after the religion ID in the Texture folder, such as custom_spaghettigod.png.

God Talks โ€‹

A god talk sheet placed at LangMod/**/Data/god_talk.xlsx provides the god's voice lines; without it the religion still functions, but god talks are blank. For reference, the base game sheet is at Elin/Package/_Elona/Lang/EN/Data/god_talk.xlsx.

Religion Data โ€‹

Supplementary religion data goes in a JSON file named religion_data.json in your LangMod/**/Data/ folder.

json
{
    "custom_spaghettigod": {
        "CanJoin": true,
        "IsMinorGod": false,
        "NoPunish": false,
        "NoPunishTakeover": false,
        "Artifacts": [
            "my_awesome_weapon",
            "my_awesome_armor"
        ],
        "Elements": [
            "vopal",
            "eleLightning",
            "bane_all",
            "r_life"
        ],
        "GodAbilities": [
            "my_awesome_ability"
        ],
        "OfferingMtp": {
            "spaghetti": 20
        },
        "OfferingValue": {
            "mushroom": "base * 16 + 520 + lv * 3 + rarity * 2"
        }
    },
    "custom_example_religion2": {
        data...
    }
}
  • CanJoin
    Can join this religion.
    Default value: true
  • IsMinorGod
    A minor religion.
    Default value: false
  • NoPunish
    No punishment when leaving.
    Default value: false
  • NoPunishTakeover
    No punishment when taking over.
    Default value: false
  • Artifacts
    List of Thing IDs that are this religion's artifacts. Entries from CWL mods that used the godArtifact,religion_id tag spec are added automatically.
  • Elements
    List of Element aliases that only work on the artifact while the religion is active. Entries from CWL mods that used the religion_elements.json spec are added automatically.
  • GodAbilities
    List of Element aliases that count as god abilities; performing one triggers the ability god talk. The element's row must also carry the godAbility tag for the trigger to fire. Entries from CWL mods that used the godAbility,religion_id tag spec are added automatically.
  • OfferingMtp
    Offering multiplier override for specific Thing IDs. Entries from CWL mods that used the religion_offerings.json spec are added automatically.
  • OfferingValue
    Offering value override for specific Thing IDs, written as an arithmetic expression.
    Arguments: base (the offering value computed by the base game, from item weight/category), lv (item level), rarity (item rarity)
  • Omit any field to use its default value.

God Favor โ€‹

You can add an optional god favor feat in the Element sheet. Name it using the format featGod_ + YourReligionID + 1 (for example, featGod_custom_spaghettigod1). Reference the SourceElement sheet and copy one of the built-in favors, such as featGod_element1, as a base row to modify.

This project is an unofficial documentation site and is not affiliated with, endorsed by, or associated with Elin or Lafrontier / Noa. All trademarks are the property of their respective owners.