mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-09 22:25:46 +01:00
eee8878024
* datumized spells * finished * last changes * conflict * Update code/datums/spells/alien_spells/transfer_plasma.dm * conflicts * shitty runtime fix until i get to this tomorrow * Update code/datums/spell.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spell_handler/alien_spell_handler.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/alien_spells/regurgitate.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/alien_spells/regurgitate.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/bloodcrawl.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/bloodcrawl.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/antagonists/vampire/vampire_powers/hemomancer_powers.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/antagonists/vampire/vampire_powers/vampire_powers.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/awaymissions/mission_code/ruins/wizardcrash.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/research/xenobiology/xenobiology.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/mob/living/carbon/superheroes.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/conjure.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/ethereal_jaunt.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/emplosion.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/turf_teleport.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/wizard_spells.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/wizard_spells.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/game/dna/mutations/mutation_powers.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/wizard_spells.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/wizard_spells.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/game/dna/mutations/mutation_powers.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/game/gamemodes/miniantags/revenant/revenant_abilities.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * guess who just rework the entire malf ai actionsf ai * gc better --------- Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
56 lines
2.0 KiB
Plaintext
56 lines
2.0 KiB
Plaintext
/datum/spell/infinite_guns
|
|
name = "Lesser Summon Guns"
|
|
desc = "Why reload when you have infinite guns? Summons an unending stream of bolt action rifles. Requires both hands free to use."
|
|
invocation_type = "none"
|
|
|
|
school = "conjuration"
|
|
base_cooldown = 600
|
|
clothes_req = TRUE
|
|
cooldown_min = 10 //Gun wizard
|
|
action_icon_state = "bolt_action"
|
|
var/gun_type = /obj/item/gun/projectile/shotgun/boltaction/enchanted
|
|
|
|
/datum/spell/infinite_guns/create_new_targeting()
|
|
return new /datum/spell_targeting/self
|
|
|
|
/datum/spell/infinite_guns/cast(list/targets, mob/user = usr)
|
|
for(var/mob/living/carbon/C in targets)
|
|
C.drop_item()
|
|
C.swap_hand()
|
|
C.drop_item()
|
|
var/obj/item/gun/projectile/shotgun/boltaction/enchanted/GUN = new gun_type()
|
|
C.put_in_hands(GUN)
|
|
|
|
/datum/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
|