- added med bays to the vanilla subs

- some new wall prefabs
- medical item statuseffect tweaking
- fixed textBoxes not being deselected in waypoint editing hud after applying the changes
This commit is contained in:
Regalis
2016-03-26 23:25:04 +02:00
parent 2f7295eaad
commit c8597f76be
13 changed files with 67 additions and 34 deletions

View File

@@ -216,6 +216,8 @@ namespace Barotrauma
textBox.Text = text;
textBox.Color = Color.Green;
textBox.Deselect();
return true;
}
@@ -230,6 +232,8 @@ namespace Barotrauma
textBox.Text = (assignedJob == null) ? "None" : assignedJob.Name;
}
textBox.Deselect();
return true;
}
@@ -267,14 +271,14 @@ namespace Barotrauma
y = 40+20;
new GUITextBlock(new Rectangle(0, y, 100, 20), "ID Card tags:", Color.Transparent, Color.Black, Alignment.TopLeft, null, editingHUD);
new GUITextBlock(new Rectangle(0, y, 100, 20), "ID Card tags:", Color.Transparent, Color.White, Alignment.TopLeft, null, editingHUD);
GUITextBox propertyBox = new GUITextBox(new Rectangle(100, y, 200, 20), GUI.Style, editingHUD);
propertyBox.Text = string.Join(", ", idCardTags);
propertyBox.OnEnterPressed = EnterIDCardTags;
propertyBox.OnTextChanged = TextBoxChanged;
y = y + 30;
new GUITextBlock(new Rectangle(0, y, 100, 20), "Assigned job:", Color.Transparent, Color.Black, Alignment.TopLeft, null, editingHUD);
new GUITextBlock(new Rectangle(0, y, 100, 20), "Assigned job:", Color.Transparent, Color.White, Alignment.TopLeft, null, editingHUD);
propertyBox = new GUITextBox(new Rectangle(100, y, 200, 20), GUI.Style, editingHUD);
propertyBox.Text = (assignedJob == null) ? "None" : assignedJob.Name;