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:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user