mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
-Changed the powernet nodes list to be a dictionary list (associative list, hashtable, etc..)
-Added a solars_list. The sun will use this list instead of the machines list. I made a proc which decided on whether to use this list or the powernet nodes list depending on what is smallest. I replaced some loops to use this proc. -The sun will reference this list for debugging purposes. The sun will also remove solar equipment in the list which are not connected to a powernet. -Cut down on some duplicated code. -Fixed an issue with solar panels not updating their direction correctly. -Changed the proc updateicon()'s name to update_icon() git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5418 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -976,7 +976,7 @@ ________________________________________________________________________________
|
||||
flick("apc-spark", src)
|
||||
A.emagged = 1
|
||||
A.locked = 0
|
||||
A.updateicon()
|
||||
A.update_icon()
|
||||
else
|
||||
U << "\red This APC has run dry of power. You must find another source."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user