Commit Graph

359 Commits

Author SHA1 Message Date
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
d3athrow
be7aeee555 Merge pull request #4235 from DeityLink/fixmech
[Bugfixes] bunch of narsie/cascade endgame-related fixes
2015-05-04 21:58:55 -05:00
ComicIronic
4d432e5240 Gas Datums
Moved gas_mixture gas numbers to a list which is connected to a global gas_datum list, like with reagents.
Modified some maths procs to be more sane, added adjust_gas and set_gas to help with processing.
Added a modular system for gas flags - gases can now be marked as fuel and oxidiser with a flag, logged with a flag, scanned with a flag, etc.
Changed scrubbers to use a list of scrubbing gases rather than a set of vars.
Made miners and xenoarch effects more sensible - they now produce gas by ID, not manually.
Made turfs' starting gases into a list, removed turf gas number vars.
2015-05-04 10:36:04 +01:00
DeityLink
a2d3779b10 even better 2015-05-03 16:33:29 +02:00
D3athrow
fdf8b918aa Another regex pass
<span class='warning'><b> -> <span class='danger'>
2015-04-14 21:11:54 -05:00
D3athrow
ad8cf7a810 Revert mob lum cap to fix flashlight problem, fix #3867 2015-04-12 18:37:28 -05:00
D3athrow
01d2471fc9 Merge branch 'color_replace_2_electric_boogaloo' into Bleeding-Edge
Conflicts:
	code/ATMOSPHERICS/pipe/pipe_dispenser.dm
	code/game/machinery/computer/HolodeckControl.dm
	code/game/machinery/embedded_controller/embedded_controller_base.dm
	code/modules/mining/money_bag.dm
	code/modules/mob/living/carbon/carbon.dm
	code/modules/mob/living/silicon/mommi/mommi.dm
	code/modules/mob/living/simple_animal/friendly/farm_animals.dm
	code/modules/research/destructive_analyzer.dm
	code/modules/research/rdconsole.dm
	code/modules/research/xenoarchaeology/machinery/analysis_base.dm
	code/modules/research/xenoarchaeology/machinery/artifact_harvester.dm
	code/modules/research/xenoarchaeology/tools/ano_device_battery.dm
2015-04-12 16:40:59 -05:00
D3athrow
4046561982 map renders link based on configuration option. 2015-04-10 15:02:05 -05:00
D3athrow
7bc411bf54 Slow the sun down a bit so powernet machinery can track it a bit better automatically. 2015-04-08 14:40:27 -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
7791a7e8ad Fixes a little bug where power machines weren't rebuilding before they process()-ed 2015-03-31 19:39:07 -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
D3athrow
f193e8926d map vote stats 2015-03-28 17:44:51 -05:00
d3athrow
dcb56cf972 Merge pull request #3520 from eswordthecat/remove-global
Move default OOC color var to configuration.
2015-03-24 16:56:51 -05:00
ririchiyo
7f1b09a7c6 Setting up the groundwork for handling paper under a DLL call to properly
format it utilizing the https://github.com/hoedown/hoedown library.
2015-03-24 17:00:51 -04:00
D3athrow
3f0e7db8c1 Cache jukebox playlists at round start. 2015-03-24 12:03:53 -05:00
eswordthecat
681b7b1f2c Move default OOC color var to configuration. 2015-03-22 17:08:25 +08:00
D3athrow
993599dfd3 cap mob lum at 7 because gender dysphoria happens because we're too bright. 2015-03-12 18:18:51 -05:00
ComicIronic
a1b39e1dcb Removes snewflake code and also missed proc.
>I really wish that redundant shit wasn't needed

Good news.

