Cargo items can be set to spawn inside specific types of containers instead of being scattered on the cargo room floor.

This commit is contained in:
Joonas Rikkonen
2018-01-10 15:56:11 +02:00
parent 0f23635f49
commit 9f58d1b74d
5 changed files with 100 additions and 41 deletions
@@ -49,7 +49,7 @@ namespace Barotrauma.Networking
private set;
}
public Dictionary<string, int> extraCargo;
public Dictionary<ItemPrefab, int> extraCargo;
public bool ShowNetStats;
@@ -345,7 +345,7 @@ namespace Barotrauma.Networking
{
monsterEnabled.Add(s, true);
}
extraCargo = new Dictionary<string, int>();
extraCargo = new Dictionary<ItemPrefab, int>();
}
public void LoadClientPermissions()