Refactor of base machinery a tiny bit more. DONE (#32546)

* Moves a base uid from machienry to a bunch of children as it was literally setting a var that most machines never used. This is probably a good candidate for a component replacement.

* Just checking something

* Does this fix the compiling not working properly?

* And this?

* What is going wrong ugh!

* params["target"] instead of params["set"] bug was there before I even touched it but my compiling of TGUI caused it or something?

* Slight tidying up for what Cyberboss and Antur likes.

* Fixes the things that I was asked to fix
This commit is contained in:
Jalleo
2017-11-12 19:19:04 +00:00
committed by CitadelStationBot
parent ef700ef8d7
commit 300c471da9
7 changed files with 17 additions and 14 deletions
@@ -120,8 +120,8 @@
refresh()
return TRUE
if("PRG_set")
var/newuid = text2num(params["set"])
var/newuid = text2num(params["target"])
for(var/obj/machinery/power/supermatter_shard/S in supermatters)
if(S.uid == newuid)
active = S
return TRUE
return TRUE