Also changed something to use Adjacent, for fun.
2015-03-09 22:11:03 +00:00
d3athrow
4fc2f9f6c8 Merge pull request #3258 from DeityLink/cascade-stuff
Supermatter Cascade fixes and improvements
2015-03-04 12:07:35 -06:00
D3athrow
4a140999bb Dorf work
selling plasma to centcom again
changelog
2015-02-28 14:35:30 -06:00
D3athrow
bf72986cef Ok 2015-02-28 00:07:04 -06:00
D3athrow
f992f0afba Just dorf things 2015-02-27 22:16:43 -06:00
DeityLink
33045d816b cascade stuff 2015-02-27 22:35:24 +01:00
clusterfack
4f09d3a76a Narsie Fixes, Lag Fixes, Power Failure Fixes
Fixes narsie double consuming all atoms in range
Commented out see_narsie until someone fixes it causing narsie double vision
Instead of deleting pipelines, narsie will now set them to invisible
Fixes #2587, powernet shutdown should work perfectly well now
As above, fixes apcs recharging somewhat during different events and starting things back up
Absolute pathed datum_pipeline.dm
Disallowed shuttle controller deleting narsie/singulo on entry
Added better lag logging for setting the universal state to hell_universe
Lightswitches should start with the areas current light status
Fixes a jukebox runtime during narsie's summoning for servers with no media server access

Rename Procs

Thing

Improving see_narsie to prevent double narsie
2015-02-26 10:02:08 -06:00
D3athrow
d27b739dd5 Fix the deletion profiling again. 2015-02-22 13:32:32 -06:00
D3athrow
6956a3c4df Should fix the issue of nano windows popping back up after closing them. 2015-02-21 15:47:40 -06:00
ririchiyo
974033193c Merge pull request #3130 from DeityLink/newcult-BE
Cult Revamp
2015-02-20 17:03:04 -05:00
D3athrow
16415cb7f1 Fix deletion logging. 2015-02-20 15:48:57 -06:00
DeityLink
30d7764cb9 All of NewCult 2015-02-20 20:53:58 +01:00
D3athrow
2918fd2846 Forgot to cleanup the human we used to get dem organs. 2015-02-16 02:56:44 -06:00
D3athrow
c384a74e8c Cache human species damage icons at round start. updatedamageicon call cost goes to 0.001 2015-02-16 02:32:35 -06:00
D3athrow
9966700af5 >NOT CHECKING IF THE FUCKING THING IS ACTUALLY SUPPOSED TO BE DESTROYED
GODDAMNIT SANADE
2015-02-13 14:26:18 -06:00
d3athrow
2fa0a8876b Merge pull request #2971 from eswordthecat/list-reduc
garbage collection improvements.
2015-02-12 22:06:01 -06:00
eswordthecat
4982aed7c1 Actually use this ifs rather than separated. 2015-02-13 11:45:22 +08:00
eswordthecat
0d00f1239c garbage collection improvements. 2015-02-13 11:33:38 +08:00
D3athrow
8761c9e84c Fixes #2953 2015-02-12 20:41:57 -06:00
D3athrow
403d354538 NARSIE COMES DONT EVEN BOTHER PROCESSING GARBAGE. 2015-02-12 00:28:29 -06:00
D3athrow
a7e2cb5a02 qdel will respect our object pooling decisions. 2015-02-10 12:58:08 -06:00
D3athrow
7372d5ea74 Make machines list sleep every 500 processed items. 2015-02-10 11:14:27 -06:00
eswordthecat
6b67b5f680 Fix power machines. 2015-02-10 12:04:07 +08:00
D3athrow
e4051e5cf1 cocknug 2015-02-09 17:49:19 -06:00
D3athrow
4efb7bec4f Derpadoo 2015-02-09 16:56:08 -06:00
D3athrow
b80909d19e Vote nano shows the votes per choice. 2015-02-06 03:30:04 -06:00
D3athrow
dd795a3d6f Fix the nano votes. 2015-02-06 01:38:28 -06:00
D3athrow
79088d82b9 gonna break all the controllers 2015-02-06 01:00:55 -06:00
ririchiyo
c1e12e9e7e Merge pull request #2805 from d3athrow/nano_adjustements
Nano Enhancements [DNM]
2015-02-06 00:56:15 -05:00
ririchiyo
e563a26752 last adjustements to nano, ready for testing. 2015-02-06 00:49:14 -05:00