mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +00:00
Right. This includes both some updates from myself, as well as some updates to mining from errorage.
My updates: -Alert Computer ( as seen in CE's office and bridge) renamed to Station Alert Computer. Object path altered to reflect this change (formerly computer/atmospherics/alerts, now computer/station_alert) -Circuit board changed to reflect above alteration. Renamed as well (also easier to figure out what it goes to with the new name) -Alert Computer added to atmospherics. -Alert computer will now report on power failures on the station. -Alert computer will now flash red (similar to atmos alert computer) when an alert is present. -General Alert computer renamed to Atmospheric Alert Computer. Same as changes to alert computer, however there was no circuit board to fix. -Fixed bug in which APCs were not properly clearing power alerts for the AI and alert computers. -Fixed a bug in which atmos alert computers were not properly updating icon_state-wise on a power change (they would just vanish). This bug also affected the updated station alert computer, but as I said this has been resolved. I think that's it on my updates. Errorage's updates are to the mining station and construction area. He vanished on IRC so I can't get him to cough up more details and I need sleep, so he can comment on this if he wants. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@772 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
src.updateicon()
|
||||
spawn(5)
|
||||
src.update()
|
||||
|
||||
|
||||
|
||||
|
||||
/obj/machinery/power/apc/proc/make_terminal()
|
||||
@@ -118,7 +118,7 @@
|
||||
terminal = new/obj/machinery/power/terminal(src.loc)
|
||||
terminal.dir = tdir
|
||||
terminal.master = src
|
||||
|
||||
|
||||
/obj/machinery/power/apc/proc/init()
|
||||
has_electronics = 2 //installed and secured
|
||||
// is starting with a power cell installed, create it and set its charge level
|
||||
@@ -137,7 +137,7 @@
|
||||
updateicon()
|
||||
|
||||
make_terminal()
|
||||
|
||||
|
||||
spawn(5)
|
||||
src.update()
|
||||
|
||||
@@ -158,7 +158,7 @@
|
||||
usr << "Electronics installed but not wired."
|
||||
else /* if (!has_electronics && !terminal) */
|
||||
usr << "There is no electronics nor connected wires."
|
||||
|
||||
|
||||
else
|
||||
if (stat & MAINT)
|
||||
usr << "The cover is closed. Something wrong with it: it's doesn't work."
|
||||
@@ -1013,6 +1013,7 @@
|
||||
equipment = autoset(equipment, 1)
|
||||
lighting = autoset(lighting, 1)
|
||||
environ = autoset(environ, 1)
|
||||
area.poweralert(1, src)
|
||||
if(cell.percent() > 75)
|
||||
area.poweralert(1, src)
|
||||
|
||||
@@ -1105,7 +1106,7 @@
|
||||
switch(severity)
|
||||
if(1.0)
|
||||
//set_broken() //now Del() do what we need
|
||||
if (cell)
|
||||
if (cell)
|
||||
cell.ex_act(1.0) // more lags woohoo
|
||||
del(src)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user