Merge pull request #9623 from Ghommie/Ghommie-cit276

Ports "New Teleporter Station sprites." and "Add teleport station calibration animation."
This commit is contained in:
kevinz000
2019-10-27 16:09:20 -07:00
committed by GitHub
3 changed files with 4 additions and 0 deletions

View File

@@ -90,6 +90,7 @@
say("Processing hub calibration to target...")
calibrating = 1
power_station.update_icon()
spawn(50 * (3 - power_station.teleporter_hub.accurate)) //Better parts mean faster calibration
calibrating = 0
if(check_hub_connection())
@@ -97,6 +98,7 @@
say("Calibration complete.")
else
say("Error: Unable to detect hub.")
power_station.update_icon()
updateDialog()
updateDialog()

View File

@@ -209,5 +209,7 @@
icon_state = "controller-o"
else if(stat & (BROKEN|NOPOWER))
icon_state = "controller-p"
else if(teleporter_console && teleporter_console.calibrating)
icon_state = "controller-c"
else
icon_state = "controller"