Civ6-mod icon indicating copy to clipboard operation
Civ6-mod copied to clipboard

Changing Policies

Open JalkenVeech opened this issue 1 year ago • 4 comments

Hi, absolutely love your mod, thanks for your work on it. Just was wondering if there was a way to change adopted policies? Not sure if I've somehow locked it out myself, or havn't triggered a policy change event but I haven't been able to in a couple of games?

No worries if it's not a feature, I understand the buildings section is a bit tricky to work with.

JalkenVeech avatar Jan 07 '25 00:01 JalkenVeech

You should be able to sell the buildings and then purchase new ones.

EmperorPinguin avatar Jan 07 '25 07:01 EmperorPinguin

I also figured out a way around the Uniques to match the Civ IV policies: https://github.com/yairm210/Civ-IV/blob/master/jsons/Policies.json

Policies.json

      {
          "name": "Despotism",
          "uniques": [
		"Unavailable <after adopting [Hereditary Rule]> <hidden from users>",
		"Unavailable <after adopting [Police State]> <hidden from users>",
		"Unavailable <after adopting [Universal Suffrage]> <hidden from users>",
		"Unavailable <after adopting [Representation]> <hidden from users>"
          ],
	"civilopediaText": [
		{
			"text": "Trigger Revolution to select a new Civic",
			"link": "Wonders/Revolution"
		}
	],
	"row": 1,
          "column": 1
      },
      {
          "name": "Hereditary Rule",
          "uniques": [
		"Unavailable <after adopting [Despotism]> <hidden from users>",
		"Unavailable <after adopting [Police State]> <hidden from users>",
		"Unavailable <after adopting [Universal Suffrage]> <hidden from users>",
		"Unavailable <after adopting [Representation]> <hidden from users>"
          ],
	"civilopediaText": [
		{
			"text": "Trigger Revolution to select a new Civic",
			"link": "Wonders/Revolution"
		}
	],
	"row": 1,
          "column": 3
      },

"Revolution" is a building that is constructed in the capital which removes all Policies...

Buildings.json


	{
		"name": "Revolution",
		"cost": 90,
		"maintenance": 0,
		"isNationalWonder": true,
		"happiness": -20,
		"requiredTech": "Code of Laws", // While not part of the Civ 4 ruleset, this seems appropriate.
		"uniques": [
			"Comment [Allows selecting new Policies/Civics]",
			"[-20 Happiness] [in your cities] <for [2] turns>",
			"[+20 Happiness] [in your cities] <for [2] turns> <for [Spiritual] Civilizations>", // No Anarchy for Spiritual Civs
			"Remove [Revolution] [in this city] <hidden from users>",
			"Only available <in [in capital] cities>",
			"Unavailable <for [AI player] Civilizations> <hidden from users>", // Only available to humans for now
			"Cannot be hurried <hidden from users>",
			"Cannot be purchased <hidden from users>",
			"Free Social Policy <hidden from users>",
			"Remove [Despotism] <hidden from users>",
			"Remove [Hereditary Rule] <hidden from users>",
                        // ...
		],
		"civilopediaText": [
          	{
				"text": "In order to select new Civic Policies, you must trigger a Revolution in your nation's capital. Once built, you'll be able to select the new Civics."
			}
      	]
	},

RobLoach avatar Mar 18 '25 03:03 RobLoach

Unadopting policies is indeed possible nowadays. Thanks for reminding me of that, I may indeed be able to do somthing with it.

EmperorPinguin avatar Mar 18 '25 06:03 EmperorPinguin

No, there are over 100 different policy cards, shoving that into the policy overview will be too much clutter. There must be a way tho hide the unavailable policies.

EmperorPinguin avatar Mar 18 '25 06:03 EmperorPinguin