diff --git a/code/game/gamemodes/cult/ritual.dm b/code/game/gamemodes/cult/ritual.dm index 0340c94af3..2ed6840c91 100644 --- a/code/game/gamemodes/cult/ritual.dm +++ b/code/game/gamemodes/cult/ritual.dm @@ -13,8 +13,8 @@ This file contains the arcane tome files. throw_range = 5 w_class = WEIGHT_CLASS_SMALL -/obj/item/weapon/tome/New() - ..() +/obj/item/weapon/tome/Initialize() + . = ..() if(!LAZYLEN(GLOB.rune_types)) GLOB.rune_types = list() var/static/list/non_revealed_runes = (subtypesof(/obj/effect/rune) - /obj/effect/rune/malformed) diff --git a/code/game/gamemodes/cult/runes.dm b/code/game/gamemodes/cult/runes.dm index faf250b18f..2e2ff9c46b 100644 --- a/code/game/gamemodes/cult/runes.dm +++ b/code/game/gamemodes/cult/runes.dm @@ -40,8 +40,8 @@ To draw a rune, use an arcane tome. var/req_keyword = 0 //If the rune requires a keyword - go figure amirite var/keyword //The actual keyword for the rune -/obj/effect/rune/New(loc, set_keyword) - ..() +/obj/effect/rune/Initialize(mapload, set_keyword) + . = ..() if(set_keyword) keyword = set_keyword @@ -161,8 +161,8 @@ structure_check() searches for nearby cultist structures required for the invoca cultist_desc = "a senseless rune written in gibberish. No good can come from invoking this." invocation = "Ra'sha yoka!" -/obj/effect/rune/malformed/New() - ..() +/obj/effect/rune/malformed/Initialize(mapload, set_keyword) + . = ..() icon_state = "[rand(1,7)]" color = rgb(rand(0,255), rand(0,255), rand(0,255)) @@ -253,8 +253,8 @@ structure_check() searches for nearby cultist structures required for the invoca req_keyword = 1 var/listkey -/obj/effect/rune/teleport/New(loc, set_keyword) - ..() +/obj/effect/rune/teleport/Initialize(mapload, set_keyword) + . = ..() var/area/A = get_area(src) var/locname = initial(A.name) listkey = set_keyword ? "[set_keyword] [locname]":"[locname]" @@ -453,7 +453,7 @@ structure_check() searches for nearby cultist structures required for the invoca var/used var/ignore_gamemode = FALSE -/obj/effect/rune/narsie/New() +/obj/effect/rune/narsie/Initialize(mapload, set_keyword) . = ..() GLOB.poi_list |= src @@ -715,8 +715,8 @@ structure_check() searches for nearby cultist structures required for the invoca var/density_timer var/recharging = FALSE -/obj/effect/rune/wall/New() - ..() +/obj/effect/rune/wall/Initialize(mapload, set_keyword) + . = ..() GLOB.wall_runes += src /obj/effect/rune/wall/examine(mob/user) diff --git a/code/modules/mob/living/simple_animal/constructs.dm b/code/modules/mob/living/simple_animal/constructs.dm index c3a71a5c1e..edb12a3fef 100644 --- a/code/modules/mob/living/simple_animal/constructs.dm +++ b/code/modules/mob/living/simple_animal/constructs.dm @@ -31,9 +31,8 @@ var/list/construct_spells = list() var/playstyle_string = "You are a generic construct! Your job is to not exist, and you should probably adminhelp this." - /mob/living/simple_animal/hostile/construct/Initialize() - ..() + . = ..() for(var/spell in construct_spells) AddSpell(new spell(null))