diff --git a/docs/Modders/Images-and-Audio.md b/docs/Modders/Images-and-Audio.md index 8a8c42438b..87d5bc5ce7 100644 --- a/docs/Modders/Images-and-Audio.md +++ b/docs/Modders/Images-and-Audio.md @@ -12,6 +12,7 @@ If you're developing your mod on an Android version of Unciv (not recommended!) ### Ways to pack texture atlases +- Texture atlases *CANNOT BE PACKED* on Android (technical reason: TexturePacker uses `java.awt` to do heavy lifting, which is unavailable on Android 0_0) - Launch the desktop version with your mod (your mod's main folder is a subfolder of the game's "mods" folder, or symlinked there). - You can ask someone in the Discord server to help you out. - You can use external tools, [e.g. gdx-texture-packer-gui](https://github.com/crashinvaders/gdx-texture-packer-gui). Utmost care needs to be taken that the files can be discovered by Unciv and internal relative paths are correct. diff --git a/docs/Modders/uniques.md b/docs/Modders/uniques.md index 1dc45084b0..a73e84af4b 100644 --- a/docs/Modders/uniques.md +++ b/docs/Modders/uniques.md @@ -869,8 +869,8 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl Applicable to: Global, Unit -??? example "Earn [amount]% of the damage done to [combatantFilter] units as [civWideStat]" - Example: "Earn [3]% of the damage done to [City] units as [Gold]" +??? example "Earn [amount]% of the damage done to [mapUnitFilter] units as [civWideStat]" + Example: "Earn [3]% of the damage done to [Wounded] units as [Gold]" Applicable to: Global, Unit @@ -1232,8 +1232,8 @@ Due to performance considerations, this unique is cached, thus conditionals may ??? example "Automation is a primary action" Applicable to: Unit -??? example "[relativeAmount]% Strength for enemy [combatantFilter] units in adjacent [tileFilter] tiles" - Example: "[+20]% Strength for enemy [City] units in adjacent [Farm] tiles" +??? example "[relativeAmount]% Strength for enemy [mapUnitFilter] units in adjacent [tileFilter] tiles" + Example: "[+20]% Strength for enemy [Wounded] units in adjacent [Farm] tiles" Applicable to: Unit @@ -1247,8 +1247,8 @@ Due to performance considerations, this unique is cached, thus conditionals may Applicable to: Unit -??? example "Can only attack [combatantFilter] units" - Example: "Can only attack [City] units" +??? example "Can only attack [mapUnitFilter] units" + Example: "Can only attack [Wounded] units" Applicable to: Unit @@ -2079,7 +2079,9 @@ Due to performance considerations, this unique is cached, thus conditionals may Applicable to: Conditional -??? example "<vs cities>" +??? example "<vs [cityFilter] cities>" + Example: "<vs [in all cities] cities>" + Applicable to: Conditional ??? example "<vs [mapUnitFilter] units>" @@ -2087,8 +2089,8 @@ Due to performance considerations, this unique is cached, thus conditionals may Applicable to: Conditional -??? example "<vs [combatantFilter]>" - Example: "<vs [City]>" +??? example "<vs [civFilter]>" + Example: "<vs [City-States]>" Applicable to: Conditional @@ -2307,14 +2309,12 @@ Due to performance considerations, this unique is cached, thus conditionals may Applicable to: UnitActionModifier -*[action]: An action that a unit can perform. Currently, there are only two actions part of this: 'Spread Religion' and 'Remove Foreign religions from your own cities' *[amount]: This indicates a whole number, possibly with a + or - sign, such as `2`, `+13`, or `-3`. *[baseTerrain]: The name of any terrain that is a base terrain according to the json file. *[belief]: The name of any belief. *[beliefType]: 'Pantheon', 'Follower', 'Founder' or 'Enhancer' *[buildingName]: The name of any building. *[civWideStat]: All the following stats have civ-wide fields: `Gold`, `Science`, `Culture`, `Faith`. -*[combatantFilter]: This indicates a combatant, which can either be a unit or a city (when bombarding). Must either be `City` or a `mapUnitFilter`. *[costOrStrength]: `Cost` or `Strength`. *[era]: The name of any era. *[foundingOrEnhancing]: `founding` or `enhancing`.