Commit Graph

12200 Commits

Author SHA1 Message Date
Ccomp5950
bb9a66cc3a Effeciency Project: APC / Machinery power usage.
We no longer run auto_use_power() on every machine every tick.
We now have a global list of areas, and areas that have an APC in them (all_areas and active_areas) no more looping through world bullshit.
A bunch of snowflakey as fuck machines won't use_power() in their process, you get two options, active and idle, use them!
This means a lot of machines won't double dip on power as well so power usage for the station has dropped about 20%

Because everything is snowflakey as fuck we're going to have some machines that don't force an update on their power usage.  Fuck them.
We should catch them with the root obj/machine/proc's forcing updates.
2014-03-08 03:42:44 -06:00
Ccomp5950
e0e1bd9cfb APC Area update initial commit. 2014-03-07 23:42:28 -06:00
Ccomp5950
c24ee718d4 Merge pull request #4527 from RavingManiac/dev
Chemistry, bar and virology smartfridges. Ingestion reagent transfer delay. Piano
2014-03-07 10:21:54 -06:00
Chinsky
d6115c97df I CERTAINLY DID NOT MAKE A TYPO WHAT ARE YOU TALKING ABOUT 2014-03-07 18:06:17 +04:00
Chinsky
0dd51f338c Sanity plugs for two runtimes in lightning code 2014-03-07 17:57:44 +04:00
Chinsky
fa88663c23 Merge pull request #4513 from Aryn/master
Space Lighting Fixes
2014-03-07 17:51:55 +04:00
RavingManiac
b969e680b2 Ingested acid and mutagen will now react after the ten second delay. 2014-03-06 20:20:15 +08:00
RavingManiac
f022a19452 Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into dev
Conflicts:
	maps/tgstation2.dmm
2014-03-06 19:22:06 +08:00
RavingManiac
3b2d3eba05 trans_to_ingest now used for consumption of food, drink and pills instead of trans_to. This adds a ten second delay between ingestion and addition of the reagents to the body. 2014-03-05 23:41:42 +08:00
Ccomp5950
e8d04262a5 Merge pull request #4524 from Ravensdale/PROTECITON
Define spelling correction
2014-03-04 23:11:43 -06:00
Ccomp5950
c066232ab3 Merge branch 'master' of github.com:Baystation12/Baystation12 into dev 2014-03-04 18:29:03 -06:00
RavingManiac
727b87730b Smartfridge variations added to chemistry, bar and virology. One of the virology windows didn't have sides, so I fixed that. 2014-03-05 00:03:57 +08:00
Chinsky
98b45e52ac Merge pull request #4518 from yashaldie/master
fixes IPC brain surgery
2014-03-04 18:18:33 +04:00
Chinsky
8fa689a433 Merge pull request #4521 from Mloc/bs12-bloodyipcs
Dionaea can no longer steal blood from species which have the NO_BLOOD flag
2014-03-04 18:18:10 +04:00
Chinsky
557f8c7e92 Merge pull request #4526 from Mloc/bs12-libnudge
Adds a C library alternative to the ircbot nudge script.
2014-03-04 18:13:48 +04:00
Vetinari
1d62ceddaa Merged Upstream
This is a big one.
2014-03-04 22:19:09 +11:00
Mloc
f4ca9631b5 Merge pull request #4504 from MrLeebo/severed-limbs-drop-cuffs
Fractures and severed limbs cause cuffs to fall off
2014-03-04 10:15:42 +00:00
Mloc
8d048c0179 Merge pull request #4519 from Furlucis/master
Meat cutting fix
2014-03-04 10:14:55 +00:00
Mloc
367b0190cb Merge pull request #4514 from JoeyJo0/3dglasses
Added 3D glasses to dormitory.
2014-03-04 10:14:47 +00:00
Mloc
5d1b4851e4 Merge pull request #4520 from alex-gh/cryopod_fix_bs12
Despawning in cryo pods no longer prematurely end rev rounds.
2014-03-04 10:13:58 +00:00
Mloc-Argent
49890421f8 Adds a C library alternative to the ircbot nudge script.
This allows for more secure and stable transmission on Linux, but you might see some improvements on Windows too.
Code lies in (confusingly) lib/src.
nudge.c should be compiled to lib/nudge.[dll/so] and be linked against netutil.c.

