Adds a click sounds for empty guns. Adds supervisors for the AI. Adds some A17 implants and sprites.

This commit is contained in:
Ren Erthilo
2012-04-17 19:02:18 +01:00
parent 1aa29c3c4c
commit 249f38d464
7 changed files with 116 additions and 1 deletions
+2
View File
@@ -110,6 +110,8 @@
src.add_fingerprint(user)
if (src.bullets < 1)
user.show_message("\red *click* *click*", 2)
for(var/mob/K in viewers(usr))
K << 'empty.ogg'
return
playsound(user, 'Gunshot.ogg', 100, 1)
src.bullets--
+1
View File
@@ -5,6 +5,7 @@
faction = "Station"
total_positions = 0
spawn_positions = 1
supervisors = "your laws"
equip(var/mob/living/carbon/human/H)
+2
View File
@@ -34,6 +34,8 @@
if(shots_left <= 0)
user.show_message("\red *click* *click*", 2)
for(var/mob/K in viewers(usr))
K << 'empty.ogg'
return
playsound(src.loc, 'flash.ogg', 100, 1)
@@ -335,4 +335,110 @@ the implant may become unstable and either pre-maturely inject the subject or si
implanted(mob/source as mob)
src.activation_emote = input("Choose activation emote:") in list("blink", "blink_r", "eyebrow", "chuckle", "twitch_s", "frown", "nod", "blush", "giggle", "grin", "groan", "shrug", "smile", "pale", "sniff", "whimper", "wink")
source.mind.store_memory("Freedom implant can be activated by using the [src.activation_emote] emote, <B>say *[src.activation_emote]</B> to attempt to activate.", 0, 0)
source << "The implanted freedom implant can be activated by using the [src.activation_emote] emote, <B>say *[src.activation_emote]</B> to attempt to activate."
source << "The implanted freedom implant can be activated by using the [src.activation_emote] emote, <B>say *[src.activation_emote]</B> to attempt to activate."
/*// --------------------LASERS WORK FROM HERE, AUGMENTATIONS SHIZZLE----------------------
/obj/item/weapon/implant/augmentation/thermalscanner
name = "Thermal Scanner Augmentation"
desc = "Makes you see humans through walls"
get_data()
var/dat = {"
<b>Implant Specifications:</b><BR>
<b>Name:</b> NanoTrasen Thermal Implant<BR>
<b>Life:</b> Ten years.<BR>
<b>Important Notes:</b> Personnel injected with this device tend to be able to see lifeforms through life using thermal.<BR>
<HR>
<b>Implant Details:</b><BR>
<b>Function:</b> Contains a small pod of nanobots that manipulate the host's eye functions.<BR>
<b>Integrity:</b> Implant will occasionally be degraded by the body's immune system and thus will occasionally malfunction."}
return dat
implanted(M as mob)
if(istype(M, /mob/living/carbon/human))
vision_flags = SEE_MOBS
invisa_view = 2
usr << "You suddenly start seeing body temperatures of whoever is around you."
else
usr << "This implant is not compatible!"
return
/obj/item/weapon/implant/augmentation/mesonscanner
name = "Meson Scanner Augmentation"
desc = "Makes you see floor and wall layouts through walls."
get_data()
var/dat = {"
<b>Implant Specifications:</b><BR>
<b>Name:</b> NanoTrasen Meson Implant<BR>
<b>Life:</b> Ten years.<BR>
<b>Important Notes:</b> Personnel injected with this device tend to be able to see floor and wall layouts through walls.<BR>
<HR>
<b>Implant Details:</b><BR>
<b>Function:</b> Contains a small pod of nanobots that manipulate the host's eye functions.<BR>
<b>Integrity:</b> Implant will occasionally be degraded by the body's immune system and thus will occasionally malfunction."}
return dat
implanted(M as mob)
if(istype(M, /mob/living/carbon/human))
vision_flags = SEE_TURFS
usr << "You suddenly start seeing body temperatures of whoever is around you."
else
usr << "This implant is not compatible!"
return
/obj/item/weapon/implant/augmentation/medicalhud
name = "Medical HUD Augmentation"
desc = "Makes you see the medical condition of a person."
get_data()
var/dat = {"
<b>Implant Specifications:</b><BR>
<b>Name:</b> NanoTrasen Med HUD Implant<BR>
<b>Life:</b> Ten years.<BR>
<b>Important Notes:</b> Personnel injected with this device tend to be able to see the medical condition of a person.<BR>
<HR>
<b>Implant Details:</b><BR>
<b>Function:</b> Contains a small pod of nanobots that manipulate the host's eye functions.<BR>
<b>Integrity:</b> Implant will occasionally be degraded by the body's immune system and thus will occasionally malfunction."}
return dat
implanted(M as mob)
if(istype(M, /mob/living/carbon/human))
src.hud = new/obj/item/clothing/glasses/hud/health(src)
usr << "You suddenly start seeing body temperatures of whoever is around you."
else
usr << "This implant is not compatible!"
return
/obj/item/weapon/implant/augmentation/securityhud
name = "Security HUD Augmentation"
desc = "Makes you see the Security standings of a person."
get_data()
var/dat = {"
<b>Implant Specifications:</b><BR>
<b>Name:</b> NanoTrasen Sec HUD Implant<BR>
<b>Life:</b> Ten years.<BR>
<b>Important Notes:</b> Personnel injected with this device tend to be able to see the security standings of a person.<BR>
<HR>
<b>Implant Details:</b><BR>
<b>Function:</b> Contains a small pod of nanobots that manipulate the host's eye functions.<BR>
<b>Integrity:</b> Implant will occasionally be degraded by the body's immune system and thus will occasionally malfunction."}
return dat
implanted(M as mob)
if(istype(M, /mob/living/carbon/human))
var/obj/item/clothing/glasses/hud/security/hud = null
src.hud = new/obj/item/clothing/glasses/hud/security(src)
usr << "You suddenly start seeing body temperatures of whoever is around you."
else
usr << "This implant is not compatible!"
return*/
+4
View File
@@ -162,6 +162,8 @@
if(!special_check(user)) return
if(!load_into_chamber())
user.visible_message("*click click*", "\red <b>*click*</b>")
for(var/mob/K in viewers(usr))
K << 'empty.ogg'
return
if(!in_chamber) return
@@ -250,6 +252,8 @@
told_cant_shoot = 0
else
usr.visible_message("*click click*", "\red <b>*click*</b>")
for(var/mob/K in viewers(usr))
K << 'empty.ogg'
var/dir_to_fire = sd_get_approx_dir(M,T)
if(dir_to_fire != M.dir)
M.dir = dir_to_fire
BIN
View File
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 21 KiB