Unciv/docs/Other/Map-related-JSON-files.md

152 lines
11 KiB
Markdown
Raw Normal View History

Move wiki pages into repository, fix dozens of broken links. (#5854) * 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 * 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.) Co-authored-by: Yair Morgenstern <yairm210@hotmail.com> Co-authored-by: GGGuenni <leonard@eynck.de> Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com> Co-authored-by: Arthur van der Staaij <32672293+avdstaaij@users.noreply.github.com> Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com> Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com> Co-authored-by: Alex25820 <50142558+Alex25820@users.noreply.github.com> Co-authored-by: jvy1001 <76390095+jvy1001@users.noreply.github.com> Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com> Co-authored-by: NxOne14 <81563289+NxOne14@users.noreply.github.com> Co-authored-by: MenaKing2020 <92416577+MenaKing2020@users.noreply.github.com> Co-authored-by: asda488 <39116917+asda488@users.noreply.github.com>
2022-01-24 02:49:43 +07:00
## Terrains.json
This file lists the base terrains, terrain features and natural wonders that can appear on the map.
Each terrain entry can have the following properties:
2022-02-24 02:14:29 +07:00
Move wiki pages into repository, fix dozens of broken links. (#5854) * 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 * 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.) Co-authored-by: Yair Morgenstern <yairm210@hotmail.com> Co-authored-by: GGGuenni <leonard@eynck.de> Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com> Co-authored-by: Arthur van der Staaij <32672293+avdstaaij@users.noreply.github.com> Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com> Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com> Co-authored-by: Alex25820 <50142558+Alex25820@users.noreply.github.com> Co-authored-by: jvy1001 <76390095+jvy1001@users.noreply.github.com> Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com> Co-authored-by: NxOne14 <81563289+NxOne14@users.noreply.github.com> Co-authored-by: MenaKing2020 <92416577+MenaKing2020@users.noreply.github.com> Co-authored-by: asda488 <39116917+asda488@users.noreply.github.com>
2022-01-24 02:49:43 +07:00
| Attribute | Type | Optional? | Notes |
|-----------|------|-----------|-------|
| name | String | Required | |
| type | Enum | Required | Land, Water, TerrainFeature, NaturalWonder |
| occursOn | List | Default none | Only for terrain features and Natural Wonders: The baseTerrain it can be placed on |
| turnsInto | String | Default none | Only for Natural Wonders: After placing the Natural Wonder its base terrain is changed to this |
| weight | Integer | Default 10 | Only for Natural Wonders: _relative_ weight it will be picked by the map generator |
| `<stats>` | Float | Optional | Per-turn yield or bonus yield for the tile, see [Stats](#stats) |
| overrideStats | Boolean | Default false | If on, a feature's yields replace any yield from underlying terrain instead of adding to it |
| unbuildable | Boolean | Default false | If true, nothing can be built here - not even resource improvements |
| impassable | Boolean | Default false | no unit can enter unless it has a special unique |
| movementCost | Integer | Default 1 | base movement cost |
| defenceBonus | Float | Default 0 | combat bonus for units being attacked here |
| RGB | List Integer * 3 | Default 'Gold' | RGB color for 'Default' tileset display |
| uniques | List | Default empty | List of effects, [see here](../Modders/uniques.md#terrain-uniques) |
2022-02-24 02:06:32 +07:00
| civilopediaText | List | Default empty | see [civilopediaText chapter](Miscellaneous-JSON-files.md#civilopedia-text) |
Move wiki pages into repository, fix dozens of broken links. (#5854) * 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 * 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.) Co-authored-by: Yair Morgenstern <yairm210@hotmail.com> Co-authored-by: GGGuenni <leonard@eynck.de> Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com> Co-authored-by: Arthur van der Staaij <32672293+avdstaaij@users.noreply.github.com> Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com> Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com> Co-authored-by: Alex25820 <50142558+Alex25820@users.noreply.github.com> Co-authored-by: jvy1001 <76390095+jvy1001@users.noreply.github.com> Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com> Co-authored-by: NxOne14 <81563289+NxOne14@users.noreply.github.com> Co-authored-by: MenaKing2020 <92416577+MenaKing2020@users.noreply.github.com> Co-authored-by: asda488 <39116917+asda488@users.noreply.github.com>
2022-01-24 02:49:43 +07:00
## TileImprovements.json
This file lists the improvements that can be constructed or created on a map tile by a unit (any unit having the appropriate unique).
Note that improvements have two visual representations - icon and pixel graphic in the tileset. Omitting the icon results in a horribly ugly user interface, while omitting tileset graphics will just miss out on an _optional_ visualization. If you provide a pixel graphic for FantasyHex, please be aware of the layering system and the ruleVariants in the tileset json. A single graphic may suffice if it has lots of transparency, as it will be drawn on top of all other terrain elements.
Each improvement can have the following properties:
2022-02-24 02:14:29 +07:00
Move wiki pages into repository, fix dozens of broken links. (#5854) * 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 * 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.) Co-authored-by: Yair Morgenstern <yairm210@hotmail.com> Co-authored-by: GGGuenni <leonard@eynck.de> Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com> Co-authored-by: Arthur van der Staaij <32672293+avdstaaij@users.noreply.github.com> Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com> Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com> Co-authored-by: Alex25820 <50142558+Alex25820@users.noreply.github.com> Co-authored-by: jvy1001 <76390095+jvy1001@users.noreply.github.com> Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com> Co-authored-by: NxOne14 <81563289+NxOne14@users.noreply.github.com> Co-authored-by: MenaKing2020 <92416577+MenaKing2020@users.noreply.github.com> Co-authored-by: asda488 <39116917+asda488@users.noreply.github.com>
2022-01-24 02:49:43 +07:00
| Attribute | Type | Optional? | Notes |
|-----------|------|-----------|-------|
| name | String | Required | |
| terrainsCanBeFoundOn | List | Default empty | [Terrains](#terrainsjson) that allow this resource |
| techRequired | String | Default none | The name of the technology required to build this improvement |
| uniqueTo | String | Default none | The name of the nation this improvement is unique for |
| `<stats>` | Float | Optional | Per-turn bonus yield for the tile, see [Stats](#stats) |
| turnsToBuild | Integer | | Number of turns a worker spends building this (ignored for 'create' actions) |
2022-02-24 02:06:32 +07:00
| uniques | List | Default empty | List of effects, [see here](../Modders/Unique-parameter-types.md#improvement-uniques) |
Move wiki pages into repository, fix dozens of broken links. (#5854) * 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 * 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.) Co-authored-by: Yair Morgenstern <yairm210@hotmail.com> Co-authored-by: GGGuenni <leonard@eynck.de> Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com> Co-authored-by: Arthur van der Staaij <32672293+avdstaaij@users.noreply.github.com> Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com> Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com> Co-authored-by: Alex25820 <50142558+Alex25820@users.noreply.github.com> Co-authored-by: jvy1001 <76390095+jvy1001@users.noreply.github.com> Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com> Co-authored-by: NxOne14 <81563289+NxOne14@users.noreply.github.com> Co-authored-by: MenaKing2020 <92416577+MenaKing2020@users.noreply.github.com> Co-authored-by: asda488 <39116917+asda488@users.noreply.github.com>
2022-01-24 02:49:43 +07:00
| shortcutKey | String | Default none | Keyboard binding. At the moment a single character (no function keys or Ctrl combinations) |
2022-02-24 02:06:32 +07:00
| civilopediaText | List | Default empty | see [civilopediaText chapter](Miscellaneous-JSON-files.md#civilopedia-text) |
Move wiki pages into repository, fix dozens of broken links. (#5854) * 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 * 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.) Co-authored-by: Yair Morgenstern <yairm210@hotmail.com> Co-authored-by: GGGuenni <leonard@eynck.de> Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com> Co-authored-by: Arthur van der Staaij <32672293+avdstaaij@users.noreply.github.com> Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com> Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com> Co-authored-by: Alex25820 <50142558+Alex25820@users.noreply.github.com> Co-authored-by: jvy1001 <76390095+jvy1001@users.noreply.github.com> Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com> Co-authored-by: NxOne14 <81563289+NxOne14@users.noreply.github.com> Co-authored-by: MenaKing2020 <92416577+MenaKing2020@users.noreply.github.com> Co-authored-by: asda488 <39116917+asda488@users.noreply.github.com>
2022-01-24 02:49:43 +07:00
* Tiles with no terrains, but positive turns to build, can be built only when the tile has a resource that names this improvement or special uniques are used. (TODO: missing something?)
* Tiles with no terrains, and no turns to build, are like great improvements - they're placeable. That means a unit could exist with a 'Can create [this]' unique, and that the improvement will not show in a worker's improvement picker dialog.
* Removable Terrain features will need to be removed before building an improvement - unless the feature is named in terrainsCanBeFoundOn _or_ the unique "Does not need removal of [terrainFeature]" is used (e.g. Camp allowed by resource).
* Special improvements: Road, Railroad, Remove *, Cancel improvement order, City ruins, City center, Barbarian encampment - these have special meanings hardcoded to their names.
## TileResources.json
This file lists the resources that a map tile can have.
Note the predefined resource _types_ cannot be altered in json.
Note also that resources have two visual representations - icon and pixel graphic in the tileset. Omitting the icon results in a horribly ugly user interface, while omitting tileset graphics will miss out on a visualization on the map. If you provide a pixel graphic for FantasyHex, please be aware of the layering system and the ruleVariants in the tileset json. A single graphic may suffice if it has lots of transparency, as it will be drawn on top of terrain and features but below an improvement - if the single improvement graphic exists at all.
Each resource can have the following properties:
2022-02-24 02:14:29 +07:00
Move wiki pages into repository, fix dozens of broken links. (#5854) * 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 * 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.) Co-authored-by: Yair Morgenstern <yairm210@hotmail.com> Co-authored-by: GGGuenni <leonard@eynck.de> Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com> Co-authored-by: Arthur van der Staaij <32672293+avdstaaij@users.noreply.github.com> Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com> Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com> Co-authored-by: Alex25820 <50142558+Alex25820@users.noreply.github.com> Co-authored-by: jvy1001 <76390095+jvy1001@users.noreply.github.com> Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com> Co-authored-by: NxOne14 <81563289+NxOne14@users.noreply.github.com> Co-authored-by: MenaKing2020 <92416577+MenaKing2020@users.noreply.github.com> Co-authored-by: asda488 <39116917+asda488@users.noreply.github.com>
2022-01-24 02:49:43 +07:00
| Attribute | Type | Optional? | Notes |
|-----------|------|-----------|-------|
| name | String | Required | |
| resourceType | String | Default Bonus | Bonus, Luxury or Strategic |
| terrainsCanBeFoundOn | List | Default empty | [Terrains](#terrainsjson) that allow this resource |
| `<stats>` | Float | Optional | Per-turn bonus yield for the tile, see [Stats](#stats), can be repeated |
| improvement | String | Default empty | The improvement ([TileImprovements.json](#tileimprovementsjson)) for this resource |
| improvementStats | Object | Default empty | The additional yield when improved as sub-object with one or more [Stats](#stats) |
| revealedBy | String | Default empty | The technology name required to see, work and improve this resource |
2022-02-24 02:06:32 +07:00
| unique | String | Default empty | Effects, [see here](../Modders/Unique-parameter-types.md#resource-uniques) - at the moment only one unique may be added |
| civilopediaText | List | Default empty | see [civilopediaText chapter](Miscellaneous-JSON-files.md#civilopedia-text) |
Move wiki pages into repository, fix dozens of broken links. (#5854) * 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 * 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.) Co-authored-by: Yair Morgenstern <yairm210@hotmail.com> Co-authored-by: GGGuenni <leonard@eynck.de> Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com> Co-authored-by: Arthur van der Staaij <32672293+avdstaaij@users.noreply.github.com> Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com> Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com> Co-authored-by: Alex25820 <50142558+Alex25820@users.noreply.github.com> Co-authored-by: jvy1001 <76390095+jvy1001@users.noreply.github.com> Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com> Co-authored-by: NxOne14 <81563289+NxOne14@users.noreply.github.com> Co-authored-by: MenaKing2020 <92416577+MenaKing2020@users.noreply.github.com> Co-authored-by: asda488 <39116917+asda488@users.noreply.github.com>
2022-01-24 02:49:43 +07:00
## Ruins.json
2022-02-24 02:06:32 +07:00
[Link to original](/jsons/Civ%20V%20-%20Vanilla/Ruins.json)
Move wiki pages into repository, fix dozens of broken links. (#5854) * 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 * 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.) Co-authored-by: Yair Morgenstern <yairm210@hotmail.com> Co-authored-by: GGGuenni <leonard@eynck.de> Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com> Co-authored-by: Arthur van der Staaij <32672293+avdstaaij@users.noreply.github.com> Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com> Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com> Co-authored-by: Alex25820 <50142558+Alex25820@users.noreply.github.com> Co-authored-by: jvy1001 <76390095+jvy1001@users.noreply.github.com> Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com> Co-authored-by: NxOne14 <81563289+NxOne14@users.noreply.github.com> Co-authored-by: MenaKing2020 <92416577+MenaKing2020@users.noreply.github.com> Co-authored-by: asda488 <39116917+asda488@users.noreply.github.com>
2022-01-24 02:49:43 +07:00
This file contains the possible rewards ancient ruins give. It is not required, if omitted, the default file for the game is used, even in baseRuleSet mods.
Each of the objects in the file represents a single reward you can get from ruins. It has the following properties:
| attribute | Type | optional or not | notes |
| --------- | ---- | --------------- | ----- |
| name | String | required | Name of the ruins. Never shown to the user, but they have to be distinct |
| notification | String | required | Notification added to the user when this reward is chosen. If omitted, an empty notification is shown. Some notifications may have parameters, refer to the table below. |
| weight | Integer (≥0) | defaults to 1 | Weight this reward should have. Higher weights result in a higher chance of it being chosen* |
2022-02-24 02:06:32 +07:00
| uniques | List of Strings | defaults to none | [uniques]Uniques#one-time-effect) or [uniques](../Modders/Unique-parameter-types.md#one-time-effect-units) that will trigger when entering the ruins. If more than 1 unique is added, the notification will be shown multiple times due to a bug. |
Move wiki pages into repository, fix dozens of broken links. (#5854) * 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 * 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.) Co-authored-by: Yair Morgenstern <yairm210@hotmail.com> Co-authored-by: GGGuenni <leonard@eynck.de> Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com> Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com> Co-authored-by: Arthur van der Staaij <32672293+avdstaaij@users.noreply.github.com> Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com> Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com> Co-authored-by: Alex25820 <50142558+Alex25820@users.noreply.github.com> Co-authored-by: jvy1001 <76390095+jvy1001@users.noreply.github.com> Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com> Co-authored-by: NxOne14 <81563289+NxOne14@users.noreply.github.com> Co-authored-by: MenaKing2020 <92416577+MenaKing2020@users.noreply.github.com> Co-authored-by: asda488 <39116917+asda488@users.noreply.github.com>
2022-01-24 02:49:43 +07:00
| excludedDifficulties | List of Strings | defaults to None | A list of all difficulties on which this reward may _not_ be awarded |
* The exact algorithm for choosing a reward is the following:
- Create a list of all possible rewards, with rewards with a higher weight appearing multiple times. A reward with weight one will appear once, a reward with weight two will appear twice, etc.
- Shuffle this list
- Try give rewards starting from the top of the list. If any of the uniques of the rewards is valid in this context, reward it and stop trying more rewards.
### Notifications
Some of the rewards ruins can give will have results that are not deterministic when writing it in the JSON, so creating a good notification for it would be impossible. An example for this would be the "Gain [50]-[100] [Gold]" unique, which will give a random amount of gold. For this reason, we allow some notifications to have parameters, in which values will be filled, such as "You found [goldAmount] gold in the ruins!". All the uniques which have this property can be found below.
| unique | parameters |
| ------ | ---------- |
| Free [] found in the ruins | The name of the unit will be filled in the notification, including unique units of the nation |
| [] population in a random city | The name of the city to which the population is added will be filled in the notification |
| Gain []-[] [] | The exact amount of the stat gained will be filled in the notification |
| [] free random reasearchable Tech(s) from the [] | The notification must have placeholders equal to the number of techs granted this way. Each of the names of these free techs will be filled in the notification |
| Gain enough Faith for a Pantheon | The amount of faith gained is filled in the notification |
| Gain enough Faith for []% of a Great Prophet | The amount of faith gained is filled in the notification |
### Specific uniques
A few uniques can be added to ancient ruin effects to modify when they can be earned. These are:
- "Only available after [amount] turns"
- "Hidden when religion is disabled"
- "Hidden after a great prophet has been earned"
## Tileset-specific json
A mod can define new Tilesets or add to existing ones, namely FantasyHex. There is one json file per Tileset, named same as the Tileset, and placed in a subfolder named "TileSets" relative to the other json files. This is called TileSetConfig and has the following structure:
| Attribute | Type | Optional? | Notes |
|-----------|------|-----------|-------|
| useColorAsBaseTerrain | Boolean | Default true | ? *WIP* |
| unexploredTileColor | Color | Default Dark Gray | `{"r":0.25,"g":0.25,"b":0.25,"a":1}` |
| fogOfWarColor | Color | Default Black | `{"r":0,"g":0,"b":0,"a":1}` |
| ruleVariants | List | Default empty | see below |
ruleVariants control substitutions when layering images for a tile, they are list looking like:
```json
"ruleVariants": {
"Grassland+Forest": ["Grassland","GrasslandForest"],
"Plains+Forest": ["Plains","PlainsForest"],
"Plains+Jungle": ["Plains","PlainsJungle"],
...
}
```
Each line means "if the tile content is this... then combine the following png images". The key part follows a specific order and must match in its entirety, meaning "Plains+Forest" is not valid for "Plains+Forest+Deer", and when it matches no other image layering is done except roads and units (I think - *WIP*).
When TileSetConfig's for the same Tileset are combined, for the first three properties the last mod wins, while ruleVariants are merged, meaning only an entry with the same key overwrites an earlier entry.
## Stats
Terrains, features, resources and improvements may list yield statistics. They can be one of the following:
- production, food, gold, science, culture, happiness, faith
If an object carries general stats, any combination (or none) of these can be specified. For specialized stats, they might come as sub-object in a named field. Example:
```json
"gold": 2,
"improvement": "Quarry",
"improvementStats": {"gold": 1,"production": 1},
```
The values are usually integers, though the underlying code supports floating point. The effects are, however, insufficiently tested and therefore -so far- using fractional stats is unsupported. Go ahead and thoroughly test that in a mod and help out with feedback 😁.