BORG VISION MODE UPDATE

Added three new items for use in borg modules.

Meson Vision
Thermal Vision
X-Ray Vision

When selected as an active module (as in it is taking up one of your three module slots, not that it is your "in-hand" module), the module confers the appropriate vision mode. These vision modes consume a lot of power while active (50/tick on meson, 100/tick on thermal, 200/tick on xray), so it's best to keep them inactive unless you need them.

Gave Meson vision to mining and engineering borgs, did NOT hand out Thermal or Xray vision, that won't happen until I get an idea of public opinion on this update.

Also included is a syndicate borg module that's been sitting half-finished in my local copy of the code as I was having issues deciding what all to give it. It is NOT selectable at this time. The plan was for it to only be selectable under specific conditions,  most likely involving hacking and/or emagging. It's only getting committed because its in the same file as the actual update.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1359 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3
2011-04-03 19:34:51 +00:00
parent b7c5683215
commit 6360a17649
4 changed files with 62 additions and 2 deletions

View File

@@ -40,6 +40,9 @@
/obj/item/weapon/robot_module/miner
name = "miner robot module"
obj/item/weapon/robot_module/syndicate
name = "syndicate robot module"
/obj/item/weapon/robot_module/New()//Shit all the mods have
src.modules += new /obj/item/device/flash(src)
src.emag = new /obj/item/toy/sword(src)
@@ -84,6 +87,7 @@
var/obj/item/weapon/cable_coil/W = new /obj/item/weapon/cable_coil(src)
W.amount = 50
src.modules += W
src.modules += new /obj/item/weapon/borg/sight/meson(src)
src.emag = new /obj/item/weapon/borg/stun(src)
@@ -136,6 +140,7 @@
src.modules += new /obj/item/weapon/pickaxe/radius/jackhammer(src)
src.modules += new /obj/item/weapon/shovel(src)
src.modules += new /obj/item/weapon/satchel(src)
src.modules += new /obj/item/weapon/borg/sight/meson(src)
src.emag = new /obj/item/weapon/borg/stun(src)
/obj/item/weapon/robot_module/brobot/New()
@@ -150,6 +155,10 @@
R.add_reagent("beer2", 50)
src.emag.name = "Mickey Finn's Special Brew"
obj/item/weapon/robot_module/syndicate/New()
src.modules += new /obj/item/weapon/gun/energy/crossbow(src)
src.modules += new /obj/item/weapon/card/emag(src)
/obj/item/weapon/borg/stun
name = "Electrified Arm"
icon = 'decals.dmi'
@@ -166,3 +175,20 @@
for(var/mob/O in viewers(M, null))
if (O.client)
O.show_message("\red <B>[user] has prodded [M] with an electrically-charged arm!</B>", 1, "\red You hear someone fall", 2)
/obj/item/weapon/borg/sight
icon = 'decals.dmi'
icon_state = "securearea"
var/sight_mode
/obj/item/weapon/borg/sight/xray
name = "X-ray Vision"
sight_mode = BORGXRAY
/obj/item/weapon/borg/sight/thermal
name = "Thermal Vision"
sight_mode = BORGTHERM
/obj/item/weapon/borg/sight/meson
name = "Meson Vision"
sight_mode = BORGMESON