Commit Graph

12153 Commits

Author SHA1 Message Date
Chinsky
a2035bb69b Better check for toxins.
Didn't realize class tree was so neat nao.
2014-04-18 04:24:06 +04:00
Chinsky
a3e6e416dc has_reagent crackdown TROIX FUCK
Got condition backwards, it was internal wounds don't grow bigger UNLESS they have bicard.
2014-04-18 04:05:46 +04:00
Chinsky
35bf44cce5 has_reagent crackdown Deux
Nothing fancy, I assume that get_amount is as bad as has_reagent, so might as well cut it.
2014-04-18 03:55:32 +04:00
Chinsky
96a40af9d1 has_reagent crackdown Uno
Moved check for toxins inside the loop checking for booze.
Instead of looping over reagents for EACH type of toxin.
2014-04-18 03:43:23 +04:00
Ccomp5950
b014e22972 Merge pull request #4552 from Loganbacca/efficiency
Efficiency Project: Airlock Sensors
2014-03-09 23:55:29 -05:00
Ccomp5950
46e1cfead7 Merge pull request #4551 from Furlucis/master
Removes an unnecessary check
2014-03-09 23:54:20 -05:00
Ccomp5950
ddbc41b388 Merge pull request #4549 from Loganbacca/bayfix
Multiple map fixes
2014-03-09 23:54:07 -05:00
Loganbacca
d1343c09ab Airlock sensor tweak
Because why not squeeze every last drop of performance out of it?
2014-03-09 21:30:40 +13:00
Ccomp5950
63e0c5b980 Merge pull request #4539 from yashaldie/master
Fix for slime surgery runtime & o2 lockers bug
2014-03-09 01:39:30 -06:00
Loganbacca
d4c24bc824 Airlock sensor optimization
Airlock sensors will now store the previous cycles pressure value, then compare it with the current pressure next time it runs.
If the pressure hasn't changed it will skip sending a status update.
2014-03-09 17:30:43 +13:00
Furlucis
b95c437b0f Removes an unnecessary check
The things you can attach to suits should already be determined by the
allowed list, no need to restrict it based off of size if it's in the
allowed items.
2014-03-08 23:15:53 -05:00
Loganbacca
36c3b49234 Multiple map fixes
Fixes #4507
Fixes #4508
Fixes #4540
2014-03-09 09:34:45 +13:00
Mloc
d853ec8ef0 Merge pull request #4544 from Ccomp5950/mob_debug
Debug Options:  Gives us an idea of what mobs are taking so long to proc...
2014-03-08 17:49:39 +00:00
Ccomp5950
2877b27399 Debug Options: Gives us an idea of what mobs are taking so long to process
Adds an "Expensive Mobs" list that shows what mobs took more then 1 decisecond to process.

This way if mob controller is going nuts we can debug master controller and see why, or atleast see which mob it is.
2014-03-08 01:44:43 -06:00
Chinsky
4dba89a288 Fix for #4542
Now synthetics do not contract viruses
2014-03-08 03:38:30 +04:00
Chinsky
3554a7be4f Merge pull request #4535 from Mloc/bs12-'
Fix for apostrophes in IRC nudge.
2014-03-07 17:32:26 +04:00
yashaldie
67dfe13034 Fix for O2 wall lockers breaking
Fixes #4538
also found when you tried to weld it it would break the sprite also
made the toggle verb just call the attack_hand proc to remove some items from the locker.
2014-03-07 05:43:31 -05:00
yashaldie
421b1ea6ef Fixes for slime surgery runtime
don't know why the slime is coming though even though the target is supposed to be human...
2014-03-07 04:56:49 -05:00
yashaldie
69dfb92719 Fixes for slime surgery runtime
don't know why this works but it does and doesn't break other surgeries from what i can tell
2014-03-07 04:55:23 -05:00
Mloc-Argent
63a27890fe Fix for apostrophes in IRC nudge.
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2014-03-06 09:36:58 +00:00
Mloc
08ba326878 Merge pull request #4532 from Ccomp5950/apc_breaker
APC overlay bugfix.
2014-03-06 09:09:48 +00:00
Mloc
16b1626b57 Merge pull request #4525 from Ccomp5950/pda_nano
PDA NanoUI Optimizations.
2014-03-06 09:09:05 +00:00
Ccomp5950
a379be8a55 Merge pull request #4533 from DJSnapshot/hotfix
Non-whitelisted IPCS. The real fix this time.
2014-03-06 02:22:41 -06:00
DJSnapshot
89114787e3 Non-whitelisted IPCS
Had to do a hacky fix. there was no real way around it.
Also, a couple balances with IPCs
And a totally silly death animation (Which has been commented out for now)
2014-03-05 23:44:03 -08:00
Ccomp5950
74a8fa152c APC overlay bugfix.
Before: If you turned off the breaker and fiddled with on/off states and turned on the breaker it wouldn't update the overlay because the check_updates wasn't doing an if(operating) check and would think it didn't need to update the overlays once you turned on the breaker.

After: Check_update() is doing a check for the breaker being on or off and taking that into account with the update_overlay flags and will update the overlays properly.

Thanks Razharas from /tg/ #coderbus for bringing this to my attention.
2014-03-04 20:57:40 -06:00
Joey Haas
2063909ab0 Fixed the bug where mech fabricators would get stuck whenever the RnD console was not found. 2014-03-04 23:51:12 +01:00
Joey Haas
844a856281 Fixed some machinery frames saying they need Manipulators instead of Micro Manipulators. 2014-03-04 19:36:55 +01: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
Mloc
8d048c0179 Merge pull request #4519 from Furlucis/master
Meat cutting fix
2014-03-04 10:14:55 +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
Ccomp5950
aa9141fb75 NanoUI Optimizations.
We won't regenerate the list for Manifests every tick while viewing the manifest, instead we have a global variable for it PDA_Manifest that we Cut() if there is a change to the manifest then when the next player goes to view the manifest on their PDA it will recreate the list that one time.

Some sections of the PDA will no longer auto-refresh every tick because...well that's dumb.

Modes that will no longer autoupdate at all:  Viewing medical/sec records, viewing notes (will update when you change them of course), and the station alert menu.
Modes that will only autoupdate every 5 ticks:  APC list (Because it's a huge fuck off list), the manifest, mulebots and secbots screens, supply requests/orders, and janitor supply locator)

Some other things that I just can't remember right now.
2014-03-03 22:50:24 -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
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
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
Ccomp5950
5c482f1c8c Merge pull request #4494 from yashaldie/master
Fixed Borg toggling broadcast mode
2014-03-01 11:07:41 -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