Lots of new inhands, adds phoron (#1220)

* Beaker Inhands

* Flashlight Inhands

* Tile Refactor

* Adds metal/glass sheet inhands

* Removes plasma

* Adds Phoron

* We boolin'

* Phoron inhands

* First Pass inhand food

* First food inhand pass

* Soda inhand sprites

* Actually adds them
This commit is contained in:
Swept
2020-06-25 11:51:58 +00:00
committed by GitHub
parent 70a803e24e
commit bad7f9dc6b
299 changed files with 4421 additions and 144 deletions

View File

@@ -109,14 +109,17 @@ namespace Content.Server.GameObjects.Components.Interactable
/// <returns>True if the light's status was toggled, false otherwise.</returns>
private bool ToggleStatus(IEntity user)
{
var item = Owner.GetComponent<ItemComponent>();
// Update sprite and light states to match the activation.
if (Activated)
{
TurnOff();
item.EquippedPrefix = "off";
}
else
{
TurnOn(user);
item.EquippedPrefix = "on";
}
// Toggle always succeeds.