mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
Adds a new loadout to wizard: Fireball. (#23115)
* just fireball. * requested changes * review * Apply suggestions from code review Co-authored-by: GDN <96800819+GDNgit@users.noreply.github.com> * review * oops --------- Co-authored-by: GDN <96800819+GDNgit@users.noreply.github.com>
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
clothes_req = TRUE
|
||||
cooldown_min = 10 //Gun wizard
|
||||
action_icon_state = "bolt_action"
|
||||
var/gun_type = /obj/item/gun/projectile/shotgun/boltaction/enchanted
|
||||
|
||||
/obj/effect/proc_holder/spell/infinite_guns/create_new_targeting()
|
||||
return new /datum/spell_targeting/self
|
||||
@@ -17,5 +18,38 @@
|
||||
C.drop_item()
|
||||
C.swap_hand()
|
||||
C.drop_item()
|
||||
var/obj/item/gun/projectile/shotgun/boltaction/enchanted/GUN = new
|
||||
var/obj/item/gun/projectile/shotgun/boltaction/enchanted/GUN = new gun_type()
|
||||
C.put_in_hands(GUN)
|
||||
|
||||
/obj/effect/proc_holder/spell/infinite_guns/fireball
|
||||
name = "Rapid-fire Fireball"
|
||||
desc = "Multiple Fireballs. Need I explain more? Requires both hands free to use."
|
||||
|
||||
school = "evocation"
|
||||
base_cooldown = 30 SECONDS
|
||||
clothes_req = FALSE
|
||||
invocation = "ONI SOMA-SOMA-SOMA"
|
||||
invocation_type = "shout"
|
||||
action_icon_state = "explosion"
|
||||
gun_type = /obj/item/gun/projectile/shotgun/boltaction/enchanted/arcane_barrage/fireball
|
||||
|
||||
/obj/item/gun/projectile/shotgun/boltaction/enchanted/arcane_barrage/fireball
|
||||
name = "small ball of fire"
|
||||
desc = "A small flame, ready to launch from your hand."
|
||||
icon = 'icons/obj/cigarettes.dmi'
|
||||
icon_state = "match_unathi"
|
||||
item_state = "disintegrate"
|
||||
lefthand_file = 'icons/mob/inhands/items_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
|
||||
color = "#e1ff00" // red + yellow = orange
|
||||
guns_left = 20
|
||||
fire_sound = 'sound/magic/Fireball.ogg'
|
||||
mag_type = /obj/item/ammo_box/magazine/internal/boltaction/enchanted/arcane_barrage/fireball
|
||||
flags = NOBLUDGEON | DROPDEL
|
||||
|
||||
/obj/item/ammo_box/magazine/internal/boltaction/enchanted/arcane_barrage/fireball
|
||||
ammo_type = /obj/item/ammo_casing/magic/arcane_barrage/fireball
|
||||
|
||||
/obj/item/ammo_casing/magic/arcane_barrage/fireball
|
||||
projectile_type = /obj/item/projectile/magic/fireball
|
||||
muzzle_flash_effect = null
|
||||
|
||||
@@ -323,7 +323,7 @@
|
||||
invocation_type = "shout"
|
||||
cooldown_min = 20 //10 deciseconds reduction per rank
|
||||
|
||||
selection_activated_message = "<span class='notice'>Your prepare to cast your fireball spell! <B>Left-click to cast at a target!</B></span>"
|
||||
selection_activated_message = "<span class='notice'>You prepare to cast your fireball spell! <B>Left-click to cast at a target!</B></span>"
|
||||
selection_deactivated_message = "<span class='notice'>You extinguish your fireball...for now.</span>"
|
||||
|
||||
var/fireball_type = /obj/item/projectile/magic/fireball
|
||||
@@ -367,9 +367,18 @@
|
||||
fireball_type = /obj/item/projectile/homing/magic/toolbox
|
||||
invocation = "ROBUSTIO!"
|
||||
|
||||
selection_activated_message = "<span class='notice'>Your prepare to cast your homing toolbox! <B>Left-click to cast at a target!</B></span>"
|
||||
selection_activated_message = "<span class='notice'>You prepare to cast your homing toolbox! <B>Left-click to cast at a target!</B></span>"
|
||||
selection_deactivated_message = "<span class='notice'>You unrobust your toolbox...for now.</span>"
|
||||
|
||||
/obj/effect/proc_holder/spell/fireball/homing
|
||||
name = "Greater Homing Fireball"
|
||||
desc = "This spell fires a strong homing fireball at a target."
|
||||
invocation = "ZI-ONI SOMA"
|
||||
fireball_type = /obj/item/projectile/homing/magic/homing_fireball
|
||||
|
||||
selection_activated_message = "<span class='notice'>You prepare to cast your greater homing fireball spell! <B>Left-click to cast at a target!</B></span>"
|
||||
base_cooldown = 6 SECONDS
|
||||
|
||||
/obj/effect/proc_holder/spell/aoe/repulse
|
||||
name = "Repulse"
|
||||
desc = "This spell throws everything around the user away."
|
||||
|
||||
Reference in New Issue
Block a user