mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-22 05:25:15 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user