Commit Graph

24 Commits

Author SHA1 Message Date
DamianX
d4d08bfef5 Fixed implementations of Destroy() not calling parent (#27068)
* Fixed implementations of Destroy() not calling parent

* I forgot to commit garbage.dm
2020-07-11 21:27:05 +02:00
DamianX
f5c96279c6 Removed datum pooling (#26992)
* removed pooling

* replace returnToPool with qdel

* did stuff
2020-07-03 19:38:38 -03:00
Kurfursten
f0b7a10880 Powercreeper Stuff (#25244)
* Powercreeper Stuff

* Move to Powernet
2019-12-06 14:20:20 -03:00
zth
e711a1fcc5 Removes bloat comments 2019-10-30 11:06:36 -03:00
Paul Ritter
5157a3719f powerfruits yeah 2019-07-09 00:22:21 +02:00
jknpj
ec00e3885d get_cell() helper (#19661)
* get_cell() helper

* what the fuck are you doing here
2018-09-19 12:57:23 +02:00
Rob Nelson
cb0dfb88c1 Merge pull request #13595 from Skullyton/mouseketeers
Mouse changes
2017-01-29 16:08:05 -08:00
Adrian Dias da Costa Lima
82c5f366a9 apcs (#13594) 2017-01-23 11:15:30 -05:00
Skullyton
413c8d76fc mice eat their food, and snip cables 2017-01-23 00:50:54 +00:00
PJB3005
3cca5692af Removes the panic writer messages. 2015-11-20 03:17:06 +01:00
PJB3005
c7c9613b07 Unifies pooling. 2015-09-26 16:27:27 +02:00
PJB3005
7cdb9ab2d9 FIX 2015-08-17 02:02:01 +00:00
Rob Nelson
3ca812851f fucking clusterfack actually doing proper code review what an asshole 2015-08-06 08:50:16 +00:00
Rob Nelson
e9715e3749 BROADCASTER REWORK AHOY (also powernet things)
- Added: /datum/power_connection components, allows machinery to have cable connections without being /obj/machinery/power + more flexibility
- Bugfix: Broadcaster doesn't use area power anymore, requires a direct cable connection to grid.
- Bugfix: Broadcaster can be unwrenched again
- Bugfix: Broadcaster cannot be on while unanchored

NOTE: Didn't fuck around with adding cables to the broadcaster's lair on the maps.  Mappers will need to fix that.

Tested locally, eradicated some related funtimes.
2015-08-06 08:50:14 +00:00
D3athrow
d59f6a07b0 comment out panicwriter and saytesting 2015-07-20 16:04:48 -05:00
D3athrow
41d7df01fd just fuck my shit up 2015-07-18 02:30:51 -05:00
ComicIronic
2b01341979 Fixes the load showing, makes overlays ref global lists, added Destroy ref nulling and fixed uses of initial() 2015-05-20 23:20:52 +01:00
ComicIronic
2bf2ea1f6f SMES Cleanup + Portable Batteries
SMESs now fall under a battery type, which is a charge-storing power machine.
The battery charges and outputs in an OOP way.
SMESs now make terminals in the general way, which is also used for APCs.
Terminal is now a power machinery level var.
Currently impossible to get but fully functional are portable batteries.

Portable batteries:
 - Only work when connected to battery ports, but can be pushed around otherwise
 - Charge from the battery port's terminal, and output onto its tile, like SMESs.
 - That's basically it. What more do you want? It's a movable SMES, essentially.

Known issue with the portable batteries: they don't show load in the UI, because they never proc resolve(), but it's not major.
2015-05-20 16:26:30 +01:00
clusterfack
b87e693642 Fixes
Painstakingly goes through the 'in world' commit again to use the proper lists for all objects that are autoremoved from the machines list.

Also removes an extremely laggy proc called get_apc() which called locate throughout all related areas until it found an apc, links the apc to the area as only one is allowed per area.
2015-05-16 10:35:36 -05:00
clusterfack
147c5bd5a7 A process scheduler thing
Included:
-The process lists use |= instead of += due to the increased stability of the former against double additions.

-Atmospherics machinery is moved under the pipenet processing.

-Modified the atmospherics processes to return 1 when theyve done something, and 0 if they aint done jack shit. Then called scheck() if they return 1, possibly  reducing unnecessary scheck calls while still managing to smooth out the atmospherics processing.

-If a powernet happens to get rebuilt by either powernets or power machinery scheck() is also called
2015-05-08 01:15:19 -05:00
clusterfack
86c4aa2dad Fix two issues that came as a result of powernet changes 2015-04-04 01:42:43 -05:00
clusterfack
1c1f30df53 Part 3: Stable build, confirmation of powernet rebuilding successfully, powernet ticking successfully, pooling successfully, expanding and rebuilding networks successfully, and emitters fucking turn themselves off. 2015-04-01 04:44:57 -05:00
clusterfack
5b1c1e58c3 Part 2: powernets process now, sort of. They still dont set available power for some reason and it seems like everything drains from full power to 0 in fucking seconds.
Everything works now ahhhhhhh, spooky fucking shit.
2015-03-31 18:34:07 -05:00
clusterfack
293138d8dd Part 1 of powernet rework.
Still has an issue with powernets not processing after being rebuilt
2015-03-30 22:20:04 -05:00