Commit Graph

214 Commits

Author SHA1 Message Date
D3athrow
41d7df01fd just fuck my shit up 2015-07-18 02:30:51 -05:00
clusterfack
e0f26fc204 Adds more blueprint renaming functionality
Addresses #2914, adds renaming. Unfortunately does not work properly as it should be readding the vents/scrubbers to the new area as well as renaming all the machinery properly from space.
2015-06-22 03:14:06 -05:00
PJB3005
4af5412cb0 Fixes #4951 2015-06-14 18:26:46 +02:00
D3athrow
6f8f1ff08f 110% plagiarism 2015-06-13 20:18:43 -05:00
PJB3005
fa77d9f2fc GOTTA GO FAST! 2015-06-11 12:56:12 +02:00
d3athrow
4dde4d2bb0 Merge pull request #4562 from clusterfack/hepipefix
Fixes h/e pipes and thermal plates
2015-05-21 14:59:14 -05:00
clusterfack
c850a69443 Fixes h/e pipes and thermal plates
Fixes #2864
Fixes #4078

They would radiate and make ultra cold gas under 10 moles, 10 moles is about 10kpa at 20C, which is simply way too high.

They will radiate at less than .001 only, less than the standard moles for a standard 'gasless' tile. And to similarly limit unnecessary gas exchange procs being called pointlessly, will only intermix with at least 1 mole in the atmosphere.
2015-05-20 06:29:41 -05:00
PJB3005
450c27e3e5 I shouldn't copy paste like that 2015-05-17 14:27:31 +02:00
PJB3005
9fd45422eb Some multitool menu cleanup.
Vents & scrubbers now have their ID changed on the area's vent & scrubber info, and get removed (and have their name set to "vent Pump"/"Air scrubber") if their frequency gets changed to something not 1439
2015-05-17 13:59:12 +02:00
D3athrow
5796813948 FUCKING REVERSIONS 2015-05-11 20:02:13 -05:00
D3athrow
9c21244617 REVERT GAS DATUMS UNTIL COMIC FIXES THE PERFORMANCE ISSUES: PLEASE WORK ON THE GASDATUMS BRANCH https://github.com/d3athrow/vgstation13/tree/gasdatums in the mean time. 2015-05-10 22:55:46 -05:00
d3athrow
9f4a47b488 Merge pull request #4329 from d3athrow/GasMathsStrip
Gas maths stripping
2015-05-09 20:05:12 -05:00
D3athrow
b075f8bb5a Break everything, multitool menu usage goes to machinery/attackby in most cases, add MULTITOOL_MENU to the things machine_flags that you want to dicker with. 2015-05-09 15:46:09 -05:00
ComicIronic
1d0c272f4a Fixes as many instances of not using set_volume, set_temperature, and the proper adjust_gas args as I could find. 2015-05-09 18:46:58 +01:00
clusterfack
be46d6af35 Checked all references to temperature going down through the code until modules/mob 2015-05-09 18:46:56 +01:00
ComicIronic
b999fba045 Replaced some manual values with set_volume() and set_temperature() 2015-05-09 18:44:30 +01:00
ComicIronic
c1a58dc3c3 Gas math stripping
Removed update_values(). RIP, shine on you CPU diamond.
Removed get_moles_by_id and get_archived_moles_by_id, all moles are now accessed directly to reduce call cost.
Added set_temperature and set_volume procs which recalc pressure when temperature or pressure change.
Heat_capacity is now a var updated when gases update.
Modified adjust_gas to use set_gas, modified set_gas to alter heat_capacity, total_moles, and pressure as needed.
2015-05-09 18:43:24 +01: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
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
a828e35c5a Merge pull request #4251 from ComicIronic/VentChangePipe
Ventcrawling fixes
2015-05-03 18:44:54 -05:00
ComicIronic
1c2bf2964f Ventcrawling fixes
Ventcrawling now correctly starts from any pipe, not just vents and scrubbers.
This has allowed me to fix moving between pipelines : the images are now correctly updated when you change pipes.
Added a small sanity to remove_ventcrawl().
Also edited another thing that Pomf never got around to.
2015-05-02 22:28:41 +01:00
clusterfack
81999e6bda Makes filter/mixer density 0.
Address #3703.
2015-04-30 16:28:59 -05:00
PJB3005
81b42ac43b Fixes DP vent pipe state and multitool menu 2015-04-25 16:03:47 +02:00
ComicIronic
6a3e80e862 OOP pipe-crawling procs.
You can now weld scrubbers, which stops their airflow and also crawling through them.
There is now a proc for if a mob can ventcrawl through a pipe.
2015-04-22 18:18:32 +01:00
D3athrow
639a1c8c03 this was never checked for some reason. 2015-04-16 00:22:39 -05:00
BestName
e5559a5a35 Makes plasma naming a bit more consistent 2015-04-03 16:21:44 +03:00
clusterfack
c336d76e5a Optimization to the radiation of thermal plates. Instead of each thermal plate calling radiate() every single tick, thermal plates in the same network (which equalizes every tick) will simply copy over the gases once the first radiate() is called. Then the networks radiate() value will be reset. 2015-03-28 12:45:49 -05:00
clusterfack
278e345e71 Adds a datum pooling proc, shamelessly stolen from regular object pooling.
Applies datum pooling to pipelines and pipenetwork for major performance improvements in their deletion.
These improvements should be especially noticeable in anything that deletes pipelines/networks once per tick, ie singulo narsie and supermatter
Removes the wires qdel, just why
2015-03-21 16:10:41 -05:00
D3athrow
621d52268e cut my life into pieces this is my last resort 2015-03-09 00:05:32 -05:00
D3athrow
12a9afe022 Fix new vents not getting added to air alarms. 2015-03-08 23:55:48 -05:00
D3athrow
7b65cd953e OMG POMF DID THING FIXED #1451 2015-03-08 14:49:50 -05:00
clusterfack
6ff70404e8 Fixes any transformation getting people stuck as contents during transformation.
Span class fixes for all of atmospherics files.
Calls new ..() for dice, adds minsides for admins to play with
Fixes bug where people would magically change the size of objects using wrapping paper
2015-03-04 20:23:31 -06:00
ComicIronic
a90fdfeab4 Mirrored pipe simplification.
The last time I dealt with mirrors, the implementation got fudged. Some were flipped but had the same dirs, some were flipped and had the opposite dirs, etc.
This fixes all that by making all mirrors have the same dirs, but different node positions.

