Adds a ton more inhands (#4488)

* Removed useless loc and added inhands for some lamps

* Adds a ton of inhands to the game

* Actually adds the pill inhand

* Update Resources/Textures/Objects/Misc/utensils.rsi/meta.json

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>

* Update Resources/Textures/Objects/Tools/rcd.rsi/meta.json

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
This commit is contained in:
Swept
2021-08-19 22:36:32 -07:00
committed by GitHub
parent 12ad8c7c2f
commit 9d22869e58
83 changed files with 242 additions and 39 deletions

View File

@@ -177,12 +177,12 @@ namespace Content.Server.Light.Components
if (Owner.TryGetComponent(out ClothingComponent? clothing))
{
clothing.ClothingEquippedPrefix = Loc.GetString(on ? "handheld-light-component-on-state" : "handheld-light-component-off-state");
clothing.ClothingEquippedPrefix = Loc.GetString(on ? "on" : "off");
}
if (Owner.TryGetComponent(out ItemComponent? item))
{
item.EquippedPrefix = Loc.GetString(on ? "handheld-light-component-on-state" : "handheld-light-component-off-state");
item.EquippedPrefix = Loc.GetString(on ? "on" : "off");
}
}