Show item IDs in inventory tooltips if debugdraw is enabled, itemspawner sync bugfix, characters can be revived (atm only through the debug console)
This commit is contained in:
@@ -266,6 +266,11 @@ namespace Barotrauma
|
||||
case "godmode":
|
||||
Submarine.Loaded.GodMode = !Submarine.Loaded.GodMode;
|
||||
break;
|
||||
case "dumpids":
|
||||
int count = commands.Length < 2 ? 10 : int.Parse(commands[1]);
|
||||
|
||||
Entity.DumpIds(count);
|
||||
break;
|
||||
case "heal":
|
||||
if (Character.Controlled != null)
|
||||
{
|
||||
@@ -274,6 +279,12 @@ namespace Barotrauma
|
||||
Character.Controlled.Bleeding = 0.0f;
|
||||
}
|
||||
break;
|
||||
case "revive":
|
||||
if (Character.Controlled != null)
|
||||
{
|
||||
Character.Controlled.Revive(false);
|
||||
}
|
||||
break;
|
||||
case "freecamera":
|
||||
case "freecam":
|
||||
Character.Controlled = null;
|
||||
|
||||
Reference in New Issue
Block a user