Tasers and lasers now drain twice as much battery per shot

EMP bursts now do 60 damage to cyborgs as opposed to 25

Guns:
Added the three Desert Eagles by Cheridan, none spawn on map currently

Added the sprite for the Ion Rifle by Falazameer, but it does not have any EMP effect yet/the code is unfinished

Wizard:

Finally fixed it so the wizard gets Lasers/Hulk instead of Laser/TK

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2174 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
kortgstation@gmail.com
2011-09-11 05:46:50 +00:00
parent 6b96d17bbc
commit 6575e3e251
7 changed files with 93 additions and 8 deletions

View File

@@ -29,18 +29,18 @@
/obj/proc_holder/spell/targeted/genetic/mutate
name = "Mutate"
desc = "This spell causes you to turn into a hulk and gain telekinesis for a short while."
desc = "This spell causes you to turn into a hulk and gain laser vision for a short while."
school = "transmutation"
charge_max = 400
clothes_req = 1
invocation = "BIRUZ BENNAR"
invocation_type = "shout"
message = "\blue You feel strong! Your mind expands!"
message = "\blue You feel strong! You feel a pressure building behind your eyes!"
range = -1
include_user = 1
mutations = 9
mutations = 136
duration = 300
/obj/proc_holder/spell/targeted/inflict_handler/disintegrate

View File

@@ -179,6 +179,16 @@
effects["stutter"] = 10
effectprob["weak"] = 25
ion
name = "electrode"
icon_state = "ice_2"
flag = "taser"
damage = 0
nodamage = 1
New()
..()
effects["emp"] = 1
stunshot
name = "stunshot"
icon_state = "bullet"
@@ -838,12 +848,60 @@
loaded += new /obj/item/ammo_casing/c45(src)
update_icon()
deagle
name = "Desert Eagle"
desc = "A robust handgun that uses 357 magnum ammo"
icon_state = "deagle"
w_class = 3.0
force = 14.0
max_shells = 9
caliber = "357"
origin_tech = "combat=2;materials=2"
New()
for(var/i = 1, i <= max_shells, i++)
loaded += new /obj/item/ammo_casing(src)
update_icon()
deagleg
name = "Desert Eagle"
desc = "A gold plated gun folded over a million times by superior martian gunsmiths. Uses 357 ammo."
icon_state = "deagleg"
item_state = "deagleg"
w_class = 3.0
force = 14.0
max_shells = 9
caliber = "357"
origin_tech = "combat=2;materials=2"
New()
for(var/i = 1, i <= max_shells, i++)
loaded += new /obj/item/ammo_casing(src)
update_icon()
deaglecamo
name = "Desert Eagle"
desc = "A Deagle brand Deagle for operators operating operationally. Uses 357 ammo."
icon_state = "deaglecamo"
item_state = "deagleg"
w_class = 3.0
force = 14.0
max_shells = 9
caliber = "357"
origin_tech = "combat=2;materials=2"
New()
for(var/i = 1, i <= max_shells, i++)
loaded += new /obj/item/ammo_casing(src)
update_icon()
gyropistol
name = "Gyrojet Pistol"
desc = "A bulky pistol designed to fire self propelled rounds"
icon_state = "gyropistol"
w_class = 3.0
force = 15
force = 15.0
max_shells = 8
caliber = "a75"
fire_sound = 'Explosion1.ogg'
@@ -947,7 +1005,7 @@
return 1
if(isrobot(src.loc))
var/mob/living/silicon/robot/R = src.loc
R.cell.use(20)
R.cell.use(40)
in_chamber = new /obj/item/projectile/beam(src)
return 1
return 0
@@ -1118,7 +1176,7 @@
return 1
if(isrobot(src.loc))
var/mob/living/silicon/robot/R = src.loc
R.cell.use(20)
R.cell.use(40)
in_chamber = new /obj/item/projectile/electrode(src)
return 1
return 0
@@ -1183,6 +1241,34 @@
power_supply = new /obj/item/weapon/cell(src)
power_supply.give(power_supply.maxcharge)
ionrifle
name = "ion rifle"
desc = "A man portable anti-armor weapon designed to disable mechanical threats"
icon_state = "ionrifle"
fire_sound = 'Laser.ogg'
origin_tech = null
charge_cost = 100
load_into_chamber()
if(in_chamber)
return 1
if(power_supply.charge <= charge_cost)
return 0
in_chamber = new /obj/item/projectile/ion(src)
power_supply.use(charge_cost)
return 1
attack_self(mob/living/user as mob)
return
New()
power_supply = new /obj/item/weapon/cell(src)
power_supply.give(power_supply.maxcharge)
decloner
name = "biological demolecularisor"
desc = "A gun that discharges high amounts of controlled radiation to slowly break a target into component elements."

View File

@@ -8,7 +8,7 @@
return
/mob/living/silicon/emp_act(severity)
src.take_organ_damage(25)
src.take_organ_damage(60)
flick("noise", src:flash)
src << "\red <B>*BZZZT*</B>"
src << "\red Warning: Electromagnetic pulse detected."

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View File

@@ -144,7 +144,6 @@
#define FILE_DIR "icons/turf"
#define FILE_DIR "interface"
#define FILE_DIR "maps"
#define FILE_DIR "maps/backup"
#define FILE_DIR "sound"
#define FILE_DIR "sound/ambience"
#define FILE_DIR "sound/announcer"