mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Co-authored-by: Changelogs <action@github.com> Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
180 lines
4.3 KiB
Plaintext
180 lines
4.3 KiB
Plaintext
//////////////////////////////Construct Spells/////////////////////////
|
|
/*
|
|
* This has been moved to game/gamemodes/cult/construct_spells.dm. This is here for posterity.
|
|
*/
|
|
|
|
/*
|
|
/spell/aoe_turf/conjure/construct
|
|
name = "Artificer"
|
|
desc = "This spell conjures a construct which may be controlled by Shades"
|
|
|
|
school = "conjuration"
|
|
charge_max = 600
|
|
spell_flags = 0
|
|
invocation = "none"
|
|
invocation_type = SpI_NONE
|
|
range = 0
|
|
|
|
summon_type = list(/obj/structure/constructshell)
|
|
|
|
hud_state = "artificer"
|
|
|
|
/spell/aoe_turf/conjure/construct/lesser
|
|
charge_max = 1800
|
|
summon_type = list(/obj/structure/constructshell/cult)
|
|
hud_state = "const_shell"
|
|
override_base = "const"
|
|
|
|
/spell/aoe_turf/conjure/floor
|
|
name = "Floor Construction"
|
|
desc = "This spell constructs a cult floor"
|
|
|
|
charge_max = 20
|
|
spell_flags = Z2NOCAST | CONSTRUCT_CHECK
|
|
invocation = "none"
|
|
invocation_type = SpI_NONE
|
|
range = 0
|
|
summon_type = list(/turf/simulated/floor/cult)
|
|
|
|
hud_state = "const_floor"
|
|
|
|
/spell/aoe_turf/conjure/floor/conjure_animation(var/atom/movable/overlay/animation, var/turf/target)
|
|
animation.icon_state = "cultfloor"
|
|
flick("cultfloor",animation)
|
|
spawn(10)
|
|
qdel(animation)
|
|
|
|
/spell/aoe_turf/conjure/wall
|
|
name = "Lesser Construction"
|
|
desc = "This spell constructs a cult wall"
|
|
|
|
charge_max = 100
|
|
spell_flags = Z2NOCAST | CONSTRUCT_CHECK
|
|
invocation = "none"
|
|
invocation_type = SpI_NONE
|
|
range = 0
|
|
summon_type = list(/turf/simulated/wall/cult)
|
|
|
|
hud_state = "const_wall"
|
|
|
|
/spell/aoe_turf/conjure/wall/conjure_animation(var/atom/movable/overlay/animation, var/turf/target)
|
|
animation.icon_state = "cultwall"
|
|
flick("cultwall",animation)
|
|
spawn(10)
|
|
qdel(animation)
|
|
|
|
/spell/aoe_turf/conjure/wall/reinforced
|
|
name = "Greater Construction"
|
|
desc = "This spell constructs a reinforced metal wall"
|
|
|
|
charge_max = 300
|
|
spell_flags = Z2NOCAST
|
|
invocation = "none"
|
|
invocation_type = SpI_NONE
|
|
range = 0
|
|
cast_delay = 50
|
|
|
|
summon_type = list(/turf/simulated/wall/r_wall)
|
|
|
|
/spell/aoe_turf/conjure/soulstone
|
|
name = "Summon Soulstone"
|
|
desc = "This spell reaches into Nar-Sie's realm, summoning one of the legendary fragments across time and space"
|
|
|
|
charge_max = 3000
|
|
spell_flags = 0
|
|
invocation = "none"
|
|
invocation_type = SpI_NONE
|
|
range = 0
|
|
|
|
summon_type = list(/obj/item/soulstone)
|
|
|
|
hud_state = "const_stone"
|
|
override_base = "const"
|
|
|
|
/spell/aoe_turf/conjure/pylon
|
|
name = "Red Pylon"
|
|
desc = "This spell conjures a fragile crystal from Nar-Sie's realm. Makes for a convenient light source."
|
|
|
|
charge_max = 200
|
|
spell_flags = CONSTRUCT_CHECK
|
|
invocation = "none"
|
|
invocation_type = SpI_NONE
|
|
range = 0
|
|
|
|
summon_type = list(/obj/structure/cult/pylon)
|
|
|
|
hud_state = "const_pylon"
|
|
|
|
/spell/aoe_turf/conjure/pylon/cast(list/targets)
|
|
..()
|
|
var/turf/spawn_place = pick(targets)
|
|
for(var/obj/structure/cult/pylon/P in spawn_place.contents)
|
|
if(P.isbroken)
|
|
P.repair(usr)
|
|
continue
|
|
return
|
|
|
|
/spell/aoe_turf/conjure/door
|
|
name = "Stone Door"
|
|
desc = "This spell conjures a massive stone door."
|
|
|
|
charge_max = 100
|
|
spell_flags = CONSTRUCT_CHECK
|
|
invocation = "none"
|
|
invocation_type = SpI_NONE
|
|
range = 0
|
|
|
|
hud_state = "const_rune"
|
|
|
|
/spell/aoe_turf/conjure/door/cast(list/targets)
|
|
..()
|
|
var/turf/spawn_place = pick(targets)
|
|
if(spawn_place)
|
|
new /obj/structure/simple_door/cult(spawn_place)
|
|
return
|
|
|
|
/spell/aoe_turf/conjure/grille
|
|
name = "Arcane Grille"
|
|
desc = "This spell conjures an airtight grille."
|
|
|
|
charge_max = 100
|
|
spell_flags = CONSTRUCT_CHECK
|
|
invocation = "none"
|
|
invocation_type = SpI_NONE
|
|
range = 0
|
|
|
|
hud_state = "const_rune"
|
|
|
|
/spell/aoe_turf/conjure/grille/cast(list/targets)
|
|
..()
|
|
var/turf/spawn_place = pick(targets)
|
|
if(spawn_place)
|
|
new /obj/structure/grille/cult(spawn_place)
|
|
return
|
|
|
|
/spell/aoe_turf/conjure/forcewall/lesser
|
|
name = "Shield"
|
|
desc = "Allows you to pull up a shield to protect yourself and allies from incoming threats"
|
|
|
|
charge_max = 300
|
|
spell_flags = 0
|
|
invocation = "none"
|
|
invocation_type = SpI_NONE
|
|
range = 0
|
|
summon_type = list(/obj/effect/forcefield/cult)
|
|
duration = 200
|
|
|
|
hud_state = "const_juggwall"
|
|
|
|
//Code for the Juggernaut construct's forcefield, that seemed like a good place to put it.
|
|
/obj/effect/forcefield/cult
|
|
desc = "That eerie looking obstacle seems to have been pulled from another dimension through sheer force"
|
|
name = "Juggerwall"
|
|
icon = 'icons/effects/effects.dmi'
|
|
icon_state = "m_shield_cult"
|
|
light_color = "#B40000"
|
|
light_range = 2
|
|
|
|
/obj/effect/forcefield/cult/cultify()
|
|
return
|
|
*/ |