Skip to content

Commit

Permalink
Deployed 5a204eb with MkDocs version: 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Nov 27, 2024
0 parents commit 6acd07c
Show file tree
Hide file tree
Showing 105 changed files with 74,703 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
1,270 changes: 1,270 additions & 0 deletions 404.html

Large diffs are not rendered by default.

3,304 changes: 3,304 additions & 0 deletions Credits/index.html

Large diffs are not rendered by default.

1,660 changes: 1,660 additions & 0 deletions Developers/Building-Locally/index.html

Large diffs are not rendered by default.

1,411 changes: 1,411 additions & 0 deletions Developers/Coding-standards/index.html

Large diffs are not rendered by default.

1,526 changes: 1,526 additions & 0 deletions Developers/From-code-to-deployment/index.html

Large diffs are not rendered by default.

1,760 changes: 1,760 additions & 0 deletions Developers/Game-Making-Tips/index.html

Large diffs are not rendered by default.

1,425 changes: 1,425 additions & 0 deletions Developers/Map-rendering/index.html

Large diffs are not rendered by default.

1,804 changes: 1,804 additions & 0 deletions Developers/Project-structure-and-major-classes/index.html

Large diffs are not rendered by default.

1,327 changes: 1,327 additions & 0 deletions Developers/Saved-games-and-transients/index.html

Large diffs are not rendered by default.

1,513 changes: 1,513 additions & 0 deletions Developers/Testing-Android-Builds/index.html

Large diffs are not rendered by default.

1,495 changes: 1,495 additions & 0 deletions Developers/Translations,-mods,-and-modding-freedom-in-Open-Source/index.html

Large diffs are not rendered by default.

1,516 changes: 1,516 additions & 0 deletions Developers/UI-development/index.html

Large diffs are not rendered by default.

1,470 changes: 1,470 additions & 0 deletions Developers/Uniques/index.html

Large diffs are not rendered by default.

1,424 changes: 1,424 additions & 0 deletions Guiding-Principles/index.html

Large diffs are not rendered by default.

1,390 changes: 1,390 additions & 0 deletions Modders/Autoupdates/index.html

Large diffs are not rendered by default.

2,417 changes: 2,417 additions & 0 deletions Modders/Creating-a-UI-skin/index.html

Large diffs are not rendered by default.

1,772 changes: 1,772 additions & 0 deletions Modders/Creating-a-custom-tileset/index.html

Large diffs are not rendered by default.

2,481 changes: 2,481 additions & 0 deletions Modders/Images-and-Audio/index.html

Large diffs are not rendered by default.

1,594 changes: 1,594 additions & 0 deletions Modders/Making-a-new-Civilization/index.html

Large diffs are not rendered by default.

1,538 changes: 1,538 additions & 0 deletions Modders/Mod-file-structure/1-Overview/index.html

Large diffs are not rendered by default.

2,399 changes: 2,399 additions & 0 deletions Modders/Mod-file-structure/2-Civilization-related-JSON-files/index.html

Large diffs are not rendered by default.

2,042 changes: 2,042 additions & 0 deletions Modders/Mod-file-structure/3-Map-related-JSON-files/index.html

Large diffs are not rendered by default.

1,654 changes: 1,654 additions & 0 deletions Modders/Mod-file-structure/4-Unit-related-JSON-files/index.html

Large diffs are not rendered by default.

2,915 changes: 2,915 additions & 0 deletions Modders/Mod-file-structure/5-Miscellaneous-JSON-files/index.html

Large diffs are not rendered by default.

1,620 changes: 1,620 additions & 0 deletions Modders/Mods/index.html

Large diffs are not rendered by default.

1,400 changes: 1,400 additions & 0 deletions Modders/Scenarios/index.html

Large diffs are not rendered by default.

1,491 changes: 1,491 additions & 0 deletions Modders/Type-checking/index.html

Large diffs are not rendered by default.

2,001 changes: 2,001 additions & 0 deletions Modders/Unique-parameters/index.html

Large diffs are not rendered by default.

73 changes: 73 additions & 0 deletions Modders/schemas/buildings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },

"production": { "type": "number" },
"food": { "type": "number" },
"gold": { "type": "number" },
"science": { "type": "number" },
"culture": { "type": "number" },
"happiness": { "type": "number" },
"faith": { "type": "number" },

