Diplomacy


Adds advanced diplomacy system, diplomatic requests, needful commands, auto-diplomacy, customizable protection from theft of electricity, custom balance settings, building prohibition radius near enemy and integration with chat mod, etc etc. Has compatibility with any PvP scenario. High performance with the system. >33 translations

Tweaks
1 year, 3 months ago
0.16 - 1.1
2.56K
Enemies
Owner:
ZwerOxotnik
Source:
https://github.com/ZwerOxotnik/diplomacy
Homepage:
https://reddit.com/r/ZwerOxotnik
License:
Apache License 2.0
Created:
6 years ago
Latest Version:
2.13.3 (1 year, 3 months ago)
Factorio version:
0.16 - 1.1
Downloaded by:
2.56K users



Read this in another language | English | Русский

I recommend to use this mod with mods: secondary chat as it is possible write to allies;
Tiny pole if the protection from theft of electricity disabled;
Is it difficult to find enemy players? Use Dirty talk;
For balance evolution factor between teams Soft evolution;
Transfer of entities - useful when many teams;
For a custom "PvP" scenario Pack scenarios TvT scenarios.

Auto-diplomacy

forbidden_entity = (any turret, any wagon, locomotive, car, roboport, radar, rocket-silo)

If you mined entity.type = (forbidden_entity) OR entity.max_health >= settings.global["diplomacy-HP-forbidden-entity-on-mined"].value another faction become enemy.

If you destroy entity.type = (forbidden_entity or player) OR entity.max_health >= settings.global["diplomacy-HP-forbidden-entity-on-killed"].value another faction become enemy, else neutral (if you are not already enemies).

If you damage to the entity.max_health >= settings.global["diplomacy-HP-forbidden-entity-on-damage"].value another faction become enemy with low probability.

Mod settings

For maps

Description Parameters (Default)
Protection from theft of electricity - does not allow enemies to connect to someone else's electricity boolean true
Show all factions - Hides in diplomacy factions without playersHides in diplomacy factions without players boolean false
Required HP for changing relationships for a killed object - changes state relationships when killed an entity HP >= this parameter value 1-100000000000 300
Required HP for changing relationships for a mined object - changes state relationships when mined an object HP >= this parameter value 0-100000000000 300
Required HP for changing relationships for damage to an object - changes state relationships when damage to the object HP >= this parameter value (happens with low probability) 1-100000000000 300
Allow players mine objects from allied factions boolean false
Auto-diplomacy when dealing damage - checks damage and changes relationships between factions boolean true
Diplomatic privilege - which players are able to change teams diplomatic stance towards other teams. All players: Every player on the team. Team leader: The connected player who has been on the team longest. ["all players", "team leader"] all players
Building Prohibition Radius - you can't build near enemies within this radius 0-25 3

Startup

Description Parameters (Default)
Hide all object markers on map boolean false
HP of rocket silo - to change HP of rocket silo 1-10000000000 50000
Count science pack for the technology of tanks 1-10000000000 1000
Count science pack for the technology of power armor MK2 1-10000000000 1000
Count science pack for the technology of uranium ammo 1-10000000000 1800

Future plans

  • Diplomatic request queue
  • Short demonstration video
  • Add in "diplomacy" blacklist for factions and scenarios, which will contain factions/players
  • Add in "balanced evolution factor" blacklist for scenarios, which will contain the factions
  • Mod settings the map transform in GUI of the game
  • Faction menu
  • Add GUI to view the relationship between each other's factions

Found an Issue?

Please report any issues or a mistake in the documentation, you can help us by submitting an issue to our GitLab Repository or on mods.factorio.com or on forums.factorio.com.

Want a Feature?

You can request a new feature by submitting an issue to our GitLab Repository or on mods.factorio.com or on forums.factorio.com.

Special thanks

  • Plov - tester