Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 80a0079

Browse files
committed
TGS Test merge #13288
2 parents ada3275 + fd311dd commit 80a0079

3 files changed

Lines changed: 59 additions & 0 deletions

File tree

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/mob/living/simple_animal/hostile/smspider
2+
name = "supermatter spider"
3+
desc= "A sliver of supermatter placed upon a robotically enhanced pedestal."
4+
icon = 'icons/mob/smspider.dmi'
5+
icon_state = "smspider"
6+
icon_living = "smspider"
7+
icon_dead = "smspider_dead"
8+
gender = NEUTER
9+
turns_per_move = 2
10+
speak_emote = list("vibrates")
11+
emote_see = list("vibrates")
12+
emote_taunt = list("vibrates")
13+
taunt_chance = 40
14+
maxHealth = 10
15+
health = 10
16+
minbodytemp = 0
17+
maxbodytemp = 1500
18+
healable = 0
19+
attacktext = "slices"
20+
attack_sound = 'sound/effects/supermatter.ogg'
21+
atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_plas" = 0, "max_plas" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0)
22+
robust_searching = 1
23+
faction = list("hostile")
24+
see_in_dark = 8
25+
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_INVISIBLE
26+
ventcrawler = VENTCRAWLER_ALWAYS
27+
deathmessage = "falls to the ground, its shard dulling to a miserable grey!"
28+
var/overcharged = FALSE // if true, spider will not die if it dusts a limb
29+
30+
/mob/living/simple_animal/hostile/smspider/AttackingTarget()
31+
. = ..()
32+
if(isliving(target))
33+
playsound(get_turf(src), 'sound/effects/supermatter.ogg', 10, TRUE)
34+
visible_message(span_danger("[src] knocks into [target], turning them to dust in a brilliant flash of light!"))
35+
var/mob/living/victim = target
36+
victim.dust()
37+
if(!overcharged)
38+
death()
39+
else if(!isturf(target))
40+
playsound(get_turf(src), 'sound/effects/supermatter.ogg', 10, TRUE)
41+
visible_message(span_danger("[src] knocks into [target], turning it to dust in a brilliant flash of light!"))
42+
qdel(target)
43+
if(!overcharged)
44+
death()
45+
return FALSE
46+
47+
/mob/living/simple_animal/hostile/smspider/Initialize(mapload)
48+
. = ..()
49+
AddComponent(/datum/component/swarming)
50+
51+
/mob/living/simple_animal/hostile/smspider/overcharged
52+
name = "overcharged supermatter spider"
53+
desc = "A sliver of overcharged supermatter placed upon a robotically enhanced pedestal. This one seems especially dangerous."
54+
icon_state = "smspideroc"
55+
icon_living = "smspideroc"
56+
maxHealth = 25
57+
health = 25
58+
overcharged = TRUE

icons/mob/smspider.dmi

831 Bytes
Binary file not shown.

yogstation.dme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2460,6 +2460,7 @@
24602460
#include "code\modules\mob\living\simple_animal\hostile\pirate.dm"
24612461
#include "code\modules\mob\living\simple_animal\hostile\russian.dm"
24622462
#include "code\modules\mob\living\simple_animal\hostile\skeleton.dm"
2463+
#include "code\modules\mob\living\simple_animal\hostile\smspider.dm"
24632464
#include "code\modules\mob\living\simple_animal\hostile\statue.dm"
24642465
#include "code\modules\mob\living\simple_animal\hostile\stickman.dm"
24652466
#include "code\modules\mob\living\simple_animal\hostile\syndicate.dm"

0 commit comments

Comments
 (0)