Fixes #3319, you cannot use rpd's when they are far away from you.

Fixes machine frames (but the real way that should have been done originally)
Fixes #2701, r-ust topics should no longer be affected by ghost hands
This commit is contained in:
clusterfack
2015-03-05 17:07:40 -06:00
parent c7df7494d4
commit b401dbf909
10 changed files with 177 additions and 173 deletions

View File

@@ -122,7 +122,7 @@
user.set_machine(src)
/obj/machinery/computer/rust_core_control/Topic(href, href_list)
..()
if(..()) return
if( href_list["goto_scanlist"] )
cur_viewed_device = null

View File

@@ -180,6 +180,7 @@ max volume of plasma storeable by the field = the total volume of a number of ti
user.set_machine(src)
/obj/machinery/power/rust_core/Topic(href, href_list)
if(..()) return
if(href_list["str"])
var/dif = text2num(href_list["str"])
field_strength = min(max(field_strength + dif, MIN_FIELD_STR), MAX_FIELD_STR)

View File

@@ -68,7 +68,7 @@ var/const/max_assembly_amount = 300
//var/coverlocked
/obj/machinery/rust_fuel_compressor/Topic(href, href_list)
..()
if(..()) return
if( href_list["close"] )
usr << browse(null, "window=fuelcomp")
usr.machine = null

View File

@@ -130,7 +130,7 @@
user.set_machine(src)
/obj/machinery/computer/rust_fuel_control/Topic(href, href_list)
..()
if(..()) return
if( href_list["scan"] )
connected_injectors = list()

View File

@@ -137,7 +137,7 @@
user.set_machine(src)
/obj/machinery/power/rust_fuel_injector/Topic(href, href_list)
..()
if(..()) return
if( href_list["modify_tag"] )
id_tag = input("Enter new ID tag", "Modifying ID tag") as text|null

View File

@@ -28,7 +28,7 @@
//pixel_y = (dir & 3)? (dir ==1 ? -24 : 24) : 0
Topic(href, href_list)
..()
if(..()) return
if( href_list["close"] )
usr << browse(null, "window=gyro_monitor")
usr.machine = null