Commit Graph

25520 Commits

Author SHA1 Message Date
Spades
21889e4991 One more because I forgot to click save 2017-06-20 01:15:12 -04:00
Spades
3da257d984 Merge remote-tracking branch 'refs/remotes/PolarisSS13/master' into AcesFixesThingses 2017-06-20 01:04:22 -04:00
Spades
79e192f565 Missed a few things. 2017-06-20 01:04:07 -04:00
Neerti
12543dd138 Merge pull request #3537 from Cameron653/AHF
Makes artifact_harvesters have a detection delay on spawn
2017-06-20 01:01:41 -04:00
Neerti
2e1ae6f49f Merge pull request #3538 from Cameron653/BDF
Blast Door repair & damage fix
2017-06-20 00:59:16 -04:00
Neerti
5d9a91df63 Merge pull request #3510 from FTangSteve/engieBorg
Ports inflatable dispensers from Bay
2017-06-20 00:56:23 -04:00
Neerti
470c80e8eb Merge pull request #3448 from Anewbe/ling_claws
Adds ling claw power
2017-06-20 00:54:23 -04:00
Spades
be2a99ca32 Some ammo fixes
- Fixes pirate gun not getting 12g caliber correctly.
- Fixes .357 caliber not being named consistently with everything else.
(Do not merge this until
https://github.com/PolarisSS13/Polaris/pull/3533 is merged pls, unless
Yosh fixes his caliber to be correct also.)
- Changes .50AE ammo to .44 because that's more consistent with what the
gun is capable of in-game, because it uses the same damage values as the
.357 and not a bullet that shoots through through your fridge, through
your house, and hits your neighbor's home invader like a .50AE is IRL.
The fact that it's .44 makes much more sense. This is purely a fluff
change because it annoyed me.
- Fixes a bunch of ammo.dmi icon names and makes the file not a jumbled
fucking mess. This means now your 762 mags and the newly renamed 44 mags
will not be broken anymore.
2017-06-19 23:44:01 -04:00
Cameron653
a910ed7ebb Removes a comma that allowed nuka_cola to spawn in
No fun allowed.
2017-06-17 00:09:58 -04:00
Cameron653
2b85c7eafc Update blast_door.dm 2017-06-17 00:08:54 -04:00
Cameron653
b3ff070f17 Adds a small delay to the artifact_harvester 2017-06-17 00:06:53 -04:00
Anewbe
3997a1510a Merge pull request #3526 from VOREStation/stonedmc-update
StonedMC Update & Hookup
2017-06-16 16:22:26 -05:00
Anewbe
99320866b0 Merge pull request #3530 from VOREStation/qdel-hints-gen-4
Qdel Hints Round IV
2017-06-16 16:21:58 -05:00
Anewbe
7cb81853a4 Merge pull request #3529 from VOREStation/qdel-hints-gen-3
Qdel Hints Round III
2017-06-16 16:17:33 -05:00
Leshana
6a0cc39419 Fixes objects using walk_to() not being able to be garbage collected.
* Okay evidently walk_to(A, B) doesn't stop when A reaches B, but keeps running in the background forever until it is manually canceled!  Therefore in order to be garbage collected, we must cancel walking on any object that might have initiated it.
* Fixes this on chemsmoke and spiders.
* The same story applies to walk_towards; fixed for dust, meteors and immovablerod, and also to walk_away; fixed for flashbangs.
* Also fixed chemsmoke actually getting qdeled at the right time.
2017-06-16 13:40:15 -04:00
Anewbe
d8c06c0b34 Merge pull request #3514 from Yoshax/rigsuit
Makes the CEs hardsuit and Engineering hardsuit temperature resistant
2017-06-15 20:26:57 -05:00
Anewbe
94522eb04f Merge pull request #3503 from MatchaFrappe/master
Adds a sexy maid uniform~!
2017-06-14 17:31:39 -05:00
Anewbe
37a33fa06d Merge pull request #3522 from VOREStation/xgm-lazy-lists
XGM init() and lazy list optimization
2017-06-14 16:05:23 -05:00
Anewbe
4c6e9cd40d Merge pull request #3524 from Neerti/6/11/2017_examine_panel_update
Makes Examine Panel slightly more useful.
2017-06-14 16:04:18 -05:00
Leshana
c91dc333cd Some more types which need Destroy to return qdel hints! 2017-06-14 01:13:54 -04:00
Leshana
4b46703d9d A plethora of Destroy() fixes - return qdel hints and clean stuff up. 2017-06-14 01:07:35 -04:00
Leshana
2cd91c8bfc Fix /datum/scheduled_task was unable to be GC'd and was deleted.
In addition to fixing the problem, it makes sense.  The observer pattern is overkill for an object type we own; doing it directly in Destroy() is more efficient.
2017-06-14 01:07:35 -04:00
Neerti
997c033d7e Merge pull request #3527 from VOREStation/radiation-fixes
Fix runtimes in radiation controller
2017-06-12 21:06:04 -04:00
Leshana
c4c5dc098a Fix runtimes in radiation controller
* Fixes Baystation12/Baystation12/issues/17443 - Runtime in radiation.dm,30: illegal: sqrt(-2.857143)
  * Updating radiation power to below zero should simply delete the source.
