Skip to content

Commit

Permalink
He never asked for this
Browse files Browse the repository at this point in the history
  • Loading branch information
Fullonibus committed Nov 12, 2024
1 parent 40f7913 commit a8c52f3
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions modular_ss220/prime_only/_prime.dme
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
#include "code/vending.dm"
#include "code/crematorium.dm"
#include "code/shuttle_gib.dm"
#include "code/spells.dm"
19 changes: 19 additions & 0 deletions modular_ss220/prime_only/code/outfit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,25 @@
/obj/item/clothing/accessory/holster,
)

var/list/spell_paths = list(/datum/spell/flayer/self/overclock/no_heat,
/datum/spell/flayer/self/rejuv,
/datum/spell/flayer/self/terminator_form)

/datum/outfit/job/admin/ntnavyofficer/field/secretary_officer/on_mind_initialize(mob/living/carbon/human/H)
. = ..()
//flayer spells
for(var/spell_path in spell_paths)
var/datum/spell/flayer/S = new spell_path
S.level = S.max_level
S.cooldown_handler.recharge_duration = S.base_cooldown / 5
H.mind.AddSpell(S)

//summon sword
var/datum/spell/summonitem/summon = new /datum/spell/summonitem
summon.invocation = "Скорбь!! Ко мне!"
summon.marked_item = H.l_store
H.mind.AddSpell(summon)

/datum/outfit/job/admin/ntnavyofficer/field/secretary_officer/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
. = ..()
if(visualsOnly)
Expand Down
7 changes: 7 additions & 0 deletions modular_ss220/prime_only/code/spells.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/datum/spell_handler/flayer/can_cast(mob/user, charge_check, show_message, datum/spell/spell)
if(user.mind.offstation_role == 1)
return TRUE
return ..()

/datum/spell/flayer/self/overclock/no_heat
heat_per_tick = 0

0 comments on commit a8c52f3

Please sign in to comment.