mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
Makes RemoveComponent more sane (#26877)
* Makes RemoveComponent more sane * An even better wrapper * Update code/datums/components/surgery_initiator.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> * Update code/datums/components/_component.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> * Update code/datums/components/_component.dm Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> * Update code/datums/components/_component.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> * Update code/datums/components/_component.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> --------- Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
@@ -203,7 +203,7 @@
|
||||
icon_state = "[initial(icon_state)]_dead"
|
||||
item_state = "facehugger_inactive"
|
||||
stat = DEAD
|
||||
qdel(GetComponent(/datum/component/proximity_monitor))
|
||||
DeleteComponent(/datum/component/proximity_monitor)
|
||||
|
||||
visible_message("<span class='danger'>[src] curls up into a ball!</span>")
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
if(!mind)
|
||||
return FALSE
|
||||
if(mind.miming)
|
||||
qdel(GetComponent(/datum/component/footstep))
|
||||
DeleteComponent(/datum/component/footstep)
|
||||
return TRUE
|
||||
|
||||
/**
|
||||
|
||||
@@ -413,7 +413,7 @@ While using this makes the system rely on OnFire, it still gives options for tim
|
||||
text += "<span class='warning'>If teleported to the Station by jaunter, you are allowed to attack people on Station, until you get killed.</span>"
|
||||
to_chat(mychild, text.Join(" "))
|
||||
|
||||
qdel(GetComponent(/datum/component/proximity_monitor))
|
||||
DeleteComponent(/datum/component/proximity_monitor)
|
||||
|
||||
/obj/item/tumor_shard
|
||||
name = "tumor shard"
|
||||
|
||||
Reference in New Issue
Block a user