mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-06 00:09:23 +07:00
Local mod folder names preserved. (#9844)
* Reduce conversion of local mod folder names to treat only ending spaces/dashes * Wiki entry for GlobalUniques * Missing originRuleset coverage * Nicer RulesetValidator messages when name or originRuleset are missing
This commit is contained in:
@ -30,6 +30,7 @@ The JSON files that make up mods can have many different fields, and as not all
|
||||
- [Difficulties.json](5-Miscellaneous-JSON-files.md#difficultiesjson)
|
||||
- [Eras.json](5-Miscellaneous-JSON-files.md#erasjson)
|
||||
- [ModOptions.json](5-Miscellaneous-JSON-files.md#modoptionsjson)
|
||||
- [GlobalUniques.json](5-Miscellaneous-JSON-files.md#globaluniquesjson)
|
||||
- [Tutorials.json](5-Miscellaneous-JSON-files.md#tutorialsjson)
|
||||
- [Stats](3-Map-related-JSON-files.md#stats)
|
||||
- [Sounds](../Images-and-Audio.md#sounds)
|
||||
|
@ -203,6 +203,14 @@ The formula for the gold cost of a unit upgrade is (rounded down to a multiple o
|
||||
) ^ `exponent`
|
||||
With `civModifier` being the multiplicative aggregate of ["\[relativeAmount\]% Gold cost of upgrading"](../uniques.md#global-uniques) uniques that apply.
|
||||
|
||||
## GlobalUniques.json
|
||||
|
||||
Defines uniques that apply globally. e.g. Vanilla rulesets define the effects of Unhappiness here.
|
||||
Only the `uniques` field is used, but a name must still be set (the Ruleset validator might display it).
|
||||
When extension rulesets define GlobalUniques, all uniques are merged. At the moment there is no way to change/remove uniques set by a base mod.
|
||||
|
||||
[link to original](https://github.com/yairm210/Unciv/tree/master/android/assets/jsons/GlobalUniques.json)
|
||||
|
||||
## Tutorials.json
|
||||
|
||||
[link to original](https://github.com/yairm210/Unciv/tree/master/android/assets/jsons/Tutorials.json)
|
||||
|
Reference in New Issue
Block a user