mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +01:00
this shit dosen't even compile yet...
This commit is contained in:
@@ -221,6 +221,22 @@
|
||||
/datum/action/item_action/hands_free
|
||||
check_flags = AB_CHECK_ALIVE|AB_CHECK_INSIDE
|
||||
|
||||
///prset for organ actions
|
||||
/datum/action/item_action/organ_action
|
||||
check_flags = AB_CHECK_ALIVE
|
||||
|
||||
/datum/action/item_action/organ_action/CheckRemoval(mob/living/carbon/user)
|
||||
if(!iscarbon(user))
|
||||
return 1
|
||||
if(target in user.internal_organs)
|
||||
return 0
|
||||
return 1
|
||||
|
||||
/datum/action/item_action/organ_action/IsAvailable()
|
||||
var/obj/item/organ/internal/I = target
|
||||
if(!I.owner)
|
||||
return 0
|
||||
return ..()
|
||||
|
||||
//Preset for spells
|
||||
/datum/action/spell_action
|
||||
|
||||
Reference in New Issue
Block a user