-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DetGadget Hat Revitalization #35438
base: master
Are you sure you want to change the base?
DetGadget Hat Revitalization #35438
Conversation
# Conflicts: # Resources/Prototypes/Entities/Objects/Tools/lighters.yml # Resources/Prototypes/tags.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GO GO GADGET HAT IS ALIVE AGAIN I CANT WAIT. |
GO GO GADGET SAWED OFF SHOTGUN |
This will allow or disallow showing the "Open Storage" verb if defined on the component.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 👍
go go gadget quantum spin inverter |
go go gadet "gibfoam" |
if (storage.Container.ContainedEntities.Count != 0) | ||
{ | ||
_container.RemoveEntity(ent, item); | ||
_adminLogger.Add(LogType.Action, LogImpact.Low, $"{ToPrettyString(args.Source)} retrieved {itemName} from {ToPrettyString(ent)} via voice control"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should log the item ent instead of just the items name
go go gadget harm baton |
About the PR
Adds the Go Go Hat, a hat that has the ability to store items and retrieve items automatically via the saying of a catchphrase. This catchphrase can be anything you want, but obviously it's mandatory for you to say GO GO GADGET.
Basically it's the DetGadget hat from SS13. WIthout the scuttlebot component.
This is a revitalization of the closed PR #30188, updated to address reviews.
Why / Balance
INSPECTOR GADGET
As for the balance component, this hat adds a sizeable inventory to the detective, a standard backpack on top of your head! However it can only fit small items or lower, and you have to request the item by saying what you want, so there's a tradeoff there.
Right now the only disallowed items are:
I'm willing to decrease the size of the hat or expand its limit to other items.
Technical details
Creates the StorageVoiceControlSystem and the StorageVoiceControlComponent. The VoiceTriggeredEvent is raised by TriggerOnVoice, piggybacking on that system for the catchphrase features.
For the StorageVoiceControlSystem:
All of this is admin logged as well under Action.
Media
edited_2025-02-23.15-14-48.mp4
Requirements
Breaking changes
nada
Changelog
🆑 ArtisticRoomba, Cojoke-dot