Files
3eb53be29e [REFACTOR] Pixel Shift Component (#22564)
* Pixel Shift - Move to Component

* oops return ais

* more refactor

* update authors

* remove more unused signals!

* one more little refactor

* update override and readme

* update dme

* move addcomponent to login

* review

* more review fixes

* more changes, now qdels on unpixel_shift

* remove unnecessary

* update readme

* return signal

* update documentation?

---------

Co-authored-by: Bloop <vinylspiders@gmail.com>
2023-08-05 14:56:24 -04:00

1.1 KiB

https://github.com/Skyrat-SS13/Skyrat-tg/pull/870

Title: Pixel shifting for RP positioning

MODULE ID: PIXEL_SHIFT

Description:

Adds the ability for living mobs to shift their sprite to fit an RP situation better (standing against a wall for example). Not appended to proc due to it being a busy proc

TG Proc/File Changes:

  • N/A

Modular Overrides:

  • modular_skyrat/master_files/code/datums/keybinding/mob.dm: var/list/hotkey_keys
  • modular_skyrat/master_files/code/modules/mob/living/living.dm: proc/set_pull_offsets, proc/reset_pull_offsets
  • modular_skyrat/master_files/code/modules/mob/living/living_movement.dm: proc/CanAllowThrough

Defines:

  • code/__DEFINES/~skyrat_defines/keybindings.dm: COMSIG_KB_MOB_PIXEL_SHIFT_DOWN, COMSIG_KB_MOB_PIXEL_SHIFT_UP
  • code/__DEFINES/~skyrat_defines/living.dm: COMSIG_LIVING_SET_PULL_OFFSET, COMSIG_LIVING_RESET_PULL_OFFSETS, COMSIG_LIVING_CAN_ALLOW_THROUGH, COMPONENT_LIVING_PASSABLE

Included files that are not contained in this module:

  • N/A

Credits:

Azarak - Porting Gandalf2k15 - Refactoring Larentoun - Moved to Component