* Fixes at least one cause of Runtime in radiation.dm,41: Cannot read null.z in an effort to fix Baystation12/Baystation12/issues/17411
2017-06-11 20:50:13 -04:00
Neerti
18012fa1d1 Port's Bay's Shuttle Cleanup
Shuttles now set themselves up upon being instantiated instead of relying on a monolithic proc in the shuttle controller.
Shuttles can now be defined more cleanly on a per-map basis, as well.
Accidentally fixes a broken admin shuttle.
2017-06-11 11:45:31 -04:00
Neerti
b7f74541b8 Makes Examine Panel slightly more useful.
The examine panel can now display different interactions with a few items, using icons, mostly as a proof of concept.
2017-06-11 02:52:53 -04:00
Leshana
82e6049821 Actually hooks up the StonedMC to run its subsystems in Polaris
* Hooks up informing Master the gameticker actually starts and stops the round subsystems will actually fire! What ho!
* We should convert the gameticker as an MC subsystem someday, and probably completely rewrite it while we are at it becuase it is crazy.  But this should bridge the gap until then.
2017-06-10 19:01:58 -04:00
Leshana
fb92653ac9 Ports "Makes global master vars static"
* https://github.com/tgstation/tgstation/pull/27523
2017-06-10 19:01:58 -04:00
Leshana
6a8abd4f80 Ports tg improvements in StonedMC subsystem
* Ports /tg StonedMC Enhancement - Runlevels - Lets services more precicely define when they want to fire - in the lobby, during game, only after, etc. Includes bugfixes from:
  * https://github.com/tgstation/tgstation/pull/27132
  * https://github.com/tgstation/tgstation/pull/27338
  * https://github.com/tgstation/tgstation/pull/27576
  * https://github.com/tgstation/tgstation/pull/27519
* Ports Standardizes subsystem Shutdown order - https://github.com/tgstation/tgstation/pull/26228
2017-06-10 19:01:58 -04:00
Leshana
82e90a206c Ports "Better repeated MC crash handling"
* From https://github.com/tgstation/tgstation/pull/25813
* If the MC crashes: The problem subsystem will be rebooted on its 2nd strike and disabled on its third.
2017-06-10 19:01:58 -04:00
Leshana
b996d5c6b2 Ports utility macros to let subsystems divide their time among a few tasks
Port of https://github.com/tgstation/tgstation/pull/26324
2017-06-10 19:01:58 -04:00
Anewbe
5d81148ab8 Merge pull request #3511 from VOREStation/garbage-subsystem
tg Garbage Subsystem
2017-06-10 17:20:22 -05:00
Anewbe
1ace6311a8 Merge pull request #3520 from VOREStation/aro-pol-gmob
Greases up get_blahblah_fast
2017-06-10 15:56:28 -05:00
Leshana
1b8451bc9a Converts /datum/gas_mixture/var/graphic to a lazy list.
* The vast majority of gas mixtures never use their `graphic` list.  Prime candidate for making a lazy init list.
* While we are here, add nullchecks to ZAS's use of the graphic list a bit.  /turf/update_graphics was technically already null safe, but its even better to not bother calling it at all right?
2017-06-10 10:13:55 -04:00
Leshana
446f7b0a12 Eliminate init() proc from /datum/gas_mixture
* Initializing a list in the type definition (of any type) incurs a hidden proc call ("init").   Simply by moving the init of the lists to /New() we speed up creation of /datum/gas_mixtures (which happens *often*)
* The list variables still get initialized by the time the instance is created, so this has zero impact on other code, its just starightup faster with no downsides.
2017-06-09 22:16:45 -04:00
Anewbe
03dae14050 Merge pull request #3516 from VOREStation/vplk-lazy-lists
Adds macros to assist with lazily instantiating lists
2017-06-09 20:55:44 -05:00
Arokha Sieyes
6d58df9f60 Surgery and syringe fixes
Fixes a line printed about staying close to your patient printed in error, and makes syringes work on laying patients again.