Fixes #3140.
2015-02-21 13:42:45 +00:00
ComicIronic
7c0f3e1266 Pipe unification and type switching
Tanks are now unaries, not pipes.
Portable connectors are now unaries, not their own type.
Valves are now binaries, T-Valves are now trinaries.
Pipes as much as possible now use the general attackby code.
Slight changes to pooling code.
Removed loads of duplicate code that existed for no real reason.
T-Valves now come in manual and digital and mirrored under those types, not the other way around.
Mirrored connecting sprites for T-Valves should show up properly now.

Never again.
2015-02-18 21:36:36 +00:00
D3athrow
22c812dddd object pooled pipe items! 2015-02-10 23:38:03 -06:00
D3athrow
711973a01a remove s 2015-02-01 15:01:32 -06:00
D3athrow
f503044019 no build network on every process
scrubbers by default will scrub toxins.
2015-02-01 14:35:02 -06:00
clusterfack
4f63b6870d Examine change passthrough 2015-01-08 03:04:52 -06:00
clusterfack
87c12062ac Examine overhaul to mob/user, span class and absolute pathing fixes 2015-01-07 14:40:57 -06:00
Rob Nelson
6ebd61ea1c Investigation Logging improvements.
* Adds "atmos" subject to Investigate.
 * Massive overhaul of Investigate, making it more modular.
 * Also replaced investigate_log with investigation_log, with swapped arguments (which makes more sense).
2014-12-30 21:48:36 -08:00
eswordthecat
f67e880b4d indention 2014-12-28 08:18:15 +08:00
eswordthecat
9131429301 https://github.com/tgstation/-tg-station/pull/655 2014-12-28 08:13:48 +08:00
Rob Nelson
567c287b84 Merge branch 'Bleeding-Edge' of github.com:d3athrow/vgstation13 into beams
Conflicts:
	code/game/machinery/pipe/construction.dm
2014-12-11 14:10:59 -08:00
Rob Nelson
0abc116244 Pipe fixes, vent standardization, AI announce fixes. 2014-12-11 14:07:13 -08:00
ComicIronic
3192b47f32 Made heaters only heat, and freezers only freeze. 2014-12-05 20:13:26 +00:00
ComicIronic
5d5b3c2548 Fix merge conflicts. 2014-12-02 20:45:49 +00:00
ComicIronic
253eeac225 Added thermal pipes and fixed relative spriting + sprite issues. Added pipes to machine. 2014-12-02 20:27:29 +00:00
Chris
a0ee2a5384 Activity logging for pumps.
relative pathing to absolute pathing
2014-12-02 00:50:13 -06:00
Chris
7b2ed687f6 Better logging on valves 2014-12-01 22:54:18 -06:00
ComicIronic
0de8d6846f Adds reversed trinaries and digital tvalve. 2014-12-01 23:01:09 +00:00