Semi-automatically generated modding documentation for Barotrauma

ModifyLocationAction

Modifies the current location in some way (e.g. adjusting the faction, type of name).

Attributes

Attribute Type Default value Description
Faction Identifier ”” Identifier of the faction to set as the location’s primary faction (optional).
SecondaryFaction Identifier ”” Identifier of the faction to set as the location’s secondary faction (optional).
Type Identifier ”” Identifier of the location type to set as the location’s new type (optional)
Name Identifier ”” New name to give to the location (optional). Can either be the name as-is, or a tag referring to a line in a text file.