Skip to content

Commit

Permalink
Gives modcomps connected sprites, makes them the same hue as regular …
Browse files Browse the repository at this point in the history
…computers. (#4262)

<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

![obraz](https://github.com/user-attachments/assets/8c534915-5822-42f7-a3c2-d1e48fe65cc4)

<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game
Mappers rejoice.
<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

## Changelog

:cl:
imageadd: Added connected sprites to modcomps. Mappers rejoice.
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->

---------

Co-authored-by: FalloutFalcon <[email protected]>
  • Loading branch information
Sadhorizon and FalloutFalcon authored Feb 28, 2025
1 parent 469c801 commit c9149f6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@
. = ..()
set_light(cpu?.enabled ? light_strength : 0)

/obj/machinery/modular_computer/update_icon_state()
icon_state = (cpu?.enabled || (!(machine_stat & NOPOWER) && cpu?.use_power())) ? icon_state_powered : icon_state_unpowered
return ..()

/obj/machinery/modular_computer/update_overlays()
. = ..()
if(!cpu?.enabled)
Expand All @@ -76,7 +72,7 @@

if(cpu && cpu.obj_integrity <= cpu.integrity_failure * cpu.max_integrity)
. += "bsod"
. += "broken"
. += "computer_broken"

/obj/machinery/modular_computer/AltClick(mob/user)
if(cpu)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
desc = "A stationary computer."

icon = 'icons/obj/modular_console.dmi'
icon_state = "console"
icon_state_powered = "console"
icon_state_unpowered = "console-off"
icon_state = "computer"
screen_icon_state_menu = "menu"
hardware_flag = PROGRAM_CONSOLE
density = TRUE
Expand Down
Binary file modified icons/obj/modular_console.dmi
Binary file not shown.

0 comments on commit c9149f6

Please sign in to comment.