Skip to content
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

BetterBorgs: droppable, swappable cyborg item interactions #2766

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

whatston3
Copy link
Contributor

@whatston3 whatston3 commented Jan 23, 2025

About the PR

Currently a work in progress, but not far off of an in-game MVP.

Certain items in cyborg modules (ore/plant bags, beakers, shakers, lighters) can be dropped. When dropped, the slot receives a placeholder item, which works similarly to, but distinct from, VirtualItems (used for dragging, carrying 2-handed things, piloting vehicles). When modules are swapped out, the state of these placeholders are kept along with the other modules in the device. The empty "hand" is unusable apart from picking up any item meeting a whitelist for the particular slot.

Droppable module items are specified with a starting item and a whitelist of items they can receive. This gives the possibility of upgradeable borg tools without needing separate modules. These items can be dropped, thrown, or inserted into machines (e.g. inserting a beaker into a chemical dispenser or chemmaster). You can pass someone your lighter, mix a drink or chems in a dispenser and pass the results to someone else.

TODOs:
[ ] In-hand visuals and item names similar to VirtualItem ("beaker slot" instead of "blocked by beaker")
[ ] Further testing.

Why / Balance

Better cyborg gameplay.

Would be useful for #2751 - a borg would be able to insert their jetpack into a canister, refuel it, eject it and pick it up again.

With this, the clowning module could accept and use banana peels and banana cream pies.

How to test

WIP

Media

WIP

Requirements

Breaking changes

Changelog

WIP
🆑

  • add: Cyborgs can now drop, throw, or better use some items from modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant