(74f1d04ea) Added interact texts to all items (Interact [E], Pick Up [E], etc), reset messages in all subs. TODO: Saving the subs causes the messages to be converted from text tags ("ItemMsgPressSelect" etc) into the actual texts, preventing the messages from being translated. We could probably just make the property non-editable and use the prefab values, or at least prevent the values from changing in sub files.

This commit is contained in:
Joonas Rikkonen
2019-03-28 12:33:49 +02:00
parent e6c3d6d537
commit aee0290202
11 changed files with 1 additions and 0 deletions

View File

@@ -192,6 +192,7 @@ namespace Barotrauma.Items.Components
get { return name; }
}
//TODO: this shouldn't be saved as-is, causes tags ("ItemMsgPressSelect" etc) to be converted into actual texts when saving the subs
[Editable, Serialize("", true)]
public string Msg
{