mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Add some un-push helpers
This commit is contained in:
@@ -257,6 +257,9 @@
|
||||
if(Adjacent(user))
|
||||
user.start_pulling(src)
|
||||
|
||||
/turf/CtrlClick(var/mob/user)
|
||||
user.stop_pulling()
|
||||
|
||||
/*
|
||||
Alt click
|
||||
Unused except for AI
|
||||
|
||||
@@ -37,6 +37,9 @@
|
||||
if(isliving(usr))
|
||||
var/mob/living/carbon/C = usr
|
||||
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>")
|
||||
return
|
||||
drop_item()
|
||||
|
||||
Reference in New Issue
Block a user