"uniques": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/uniques.json" },
"civilopediaText": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/civilopediaText.json" },

"requiredTech": { "type": "string" },
"cost": { "type": "integer" },
"maintenance": {
"type": "integer",
"description": "Gold upkeep per turn for this building"
},
"percentStatBonus": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/stats.json" },
"specialistSlots": {
"type": "object",
"additionalProperties": { "type": "integer" },
"description": "How many specialists of each type does this building allow for. Key must be name of existing specialist."
},
"greatPersonPoints": {
"type": "object",
"additionalProperties": { "type": "integer" },
"description": "Which Great Person Points this building generates per turn. Key must be name of Great Person unit."
},
"hurryCostModifier": { "type": "number" },
"isWonder": { "type": "boolean" },
"isNationalWonder": { "type": "boolean" },
"requiredBuilding": { "type": "string" },
"requiredResource": { "type": "string" },
"requiredNearbyImprovedResources": {
"type": "array",
"items": { "type": "string" },
"uniqueItems": true
},
"cityStrength": { "type": "integer" },
"cityHealth": { "type": "integer" },

"uniqueTo": {
"type": "string",
"description": "Designates that only this nation can build this unit. Must be exact name of existing nation."
},
"replaces": {
"type": "string",
"description": "For unique units: the name of the original unit that this unit replaces for the uniqueTo nation."
},

"quote": {
"type": "string",
"description": "Quote that will be displayed for Wonders in the 'construction completed' popup"
},
"replacementTextForUniques": {
"type": "string",
"description": "Freeform text that will be shown to users, overriding the list of uniques."
}
},
"required": [
"name"
],
"additionalProperties": false
}
}
22 changes: 22 additions & 0 deletions Modders/schemas/civilopediaText.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"type": "array",
"items": {
"type": "object",
"properties": {
"text": { "type": "string" },
"link": { "type": "string" },
"icon": { "type": "string" },
"extraImage": { "type": "string" },
"imageSize": { "type": "number" },
"size": { "type": "number" },
"header": { "type": "number" },
"indent": { "type": "number" },
"padding": { "type": "number" },
"color": { "type": "string" },
"separator": { "type": "boolean" },
"starred": { "type": "boolean" },
"centered": { "type": "boolean" },
"iconCrossed": { "type": "boolean" }
}
}
}
11 changes: 11 additions & 0 deletions Modders/schemas/color.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "array",
"minLength": 3,
"maxLength": 3,
"items": {
"type": "integer",
"minimum": 0,
"maximum": 255
}
}
32 changes: 32 additions & 0 deletions Modders/schemas/events.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"text": { "type": "string" },
"presentation": { "enum": ["None", "Alert", "Floating"] },

"uniques": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/uniques.json" },
"civilopediaText": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/civilopediaText.json" },

"choices": {
"type": "array",
"items": {
"properties": {
"text": { "type": "string" },
"uniques": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/uniques.json" },
"civilopediaText": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/civilopediaText.json" }
},
"required": ["text", "uniques"],
"additionalProperties": false
}
}
},
"required": [
"name"
],
"additionalProperties": false
}
}
66 changes: 66 additions & 0 deletions Modders/schemas/nations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"leaderName": { "type": "string" },
"adjective": {
"type": "array",
"items": { "type": "string" },
"uniqueItems": true,
"description": "Currently not in use"
},
"style": { "type": "string" },
"cityStateType": { "type": "string" },
"outerColor": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/color.json" },
"innerColor": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/color.json" },

"preferredVictoryType": { "type": "string" },
"startBias": {
"type": "array",
"items": { "type": "string" },
"uniqueItems": true,
"description": "Types of tiles where the civ will be more likely to start"
},

"uniques": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/uniques.json" },


// All of these are cosmetic
"introduction": { "type": "string" },
"tradeRequest": { "type": "string" },
"neutralHello": { "type": "string" },
"hateHello": { "type": "string" },

"declaringWar": { "type": "string" },
"attacked": { "type": "string" },
"defeated": { "type": "string" },
"startIntroPart1": { "type": "string" },
"startIntroPart2": { "type": "string" },
"cities": {
"type": "array",
"items": { "type": "string" },
"uniqueItems": true,
},
"spyNames": {
"type": "array",
"items": { "type": "string" },
"uniqueItems": true,
},
"favoredReligion": { "type": "string" },