There's some horribly hacky code in nudge.c to assemble pickled data, but it's probably the fastest way that's still safe.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2014-03-04 10:08:17 +00:00
Ravensdale
9561635942 Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into PROTECITON 2014-03-03 20:26:58 -08:00
Ravensdale
50a45b32ae Fixes a define spelling error. 2014-03-03 20:23:21 -08:00
Jeremy Liberman
c5261a2796 Wearing masks or straight jackets blocks chewing on your wrists 2014-03-03 20:24:09 -06:00
Mloc
4ddd799359 Merge pull request #4505 from Ccomp5950/ert_admin_only
Configuration option:  Ability to set ERT to be admin call only.
2014-03-03 19:21:05 +00:00
Mloc-Argent
8deed8dddd Dionaea can no longer steal blood from species which have the NO_BLOOD flag
Fixes #4510

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2014-03-03 09:15:35 +00:00
alex-gh
1c596f2ff2 Despawning in cryo pods no longer prematurely end rev rounds. 2014-03-03 08:57:46 +01:00
Furlucis
01e66b6733 Meat cutting fix
The other kind of knife actually exists. This one doesn't.
2014-03-03 02:26:04 -05:00
yashaldie
61a4e37466 fixes IPC brain surgery
could not start the brain surgery on IPCs this should fix it
2014-03-03 01:18:31 -05:00
DJSnapshot
8abbd52703 Merge pull request #4506 from Mloc/bs12-wtfaccess
Optimizes /obj/New() by removing access generation
2014-03-02 15:48:12 -08:00
Jeremy Liberman
d41d3b2b9e Fixes UI glitch when losing cuffs from fractures, resisting, or cult magic 2014-03-02 15:08:55 -06:00
Joey Haas
5b633a1d9a Added '50 Wooden Planks' to shipments 2014-03-02 21:35:10 +01:00
Joey Haas
787ea32360 Added 3D glasses to Dormitory 2014-03-02 21:31:46 +01:00
Aryn
b5bdfc27b0 Set lighting overlay's name to empty string. 2014-03-02 13:11:14 -07:00
Mloc
37112105f6 Merge pull request #4499 from Ccomp5950/runtime_fixs
Runtime fix: Depth scanner now won't check the length of null lists.
2014-03-02 19:56:23 +00:00
Mloc-Argent
d53263a49b Optimizes of /obj/New(), by removing access generation.
Previously, every single /obj would parse the req_access_txt and req_one_access_txt strings and turn them into a list of numbers for the access system.
This is now done the first time check_access() is called, so only objects that actually use the system will have the lists generated.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2014-03-02 15:12:56 +00:00
Aryn
7947523b04 Fixed some bugs regarding space lighting. 2014-03-02 07:27:33 -07:00
Aryn
2c947e135f Fixed supply shuttle bug wherein the area types were actually tags. 2014-03-02 06:53:11 -07:00
Ccomp5950
8f2d5e817f Configuration option: Ability to set ERT to be admin call only.
Admin request.

Default behavior is what we're used to, that two heads can call for the ERT
with the option turned on it removes the ability for players to call for an ERT and requires admin intervention.
2014-03-02 06:20:26 -06:00
Mloc
1b8eb18450 Merge pull request #4497 from Ccomp5950/sort_files
Server log files are now sorted when using .getruntimelog or .getserverlog
2014-03-02 10:54:51 +00:00
Jeremy Liberman
4025ccbee5 Fractures and severed limbs cause cuffs to fall off. Deranged spessmen can chew their own wrists to break free. 2014-03-01 22:56:47 -06:00
Aryn
b357344bf3 Temporary commit to back up data. 2014-03-01 14:43:39 -07:00
ZomgPonies
61fe10fe3d Efficiency: Joblist
Conflicts:
	code/__HELPERS/global_lists.dm
2014-03-01 13:38:55 -05:00
Ccomp5950
5c482f1c8c Merge pull request #4494 from yashaldie/master
Fixed Borg toggling broadcast mode
2014-03-01 11:07:41 -06:00
Ccomp5950
77767db800 Merge pull request #4487 from zekesulastin/laser-scalpel
Laser Scalpels Ver. 1
2014-03-01 10:55:18 -06:00
Mloc
c8f2d85b41 Merge pull request #4493 from Loganbacca/baytweak
Little things
2014-03-01 15:52:03 +00:00
Ccomp5950
5146268253 Runtime fix: Depth scanner now won't check the length of null lists.
runtime error: Cannot read null.len
proc name: scan atom (/obj/item/device/depth_scanner/proc/scan_atom)
  source file: tools_depthscanner.dm,31
  usr: Some Guy (/mob/living/carbon/human)
  src: the depth analysis scanner (/obj/item/device/depth_scanner)
  call stack:
the depth analysis scanner (/obj/item/device/depth_scanner): scan atom(Some Guy (/mob/living/carbon/human), Rock (155,169,5) (/turf/simulated/mineral))
Rock (155,169,5) (/turf/simulated/mineral): attackby(the depth analysis scanner (/obj/item/device/depth_scanner), Some Guy (/mob/living/carbon/human))
Some Guy (/mob/living/carbon/human): ClickOn(Rock (155,169,5) (/turf/simulated/mineral), "icon-x=23;icon-y=13;left=1;scr...")
Rock (155,169,5) (/turf/simulated/mineral): Click(Rock (155,169,5) (/turf/simulated/mineral), "mapwindow.map", "icon-x=23;icon-y=13;left=1;scr...")
2014-02-28 23:03:10 -06:00
Ccomp5950
051e2f0ce3 Server log files are now sorted when using .getruntimelog or .getserverlog 2014-02-28 22:37:36 -06:00
DJSnapshot
4492648491 server crash fix based off of https://github.com/tgstation/-tg-station/pull/2943/files 2014-02-28 17:38:58 -08:00
DJSnapshot
1e186839c6 added IPCs(machines) to list to make it easier on everyone. 2014-02-28 17:36:50 -08:00