Paradise icon indicating copy to clipboard operation
Paradise copied to clipboard

Refactors borg grippers, service now has a specialized gripper.

Open Fordoxia opened this issue 11 months ago • 5 comments

What Does This PR Do

Refactors grippers to be a family of items.

Adds the universal and service grippers.

Service gripper allows service borgs to pick up sleepy people like the medical gripper (mainly used for drunks). It can also pick up a small selection of items (they can play cards now!).

Universal gripper is basically a fully functional hand. It doesn't spawn on any borg type by default, but admins may choose to varedit it into a borg's inventory if they wish, for event stuff! It can also pick people up from the floor.

Also adds an extended description for grippers.

The existing grippers have mostly no player-facing changes. The medical gripper is capable of grabbing things, but the list of things it can grab is currently empty. People may decide to allow it to carry some items in future PRs.

The sole player facing change for medical grippers is that it now properly replicates picking someone up as a human (it was missing a minor stamina regen, and cancelling rest).

Why It's Good For The Game

Makes the service borg slightly better. Refactored code lets more gripper stuff be easily done in the future.

Testing

Became various borgs. Made sure they only gripped what they were allowed to. Made sure only medical/service/universal could pick people up. Everything still works fine.

Changelog

:cl: add: Added service gripper for borgs. tweak: Medical gripper now properly regenerates 10 stamina and cancels resting like when humans pick people up. /:cl:

Fordoxia avatar Mar 12 '24 23:03 Fordoxia