Jump to content
Age of History
  • 4
Tdrr

Will available laws correspond to a nations ideology?

Question

6 answers to this question

Recommended Posts

  • 0
17 hours ago, Łukasz Jakowski said:

Added the ability to create this type of Laws.

 

#########
RequiredGovernmentID: null
If null, this Law does not require any special Government Type.

If you want to make a Law available only for specific types of government, use the following format:
RequiredGovernmentID: [-1, 2, -1, 3, -1],

Where:
- Communism ID: 3
- Constitutional Monarchy ID: 2

Explanation:
1. First Law will be for all types of government. # It must be -1, because it will be default Law!!
2. Second Law will be available only for Civs with the government type ID: 2 (Constitutional Monarchy).
3. Third Law will be for all types of government.
4. Fourth Law will be available only for Civs with the government type ID: 3 (Communism).
5. Fifth Law will be for all types of government.

The number of IDs must match the number of Laws.

Governemtns file with IDs:
game/Governments.json

 

image.png.854c51ee0aaf957466c1c50b6bef8971.png

Amazing!!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games