-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Complete rewrite of borg omnitool code; - - Borgs that use omnitools now have a "Omni Toolbox" that holds whatever tools the Omnitool would cover. The toolbox keeps track of Omnitool "Arms" in a list, as well as when to upgrade (or downgrade) tool speed. The toolbox is not seen by the player directly. - - Omnitool "Arms" will display available tools based on the Omni Toolbox's contents. Selecting one does not move the tool out of the toolbox, but instead simply overrides any following clicks with a melee attack chain of the selected item. This is reminiscent of how borg apparatus tools work. When selecting a tool, the Omnitool "arm" will also set its own icon state to match the tool selected. - - Because all Omnitool "arms" are using the same tools from the same toolbox, actions done with one can be seen from another. For example, using the first Omnitool to scan the Silo with the engineer borg's multitool will update the tool's buffer, and it can be used later, even if the multitool is selected by the second Omnitool. - Because we're now using real tools, rather than a single tool item faking tool usage via tool flags, almost all interactions with tools should properly carry over. - Added Cyborg versions of the medical toolset, for use with the Medical Cyborg omnitool, so that we can finally use the really nice borg-version medical tool sprites. Easier to read code. Fixes #83667 Fixes #83537 Fixes #83077 Fixes #82918 partially; Heating beakers works, but the tile quick-swap function will not function; the action is initiated by a click from the tile stack rather than the crowbar. :cl: fix: Refactored borg omnitool code, fixing most of the unique interaction issues. /:cl: --------- Co-authored-by: MrMelbert <[email protected]>
- Loading branch information
1 parent
b9f3c43
commit 725f66f
Showing
7 changed files
with
215 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.