mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Changes hardstuns on vendor shoves to be reduced, removes vendor chaining (#20631)
* Update vending.dm * flatskrell.net * charlie's request
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
var/mob/living/carbon/C = target
|
||||
var/was_lying = C.body_position == LYING_DOWN
|
||||
addtimer(CALLBACK(src, PROC_REF(Detach), C, was_lying, reverse), duration)
|
||||
ADD_TRAIT(target, TRAIT_FLATTENED, "vendor_flattening")
|
||||
|
||||
if(reverse)
|
||||
C.transform = C.transform.Scale(SHORT_SCALE, TALL_SCALE)
|
||||
@@ -30,7 +31,7 @@
|
||||
if(!istype(C))
|
||||
return
|
||||
var/is_lying = C.body_position == LYING_DOWN
|
||||
|
||||
REMOVE_TRAIT(C, TRAIT_FLATTENED, "vendor_flattening")
|
||||
if(reverse)
|
||||
is_lying = !is_lying
|
||||
|
||||
|
||||
Reference in New Issue
Block a user