Update files
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
var/action_background_icon_state = "bg_spell"
|
||||
var/base_action = /datum/action/spell_action
|
||||
|
||||
/obj/effect/proc_holder/Initialize()
|
||||
/obj/effect/proc_holder/Initialize(mapload)
|
||||
. = ..()
|
||||
if(has_action)
|
||||
action = new base_action(src)
|
||||
@@ -144,7 +144,7 @@ GLOBAL_LIST_INIT(spells, typesof(/obj/effect/proc_holder/spell)) //needed for th
|
||||
action_background_icon_state = "bg_spell"
|
||||
base_action = /datum/action/spell_action/spell
|
||||
|
||||
/obj/effect/proc_holder/spell/Initialize()
|
||||
/obj/effect/proc_holder/spell/Initialize(mapload)
|
||||
. = ..()
|
||||
if(mobs_whitelist)
|
||||
mobs_whitelist = typecacheof(mobs_whitelist)
|
||||
@@ -204,7 +204,7 @@ GLOBAL_LIST_INIT(spells, typesof(/obj/effect/proc_holder/spell)) //needed for th
|
||||
/obj/effect/proc_holder/spell/proc/playMagSound()
|
||||
playsound(get_turf(usr), sound,50,1)
|
||||
|
||||
/obj/effect/proc_holder/spell/Initialize()
|
||||
/obj/effect/proc_holder/spell/Initialize(mapload)
|
||||
. = ..()
|
||||
START_PROCESSING(SSfastprocess, src)
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
throw_speed = 0
|
||||
var/charges = 1
|
||||
|
||||
/obj/item/melee/touch_attack/Initialize()
|
||||
/obj/item/melee/touch_attack/Initialize(mapload)
|
||||
. = ..()
|
||||
ADD_TRAIT(src, TRAIT_NODROP, ABSTRACT_ITEM_TRAIT)
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
var/list/linked_spells = list() //those are just referenced by the trigger spell and are unaffected by it directly
|
||||
var/list/starting_spells = list() //those are added on New() to contents from default spells and are deleted when the trigger spell is deleted to prevent memory leaks
|
||||
|
||||
/obj/effect/proc_holder/spell/pointed/trigger/Initialize()
|
||||
/obj/effect/proc_holder/spell/pointed/trigger/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/spell in starting_spells)
|
||||
var/spell_to_add = text2path(spell)
|
||||
|
||||
Reference in New Issue
Block a user