mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Replace all BYOND text macros
This commit is contained in:
@@ -388,22 +388,22 @@ var/global/image/fire_overlay = image("icon" = 'icons/goonstation/effects/fire.d
|
||||
if(!usr.canmove || usr.stat || usr.restrained() || !Adjacent(usr))
|
||||
return
|
||||
if((!istype(usr, /mob/living/carbon)) || (istype(usr, /mob/living/carbon/brain)))//Is humanoid, and is not a brain
|
||||
to_chat(usr, "\red You can't pick things up!")
|
||||
to_chat(usr, "<span class='warning'>You can't pick things up!</span>")
|
||||
return
|
||||
if( usr.stat || usr.restrained() )//Is not asleep/dead and is not restrained
|
||||
to_chat(usr, "\red You can't pick things up!")
|
||||
to_chat(usr, "<span class='warning'>You can't pick things up!</span>")
|
||||
return
|
||||
if(src.anchored) //Object isn't anchored
|
||||
to_chat(usr, "\red You can't pick that up!")
|
||||
to_chat(usr, "<span class='warning'>You can't pick that up!</span>")
|
||||
return
|
||||
if(!usr.hand && usr.r_hand) //Right hand is not full
|
||||
to_chat(usr, "\red Your right hand is full.")
|
||||
to_chat(usr, "<span class='warning'>Your right hand is full.</span>")
|
||||
return
|
||||
if(usr.hand && usr.l_hand) //Left hand is not full
|
||||
to_chat(usr, "\red Your left hand is full.")
|
||||
to_chat(usr, "<span class='warning'>Your left hand is full.</span>")
|
||||
return
|
||||
if(!istype(src.loc, /turf)) //Object is on a turf
|
||||
to_chat(usr, "\red You can't pick that up!")
|
||||
to_chat(usr, "<span class='warning'>You can't pick that up!</span>")
|
||||
return
|
||||
//All checks are done, time to pick it up!
|
||||
usr.UnarmedAttack(src)
|
||||
|
||||
Reference in New Issue
Block a user