Commit Graph

69 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
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
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
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
621d52268e cut my life into pieces this is my last resort 2015-03-09 00:05:32 -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
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
Rob Nelson
4f98fc3f32 Fix scrubbers turning off. 2014-11-30 15:12:27 -08:00
Rob Nelson
bb2e1cd4cc Revert MC/GC (+ instrumentation) to d54ce4a28b 2014-06-25 21:36:08 -07:00
BurnZeZ
004a907bfa remove useless profiling verbs; remove controller timers; master controller cleanup 2014-06-24 20:51:46 -04:00
Rob Nelson
1b356c7dfd Configurable gas sensors, tank monitors, AACs. Cleaned up multitool API. 2014-06-10 22:23:18 -07:00
ESwordTheCat
84a8b2056d Batch 2. 2014-05-25 03:45:41 -08:00
Rob Nelson
31c597fdcd Add mildly more modular machine disabling verbs, abuse preprocessor. 2014-04-26 19:22:27 -07:00
Rob Nelson
0a6d5762df Fix some mapping problems (unconnected piping, cabling, etc) 2014-04-24 17:28:30 -07:00
Rob Nelson
784555df2b Fix layering problems, a couple of pipe fuckups on the map. 2014-02-26 21:45:14 -08:00
Rob Nelson
38c08b67f4 Fix vent pumps not showing on the map renders. 2014-02-24 19:53:02 -08:00
Rob Nelson
097559eef9 GC fixes. 2014-02-16 12:37:06 -08:00
Rob Nelson
122b1b193d Fix multitool menus not refreshing. (Github #483) 2014-02-04 02:05:27 -08:00
Rob Nelson
bbaf9e42a3 Refactor multitool linking, permit flushing buffer if set. 2014-02-02 20:02:41 -08:00
Rob Nelson
70f25618c6 Fixes for #476 and #475. 2014-01-31 17:09:46 -08:00
Rob Nelson
a4f2cbc660 Fix multitools being unable to set IDs on some devices (github #468) 2014-01-30 17:22:08 -08:00
Rob Nelson
cc66747f94 Added a garbage collector implementation based on rumors from Goon and proc references in released gooncode.
And holy shit it's fast
2014-01-29 03:08:00 -08:00
Rob Nelson
5b460cda1d Added atmospherics automation computer, with visual scripting language. WIP. 2014-01-26 23:44:07 -08:00
d3athrow
eaa0b4e0ae Fix making sounds in an area 2014-01-15 18:52:30 -06:00
Rob Nelson
a34739055a Air alarms can scrub nitrogen. 2013-12-20 17:51:55 -08:00
Rob Nelson
9eb89a88f0 Fix stupid scrubber mistake. 2013-09-25 00:21:40 -07:00
Rob Nelson
11298e54c4 Add new ventscrubber state for filtering O2. Also MoMMI spawner icon issues. 2013-09-24 23:52:50 -07:00
Rob Nelson
0658e97fe2 Fix some typos and vent scrubber issues. 2013-09-24 15:39:47 -07:00
Rob Nelson
92f2e6640c Fix issues with air alarms:
+ Air alarms now support monitoring presets, including Vox and server presets.
 + Air alarms no longer refresh constantly when NOT on the main screen.
 + Reworked scrubber interface, added ability to scrub O2 (for Vox players)
 + Attempt at fixing firedoors.
2013-09-12 21:42:30 -07:00
giacomand@gmail.com
b9bb759cd8 -Multiple fixes for machinery not correctly updating their icons when depowered.
-Gave request consoles an off sprite.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5421 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-30 02:20:03 +00:00
giacomand@gmail.com
7caff5dd42 -Proper fix for the scrubber/vent runtimes.
I made the vents and scrubbers update the area scrubber/vent info themselves, meaning that an air alarm isn't required to initialize the area/vent info and to stop it from being null.

This will add more flexibility in the future.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5331 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-15 18:59:47 +00:00
giacomand@gmail.com
74ac2b9611 -Fixed vent pumps/vent scrubbers runtiming on deletion when it is dragged and then consumed by a singularity.
-Fixed vents not correctly updating the area with their deletion.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5329 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-15 16:54:36 +00:00
petethegoat@gmail.com
cfb1ad5551 Committing for Aranclanos:
Fixes issue 986. (Constructed normal walls named wrong)
Fixes issue 1000. (Destroyed vent still shows up in air alarm)
Fixes issue 1003. (Glowshrooms don't give off light when planted!)
Fixes issue 1004. (Issues with (?) Command)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4884 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-15 16:45:18 +00:00
giacomand@gmail.com
f3f8340a3d Experimental tweak, I'll revert this if everyone hates it but for now I want to see how things will be if airlocks use the environmental power channel.
-Changed airlocks to use the environmental power channel.
-Changed all airlock controlling devices to use the environmental power channel.
-Changed shutters to use the environmental power channel.
-Changed pipe meters to use the environmental power channel.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4784 316c924e-a436-60f5-8080-3fe189b3f50e
2012-09-30 18:51:23 +00:00
elly1989@rocketmail.com
4073ac9b00 Replaced all 'file.extension' references with 'relativepath/file.extension' using a script by thvortex of ss13-daedalus.
All credits to the author for this handy little script.
I Committed the modified python script to tool directory. Although it needs to be in the root folder of your repo to work.

To notice the improved compile times, in dreammaker go to Build > Preferences > and untick "automatically set file_dir for subfolders"

If this commit inteferes with any large projects just revert it, do your thing, then rerun the script. Easy-peasy.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4488 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-18 16:33:40 +00:00
sieve32@gmail.com
459c558898 -Make holodeck eswords a child of obj/item/weapon/holo instead of regular eswords, clumsy check removed as a result, and you can no longer do things like cutting through walls or doors or what have you. (Fixes Issue 665)
-Redid icons to be more optimized at compile by setting icon = 'icons/folder/icon.dmi' instead of just icon = 'icon.dmi', meaning that Dream Maker doesn't have to search through every single file for every single .dmi. This shouldn't lead to any errors because of how I went about it, plus the fact that Dream Maker would have freaked out if I screwed something up. Also moved around 2 icons that weren't sorted well.

r4146 compile time: 1 minute, 40 seconds
r4147 compile time: 45 seconds

[VGTG]

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4147 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-23 00:48:51 +00:00