mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-20 20:54:35 +01:00
Merge pull request #9265 from Detective-Google/pixel-shift
Ports Pixel shifting.
This commit is contained in:
committed by
Chompstation Bot
parent
2fda5bc91f
commit
2e68ca894d
@@ -1022,6 +1022,40 @@ mob/proc/yank_out_object()
|
||||
set hidden = 1
|
||||
set_face_dir(client.client_dir(WEST))
|
||||
|
||||
// Begin VOREstation edit
|
||||
/mob/verb/shiftnorth()
|
||||
set hidden = TRUE
|
||||
if(!canface())
|
||||
return FALSE
|
||||
if(pixel_y <= 16)
|
||||
pixel_y++
|
||||
is_shifted = TRUE
|
||||
|
||||
/mob/verb/shiftsouth()
|
||||
set hidden = TRUE
|
||||
if(!canface())
|
||||
return FALSE
|
||||
if(pixel_y >= -16)
|
||||
pixel_y--
|
||||
is_shifted = TRUE
|
||||
|
||||
/mob/verb/shiftwest()
|
||||
set hidden = TRUE
|
||||
if(!canface())
|
||||
return FALSE
|
||||
if(pixel_x >= -16)
|
||||
pixel_x--
|
||||
is_shifted = TRUE
|
||||
|
||||
mob/verb/shifteast()
|
||||
set hidden = TRUE
|
||||
if(!canface())
|
||||
return FALSE
|
||||
if(pixel_x <= 16)
|
||||
pixel_x++
|
||||
is_shifted = TRUE
|
||||
// End VOREstation edit
|
||||
|
||||
/mob/proc/adjustEarDamage()
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user