diff --git a/code/datums/spell.dm b/code/datums/spell.dm index 539019ce96d..2453b36f2a7 100644 --- a/code/datums/spell.dm +++ b/code/datums/spell.dm @@ -133,6 +133,8 @@ var/list/spells = typesof(/obj/effect/proc_holder/spell) //needed for the badmin while(charge_counter < charge_max) sleep(1) charge_counter++ + if(ishuman(usr)) + usr.update_power_buttons() /obj/effect/proc_holder/spell/proc/perform(list/targets, recharge = 1, mob/user = usr) //if recharge is started is important for the trigger spells before_cast(targets) diff --git a/code/datums/spells/ethereal_jaunt.dm b/code/datums/spells/ethereal_jaunt.dm index 75562053764..111d26ced73 100644 --- a/code/datums/spells/ethereal_jaunt.dm +++ b/code/datums/spells/ethereal_jaunt.dm @@ -15,6 +15,8 @@ var phaseshift = 0 var/jaunt_duration = 50 //in deciseconds + icon_power_button = "spell_jaunt" + /obj/effect/proc_holder/spell/targeted/ethereal_jaunt/cast(list/targets) //magnets, so mostly hardcoded for(var/mob/living/target in targets) spawn(0) diff --git a/code/datums/spells/horsemask.dm b/code/datums/spells/horsemask.dm index 30ddb9b1577..4d4ec72ae39 100644 --- a/code/datums/spells/horsemask.dm +++ b/code/datums/spells/horsemask.dm @@ -14,6 +14,8 @@ selection_type = "range" var/list/compatible_mobs = list(/mob/living/carbon/human, /mob/living/carbon/monkey) + icon_power_button = "spell_horse" + /obj/effect/proc_holder/spell/targeted/horsemask/cast(list/targets, mob/user = usr) if(!targets.len) user << "No target found in range." diff --git a/code/datums/spells/mind_transfer.dm b/code/datums/spells/mind_transfer.dm index 7284ec29e09..1a4ec7e6dea 100644 --- a/code/datums/spells/mind_transfer.dm +++ b/code/datums/spells/mind_transfer.dm @@ -18,6 +18,8 @@ var/paralysis_amount_caster = 20 //how much the caster is paralysed for after the spell var/paralysis_amount_victim = 20 //how much the victim is paralysed for after the spell + icon_power_button = "spell_mind" + /* Urist: I don't feel like figuring out how you store object spells so I'm leaving this for you to do. Make sure spells that are removed from spell_list are actually removed and deleted when mind transfering. diff --git a/code/datums/spells/wizard.dm b/code/datums/spells/wizard.dm index 39f8ec3c121..73810070352 100644 --- a/code/datums/spells/wizard.dm +++ b/code/datums/spells/wizard.dm @@ -98,6 +98,8 @@ emp_heavy = 6 emp_light = 10 + icon_power_button = "spell_tech" + /obj/effect/proc_holder/spell/targeted/turf_teleport/blink name = "Blink" desc = "This spell randomly teleports you a short distance." @@ -237,6 +239,8 @@ summon_type = "/obj/structure/closet/statue" + icon_power_button = "spell_stone" + /obj/effect/proc_holder/spell/dumbfire/fireball name = "Fireball" desc = "This spell fires a fireball at a target and does not require wizard garb." diff --git a/icons/mob/screen1_action.dmi b/icons/mob/screen1_action.dmi index 1d749f561cd..41cd374b5b6 100644 Binary files a/icons/mob/screen1_action.dmi and b/icons/mob/screen1_action.dmi differ