Race Interactions

If you liked this item, please rate it up on Steam Workshop page.

Authors: DaPutzy, Arg0n

Last revision: 21 Oct, 2023 at 15:34 UTC

File size: 254.98 KB

On Steam Workshop

Description:

Will adjust the likings of each other race according to their similarities in preferences. For example when two races like to live only in WOOD building structures and both hate every other structure, their "liking" to each other will increase. This will make the assignment of who likes who more dynamic.

v2.3.0

Support for V64 of the game.

v2.2.0

Since version v2.2.0 there are finer settings for which race gets boosted when nearby another one.
And also sharing of configuration with others via export and import, and loading configuration from other active mods is possible now.
So you can provide your own configuration bundled into your mod!

v2.0.0

With version v2.0.0 citizens became a new AI. They will now look for other races nearby. The standings "Happiness", "Loyalty", "Expectations" and "Fullfillment" will get boosted for liked races.

But why?!

This was suggested in the Discrod[discord.gg] of Songs of Syx by the user Twiggy#3123 and solves the following problem.When a player has multiple race mods installed, there are usually no interactions between these. This mod will dynamically add likings between them.

Config

There’s an in game config UI you can open via a button in the bottom panel:

Change likings between races

  • Only custom races: whether the configuration should affect any vanilla game races.
  • Honor custom races likings: is enabled, the mod will not manipulate already set likings to other races in custom modded races.
  • Sliders: (FOOD, CLIMATE, BUILDING, RELIGION) will affect how much the similarity in a certain category should influence the likings between races.

Boost standings for liked races nearby

  • Race toggles: in front of each race icon is a toggle. There you can define whether a race should get boosted when near the other race.
  • Range: affects the distance where citizens look for other races.
  • Boost: toggle boost for all races on or off.
  • Sliders: (EXPECTATION, FULFILLMENT, HAPPINESS, LOYALTY) adjusts boosting of different standings when races are nearby other liked races.

Saving and reusing config

The current configuration is stored into the games save file.
It can also be saved into the games profile folder for reusing it in another save:

%USERPROFILE%AppDataRoamingsongsofsyxsavesprofileRaceInteractions.txt

More Button

  • Export to clipboard: will export the current configuration as base64 string into your clipboard. You can paste it from the clipboard with CTRL + V.
  • Import from clipboard: will import a base64 encoded configuration from your clipboard. You can copy it into the clipboard with CTRL + C.
  • Import from other mods: will open up a selection of configurations found in other active mods to import

  • Reset: will restore the vanilla likings of the races and set the configuration to default settings.

For race mod authors

The mod will scan for configuration provided by other active mods.
So you can provide your own configuration bundled with your race mod.
You have to put it into the following directory of your mod to work:

assets/init/config/RaceInteractions.txt

See example https://raw.githubusercontent.com/4rg0n/songs-of-syx-mod-race-interactions/master/src/main/resources/mod-files/assets/init/config/RaceInteractions.txt

Play around with ;D

Source code

Github: https://github.com/4rg0n/songs-of-syx-mod-race-interactions
Older Versions: https://github.com/4rg0n/songs-of-syx-mod-race-interactions/releases