24 Commits

Author SHA1 Message Date
Batrachophreno 9d6b304ac7 [IDB Ignore] Centralize HUD icon file location (#22464)
Moves all HUD screen object icon files from various scattered locations
to icons/hud. No changes made to any icon_states in this PR, no
player-facing changes. Part of larger icon organization work and in
preparation for action button rework.
2026-05-18 19:19:40 +00:00
VMSolidus a436fa65a6 More Mech Damage Feedback (#22118)
This PR adds some new "Damage Feedback" interactions to mechs, which I'm
adding in response to what I think is player perception of mechs being
invincible. Previously mech manipulators and torsos had no actual
mechanics for damage states, and having 0 damage on a mechs arms was
functionally the same thing as having 100 damage, so long as the arm
wasn't completely destroyed.

This PR changes that by making it so that mech manipulators have a
chance to fail (loudly and visibly) on use with a probability that
varies based on how much damage the arms have taken. Additionally,
there's also now a mechanic for mech ejections and hatch opening to fail
if the torso has taken sufficient damage, with chances that also vary
based on how much damage said torso has taken. In both cases, the mech
plays audible and visual effects to indicate to the players involved
that it is being hindered by damage.


https://github.com/user-attachments/assets/934e4561-1fda-4c47-9770-438960834aa9

Yes this does mean that you can smash someone's hatch closed, to a point
you'll need a welder to get them out.

<img width="772" height="181" alt="image"
src="https://github.com/user-attachments/assets/75f98060-7c4c-468b-bd31-e6c4ec4c0be2"
/>
2026-04-04 22:27:01 +00:00
Ben 2ea694c5b6 Exosuit Voice Commands: Toggle Power and Maintenance (#20481)
- Toggle maintenance protocol can now be done by anyone if no pilot in
an exosuit and with no link(allowing for species such as bulwarks to be
able to do more with exosuits)
- New command to toggle power (self-explanatory), minor refactor of
toggle power code for exosuit to permit this.

---------

Co-authored-by: Ben10083 <Ben10083@users.noreply.github.com>
2025-02-20 11:50:47 +00:00
Fluffy df014f9bc0 Mouse drop refactor (#20256)
Refactored mousedrag procs, added signals, some safeguards, did some
cleanups around, renamed them to make a little more sense. Mostly put in
line with TG's code.
Fast clicking and releasing with a drag, depending on the grace period
and how fast it is done, can be counted as clicks, to aid in combat
scenarios where you spamclick.
2024-12-26 14:26:32 +00:00
Cody Brittain dc610520fe Refactor /obj/screen to /atom/movable/screen (#19852)
Part of backend stuff required for #19188. Should probably be test
merged.

---------

Co-authored-by: Cody Brittain <cbrittain10@live.com>
2024-09-21 12:12:07 +00:00
Geeves 2bf39c7ee9 Exosuit Nuclear Power Cores (#18268)
* Added power cores, a type of large battery cell that get used by
exosuits. The nuclear and phoron variants are self-charging.
* Combat mechs now start with nuclear power cores, allowing them to
sustain themselves indefinitely, so long as they stay out of the action
for a bit.
* Removed basic power cells from the mechfab, replaced with the mech
powercores.
* Mech cell statuses now instantly update as soon as the cell charges or
discharges.
* Added a stack of 10 uranium to the machinist's workshop, which can
print two nuclear power cores.
2024-06-09 21:14:59 +00:00
Matt Atlas cadd19beac Ports the TG globals controller and converts globals. (#18057)
* SDQL2 update

* fix that verb

* cl

* fix that

* toworld

* this is pointless

* update info

* siiiiick..

* vv edit update

* fix that

* fix editing vars

* fix VV

* Port the /TG/ globals controller.

* part 1

* part 2

* oops

* part 3

* Hollow Purple

* sadas

* bsbsdb

* muda na agaki ta

* ids 1-15

* 16-31

* 41-75

* bring me back to how things used to be before i lost it all

* the strength of mayhem

* final touches

* cl

* protect some vars

* update sdql2 to use glob

* stuff?

* forgot that is not defined there

* whoops

* observ

* but it never gets better

* a

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
2023-12-26 01:16:02 +00:00
Fluffy 7a41849a2f Mechs screen refdrop (#17511)
* Atomization

* sfaasf

---------

Co-authored-by: FluffyGhost <FluffyGhost>
2023-10-05 14:21:41 +00:00
Fluffy d61ea72525 Mechs runtime (#17508)
* Atomization

* sdsda

---------

Co-authored-by: FluffyGhost <FluffyGhost>
2023-10-04 20:27:18 +00:00
Fluffy 2e183a7895 Fixed screen mecha Initialize (#16129) 2023-03-27 15:40:53 +00:00
Wildkins 2bb8db37b9 Clean up runtime errors, fix VueUIs opening offscreen (#14025)
* Clean up runtime errors, fix VueUIs opening offscreen

* woops

* myazaki is based
2022-05-20 18:36:14 +02:00
Matt Atlas d1d8a55f3d Revert "Megaphone Say Signals (#12926)" (#13551) 2022-04-18 11:03:59 +02:00
Geeves 532e07b244 Megaphone Say Signals (#12926) 2022-04-16 21:32:00 +02:00
Geeves aca0afd177 Exosuit Power States (#11544) 2021-04-10 18:32:33 +02:00
Geeves a52f554c77 Mecha Speakers (#11268) 2021-03-10 20:18:09 +01:00
Geeves 7ab47aac02 Exosuit Closed HUD Fix (#11258) 2021-02-23 17:19:40 +01:00
Geeves 31d05da050 Verbal Exosuit Commands (#10814) 2021-01-02 16:01:55 +01:00
Geeves 50e5ca0060 Mech Stuff (#9323)
Mech UIs can no longer be moved via click-drag.
    The lower left mech UI has received a make-over.
    You can now use a cyborg analyzer on a mech to get its diagnostics report.
2020-07-12 15:54:17 +03:00
Geeves 942442c866 Mecha Improvements (#9153)
Mecha movement and equipment usage cooldowns have been decoupled. You can now move directly after using your equipment, which makes them MUCH less clunky to use.
    Mecha hardpoint UI elements will now get tinted red during their cooldowns, which will turn back to normal once the equipment can be used again.
    Mecha UI text have been overhauled to look much prettier.
    The charge level for mechs is now displayed as a percentage value, and actually fits on the screen.
2020-06-23 15:18:53 +03:00
Matt Atlas 4b97822bb4 Bump dreamchecker version to 1.4 (#8711) 2020-04-28 15:41:32 +02:00
mikomyazaki 6074224d00 dreamchecker (#8233)
Implements dreamchecker plus fixes all errors
2020-02-16 20:42:32 +02:00
Geeves 2fed43a871 VR, Remote Mechs and Remote Robots (#7523)
Adds VR functionality, subsystem and a command VR system.
2020-01-12 14:09:48 +01:00
Mykhailo Bykhovtsev a4a6fb5f03 Lots of fixes for Mechs (#7692)
Spent lots of time and lots of changes to fix issues:

    bugfix: "Mechs no longer runtime during destroy call."

    bugfix: "Turrets and NPCS no longer target empty mechs."

    bugfix: "Mechs no longer runtime during armor check. Mechs now use their armor and values for it. Before it would ignore them entirely and deal 100% damage."

    Added ismech() define and also QDEL_NULL_LIST() define from TG. Matt's suggestion

    renamed any armour references in mech code to armor to keep it consistent
2019-12-17 17:28:31 +02:00
SueTheCake 84794c6e65 Mechs 3: Electric Boogaloo (#7486) 2019-11-25 23:04:19 +01:00