-fixed a typo in fabricableItem requirement & added checking for said typos
- fixed being able to set battery recharge sped over the limits - fixed vents being added to OxygenGenerator.ventlist multiple times - fixed item.Submarine not being set if pulling an item from a fabricator - some tutorial fixes - fixed TraitorMode endmessage not being shown if the sub isn't at the end and neither character is dead - SalvageQuest fails if the item has been destroyed -
This commit is contained in:
@@ -203,6 +203,12 @@ namespace Barotrauma
|
||||
get { return prefab.ConfigFile; }
|
||||
}
|
||||
|
||||
public bool Removed
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
//which type of inventory slots (head, torso, any, etc) the item can be placed in
|
||||
public List<LimbSlot> AllowedSlots
|
||||
{
|
||||
@@ -1504,6 +1510,8 @@ namespace Barotrauma
|
||||
{
|
||||
base.Remove();
|
||||
|
||||
Removed = true;
|
||||
|
||||
//sprite.Remove();
|
||||
//if (body != null) body.Remove();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user