mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +00:00
Add some un-push helpers
This commit is contained in:
@@ -257,6 +257,9 @@
|
|||||||
if(Adjacent(user))
|
if(Adjacent(user))
|
||||||
user.start_pulling(src)
|
user.start_pulling(src)
|
||||||
|
|
||||||
|
/turf/CtrlClick(var/mob/user)
|
||||||
|
user.stop_pulling()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Alt click
|
Alt click
|
||||||
Unused except for AI
|
Unused except for AI
|
||||||
|
|||||||
@@ -37,6 +37,9 @@
|
|||||||
if(isliving(usr))
|
if(isliving(usr))
|
||||||
var/mob/living/carbon/C = usr
|
var/mob/living/carbon/C = usr
|
||||||
if(!C.get_active_hand())
|
if(!C.get_active_hand())
|
||||||
|
if(C.pulling)
|
||||||
|
C.stop_pulling()
|
||||||
|
return
|
||||||
to_chat(usr, "<font color='red'>You have nothing to drop in your hand.</font>")
|
to_chat(usr, "<font color='red'>You have nothing to drop in your hand.</font>")
|
||||||
return
|
return
|
||||||
drop_item()
|
drop_item()
|
||||||
|
|||||||
Reference in New Issue
Block a user