Commit Graph

27612 Commits

Author SHA1 Message Date
Leshana
74332405a8 Optimize scheduler process by sorting its task list
It previously had to iterate over EVERY task in its list every time.   With lots of queued tasks that is slow.
Instead we sort it by schedule time.   That means when iterating thru list, if we get to a single task that is in the future, so are all remaining.
2018-03-08 22:27:47 -05:00
Arokha Sieyes
3df619bfcc Adds wiggles to crawling
I did this. Have I gone too far?
2018-03-08 21:08:26 -05:00
Arokha Sieyes
8eb4442943 U_I Phase 2.7: Helmet lights, washing blood more 2018-03-08 19:34:02 -05:00
Arokha Sieyes
2970b37fa1 U_I Phase 2.6: Blood, Helmets, Unneeded calls 2018-03-08 19:34:01 -05:00
Leshana
4c5b7655b5 U_I Phase 2.5: Fix *swish deleting tail overlay
All more cases of "don't call apply/remove multiple times!
2018-03-08 19:34:01 -05:00
Arokha Sieyes
306a484b48 U_I Phase 2.4: Storage cleanup 2018-03-08 19:34:00 -05:00
Arokha Sieyes
96b0416c7f U_I Phase 2.3: Further cleanup 2018-03-08 19:34:00 -05:00
Arokha Sieyes
ba73fc2550 U_I Phase 2.2: Fix some old calls 2018-03-08 19:33:50 -05:00
Arokha Sieyes
3f13a89b89 U_I Phase 2.1: Fix missing tails, now double tails 2018-03-08 19:33:49 -05:00
Arokha Sieyes
53a185f838 U_I Phase 2.0: Code cleanup
Removing calls to update_icons_layers and the like, stubbing them to help track down future calls.
2018-03-08 19:33:44 -05:00
Arokha Sieyes
62e0c122fa U_I Phase 1.4: More preview fixes, not done yet 2018-03-08 19:31:56 -05:00
Arokha Sieyes
3be602dece U_I Phase 1.3: Previews are broken, so that's a thing 2018-03-08 19:31:55 -05:00
Arokha Sieyes
2f433c9ea9 U_I Phase 1.2: Something is broken somewhere 2018-03-08 19:31:54 -05:00
Arokha Sieyes
94c2110f27 U_I Phase 1.1: Fix phase 1 bugs
Softsuits making your clothes disappear, PDAs in ID slot making you double
2018-03-08 19:31:54 -05:00
Arokha Sieyes
aa9ec19118 U_I Phase 1.0: First consolidation pass 2018-03-08 19:31:43 -05:00
Heroman3003
7023255635 fix for stacks out of stacking machine (#5020) 2018-03-08 13:29:03 -06:00
Cyantime
602a505ec7 Fix click disabling when unbuckling via resist 2018-03-08 18:11:07 +00:00
Anewbe
fa864b1669 Drill grammar 2018-03-07 19:55:02 -06:00
Anewbe
7ed36f51f2 Syringe adjustments 2018-03-07 18:46:50 -06:00
Nerezza
a3228cd0c5 Makes slightly smaller objects capable of bashing open busted APCs (#5015)
* Makes slightly smaller objects capable of bashing open busted APCs

Because I've realized that engineers have enough --- to deal with without having to hunt down a fire extinguisher to bash open an APC

* Grammaring the best
2018-03-07 18:07:20 -06:00
Belsima
65779eff44 Ward-Takahashi names + Northern Star 2018-03-07 15:12:51 -05:00
Arokha Sieyes
59def29202 U_I Phase 0.5: Organize and comment 2018-03-07 14:02:59 -05:00
Verkister
f554062103 Couple borg UI fixes.
-Fixes missing default module UI icons.
-Fixes the UI mudule icons breaking on relog. (oh please who the fuck puts a ..() at the top when the parent proc is nothing but a single return???)
2018-03-07 10:19:06 +02:00
MisterLayne
21c9cd0a05 fixes code, and adds changelog (hope I did it right) 2018-03-06 20:52:55 -05:00
Anewbe
d172881b76 Splits up random.dm 2018-03-06 19:51:20 -06:00
Atermonera
9dfa7850a5 Merge pull request #5012 from Anewbe/tug_bug
Should be possible to replace cargo tug power cells
2018-03-06 13:07:32 -08:00
Atermonera
82a38c7ff6 Merge pull request #5011 from Anewbe/metabolism
Ingested reagents act half as quickly, rather than half as well
2018-03-06 13:07:17 -08:00
Atermonera
11b17819f7 Merge pull request #5006 from Anewbe/more_dangerous_animals
Adjusts probably-temporary attack values for simple mobs
2018-03-06 13:02:44 -08:00
Anewbe
14f48b84cd VeyMed limbs (and organs) are now more vulnerable to EMP (#4987)
* VeyMed limbs (and organs) are now more vulnerable to EMP

* Changelog
2018-03-06 13:02:06 -08:00
Atermonera
982840c14c Merge pull request #4943 from Anewbe/robosparks
Robolimbs require repair at 30 composite damage
2018-03-06 13:01:39 -08:00
Nerezza
9d7f7a7e5e Misc rig fixes/tweaks
EVA suit no longer stores toolboxes because those use a volume inventory.

CE's suit no longer holds pickaxes and ore satchels, but can now hold inflatables.

Adjusted get_breath_from_internal() proc to disable rig internals if the helmet is retracted and no suitable mask is in place.

Adjusted the internals button to ignore offline rigs.
2018-03-06 13:49:14 -06:00
Atermonera
81e5ea9536 Ater poi3 (#4968)
* Supply Drop POI

* Ration Cache

* BlastMine1

* Supply Drop 2

* Tweaks, package bomb detonators can be re-used

* Changelog

* Missed some spots while cherry-picking

* Merge branch master (I hope this works)

* Appeases travis

* Missed a spot
2018-03-05 19:55:27 -06:00
Anewbe
4503e475b1 Merge pull request #5014 from PolarisSS13/Ater_Weather_report
Weather reports won't crash when planet controller dies
2018-03-05 19:46:25 -06:00
Mechoid
437aad2d77 Adds a Frankenstein Surgical Procedure (#4990)
* Makes a Surgery for Frankensteining

* Fix a thing.

* Tweak things!

* Sickness not permanent, Recovery is.
2018-03-05 19:46:05 -06:00
Mechoid
1c94c32830 Mob Spawners can now override certain vars. (#5005)
* Random Mob Spawners can now overwrite certain vars on the mobs they spawn.

* Spiders return home.

* Faction Streamline
2018-03-05 19:45:11 -06:00
Anewbe
2f72596c51 Merge pull request #5008 from elgeonmb/patch-2
we now know who made gateways
2018-03-05 19:43:47 -06:00
Leshana
741e02407a Port SSoverlays & Convert turfs to use it (#5004)
* Added "Display Initialize() Log" admin debug command so you can see it mid-round.

* Ported the core of the overlays management subsystem from /tg

- Added SSoverlays subsystem for compiling overlay lists and applying them to atoms in a controlled anti-lag subsystem.
- Added vars and procs to atom which should eventually replace all direct interaction with BYOND's /atom/overlays var outside the subsystem.
- Added OVERLAY_QUEUED flag to var/atom/flags bitfield.
- Added small framework for subsystem performance tracking. So far used only by SSoverlays
- Added admin debug command "Display overlay Log" to see performance stats mid-round.

* Fix runtime on universal pipe adaptor update_icons

* Workaround for appearance_bro not initialized

Unfortuantely BYOND's initialization order is strange, and the appearance_bro var is only half initialized when map starts to load, causing errors.  We temporarily fix by moving it to be a global-scoped global.

* Convert fire alarms to use add_overlay() A good first test.

* Convert turfs to use add_overlays(), eliminating the turf_overlay_holder!

- Converted as much as I could find about turf overlays to use add_overlay().
- This should be enough to stop BYOND from crashing, so we can eliminate the turf_overlay_holder hack.
- This also lets us remove the anti-corruption hacks from walls and open space.
- ZAS gas overlays can use priority overlays, so this also fixes the gas-goes-away-when-crowbarring-plating issue.
- Stuff like that

* Convert turf overlay interactions to use add_overlay.

Note: This is a plain and simple conversion of existing code to use SSoverlays. However I look at the line changed, and note that that line likely never fully worked as intended, as it has no way of re-applying itself.
I would make it use a priority overlay, but there is no code present for *removing* said overlay from neighbors when it is no longer required.  That code should be implemented by original author.
2018-03-05 19:43:23 -06:00
Anewbe
2d452be603 Ingested reagents act half as quickly, rather than half as well 2018-03-05 19:40:29 -06:00
Anewbe
9acf3f8297 Merge pull request #5009 from VOREStation/vplk-mapreader-fixes
Fixes to runtime map loader
2018-03-05 18:14:48 -06:00
Atermonera
6402538f3c Weather reports won't crash when planet controller dies 2018-03-04 15:41:55 -08:00
Atermonera
b4e7acc727 Merge pull request #4988 from Anewbe/alt_titles_part_one
Removes some alt-titles with insufficiently clear roles
2018-03-04 14:33:09 -08:00
Anewbe
24e22f86ab Merge pull request #4906 from PrismaticGynoid/acceptyourfate
Succumb changes
2018-03-04 16:03:40 -06:00
Anewbe
33213ede2d Should be possible to replace cargo tug power cells 2018-03-04 14:31:44 -06:00
Anewbe
05d7697469 Removes some alt-titles with insufficiently clear roles 2018-03-04 13:56:14 -06:00
Atermonera
18c0bc5b27 Merge pull request #5000 from Belsima/slime-fix
Slime brains now actually have container settings!
2018-03-04 10:02:51 -08:00
Atermonera
947c076d04 Merge pull request #4996 from Verkister/patch-6
Fixes drone borgs spawning with dropped IDs
2018-03-04 10:02:34 -08:00
Atermonera
3a85517d30 Merge pull request #5001 from Nerezza/Snowfloorfix
Fixes #4993
2018-03-04 10:02:14 -08:00
Leshana
2e683c7184 Fixes to runtime map loader
- Fix: Do not actually expand world.maxz when measureOnly = true
- Fix: Support var values of "list()"  (no contents)
2018-03-04 12:34:55 -05:00
elgeonmb
66b5ab7861 we now know who made gateways
this is old lore and should feel bad about itself
2018-03-04 01:25:31 -08:00
Anewbe
9ecbbb3b04 Adjusts probably-temporary attack values for simple mobs 2018-03-03 23:00:44 -06:00