"uniqueName": { "type": "string" },
"uniqueText": {
"type": "string",
"description": "Freeform text that will be shown to users, overriding the list of uniques."
},
"civilopediaText": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/civilopediaText.json" }
},
"required": [
"name", "outerColor", "cities"
],
"additionalProperties": false
}
}
14 changes: 14 additions & 0 deletions Modders/schemas/stats.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"properties": {
"production": { "type": "number" },
"food": { "type": "number" },
"gold": { "type": "number" },
"science": { "type": "number" },
"culture": { "type": "number" },
"happiness": { "type": "number" },
"faith": { "type": "number" }
},
"additionalProperties": false
}
58 changes: 58 additions & 0 deletions Modders/schemas/techs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "array",
"items": {
"type": "object",
"properties": {
"columnNumber": {
"type": "integer",
"minimum": 0,
"description": "The number of this column in the techs matrix - 0 being the leftmost column"
},
"era": { "type": "string" },
"techCost": { "type": "integer" },
"buildingCost": { "type": "integer" },
"wonderCost": { "type": "integer" },
"techs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"row": {
"type": "integer",
"minimum": 1,
"description": "The row, within the column, where this tech appears - 1 being the topmost tech"
},
"cost": {
"type": "integer",
"description": "Science cost of this tech - overrides the column techCost"
},
"uniques": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/uniques.json" },
"prerequisites": {
"type": "array",
"items": { "type": "string" },
"description": "The names of techs which must be researched before this tech can be researched",
"uniqueItems": true
},
"civilopediaText": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/civilopediaText.json" },
"quote": {
"type": "string",
"description": "The quote that is displayed when you have researched the tech - flavor text"
}
},
"required": ["name", "row"],
"additionalProperties": false
}
},

"uniques": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/uniques.json" },

"civilopediaText": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/civilopediaText.json" }
},
"required": [
"columnNumber", "era"
],
"additionalProperties": false
}
}
41 changes: 41 additions & 0 deletions Modders/schemas/terrains.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"type": { "enum": ["Land", "Water", "TerrainFeature", "NaturalWonder"] },

"production": { "type": "number" },
"food": { "type": "number" },
"gold": { "type": "number" },
"science": { "type": "number" },
"culture": { "type": "number" },
"happiness": { "type": "number" },
"faith": { "type": "number" },

"movementCost": { "type": "number" },
"impassable": { "type": "boolean" },
"defenceBonus": { "type": "number", "description": "In percentages - so 0.1 is 10% bonus" },
"unbuildable": { "type": "boolean", "description": "If true, nothing can be built here - not even resource improvements" },

"RGB": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/color.json" },

"occursOn": { "type": "array", "items": { "type": "string" },
"description": "For terrain features - List of terrains that this feature can appear on" },
"overrideStats": { "type": "boolean", "description": "For terrain features - indicates the stats of this terrain override those of all previous layers" },

"turnsInto": { "type": "string", "description": "Used by Natural Wonders: it is the baseTerrain on top of which the Natural Wonder is placed" },
"weight": { "type": "number", "description": "For natural wonders - the chance this nat wonder will be picked" },

"uniques": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/uniques.json" },

"civilopediaText": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/civilopediaText.json" }
},
"required": [
"name", "type"
],
"additionalProperties": false
}
}
38 changes: 38 additions & 0 deletions Modders/schemas/tileImprovements.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"terrainsCanBeBuiltOn": {
"type": "array",
"items": { "type": "string" },
"uniqueItems": true
},
"turnsToBuild": { "type": "integer" },
"techRequired": { "type": "string" },
"uniqueTo": { "type": "string" },
"shortcutKey": {
"type": "string",
"maxLength": 1
},

"production": { "type": "number" },
"food": { "type": "number" },
"gold": { "type": "number" },
"science": { "type": "number" },
"culture": { "type": "number" },
"happiness": { "type": "number" },
"faith": { "type": "number" },

"uniques": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/uniques.json" },

"civilopediaText": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/civilopediaText.json" }
},
"required": [
"name",
],
"additionalProperties": false
}
}
Loading

0 comments on commit 6acd07c

Please sign in to comment.