Made containment fields shock you when you walk into them, not when you walk near them.

Field generators, that are active, will now shock you; they did before but it was because of the containment field near it.
Changed the type path of the field generator and containment field:

/obj/machinery/field_generator -> /obj/machinery/field/generator
/obj/machinery/containment_field -> /obj/machinery/field/containment

Changed the map to have the new type paths.
The containment field will now shock you when it is created.
The containment field layer is a little above objects, so objects going through are under the field icon.
Cleaned up a bit of the code.
This commit is contained in:
Giacomand
2013-10-25 15:01:04 +01:00
parent c169113e6b
commit 84248eb6ab
9 changed files with 104 additions and 105 deletions
+1 -1
View File
@@ -1018,7 +1018,7 @@ var/global/list/g_fancy_list_of_safe_types = null
if(E.anchored)
E.active = 1
for(var/obj/machinery/field_generator/F in world)
for(var/obj/machinery/field/generator/F in world)
if(F.anchored)
F.Varedit_start = 1
spawn(30)