mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
Merge remote-tracking branch 'upstream/master' into dev-freeze
This commit is contained in:
@@ -617,7 +617,7 @@ var/list/slot_equipment_priority = list( \
|
|||||||
pulling.pulledby = null
|
pulling.pulledby = null
|
||||||
pulling = null
|
pulling = null
|
||||||
if(pullin)
|
if(pullin)
|
||||||
pullin.icon_state = "pull1"
|
pullin.icon_state = "pull0"
|
||||||
|
|
||||||
/mob/proc/start_pulling(var/atom/movable/AM)
|
/mob/proc/start_pulling(var/atom/movable/AM)
|
||||||
if ( !AM || !usr || src==AM || !isturf(src.loc) ) //if there's no person pulling OR the person is pulling themself OR the object being pulled is inside something: abort!
|
if ( !AM || !usr || src==AM || !isturf(src.loc) ) //if there's no person pulling OR the person is pulling themself OR the object being pulled is inside something: abort!
|
||||||
@@ -645,7 +645,7 @@ var/list/slot_equipment_priority = list( \
|
|||||||
AM.pulledby = src
|
AM.pulledby = src
|
||||||
|
|
||||||
if(pullin)
|
if(pullin)
|
||||||
pullin.icon_state = "pull0"
|
pullin.icon_state = "pull1"
|
||||||
|
|
||||||
if(ishuman(AM))
|
if(ishuman(AM))
|
||||||
var/mob/living/carbon/human/H = AM
|
var/mob/living/carbon/human/H = AM
|
||||||
|
|||||||
Reference in New Issue
Block a user