Merge pull request #1585 from comma/master

Surgery fixes and tweaks
This commit is contained in:
Mloc
2012-08-08 06:44:45 -07:00
3 changed files with 845 additions and 1188 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -10,11 +10,13 @@
if (stat == 2) if (stat == 2)
return return
if(stat == 2)
return
var/datum/gas_mixture/environment // Added to prevent null location errors-- TLE var/datum/gas_mixture/environment // Added to prevent null location errors-- TLE
if(src.loc) if(src.loc)
environment = loc.return_air() environment = loc.return_air()
//Apparently, the person who wrote this code designed it so that //Apparently, the person who wrote this code designed it so that
//blinded get reset each cycle and then get activated later in the //blinded get reset each cycle and then get activated later in the
//code. Very ugly. I dont care. Moving this stuff here so its easy //code. Very ugly. I dont care. Moving this stuff here so its easy

View File

@@ -19,6 +19,8 @@
/obj/item/weapon/ore/strangerock/attackby(obj/item/weapon/W as obj, mob/user as mob) /obj/item/weapon/ore/strangerock/attackby(obj/item/weapon/W as obj, mob/user as mob)
if(istype(W,/obj/item/weapon/weldingtool/)) if(istype(W,/obj/item/weapon/weldingtool/))
var/obj/item/weapon/weldingtool/w = W
if(w.isOn() && (w.get_fuel() > 3))
if(!src.method) if(!src.method)
if(inside) if(inside)
var/obj/A = new src.inside(get_turf(src)) var/obj/A = new src.inside(get_turf(src))
@@ -31,6 +33,7 @@
else else
for(var/mob/M in viewers(world.view, user)) for(var/mob/M in viewers(world.view, user))
M.show_message("\blue A few sparks fly off the rock, but otherwise nothing else happens.",1) M.show_message("\blue A few sparks fly off the rock, but otherwise nothing else happens.",1)
w.remove_fuel(4)
/obj/item/weapon/ore/strangerock/acid_act(var/datum/reagent/R) /obj/item/weapon/ore/strangerock/acid_act(var/datum/reagent/R)
if(src.method) if(src.method)