mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-20 19:56:51 +01:00
Resolved #12544 - multiline unique descriptions hidden in doc
This commit is contained in:
parent
eb3d8c9c01
commit
8a376de6c3
|
|
@ -269,7 +269,6 @@ City-States grow wary of your aggression. The resting point for Influence has de
|
|||
[cityState] is deeply grateful for your assistance in the war against [civName]! =
|
||||
[cityState] no longer needs your assistance against [civName]. =
|
||||
[cityState] cancelled the quests they had given you because you demanded tribute from them. =
|
||||
[cityState] cancelled the quests they had given you because you demanded tribute from them. =
|
||||
War against [civName] =
|
||||
We need you to help us defend against [civName]. Killing [amount] of their military units would slow their offensive. =
|
||||
Currently you have killed [amount] of their military units. =
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ class UniqueDocsWriter {
|
|||
else uniqueType.text
|
||||
lines += "??? example \"$uniqueText\"" // collapsable material mkdocs block, see https://squidfunk.github.io/mkdocs-material/reference/admonitions/?h=%3F%3F%3F#collapsible-blocks
|
||||
if (uniqueType.docDescription != null)
|
||||
lines += "\t${uniqueType.docDescription}"
|
||||
lines += "\t${uniqueType.docDescription!!.replace("\n","\n\t")}"
|
||||
if (uniqueType.parameterTypeMap.isNotEmpty()) {
|
||||
// This one will give examples for _each_ filter in a "tileFilter/specialist/buildingFilter" kind of parameter e.g. "Farm/Merchant/Library":
|
||||
// `val paramExamples = uniqueType.parameterTypeMap.map { it.joinToString("/") { pt -> pt.docExample } }.toTypedArray()`
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user