mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +01:00
Dionae bug fixes (#12715)
This commit is contained in:
@@ -164,12 +164,17 @@
|
||||
set category = "Abilities"
|
||||
set name = "Detach Nymph"
|
||||
|
||||
var/datum/component/nymph_limb/N = GetComponent(/datum/component/nymph_limb)
|
||||
var/list/nymph_limb_types = list(
|
||||
/obj/item/organ/external/arm/nymph,
|
||||
/obj/item/organ/external/arm/right/nymph,
|
||||
/obj/item/organ/external/leg/nymph,
|
||||
/obj/item/organ/external/leg/right/nymph
|
||||
)
|
||||
|
||||
// Find our existing nymphlimbs
|
||||
var/list/my_nymph_limbs = list()
|
||||
for(var/obj/item/organ/external/O in organs)
|
||||
if(is_type_in_list(O, N.nymph_limb_types))
|
||||
if(is_type_in_list(O, nymph_limb_types))
|
||||
my_nymph_limbs += O
|
||||
if(!my_nymph_limbs.len)
|
||||
return FALSE
|
||||
@@ -334,6 +339,8 @@
|
||||
|
||||
has_organ = list()
|
||||
|
||||
spawn_flags = IS_RESTRICTED
|
||||
|
||||
has_limbs = list(
|
||||
BP_L_ARM = list( "path" = /obj/item/organ/external/arm/nymph),
|
||||
BP_R_ARM = list( "path" = /obj/item/organ/external/arm/right/nymph),
|
||||
|
||||
Reference in New Issue
Block a user