I generated an exhaustive list of tags that vanilla FTL is resolving "id" attributes for.
Note: It's possible mod developers may discover that FTL looks up other tags, too, by putting the "id" attribute in unprecedented places.
Some tags were grandfathered in with an "id", which does NOT get looked up.
Code: Select all
FTL/achievement
FTL/[...]/event/unlockShip
FTL/ship/deadCrew/unlockShip
FTL/ship/destroyed/unlockShip
This is the rest, all the tags with an "id" attribute, which WILL be looked up. (scroll)
Code: Select all
FTL/achievement/desc
FTL/achievement/name
FTL/achievement/shortname
FTL/augBlueprint/desc
FTL/augBlueprint/title
FTL/crewBlueprint/desc
FTL/crewBlueprint/powerList/power
FTL/crewBlueprint/short
FTL/crewBlueprint/title
FTL/droneBlueprint/desc
FTL/droneBlueprint/short
FTL/droneBlueprint/title
FTL/[...]/event/choice/text
FTL/[...]/event/text
FTL/[...]/event/crewMember
FTL/[...]/event/removeCrew/text
FTL/itemBlueprint/desc
FTL/itemBlueprint/title
FTL/sectorDescription/nameList/name
FTL/ship/deadCrew/text
FTL/ship/destroyed/text
FTL/ship/escape/text
FTL/ship/gotaway/text
FTL/ship/surrender/text
FTL/shipBlueprint/class
FTL/shipBlueprint/desc
FTL/shipBlueprint/name
FTL/shipBlueprint/unlock
FTL/step/default
FTL/step/IPAD
FTL/step/PC
FTL/systemBlueprint/desc
FTL/systemBlueprint/title
FTL/textList/text
FTL/weaponBlueprint/desc
FTL/weaponBlueprint/flavorType
FTL/weaponBlueprint/short
FTL/weaponBlueprint/title
FTL/weaponBlueprint/tooltip
The "crewMember" tag is interesting for being more than just a pointer to text.
Code: Select all
<crewMember amount="1" all_skills="1" id="name_Charlie"/>
Background
I ran the following
XMLStarlet command:
Code: Select all
xml sel -t -m "//*[@id]" -m "./ancestor::*" -v "local-name(.)" -o "/" -b -v "local-name(.)" -n "*.xml"
That yields every tag with an "id" attribute, prepending its ancestry.
Add some pipes to filter out the repeated lines...
On Linux/OSX (Or windows if you've downloaded a port of the "uniq" command):
In PowerShell:
Edit: Achievement's "id" is a string. unlockShip's "id" is an integer.