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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user