Commit Graph

17996 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
ComicIronic
beda8e4e49 Merge pull request #4309 from ComicIronic/TankFix
Fixes emergency tanks
2015-05-05 21:58:35 +01:00
ComicIronic
d387d9b3e4 Fixes emergency tanks
They were using adjust instead of adjust_gas. My mistake.
Fixes #4303, fixes #4300.
2015-05-05 20:58:17 +01:00
ririchiyo
0c75cda8d2 Merge pull request #4304 from ComicIronic/GasDatums2
update_values speedup changes
2015-05-05 15:03:34 -04:00
ComicIronic
7700b33505 update_values speedup changes
Less datum accessing and fetching and whatnot should speed it up a lot.
get_gas_fuel() and get_gas_oxidiser() have been reverted to slightly older behaviour.
Can't say this will definitely massively reduce CPU, but it will make it significantly faster since get_gas_fuel and get_gas_oxidiser weren't nearly as called as I thought they were.
2015-05-05 18:00:02 +01:00
FudgePucker
d0be8fa53b Hotfix for #4291
I fukd up.
2015-05-05 08:34:01 -04:00
clusterfack
1a95c33df5 Merge pull request #4293 from clusterfack/feature6
Fine I fixed nitrogen tanks
2015-05-05 02:48:54 -05:00
clusterfack
213508a4c3 Fine I fixed nitrogen tanks
Resolves #4290
2015-05-05 02:38:44 -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
d3athrow
d408492983 Merge pull request #4276 from FudgePucker/patch-1
Adds Circuit boards for the non chem dispensers.
2015-05-04 21:58:31 -05:00
d3athrow
d50f6a211b Merge pull request #4281 from PJB3005/thanks-nexy
Never trust other code.
2015-05-04 21:58:20 -05:00
d3athrow
61e7457094 Merge pull request #4286 from clusterfack/bugfix11
Fix ghost movement
2015-05-04 21:58:03 -05:00
D3athrow
de093d1055 compile fix 2015-05-04 21:10:51 -05:00
D3athrow
920d05c9e0 Lots of runtime fixes 2015-05-04 20:38:51 -05:00
clusterfack
49a763a947 Fix ghost movement
Made force enter which does what forcemove does except doesn't actually call crossed or invoke event because sometimes you just dont want those.
2015-05-04 19:45:33 -05:00
d3athrow
3337a952a2 Merge pull request #3821 from ComicIronic/GasDatums
Moving gas system to gas datums.
2015-05-04 17:38:29 -05:00
FudgePucker
86aea1e3c1 You don't get to bring commits Dr Pavel 2015-05-04 16:14:02 -04:00
FudgePucker
9de8591dd6 Hopefuly I don't crashing this code.
WITH NO SURVIVORS
2015-05-04 16:06:22 -04:00
PJB3005
65742bf294 Never trust old code.
Never.
2015-05-04 22:00:19 +02:00
FudgePucker
b69fc8350e I must go write "do not copy and paste with out proofreading" on the board 100 times now. 2015-05-04 15:34:56 -04:00
FudgePucker
82d2710fbf Add parts so they can be made. 2015-05-04 14:30:46 -04:00
FudgePucker
70f378ee72 Adds Circuit boards for the non chem dispensers.
This should make it so that after screwdriving and crowbaring one of the other dispensers, it doesn't just make a chemical dispenser.
This will also be the first step in making it so that you can have methods of getting these machines in game with out admin assistance.
2015-05-04 13:22:22 -04:00
d3athrow
8be957dd8d Merge pull request #4274 from FudgePucker/patch-2
Adds a better name to hardhats.
2015-05-04 10:26:12 -05:00
d3athrow
08b72bdb8e Merge pull request #4268 from Kurfursten/nofunallowed
Busy Checks on Fabs
2015-05-04 10:26:01 -05:00
FudgePucker
829bc10131 Adds a better name to hardhats.
I found a little mistake with adding more hardhats to the vender on derelict, all the hard hats are called hard hats, other than the firefighting one.
So in the vending menu it was; 
hard hat 
firefigher helmet
hard hat
hard hat
hard hat

