mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-03 14:02:49 +00:00
Fixes #3742 - someone unfucked the fix again. Resolves #3740 and resolves #3739. Fixes #1558 - a 10 month long meme is dead. Resolves #3720 by making robo-eyes immune only to the eye stinging effects of pepperspray. Let there be equality amongst the synths. Fixes #3676 - tested, shouldn't break. It was double-calling set_death_timer. Fixes #3672 and fixes #3658 - that was my bad on not noticing the diff around hologram.icon = icon vs add_overlay(icon). Fixes #3762 - I'm surprised this didn't fuck over more.
124 lines
3.4 KiB
Plaintext
124 lines
3.4 KiB
Plaintext
/spell/aoe_turf/conjure/summon
|
|
var/name_summon = 0
|
|
cast_sound = 'sound/weapons/wave.ogg'
|
|
|
|
/spell/aoe_turf/conjure/summon/before_cast()
|
|
..()
|
|
if(name_summon)
|
|
var/newName = sanitize(input("Would you like to name your summon?") as null|text, MAX_NAME_LEN)
|
|
if(newName)
|
|
newVars["name"] = newName
|
|
|
|
/spell/aoe_turf/conjure/summon/conjure_animation(var/atom/movable/overlay/animation, var/turf/target)
|
|
animation.icon_state = "shield2"
|
|
flick("shield2",animation)
|
|
sleep(10)
|
|
..()
|
|
|
|
|
|
/spell/aoe_turf/conjure/summon/bats
|
|
name = "Summon Space Bats"
|
|
desc = "This spell summons a flock of spooky space bats."
|
|
feedback = "SB"
|
|
|
|
charge_max = 300
|
|
invocation = "Bla'yo daya!"
|
|
invocation_type = SpI_SHOUT
|
|
level_max = list(Sp_TOTAL = 3, Sp_SPEED = 4, Sp_POWER = 3)
|
|
|
|
range = 1
|
|
|
|
summon_amt = 2
|
|
summon_type = list(/mob/living/simple_animal/hostile/scarybat)
|
|
|
|
hud_state = "wiz_bats"
|
|
|
|
/spell/aoe_turf/conjure/summon/bats/empower_spell()
|
|
if(!..())
|
|
return 0
|
|
|
|
newVars = list("maxHealth" = 20 + spell_levels[Sp_POWER]*5, "health" = 20 + spell_levels[Sp_POWER]*5, "melee_damage_lower" = 10 + spell_levels[Sp_POWER], "melee_damage_upper" = 10 + spell_levels[Sp_POWER]*2)
|
|
|
|
return "Your bats are now stronger."
|
|
|
|
/spell/aoe_turf/conjure/summon/bear
|
|
name = "Summon Bear"
|
|
desc = "This spell summons a permanent bear companion that will follow your orders."
|
|
feedback = "BR"
|
|
charge_max = 3000
|
|
spell_flags = NEEDSCLOTHES
|
|
invocation = "REA'YO GOR DAYA!"
|
|
invocation_type = SpI_SHOUT
|
|
level_max = list(Sp_TOTAL = 4, Sp_SPEED = 0, Sp_POWER = 4)
|
|
|
|
range = 0
|
|
|
|
name_summon = 1
|
|
|
|
summon_amt = 1
|
|
summon_type = list(/mob/living/simple_animal/hostile/commanded/bear)
|
|
newVars = list("maxHealth" = 100,
|
|
"health" = 100,
|
|
"melee_damage_lower" = 25,
|
|
"melee_damage_upper" = 25
|
|
)
|
|
|
|
hud_state = "wiz_bear"
|
|
|
|
/spell/aoe_turf/conjure/summon/bear/before_cast()
|
|
..()
|
|
newVars["master"] = holder //why not do this in the beginning? MIND SWITCHING.
|
|
|
|
/spell/aoe_turf/conjure/summon/bear/empower_spell()
|
|
if(!..())
|
|
return 0
|
|
switch(spell_levels[Sp_POWER])
|
|
if(1)
|
|
newVars = list("maxHealth" = 120,
|
|
"health" = 120,
|
|
"melee_damage_lower" = 30,
|
|
"melee_damage_upper" = 30,
|
|
"resistance" = 2,
|
|
"icon_state" = "bearfloor",
|
|
"icon_living" = "bearfloor",
|
|
"icon_dead" = "bearfloor_dead",
|
|
"desc" = "A large black bear."
|
|
)
|
|
return "Your bear has been upgraded from a cub to a whelp."
|
|
if(2)
|
|
newVars = list("maxHealth" = 140,
|
|
"health" = 140,
|
|
"melee_damage_lower" = 35,
|
|
"melee_damage_upper" = 35,
|
|
"resistance" = 3,
|
|
"icon_state" = "bear",
|
|
"icon_living" = "bear",
|
|
"icon_dead" = "bear_dead",
|
|
"desc" = "A large black bear."
|
|
)
|
|
return "Your bear has been upgraded from a whelp to an adult."
|
|
if(3)
|
|
newVars = list("maxHealth" = 180,
|
|
"health" = 180,
|
|
"melee_damage_lower" = 40,
|
|
"melee_damage_upper" = 40,
|
|
"resistance" = 4,
|
|
"icon_state" = "snowbear",
|
|
"icon_living" = "snowbear",
|
|
"icon_dead" = "snowbear_dead",
|
|
"desc" = "A large polar bear."
|
|
)
|
|
return "Your bear has been upgraded from an adult to an alpha."
|
|
if(4)
|
|
newVars = list("maxHealth" = 250,
|
|
"health" = 250,
|
|
"melee_damage_lower" = 45,
|
|
"melee_damage_upper" = 45,
|
|
"resistance" = 5,
|
|
"icon_state" = "combatbear",
|
|
"icon_living" = "combatbear",
|
|
"icon_dead" = "combatbear_dead",
|
|
"desc" = "A large brown armored bear."
|
|
)
|
|
return "Your bear is now worshiped as a god amongst bears."
|