mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-25 21:03:15 -04:00
* Initial Home page Updated Home (markdown) Updated Getting Started (markdown) Created Project structure overview (markdown) Initial Home page Updated Project structure overview (markdown) Updated Project structure overview (markdown) Created Making a new Civilization (markdown) Updated Getting Started (markdown) Updated Home (markdown) Updated Project structure overview (markdown) Created From code to deployment (markdown) Updated Project structure overview (markdown) Updated Major classes (markdown) Updated Project structure and major classes (markdown) Updated Getting Started (markdown) Updated Project structure and major classes (markdown) Updated From code to deployment (markdown) Created Translating (markdown) Updated Translating (markdown) Updated Translating (markdown) Updated Translating (markdown) Updated Translating (markdown) Created Coding standards (markdown) Updated Home (markdown) Added "why do we clone on NextTurn" explanation Created Mods (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Translating (markdown) New translation files location Updated Mods (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Translating (markdown) Added mod file location on chromebook Created Scenarios (markdown) Updated Scenarios (markdown) Updated Scenarios (markdown) Updated Scenarios (markdown) Updated Scenarios (markdown) Updated Scenarios (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Scenarios (markdown) Updated Mods (markdown) Added itch.io release Updated Mods (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Project structure and major classes (markdown) Updated Mods (markdown) Created Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Added link to Uniques Updated Uniques (markdown) Added 'triggers victory' unique Updated Making a new Civilization (markdown) Created Building locally without Android Studio (markdown) Updated Translating (markdown) Updated Uniques (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Uniques (markdown) Added improvement uniques Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Mods (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) I thought a tutorial on how to create a custom tileset in the first place could not hurt Moved the sentence to the "Creating a custom tileset" page Updated Making a new Civilization (markdown) Updated Mods Making a new Civilization (markdown) Updated Mods Making a new Civilization (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Destroyed Scenarios (markdown) Updated Uniques (markdown) Changed Travis documentation to Github actions documentation Updated Translating (markdown) Updated Translating (markdown) Updated From code to deployment (markdown) Removed "working on templated rule variants" because we currently don't Updated Uniques (markdown) Updated uniques based on everything done during the policy update Misplaced a unique Updated Making a new Civilization (markdown) Updated Making a new Civilization (markdown) Updated Translating (markdown) Updated Uniques (markdown) Removed [pending] messages for PR's that were no longer pending Added uniques from telecommuncations/advanced balistics Added all the uniques from my PR's (telecommunicatoins -- shrines); added uniques I deprecated at some point Updated Uniques (markdown) Added missing deprecated unique Added uniques changed in #4292 Updated Uniques (markdown) Added uniques from #4311 and #4301 Added uniques from #4331 Added Discord webhook message Created page with basic information Typo Made information not incorrect Added units.json Manual new lines was a terrible idea Updated JSON files for mods (markdown) Added link to JSON files for mods explanation Added eras.json capitalization Added a header Improved example Added Buildings.json hmmm Doesn't work, sad Added information on Specialists.json Updated JSON files for mods (markdown) Added uniques from #4372 Updated Uniques (markdown) Updated uniques after #4393 Updated uniques after #4423 Add new and deprecated uniques of #4487, #4459 add wonder images Fixed mod directory Updated Uniques (markdown) Updated uniques after #4530, #4505, #4419 Reworked the passages on tileFilter, terrainFilter and improvementFilter from code inspection Added a more indept guide on how to install UnCiv on macOS Updated Uniques (markdown) Created Credits.md (markdown) Destroyed Credits.md (markdown) Added installing from source method Improve Sound chapter, added Civilopedia text chapter Added after #4619 Added unitTypes.json Added beliefs.json Updated Translating (markdown) Added eras:unitBaseBuyCost Added after #4568 Added ruins.json Added after #4771 Added rudimentary Difficulties.json doc Added ruin-specfic uniques explanation Added TOC and Nations Detailed Techs chapter Fix 1 line - tech uniques Added Quests.json Added ModOptions Added ModOptions Added UnitPromotions, structured TOC Added Policies Added crosslinks Fixed broken links Added TileResources Added more crosslinks Small fix resource tile graphix aren't toggle-able Added TileImprovements Added Terrains Updated JSON files for mods (markdown) Updated Getting Started (markdown) Updated Getting Started (markdown) Updated Getting Started (markdown) Updated JSON files for mods (markdown) Updated Translating (markdown) Created Civilization-related JSON files (markdown) Created Map-related JSON files (markdown) Double title Double title Created Unit-related JSON files (markdown) Moved sounds Updated Unit related JSON files (markdown) Moved Stats Created Miscellaneous JSON files (markdown) Removed content that has been moved to separate pages, update TOC Created _Sidebar (markdown) Updated Uniques (markdown) test Fixed broken links. Apparently the way 'preview' links to pages differs from how it links when you view them on a saved page for some reason Updated Uniques (markdown) Fix relative `..` link suddenly leaving the wiki Updated Miscellaneous JSON files (markdown) Fix relative links Fix era links to Units.json Updated Uniques (markdown) Updated From code to deployment (markdown) Added uniques & cityFilters up to #4995 Mass deprecation as per 422607 Fixed broken link to redirect to Unit Uniques in Wiki Fixed broken link to redirect to Unit Uniques in Wiki table Updated Uniques (markdown) Updated Getting Started (markdown) Updated Uniques (markdown) Added uniques & filters up to #5094 Removed a deprecated unique Moved some uniques to better sections, removed an outdated unique fixed a typo Updated Uniques (markdown) eras.json is now required Removed outdated religion section Added missing terrain uniques Added resource uniques Fixed resource unique link Added missing unique for tile improvements Fixed broken link "Disappearing" translations explained Updated Home (markdown) Some atlas info, leader portraits Created Force rating calculation (markdown) "Not yet" for Image atlas distribution in mods Updated uniques after #5259 Added information on conditionals Updated growth unique Added conditional support up to #5270 Typo Escape html tags Add conditionals to table of contents Updated _Sidebar (markdown) Created Audiovisual Mods (markdown) Audiovisual Mods, move Graphics-only info Updated Audiovisual Mods (markdown) Audiovisual Mods - Draft done. Documented translation method Updated Translations, mods, and modding freedom in Open Source (markdown) Fix Typos and Links New Terrain uniques / 2 sections Atlas control via multiple Images.x folders is now live Link to atlas paragraph startBias clarification Missing bracket Added uniques & conditionals up to #5345 (my PR's only) Updated Force rating calculation (markdown) Updated Getting Started (markdown => asciidoc) Undid renaming Updated Getting Started (asciidoc => markdown) Added fix for Gradle sync fail Updated Project structure and major classes (markdown) Bump Java version from JDK 8 to JDK 11 due to gradle upgrade Updated uniques & conditionals up to #5618 from my PR's Created Regions (markdown) Updated Uniques (markdown) Updated Uniques (markdown) Mention docs/uniques.md, emphasized Stat capitalization * Base wiki state. * Move wiki files into `/docs/wiki`. Migrate inter-Markdown links. Fix pre-existing broken links and anchors. Standardize repository links for AS linting. Add wiki footer. Updated Uniques (markdown) Updated Mods Making a new Civilization (markdown) Updated Making a new Civilization (markdown) Add GH Action for updating wiki. Play it safer, and don't `push -f`. (Should be the same either way though.) * Base wiki migration state. * Author: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> 2022-01-02 11:04:38 Committer: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> 2022-01-02 11:04:38 Parent: 8fe9385ee644a74b1c3ae3c6d1fa8200cc952a3f (Mention docs/uniques.md, emphasized Stat capitalization) Child: 7463af24381cc6b94b949b4419841d303af6bb93 (Expanded documentation on constructionFilters) Branches: master, remotes/origin/master Follows: Precedes: Added construction filter in the header * Author: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> 2022-01-02 11:06:59 Committer: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> 2022-01-02 11:06:59 Parent: 49654ec91dcf565685fd6e4ca966456484c578bd (Added construction filter in the header) Child: d48da00f4fa03f61891ec7396a5d0ba9109f44df (Added actual steps I take when releasing a version) Branches: master, remotes/origin/master Follows: Precedes: Expanded documentation on constructionFilters * Author: Yair Morgenstern <yairm210@> 2022-01-02 18:15:10 Committer: Yair Morgenstern <yairm210@> 2022-01-02 18:15:10 Parent: 7463af24381cc6b94b949b4419841d303af6bb93 (Expanded documentation on constructionFilters) Child: e7873b135204510742017be455c8b73862bb1d75 (Updated From code to deployment (markdown)) Branches: master, remotes/origin/master Follows: Precedes: Added actual steps I take when releasing a version * Author: Yair Morgenstern <yairm210@> 2022-01-02 19:54:18 Committer: Yair Morgenstern <yairm210@> 2022-01-02 19:54:18 Parent: d48da00f4fa03f61891ec7396a5d0ba9109f44df (Added actual steps I take when releasing a version) Child: 84a6eb3a44ed2504f157d55e90cfe2363bb70659 (Added buildingFilter and reworded a bit of generated documentation) Branches: master, remotes/origin/master Follows: Precedes: Updated From code to deployment (markdown) * Author: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> 2022-01-07 11:48:11 Committer: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> 2022-01-07 11:48:11 Parent: e7873b135204510742017be455c8b73862bb1d75 (Updated From code to deployment (markdown)) Child: 2a4a0add3728a676012ce51bc3f825c8a5c04c84 (Slightly improved wording) Branches: master, remotes/origin/master Follows: Precedes: Added buildingFilter and reworded a bit of generated documentation * Author: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> 2022-01-07 11:51:18 Committer: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> 2022-01-07 11:51:18 Parent: 84a6eb3a44ed2504f157d55e90cfe2363bb70659 (Added buildingFilter and reworded a bit of generated documentation) Child: d4b91ed84a0989ea5205a77390543d268f7a8b22 (Removed a deprecated field) Branches: master, remotes/origin/master Follows: Precedes: Slightly improved wording * Author: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> 2022-01-17 16:59:32 Committer: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> 2022-01-17 16:59:32 Parent: 2a4a0add3728a676012ce51bc3f825c8a5c04c84 (Slightly improved wording) Child: 3cd48433f279bcceaaab4f63c2c48606781c059f (Updated belief type valed values) Branches: master, remotes/origin/master Follows: Precedes: Removed a deprecated field * Author: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> 2022-01-17 17:00:14 Committer: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> 2022-01-17 17:00:14 Parent: d4b91ed84a0989ea5205a77390543d268f7a8b22 (Removed a deprecated field) Child: 2f076df75fc5d112146902c88f240a3ebdac8849 (Updated Getting Started (markdown)) Branches: master, remotes/origin/master Follows: Precedes: Updated belief type valed values * Author: Yair Morgenstern <yairm210@> 2022-01-22 19:40:43 Committer: Yair Morgenstern <yairm210> 2022-01-22 19:40:43 Parent: 3cd48433f279bcceaaab4f63c2c48606781c059f (Updated belief type valed values) Child: 5d60469df68e0416ffa815e1366aef191583c451 (Updated Getting Started (markdown)) Branches: master, remotes/origin/master Follows: Precedes: Updated Getting Started (markdown) * Author: Yair Morgenstern <yairm210@> 2022-01-22 19:46:03 Committer: Yair Morgenstern <yairm210@> 2022-01-22 19:46:03 Parent: 2f076df75fc5d112146902c88f240a3ebdac8849 (Updated Getting Started (markdown)) Child: 73475b37b28934478dc05830d3aeb61cf8ee6b69 (Updated Getting Started (markdown)) Branches: master, remotes/origin/master Follows: Precedes: Updated Getting Started (markdown) * Normalize some links. * Author: Yair Morgenstern <yairm210@> 2022-01-22 19:54:23 Committer: Yair Morgenstern <yairm210@> 2022-01-22 19:54:23 Parent: 5d60469df68e0416ffa815e1366aef191583c451 (Updated Getting Started (markdown)) Branches: master, remotes/origin/master Follows: Precedes: Updated Getting Started (markdown) Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
This commit is contained in:
parent
f483f0a345
commit
a78fa5dc12
@ -1,11 +1,13 @@
|
||||
* [Beliefs.json](#beliefsjson)
|
||||
* [Buildings.json](#buildingsjson)
|
||||
* [Nations.json](#nationsjson)
|
||||
* [Policies.json](#policiesjson)
|
||||
* [Quests.json](#questsjson)
|
||||
* [Religions.json](#religionsjson)
|
||||
* [Specialists.json](#specialistsjson)
|
||||
* [Techs.json](#techsjson)
|
||||
- [Beliefs.json](#beliefsjson)
|
||||
- [Buildings.json](#buildingsjson)
|
||||
- [Nations.json](#nationsjson)
|
||||
- [Policies.json](#policiesjson)
|
||||
- [Quests.json](#questsjson)
|
||||
- [Religions.json](#religionsjson)
|
||||
- [Specialists.json](#specialistsjson)
|
||||
- [Techs.json](#techsjson)
|
||||
- [Column structure](#column-structure)
|
||||
- [Tech structure](#tech-structure)
|
||||
|
||||
|
||||
## Beliefs.json
|
||||
@ -17,7 +19,7 @@ Each belief can have the following attributes:
|
||||
| attribute | Type | Optional or not | notes |
|
||||
| --------- | ---- | --------------- | ----- |
|
||||
| name | String | Required | Name of the belief |
|
||||
| type | String | Required | The type of the belief. Valid values are: "Pantheon" and "Follower". Later "Founder" will be added, but this has not been implemented yet |
|
||||
| type | String | Required | The type of the belief. Valid values are: "Pantheon", "Follower", "Founder" and "Enhancer". |
|
||||
| uniques | List of Strings | defaults to none | The unique abilities this belief adds to cities following it. May be chosen from the list of building uniques [here](./Uniques.md#buildings-only), as well as the general uniques on that page |
|
||||
| civilopediaText | List | Default empty | see [civilopediaText chapter](./Miscellaneous-JSON-files.md#civilopedia-text) |
|
||||
|
||||
@ -43,7 +45,6 @@ Each building can have the following attributes:
|
||||
| isWonder | Boolean | defaults to false | Whether this building is a global wonder |
|
||||
| isNationalWonder | Boolean | defaults to false | Whether this building is a national wonder |
|
||||
| requiredBuilding | String | defaults to none | A building that has to be built before this building can be built. Must be in [Buildings.json](/android/assets/jsons/Civ%20V%20-%20Gods%20&%20Kings/Buildings.json) |
|
||||
| requiredBuildingInAllCities | String | defaults to none | A building that has to be built in all cities before this building can be built. Must be in [Buildings.json](/android/assets/jsons/Civ%20V%20-%20Gods%20&%20Kings/Buildings.json) |
|
||||
| cannotBeBuiltWith | String | defaults to none | The building [cannotBeBuiltWith] and this building cannot exist in the same city together. Should be in [Buildings.json](/android/assets/jsons/Civ%20V%20-%20Gods%20&%20Kings/Buildings.json) |
|
||||
| providesFreeBuilding | String | defaults to none | When the building is built, [providesFreeBuilding] is also automatically added to the city |
|
||||
| requiredTech | String | defaults to none | The tech that should be researched before this building may be built. Must be in [Techs.json](#techsjson) |
|
||||
|
@ -17,10 +17,10 @@ The process has two major parts, one is "Getting your code in the main repositor
|
||||
## Deploying versions
|
||||
|
||||
When I'm ready to release a new version I:
|
||||
* Comment "merge translations" in one of the open PRs tagged as 'mergeable translation' to trigger the translation branch creation, add a "summary" comment to trigger summary generation, merge the PR and delete the branch (so next version translation branch starts fresh)
|
||||
* From my workstation - pull the latest changes and run the [translation generation](./Translating#translation-generation---for-developers)
|
||||
* Change the versionCode and versionName in the Android build.gradle so that Google Play and F-droid can recognize that it's a different release
|
||||
* Run the [translation generation](./Translating.md#translation-generation---for-developers)
|
||||
* Upload the new version to Google Play - we start at a 10% rollout, after a day with no major problems go to 30%, and after another day to 100%. If you were counting that means that most players will get the new version after 2+ days.
|
||||
* If there were problems, we halt the current rollout, fix the problems, and release a patch version, which starts at 10% again.
|
||||
* Add an entry in the changelog.md done, WITHOUT hashtags, and less than 500 characters (that's the limit for Google play entries). The formatting needs to be exact or the text sent to Discord, the Github release etc. won't be complete.
|
||||
* Add a tag to the commit of the version. When the [Github action](https://github.com/yairm210/Unciv/actions/workflows/buildAndDeploy.yml) sees that we've added a tag, it will run a build, and this time (because of the configuration we put in the [yml file](/.github/workflows/buildAndDeploy.yml) file), it will:
|
||||
* Pack a .jar file, which will work for every operating system with Java
|
||||
* Use Linux and Windows JDKs to create standalone zips for 32 and 64 bit systems, because we can't rely on the fact that users will have a JRE
|
||||
@ -34,6 +34,10 @@ When I'm ready to release a new version I:
|
||||
|
||||
## About Google Play publishing
|
||||
|
||||
Dear future me - this was extremely annoying guesswork to set up, so the facts you need to know are:
|
||||
+We start at a 10% rollout, after a day with no major problems go to 30%, and after another day to 100%. If you were counting that means that most players will get the new version after 2+ days.
|
||||
+
|
||||
+If there were problems, we halt the current rollout, fix the problems, and release a patch version, which starts at 10% again.
|
||||
+
|
||||
+Dear future me - the automation was extremely annoying guesswork to set up, so the facts you need to know are:
|
||||
- There is a user at the [Google Cloud Platform Account Manager](https://console.cloud.google.com/iam-admin/iam) called Unciv_Upload_Account. There is an access key to this account, in json, stored as the Github secret GOOGLE_PLAY_SERVICE_ACCOUNT_JSON.
|
||||
- This user was granted ADMIN permissions to the Google Play (after much trial and error since nothing else seemed to work) under User > Users and Permissions. Under Manage > Account permissions, you can see that it has Admin.
|
||||
|
@ -9,7 +9,7 @@ So first things first - the initial "No assumptions" setup to have Unciv run fro
|
||||
* Fork the repo (click the "Fork" button on the top-right corner of https://github.com/yairm210/Unciv) - this will create a "copy" of the code on your account, at https://github.com/YourUsername/Unciv
|
||||
* Clone your fork with git - the location will be https://github.com/YourUsername/Unciv.git, visible from the green "Clone or download" button at https://github.com/YourUsername/Unciv
|
||||
* Load the project in Android Studio, Gradle will attempt the initial sync. If this is your first time with Android Studio, this may require you to accept the Android Build-tools licenses, which works differently on every device, so search for your OS-specific solution.
|
||||
* A new install may not be able to do the initial sync. If you have this problem go into File > Settings > Appearance & Behavior > System Settings > Android SDK
|
||||
* A new install may not be able to do the initial sync - this comes in the form of `Unable to find method ''void org.apache.commons.compress.archivers.zip.ZipFile.<init>(java.nio.channels.SeekableByteChannel)''` errors when you try to sync. If you have this problem go into File > Settings > Appearance & Behavior > System Settings > Android SDK
|
||||
* Click "SDK Tools"
|
||||
* Select "Show Package Details" in the bottom right
|
||||
* Choose version 30.0.2 under "Android SDK Build-Tools 31"
|
||||
@ -18,7 +18,9 @@ So first things first - the initial "No assumptions" setup to have Unciv run fro
|
||||
* Click "+" to add a new configuration
|
||||
* Choose "Application"
|
||||
* Set the module to `Unciv.desktop`, main class to `com.unciv.app.desktop.DesktopLauncher` and `<repo_folder>\android\assets\` as the Working directory, OK to close the window
|
||||
* If you get a `../../docs/uniques.md (No such file or directory)` error that means you forgot to set the working directory!
|
||||
* Select the Desktop configuration and click the green arrow button to run!
|
||||
* I also recommend going to Settings > Version Control > Commit and turning off 'Before commit - perform code analysis'
|
||||
|
||||
Unciv uses Gradle to specify dependencies and how to run. In the background, the Gradle gnomes will be off fetching the packages (a one-time effort) and, once that's done, will build the project!
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
* [tileFilter](#tilefilter)
|
||||
* [unitFilter](#unitfilter)
|
||||
* [cityFilter](#cityfilter)
|
||||
* [buildingFilter](#constructionfilter)
|
||||
- [Conditionals](#conditionals)
|
||||
- [General uniques](#general-uniques)
|
||||
* [Stat uniques](#stat-uniques)
|
||||
@ -46,11 +47,11 @@ As seen in the above example, in order to provide flexibility and generalization
|
||||
|
||||
### Generated Documentation
|
||||
|
||||
This part of the wiki is human-edited and partially out of date. However, we now have automatically generated documentation, complete for all Uniques that have been updated to the new UniqueType system. [It is part of the main source tree](/docs/uniques.md).
|
||||
This part of the wiki is human-edited and partially out of date. However, we now have automatically generated documentation, complete for all Uniques that have been updated to the new UniqueType system. It is part of the main source tree and [can be found here.](/docs/uniques.md). This version should always be up-to-date with the uniques and conditionals currently supported in the game.
|
||||
|
||||
### Unique locations
|
||||
|
||||
Most uniques are "Global uniques" - meaning, they can be put in one of four places:
|
||||
Most uniques are "Global uniques" - meaning, they can be put in one of these places:
|
||||
- Nation uniques - Always active for a specific Nation
|
||||
- Policy uniques - Active once the policy has been chosen
|
||||
- Building uniques - Active once the building has been constructed in any city
|
||||
@ -64,10 +65,10 @@ Most uniques are *ongoing* - they describe something continuous. Some, however,
|
||||
|
||||
Parameters come in various types, and will be addressed as such inside the [square brackets].
|
||||
|
||||
- amount - This indicates a whole, (usually) positive number, like "2" or "13".
|
||||
- amount - This indicates a whole number, possibly with a + or - sign, such as "2", "+13", or "-3".
|
||||
- unitName, buildingName, improvementName etc - Rather self explanatory. Examples: "Warrior", "Library", and "Mine", accordingly.
|
||||
- stat - This is one of the 7 major stats in the game - "Gold", "Science", "Production", "Food", "Happiness", "Culture" and "Faith". Note that the stat names need to be capitalized!
|
||||
- stats, tileFilter, unitFilter, cityFilter, constructionFilter - these are more complex and are addressed individually
|
||||
- stats, tileFilter, unitFilter, cityFilter, constructionFilter/buildingFilter - these are more complex and are addressed individually
|
||||
|
||||
#### stats
|
||||
|
||||
@ -172,7 +173,7 @@ cityFilters allow us to choose the range of cities affected by this unique:
|
||||
- "in all cities in which the majority religion is a major religion"
|
||||
- "in all cities in which the majority religion is a enhanced religion"
|
||||
|
||||
### ConstructionFilter
|
||||
### constructionFilter
|
||||
|
||||
ConstructionFilters allow us to activate uniques while constructing certain buildings or units.
|
||||
For units, the UnitFilter is called. For Buildings, the following options are implemented:
|
||||
@ -180,10 +181,12 @@ For units, the UnitFilter is called. For Buildings, the following options are im
|
||||
- "All"
|
||||
- "Buildings", "Building"
|
||||
- "Wonders", "Wonders"
|
||||
- "National Wonder"
|
||||
- "World Wonder" -- All wonders that are not national wonders
|
||||
- building name
|
||||
- The name of the building it replaces (so for example uniques for libraries will apply to paper makers as well)
|
||||
- an exact unique the building has (e.g.: "spaceship part")
|
||||
- if the building is "stat-related" for some stat. Stat-related buildings are defined as one of the following:
|
||||
- "Culture", "Gold", etc. if the building is "stat-related" for that stat. Stat-related buildings are defined as one of the following:
|
||||
- Provides that stat directly (e.g. +1 Culture)
|
||||
- Provides a percentage bonus for that stat (e.g. +10% Production)
|
||||
- Provides that stat as a bonus for resources (e.g. +1 Food for Wheat)
|
||||
@ -200,10 +203,6 @@ Which will only apply the strength boost when fighting armored units in open ter
|
||||
This system is currently in development, so only a small amount of conditionals exist, and only a few uniques can have conditionals for now. It will be expanded greatly, improving the amount of combinations that can be made and therefore the amount of different uniques that exist.
|
||||
Uniques that support conditionals will be denoted with a "©" sign for now.
|
||||
|
||||
### Autogenerated unique documentation
|
||||
|
||||
Can be found [here!](/docs/uniques.md)
|
||||
|
||||
#### Global conditionals
|
||||
|
||||
\<when at war\> - Applies when the civilization is at war
|
||||
|
Loading…
x
Reference in New Issue
Block a user