The do_surgery overrides are from a bygone era.

Tested == yes
2017-06-09 02:11:23 -04:00
Arokha Sieyes
7de82a599d Greases up get_blahblah_fast
Untypes lists, obj is more likely so it goes first, uses get_turf now that get_turf uses the get_step witchcraft method.
2017-06-09 00:42:16 -04:00
Leshana
3e84cbbbfd Converts area.all_doors list to be lazily instantiated as a simple example of using the lazy list macros. 2017-06-08 17:21:36 -04:00
Leshana
96a9527d0b Adds macros to assist with lazily instantiating lists.
* For various reasons its best to not instantiate lists until they are actually going to be used, especially if there is a good chance that a given list variable might *never* be used during the lifetime of an object.
* These macros make it simple and concise to add remove and access entries in lazily created lists.
2017-06-08 17:20:44 -04:00
Yoshax
108cb16289 Makes the CEs hardsuit and Engineering hardsuit temperature resistant 2017-06-08 16:10:00 +01:00
Marie
98465695d4 Merge pull request #1 from PolarisSS13/master
Update
2017-06-08 15:29:40 +10:00
Leshana
60ffe4b00f Ports garbage collector improvements and bugfixes from tg
* Writes a log of qdel() problems in a condensed format at the end of each round - tgstation/tgstation/pull/26135
* Moves hard dels into their own proc so that it can be profiled more easily, and uses it for the various types.  Includes bugfixes too
  * https://github.com/tgstation/tgstation/pull/26210
  * https://github.com/tgstation/tgstation/pull/26570
* Fix a bug with qdeling non-datums - https://github.com/tgstation/tgstation/pull/27434
* Fix typo - https://github.com/tgstation/tgstation/pull/27730
2017-06-08 00:11:59 -04:00
Leshana
d6b68dabdb Standardize MC subsystem initialization boilerplate
* Based on https://github.com/tgstation/tgstation/pull/25386
* Create macro for defining new subsystem types.
* Create PreInit proc to handle setup that needs to be done before the map loads
* Rename garbage_controller subsystem to garbage so it matches its global SSgarbage variable name.
2017-06-07 23:23:46 -04:00
Neerti
cbd1d410c3 Merge pull request #3500 from Anewbe/cloning
Teshari can now be cloned properly
2017-06-07 17:28:08 -04:00
Neerti
8e91e5ce0a Merge pull request #3506 from Anewbe/more_runtimes
Fixes an examine runtime
2017-06-07 17:28:00 -04:00
Anewbe
78a807ce48 Merge pull request #3499 from Yoshax/iamsolazy
Lazyports artifact containers from Bay
2017-06-07 16:27:51 -05:00
Anewbe
7a4e1fe3dc Merge pull request #3508 from VOREStation/aro-pol-commqol
Communicator QOL Tweak
2017-06-07 16:24:42 -05:00
Anewbe
130dba3a24 Merge pull request #3509 from VOREStation/aro-pol-surg
Object Implant Surgery Fix
2017-06-07 16:24:19 -05:00
FTangSteve
30f8a269c1 Adds an inflatable dispenser to engie borgs. Also gives them a small pool of plasteel. 2017-06-06 19:23:22 -04:00