Skip to content

Commit

Permalink
TGS Test Merge (#6086)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blue authored and Blue committed Oct 20, 2023
2 parents 2e6c5cd + a175af6 commit d0d6939
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@
"bio" = 100,
"rad" = 100)

projectiletype = /obj/projectile/bullet/incendiary/flamethrower
base_attack_cooldown = 10
projectiletype = /obj/projectile/bullet/incendiary/flamethrower/weak
base_attack_cooldown = 40

ai_holder_type = /datum/ai_holder/simple_mob/ranged

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,16 @@
max_n2 = 0
minbodytemp = 0

movement_cooldown = -100
movement_cooldown = -1

ai_holder_type = /datum/ai_holder/simple_mob/statue


/mob/living/simple_mob/living_statue/death()
new /obj/item/ectoplasm (src.loc)
new /obj/item/stack/material/marble (src.loc)
..(null,"shatters into a pile of rubble.")
ghostize()
qdel(src)

//# Statue Subtypes

Expand All @@ -53,6 +58,13 @@
icon_state = "human_female"
gender = NEUTER

//Statue Shadow Organ
/obj/item/statue_darkness
name = "void organ"
desc = "You shouldn't be seeing this. Contact a Maintainer."
icon = 'icons/obj/items.dmi'
icon_state = "gift1"

//# Mob AI Code.

/datum/ai_holder/simple_mob/statue
Expand All @@ -75,6 +87,7 @@
// Give spells
add_spell(new/spell/aoe_turf/flicker_lights)
add_spell(new/spell/aoe_turf/blindness)
add_spell(new/spell/aoe_turf/veil_of_darkness)


//? Cannot talk
Expand All @@ -86,8 +99,6 @@
/mob/living/simple_mob/living_statue/gib()
dust()



//# Statue powers

/// Flicker lights AOE Spell
Expand All @@ -98,8 +109,8 @@
override_base = "grey"
hud_state = "blackout"

cooldown_min = 1 MINUTE // Overkill but by request.
charge_max = 300
cooldown_min = 300
range = 14


Expand Down Expand Up @@ -129,7 +140,8 @@

message = "<span class='notice'>You glare your eyes.</span>"

cooldown_min = 2 MINUTE // Overkill but by request.
charge_max = 600
cooldown_min = 600
range = 10

/spell/aoe_turf/blindness/choose_targets(mob/user = usr)
Expand All @@ -143,7 +155,26 @@

return things


/spell/aoe_turf/blindness/cast(list/targets, mob/user = usr)
for(var/mob/living/victim as anything in targets)
victim.Blind(4)

/// Veil of Darkness Spell
/spell/aoe_turf/veil_of_darkness
name = "Veil of Darkness"
desc = "You sheathe yourself in a powerful veil of darkness."

override_base = "grey"
hud_state = "wiz_smoke"

message = "<span class='notice'>You call upon the void.</span>"

charge_max = 1200
cooldown_min = 1200

/spell/aoe_turf/veil_of_darkness/cast(list/targets, mob/user = usr)
playsound(usr.loc, 'sound/effects/bamf.ogg', 50, 1, 5)
var/obj/item/statue_darkness/S = new
usr.contents.Add(S)
S.set_light(5, -10, "#FFFFFF")
QDEL_IN(S, 2 SECONDS)
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
if(my_kin.ability_flags & AB_PHASE_SHIFTED)
expire()
/datum/modifier/shadekin/create_shade/on_applied()
/datum/modifier/shadekin//on_applied()
my_kin = holder
holder.glow_toggle = TRUE
holder.glow_range = 8
Expand Down
5 changes: 4 additions & 1 deletion code/modules/projectiles/projectile/bullets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -483,12 +483,15 @@
icon_state = "fireball"
damage = 10
embed_chance = 0
incendiary = 2
//incendiary = 2 //The Trail of Fire doesn't work.
flammability = 4
agony = 30
range = 4
vacuum_traversal = 0

/obj/projectile/bullet/incendiary/flamethrower/weak
flammability = 2

/obj/projectile/bullet/incendiary/flamethrower/large
damage = 15
range = 6
Expand Down

0 comments on commit d0d6939

Please sign in to comment.