Removes ComponentInitialize() (#69118)

* Removes ComponentInitialize()

Completely removes ComponentInitialize() as a proc, which was called on every single atom in the game, twice in some instances (like new players), over something that can already be done with Initialize().
This is the second attempt at doing this, after the first attempt fell apart for some reason. This time it was way easier though, since storages are no longer a Component.

* update icon blocker added before calling parent

* Update code/game/machinery/porta_turret/portable_turret.dm

Co-authored-by: san7890 <the@san7890.com>

* adds a mapload while I'm here

* moves human mood

* Does some UNRELATED thing to the PR

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>

Co-authored-by: san7890 <the@san7890.com>
Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
This commit is contained in:
John Willard
2022-08-11 19:01:32 -04:00
committed by GitHub
co-authored by san7890 Fikou
parent b304be566a
commit 952c3ee0d3
75 changed files with 163 additions and 243 deletions
@@ -321,7 +321,7 @@
greyscale_colors = null
insert_type = /obj/item/toy/crayon/rainbow
/obj/item/modular_computer/tablet/pda/clown/ComponentInitialize()
/obj/item/modular_computer/tablet/pda/clown/Initialize(mapload)
. = ..()
AddComponent(/datum/component/slippery/clowning, 120, NO_SLIP_WHEN_WALKING, CALLBACK(src, .proc/AfterSlip), slot_whitelist = list(ITEM_SLOT_ID, ITEM_SLOT_BELT))
AddComponent(/datum/component/wearertargeting/sitcomlaughter, CALLBACK(src, .proc/after_sitcom_laugh))