Skip to content

Commit d963bfe

Browse files
Corrected CentCom Officer suit and added the Commander suit.
Minor adjustments to alien health icons. Fixed aliens hissing when they were doing their regular emotes. Added death sound to aliens. Aliens can now properly attack/interact with space carp. Adjusted alien damage to monkeys. A few wip sprites. Fixed pulse rifles, again. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@729 316c924e-a436-60f5-8080-3fe189b3f50e
1 parent e11d311 commit d963bfe

File tree

14 files changed

+75
-45
lines changed

14 files changed

+75
-45
lines changed

code/defines/obj/clothing.dm

+9-2
Original file line numberDiff line numberDiff line change
@@ -904,10 +904,17 @@
904904
/obj/item/clothing/under/rank/centcom_officer
905905
desc = "It has a CentCom officer rank stripe on it."
906906
name = "CentCom Officer Jumpsuit"
907-
icon_state = "hop"
908-
item_state = "b_suit"
907+
icon_state = "officer"
908+
item_state = "g_suit"
909909
color = "officer"
910910

911+
/obj/item/clothing/under/rank/centcom_commander
912+
desc = "It has a CentCom commander rank stripe on it."
913+
name = "CentCom Officer Jumpsuit"
914+
icon_state = "centcom"
915+
item_state = "dg_suit"
916+
color = "centcom"
917+
911918
/obj/item/clothing/under/rank/head_of_security
912919
desc = "It has a Head of Security rank stripe on it."
913920
name = "Head of Security Jumpsuit"

code/game/objects/items/weapons/guns_ammo.dm

+23-27
Original file line numberDiff line numberDiff line change
@@ -68,30 +68,30 @@ TELEPORT GUN
6868
spawn()
6969
A.process()
7070
return
71-
attack(mob/M as mob, mob/user as mob)
72-
..()
73-
src.add_fingerprint(user)
74-
if ((prob(50) && M.stat < 2))
75-
var/mob/living/carbon/human/H = M
76-
if ((istype(H, /mob/living/carbon/human) && istype(H, /obj/item/clothing/head) && H.flags & 8 && prob(80)))
77-
M << "\blue The helmet protects you from being hit hard in the head!"
78-
for(var/mob/O in viewers(M, null))
79-
if(O.client)
80-
O.show_message(text("\red <B>[] blocked a hit from []!</B>", M, user), 1)
81-
return
82-
var/time = rand(20, 60)
83-
if (prob(90))
84-
M.paralysis = max(time, M.paralysis)
85-
else
86-
M.weakened = max(time, M.weakened)
87-
src.force = 35
88-
..()
89-
if(M.stat != 2) M.stat = 1
90-
for(var/mob/O in viewers(M, null))
91-
if(O.client)
92-
O.show_message(text("\red <B>[] has been rifle butted by []!</B>", M, user), 1, "\red You hear someone fall.", 2)
93-
return
9471

72+
/obj/item/weapon/gun/energy/pulse_rifle/attack(mob/M as mob, mob/user as mob)
73+
src.add_fingerprint(user)
74+
var/mob/living/carbon/human/H = M
75+
76+
if ((istype(H, /mob/living/carbon/human) && istype(H, /obj/item/clothing/head) && H.flags & 8 && prob(80)))
77+
M << "\blue The helmet protects you from being hit hard in the head!"
78+
for(var/mob/O in viewers(M, null))
79+
if(O.client)
80+
O.show_message(text("\red <B>[] blocked a hit from []!</B>", M, user), 1)
81+
return
82+
else
83+
var/time = rand(20, 60)
84+
if (prob(90))
85+
M.paralysis = max(time, M.paralysis)
86+
else
87+
M.weakened = max(time, M.weakened)
88+
src.force = 35
89+
..()
90+
if(M.stat != 2) M.stat = 1
91+
for(var/mob/O in viewers(M, null))
92+
if(O.client)
93+
O.show_message(text("\red <B>[] has been rifle butted by []!</B>", M, user), 1, "\red You hear someone fall.", 2)
94+
return
9595

9696
// AMMO
9797

