mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 14:00:18 +01:00
Fixes anomaly harvester icon disappearing when enabled (#15412)
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
cur_artifact.being_used = 0
|
||||
cur_artifact = null
|
||||
src.visible_message("<b>[name]</b> states, \"Battery is full.\"")
|
||||
icon_state = "incubator"
|
||||
icon_state = "harvester"
|
||||
|
||||
else if(harvesting < 0)
|
||||
//dump some charge
|
||||
@@ -112,7 +112,7 @@
|
||||
if(inserted_battery.battery_effect && inserted_battery.battery_effect.activated)
|
||||
inserted_battery.battery_effect.ToggleActivate()
|
||||
src.visible_message("<b>[name]</b> states, \"Battery dump completed.\"")
|
||||
icon_state = "incubator"
|
||||
icon_state = "harvester"
|
||||
|
||||
/obj/machinery/artifact_harvester/Topic(href, href_list)
|
||||
|
||||
@@ -195,7 +195,7 @@
|
||||
update_use_power(POWER_USE_ACTIVE)
|
||||
cur_artifact.anchored = 1
|
||||
cur_artifact.being_used = 1
|
||||
icon_state = "incubator_on"
|
||||
icon_state = "harvester_on"
|
||||
var/message = "<b>[src]</b> states, \"Beginning energy harvesting.\""
|
||||
src.visible_message(message)
|
||||
last_process = world.time
|
||||
@@ -222,7 +222,7 @@
|
||||
cur_artifact.being_used = 0
|
||||
cur_artifact = null
|
||||
src.visible_message("<b>[name]</b> states, \"Energy harvesting interrupted.\"")
|
||||
icon_state = "incubator"
|
||||
icon_state = "harvester"
|
||||
|
||||
if (href_list["ejectbattery"])
|
||||
src.inserted_battery.forceMove(src.loc)
|
||||
@@ -237,7 +237,7 @@
|
||||
last_process = world.time
|
||||
harvesting = -1
|
||||
update_use_power(POWER_USE_ACTIVE)
|
||||
icon_state = "incubator_on"
|
||||
icon_state = "harvester_on"
|
||||
var/message = "<b>[src]</b> states, \"Warning, battery charge dump commencing.\""
|
||||
src.visible_message(message)
|
||||
else
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
author: listerla
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- bugfix: "Fixed anomaly harvesters disappearing when enabled."
|
||||
Reference in New Issue
Block a user