This should fix it so that everything isn't just hard hat.

Also for discussion is, should I add funny descriptions to the other hardhats?
I was think for the white one it should be "Put this hard hat on your head to show everyone who is the head."
Because Head of Engineering would be funny. Say the abbreviation out loud to yourself.
2015-05-04 08:16:46 -04: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
d3athrow
96ca736c1a Merge pull request #4254 from clusterfack/bugfix9
Fixes ghosts getting to nullspace
2015-05-03 19:44:20 -05:00
Kurfursten
8d32cb53b9 Added sanity check 2015-05-03 19:11:15 -05:00
d3athrow
cfba686655 Merge pull request #4149 from PJB3005/don't-kill-me-ririchiyo
Disposals bin nanoUI
2015-05-03 18:57:43 -05:00
D3athrow
58d3239d37 Merge branch 'Kurfursten-soldering' into Bleeding-Edge 2015-05-03 18:56:18 -05:00
clusterfack
093689329b Fixes ghosts getting to nullspace
Fixes #4151, ghosts were managing to get to nullspace by click teleporting to the edge of the map. This resolves that issue by making it so click teleporting calls entered just like any other and all other forms of movement.
2015-05-03 18:53:58 -05:00
Kurfursten
8b402448bc Adds Soldering Irons 2015-05-03 18:52:50 -05:00
d3athrow
a828e35c5a Merge pull request #4251 from ComicIronic/VentChangePipe
Ventcrawling fixes
2015-05-03 18:44:54 -05:00
d3athrow
ac80f176d0 Merge pull request #4253 from clusterfack/bugfix8
Fix click dragging
2015-05-03 18:44:15 -05:00
d3athrow
41a5648a22 Merge pull request #4260 from ComicIronic/DragDropGhosts
Adds ghost drag-dropping into mobs.
2015-05-03 18:43:39 -05:00
d3athrow
de91d5f109 Merge pull request #4262 from 9600bauds/imgoingtosuckyourblooddude
Gives Mass-Spectrometers the ability to take blood samples
2015-05-03 18:43:27 -05:00
NigglyWiggly
abcb6e23d7 fuck 2015-05-03 17:53:22 -04:00
NigglyWiggly
160980b1aa Maybe I shouldn't have just replaced the file. 2015-05-03 16:03:41 -04:00
NigglyWiggly
ef873cf0fb L-Space Stuff; this time with less conflicts.
Just the same shit as the last one
2015-05-03 15:45:52 -04:00
9600bauds
1e6c1ae6b8 Gives Mass-Spectrometers the ability to take blood samples 2015-05-03 13:21:30 -03:00
ririchiyo
87734707e1 Merge pull request #4261 from PJB3005/Registers
fuck, AAC hotfix
2015-05-03 12:21:15 -04:00
PJB3005
e55f37c258 fuck, AAC hotfix 2015-05-03 18:01:25 +02:00
ComicIronic
09a3c3ed25 Adds ghost drag-dropping into mobs.
A port of https://github.com/tgstation/-tg-station/pull/8957.
This is so slick, you have no idea.
2015-05-03 17:00:34 +01:00
DeityLink
e09e099b73 perfect 2015-05-03 17:11:56 +02:00
DeityLink
73e50a1d38 comment 2015-05-03 16:35:31 +02:00
DeityLink
a2d3779b10 even better 2015-05-03 16:33:29 +02:00
ComicIronic
27c4f7a469 Adds the ability to see pipes in darkness, makes deleted pipes disappear from the images list, and fixes an issue with logging in with a mob inside a vent. 2015-05-03 15:12:27 +01:00
d3athrow
ff3a5de3bd Merge pull request #4248 from FudgePucker/patch-1
Adds new items to the vending machine found on the derelict.
2015-05-02 22:55:45 -05:00
d3athrow
6900e541e9 Merge pull request #4242 from Kurfursten/misccon
Misc. De/con
2015-05-02 22:55:12 -05:00
d3athrow
cff4b11c84 Merge pull request #4213 from clusterfack/feature3
Adds Mr Valid to barrier crate
2015-05-02 22:49:10 -05:00