mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 12:04:48 +01:00
You can now help intent click on people to complete a dap, highfive, or handshake (#21251)
* dap moment * lewcc review * lewcc review
This commit is contained in:
@@ -146,6 +146,14 @@
|
||||
if(initial(S1.id) == S.id)
|
||||
return S
|
||||
|
||||
/// Returns the effect if the mob calling the proc owns the given status effect, but checks by type.
|
||||
/mob/living/proc/has_status_effect_type(effect)
|
||||
if(!length(status_effects))
|
||||
return
|
||||
for(var/datum/status_effect/S in status_effects)
|
||||
if(istype(S, effect))
|
||||
return S
|
||||
|
||||
/// Returns a list of effects with matching IDs that the mod owns; use for effects there can be multiple of
|
||||
/mob/living/proc/has_status_effect_list(effect)
|
||||
. = list()
|
||||
|
||||
Reference in New Issue
Block a user