Update files

This commit is contained in:
SandPoot
2022-04-06 18:41:31 -03:00
parent 4c3fa08cdf
commit 586a035132
881 changed files with 1599 additions and 1599 deletions
+3 -3
View File
@@ -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)
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)