@@ -539,10 +539,6 @@ obj/item/weapon/gun/revolver/attackby(obj/item/weapon/ammo/a357/A as obj, mob/us
539539
if (O.client) O.show_message(text("\red <B>[] has been pistol whipped with the detectives revolver by []!</B>", M, user), 1, "\red You hear someone fall", 2)
540540
return
541541

542-
543-
544-
545-
546542
// ENERGY GUN
547543

548544
/obj/item/weapon/gun/energy/proc/update_icon()

code/game/objects/livestock.dm

+33
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,39 @@
7272
attack_hand(user as mob)
7373
return
7474

75+
attack_alien(var/mob/living/carbon/alien/user as mob) //So aliums can attack and potentially eat space carp.
76+
if(src.alive)
77+
if (user.a_intent == "help")
78+
for(var/mob/O in viewers(src, null))
79+
if ((O.client && !( O.blinded )))
80+
O.show_message(text("\blue [user] caresses [src.name] with its scythe like arm."), 1)
81+
else
82+
src.health -= rand(15,30)
83+
if(src.aggressive)
84+
src.target = user
85+
src.state = 1
86+
for(var/mob/O in viewers(src, null))
87+
if ((O.client && !( O.blinded )))
88+
O.show_message(text("\red <B>[] has slashed [src.name]!</B>", user), 1)
89+
playsound(src.loc, 'slice.ogg', 25, 1, -1)
90+
if(prob(10)) new /obj/decal/cleanable/blood(src.loc)
91+
if (src.health <= 0)
92+
src.death()
93+
else
94+
if (user.a_intent == "grab")
95+
for(var/mob/N in viewers(user, null))
96+
if(N.client)
97+
N.show_message(text("\red <B>[user] is attempting to devour the carp!</B>"), 1)
98+
if(!do_after(user, 50)) return
99+
for(var/mob/N in viewers(user, null))
100+
if(N.client)
101+
N.show_message(text("\red <B>[user] hungrily devours the carp!</B>"), 1)
102+
user.health += rand(10,25)
103+
del(src)
104+
else
105+
user << "\green The creature is already dead."
106+
return
107+
75108
attackby(obj/item/weapon/W as obj, mob/user as mob)
76109
if(src.alive)
77110
switch(W.damtype)

code/modules/mob/living/carbon/alien/humanoid/alien_powers.dm

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
/*NOTES:
2-
3-
There are several problems with alien powers right now. I am currently trying to fix the dissolve verb so it makes a lot more sense.
4-
Alien spit is ridiculous and needs to be toned down. It homes in on targets when it should probably work
5-
more like a taser shot but with continuous toxin damage to the target if they are hit.
6-
Invisibility works well but 30 seconds is too long. 15 would be good considering it doesn't cost much and makes the alien a lot more
7-
robust (can't be canceled by anything short of thermals or a superpower).
8-
Vent crawl shouldn't transport the alien to the Prison Station or back. The list should also be in some order since right now it's
9-
often difficult to pick the right destination.
10-
Resin wall should also apply to mobs so that aliens can envelope them in resin (effectively paralyze them) to successfully hatch more
11-
aliens. Perhaps it should also prevent the target from suiciding.
12-
All I can think of right now./N
2+
These are being worked on.
133
*/
144

155
/mob/living/carbon/alien/humanoid/verb/invis()

code/modules/mob/living/carbon/alien/humanoid/death.dm

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
src.stat = 2
77

88
if (!gibbed)
9-
109
// emote("deathgasp") // Dead -- Skie // Doesn't work due to stat == 2 -- Urist
10+
playsound(src.loc, 'hiss6.ogg', 80, 1, 1)
1111
for(var/mob/O in viewers(src, null))
1212
O.show_message("<B>[src]</B> lets out a waning guttural screech, green blood bubbling from its maw...", 1)
1313

code/modules/mob/living/carbon/alien/humanoid/emote.dm

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
m_type = 2
2121
if ("deathgasp")
2222
message = "<B>[src]</B> lets out a waning guttural screech, green blood bubbling from its maw..."
23-
m_type = 1
23+
m_type = 2
2424
if("scratch")
2525
if (!src.restrained())
2626
message = "<B>The [src.name]</B> scratches."
@@ -99,6 +99,8 @@
9999
if ((message && src.stat == 0))
100100
if (act == "roar")
101101
playsound(src.loc, 'hiss5.ogg', 40, 1, 1)
102+
if (act == "deathgasp")
103+
playsound(src.loc, 'hiss6.ogg', 80, 1, 1)
102104
if (m_type & 1)
103105
for(var/mob/O in viewers(src, null))
104106
O.show_message(message, m_type)

code/modules/mob/living/carbon/alien/say.dm

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
message = trim(copytext(sanitize(message), 1, MAX_MESSAGE_LEN))
1212
src.alien_talk(message)
1313
else
14-
playsound(src.loc, "hiss", 25, 1, 1)//So aliens can hiss while they hiss yo/N
14+
if (copytext(message, 1, 2) != "*" && !src.stat)
15+
playsound(src.loc, "hiss", 25, 1, 1)//So aliens can hiss while they hiss yo/N
1516
return ..(message)
1617
else
1718

code/modules/mob/living/carbon/monkey/monkey.dm

+3-2
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,8 @@
285285

286286
if (M.a_intent == "help")
287287
for(var/mob/O in viewers(src, null))
288-
O.show_message(text("\blue [M] caresses [src] with its scythe like arm."), 1)
288+
if ((O.client && !( O.blinded )))
289+
O.show_message(text("\blue [M] caresses [src] with its scythe like arm."), 1)
289290
else
290291
if (M.a_intent == "hurt")
291292
if ((prob(95) && src.health > 0))
@@ -294,7 +295,7 @@
294295
O.show_message(text("\red <B>[] has slashed [src.name]!</B>", M), 1)
295296

296297
playsound(src.loc, 'slice.ogg', 25, 1, -1)
297-
var/damage = rand(5, 10)
298+
var/damage = rand(15, 30)
298299
if (prob(40))
299300
damage = rand(20, 40)
300301
if (src.paralysis < 5)

icons/mob/feet.dmi

1 Byte
Binary file not shown.

icons/mob/head.dmi

882 Bytes
Binary file not shown.

icons/mob/screen1_alien.dmi

-49 Bytes
Binary file not shown.

icons/mob/suit.dmi

681 Bytes
Binary file not shown.

icons/mob/uniform.dmi

0 Bytes
Binary file not shown.

sound/voice/hiss6.ogg

41.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)