Skip to content

Commit

Permalink
Adds directionals for the AAC. (#3937)
Browse files Browse the repository at this point in the history
<!-- 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/52fbdd20-dad9-4b75-953e-3da275d66cc8)

Also adds directional helpers.
<!-- 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
It's sorta annoying in mapping that you *cannot* rotate those. This
should help.
<!-- 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: Advanced airlock controllers now have directional sprites.
/: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. -->
  • Loading branch information
Sadhorizon authored Jan 6, 2025
1 parent 308d745 commit 990e77f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/game/machinery/airlock_cycle_control.dm
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@
var/list/airlocks = list()
var/list/vents = list()
var/obj/vis_target = null
dir = 1 // So none of the current maps break (dir helpers [below] require sprite dirs to be swapped; 1 is down-facing, so what it was before).

MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/advanced_airlock_controller, 24)

/obj/machinery/advanced_airlock_controller/lavaland
exterior_pressure = WARNING_LOW_PRESSURE + 10
Expand All @@ -116,6 +119,8 @@
exterior_pressure = ONE_ATMOSPHERE
depressurization_margin = ONE_ATMOSPHERE

MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/advanced_airlock_controller/internal, 24)

/obj/machinery/advanced_airlock_controller/New(loc, ndir, nbuild)
..()
wires = new /datum/wires/advanced_airlock_controller(src)
Expand Down
Binary file modified icons/obj/monitors.dmi
Binary file not shown.

0 comments on commit 990e77f

Please sign in to comment.