Commit Graph

27896 Commits

Author SHA1 Message Date
Verkister
2c02938b1b Update organ_external.dm 2018-01-01 18:49:22 +02:00
Verkister
a6d45cf39a Eliminates one possible culprit behind dismemberment crashes.
-Okay so. The dismemberment related crashing has decreased in the mob icon cache related cases, but another circumstance has been revealed pointing towards the severed limbs themselves.
-(Someone got splattered yesterday downstream and nuked half server into chain crashing)
-Anyhow. I personally had completely forgotten to update my client last year from an awfully outdated pre-PIXEL_SCALING version, but I happened to do it way after people began crashing and cannot remember encountering a single crash from the before time.
-Which led to a theory that our poor little Byond simply has trouble adjusting to fresh features and occasionally gets overwhelmed by the task of tossing around a bunch of severed limbs inheriting their owner's visual properties while also having to randomly rotate each one.
-This thing just disables pixel scaling from severed limbs upon dismemberment.
-Because of the evil nature of the bug unpredictably manifesting in action and often leaves some witnesses un-crashed, I have no proof if this helps anything but I'll just toss it up and see if it sticks.
2018-01-01 18:40:48 +02:00
Neerti
41137eeedb Rainbow Slime Extracts No Longer Make Wild Slimes
Also renames wild slime to feral slime.
2018-01-01 08:20:55 -05:00
Neerti
a64f7c1e01 Meteors Will Not Explode the Surface
Regression is fun.
2018-01-01 07:49:08 -05:00
Neerti
27ff2bd736 Removes Hardcoded Z-check on Handteles
Instead they use the using_map datum to see if the person using a hand-tele is on an admin level.
2018-01-01 06:41:17 -05:00
Cyantime
89fbd34cda Makes cloners actually only take meat for biomass 2017-12-31 21:39:00 -05:00
Cyantime
c0a446d106 Mechs don't fit in disposal chutes 2017-12-31 17:17:23 -05:00
mistyLuminescence
c443875898 Dropper and bloodpack improvements (#4453)
*Droppers transfer fractions adding to 1

*IV packs can be relabeled
2017-12-31 11:49:20 -08:00
Neerti
3ee3173a9f Merge pull request #4449 from Verkister/sleeby
Enables rest icons for simplemobs that have them.
2017-12-31 07:30:09 -05:00
Neerti
6026e98784 Merge pull request #4469 from Verkister/bonks
Fixes unfoldable boxes.
2017-12-31 06:11:57 -05:00
Neerti
bde9ae6f7e Adds Visual Cleavage
Axes executing a cleaving attack now has a visual effect to show the tiles that can potentially get hit.
Gives hatchets and the energy axe the ability to cleave.
2017-12-31 05:53:39 -05:00
Neerti
7f54bf2945 Tweaks cache_lifespan
Changes the world var from 0 to 7, as it is what /tg/ uses and it might help reduce the amount of data one needs to download when connecting. Not sure if it will but it can't hurt.
2017-12-31 05:49:32 -05:00
Neerti
bbe5fda915 Merge pull request #4466 from Atermonera/Weatherapp
Adds a weather app to the communicator
2017-12-30 21:44:21 -05:00
Anewbe
b088aff6bd Revert "Revert "Revert "Revert "Revert "Revert "Switches us to the Southern Cross for testing"""""" 2017-12-30 16:28:39 -06:00
Leshana
064f2fe9ca Additional types which need Destroy to return qdel hints (and other Destroy fixes) 2017-12-30 16:02:27 -05:00
Leshana
31a46e183b Fix runtimes in MouseDrop when dragging out of the screen
* MouseDrop()'s over_object may be null if dropping over a stat panel or over other empty space. Fix runtimes from assuming it is not null.
* Fixes Runtime in clothing_accessories.dm,54: Cannot read null.name
* Fixes Runtime in evidencebag.dm,21: Cannot read null.loc
2017-12-30 11:26:41 -05:00
Belsima
ff35fe9f56 Adds the disabled mech tools. (#4445)
* Adds the disabled mech tools.
2017-12-29 21:44:04 -08:00
Mechoid
3eb479b85f Merge pull request #4468 from Neerti/12/29/2017_the_resource_war
Might Fix Resource Lag
2017-12-29 18:05:42 -08:00
Leshana
a1734c97e9 Moved makepowernets() into SSmachines initialization proc. 2017-12-29 15:32:06 -05:00
Leshana
a97a574278 Transformed the machinery processor into an StonedMC subsystem
* This is PHASE 1 of a multi-phase conversion.  In this first phase we implement the subsystem, but leave it processing the existing global list variables.  In the next phase we will switch to use datum variables in the subsystem.  The main reason for splitting into two phases is ease of code review; change the meaningful code without the hundreds of machines -> SSmachines.machinery substitutions.
* We did declare macros for adding/removing things to the processing lists, and convert everywhere to use the macros.
* Added var/is_processing to /datum to keep track of whether an instance is already in a processing list (prevents it being in the list twice!) and also debugging, making sure its not in two lists etc.
* NOTE: The global machines list is **no longer sorted** for performance reasons.  As far as I know, the only module that actually ever cared was cameras.   Our camera system already handles its own sorting in the cameranets anyway, so it should no longer be needed.
2017-12-29 15:31:59 -05:00
Leshana
66e9d9cfdf Unify datum var definitions
Inspired by https://github.com/tgstation/tgstation/pull/29636
Also consolidated some sideways overridden /datum/Delete() here to reduce proc-call overhead.
2017-12-29 14:23:13 -05:00
Neerti
3c2dac2e01 Merge pull request #4463 from VOREStation/bay-tg-mc-update
Port /tg Master Controller & Garbage Collection Enhancements
2017-12-29 11:20:11 -05:00
Verkister
7e99f11fe6 Fixes unfoldable boxes.
-Apparently storage proc for this thing was changed to return 1 regardless if the item had the quick empty verb or not, which in turn triggered the very first nope of the box specific code.
-Boxes can be quick emptied but lack the actual verb apparently?
2017-12-29 13:28:44 +02:00
Neerti
68a4ea95ba Might Fix Resource Lag
Removes the dynamic setting of preload_rsc, because BYOND does not appear to respect it if it's not compiled in, and the dynamic nature of it is unused to my knowledge. If you need to change it, you can change a define in _compile_options.dm
This should now properly set it to '1', which should load all the resources at once, which might make some significant slowdown when first connecting, but should be preferable to constantly getting mini-lags when moving to new areas or hearing new sounds (like when getting shot at!).
2017-12-29 03:58:25 -05:00
Neerti
1c5bd19ca2 Fixes Welding
Welding in a RIG/spacesuit is currently broken. This PR fixes it. It was broken for two reasons.
First, the proc to get flash protection assumed the RIG was a clothing item, and as such thought it had variables it doesn't. So it would runtime.
Second, spacesuit helmets lost their flash protection for some reason. This has been reversed.
2017-12-29 01:51:37 -05:00
Atermonera
7870ee529c Adds a weather app to the communicator
Splits communicator.dm into multiple files
Also a few bits from my PDA->communicator project, should be commented out
2017-12-28 21:33:23 -08:00
Arokha Sieyes
53372f4317 Tweak out-of-ammo behavior on railguns
I personally like to imagine we live in a world where 'eject' is not a synonym for 'annihilate'.

Just makes the sound the railguns play when empty be a var, and makes them ACTUALLY eject the magazine instead of just deleting it (copypaste error probably, from the magnetic type, which does that).
2017-12-28 18:02:43 -05:00
Leshana
5ebcc92645 Port /tg garbage collection tweaks and statistics improvements
https://github.com/tgstation/tgstation/pull/30118 - Garbage collection tweaks and refactors.
https://github.com/tgstation/tgstation/pull/32022 - Find references fix.
2017-12-27 21:45:37 -05:00
Leshana
a435d73450 Ports /tg controller optimizations
https://github.com/tgstation/tgstation/pull/31092 - Fixes subsystems not returning a qdel hint
https://github.com/tgstation/tgstation/pull/31494 - In which the stoner one gets stoned and tries to address tick contention... again
https://github.com/tgstation/tgstation/pull/31950 - Removes an empty New()
https://github.com/tgstation/tgstation/pull/31951 - Logs subsystem shutdowns
2017-12-27 21:19:55 -05:00
Leshana
b88093a324 Fix a last-minute typo 2017-12-27 20:20:15 -05:00
Leshana
c6e8184b58 Ports https://github.com/tgstation/tgstation/pull/30184
* Adds defines for world.tick_usage
* This provides no useful benefit whatsoever, but /tg and Baystation12 have done it, so it will make porting future code easier if we do too.  No real harm done either.
2017-12-27 19:10:15 -05:00
Leshana
032d26010b Merging changes from /tg
https://github.com/tgstation/tgstation/pull/29637 Fixes subsystem MC crash tracking
https://github.com/tgstation/tgstation/pull/30092 Subsystem PreInit() now respects init_order
2017-12-27 18:58:51 -05:00
Neerti
522a3b5f98 Merge pull request #4456 from VOREStation/vplk-frames
Replaced bare numbers in frame construction with defined constants.
2017-12-26 22:37:33 -05:00
Leshana
00a00bb1c8 Use mutable_appearance for HUD health overlays.
This improves the issue of player mobs using excessive CPU every Life() tick.
* Testing determined the worst performance was actually the manipulation of the "healths" HUD doll's overlays.
* Switching to using a mutable_appearance helps quite a bit for little effort.
2017-12-26 17:07:10 -05:00
BothNevarBackwards
4540f770d4 Lots of species stuff ported from Baystation (#4442)
* Ports species based footprints from bay
- https://github.com/Baystation12/Baystation12/pull/17935
- https://i.imgur.com/ojAU373.png
- Unathi use claw on right
- Taj and tesh use paw in center

* Flash stuff glasses protection things

* Flash stuff actual thing

* Organ mult thingy

* Floaty eyes and cloak setup

* Species falling
2017-12-26 14:28:21 -05:00
Anewbe
ddbf7138d9 Merge pull request #4455 from Woodratt/12242017_SCadditions_WR
SC Stupid Sized Map Update
2017-12-26 13:16:46 -05:00
Atermonera
c8f6ef9e9f Merge branch 'master' into VR_Avatar 2017-12-24 15:50:21 -08:00
Atermonera
34dd521fb8 VR mobs can toggle opaque/translucent appearance 2017-12-24 15:42:13 -08:00
Leshana
8a8e51bec4 Replaced bare numbers in frame construction with defined constants.
Also examine() frames shows the circuit that is installed.
2017-12-24 17:53:58 -05:00
Woodratt
ed9395e58f SC Stupid Sized Map Update
Or how Woodrat spent too long on something that was supposed to be simple.

- Addition of a Explorer Radio Channel and headsets.
- Explorers and Search and Rescue job slots added
- Adjustments to the pilot job including getting rid of the flatcap
- Map fixes, adjustments, (including signs pointing to cryo) planetside side map additions splitting up of the wilderness into two area sections
- Disabled lighting on the arrivals shuttle area once it is docked with the station, should help with the whole issue of lighting bugging out and having dark space
- Fixed EMS jacket missing icons
- Fixed Research signs being missing for some reason, addition of directional signs for cryo
- Addition of a Search and Rescue Winter coat
- Probably a dozen other small bug fixes I forgot, and bug additions

Tested, seems fine. At least in short tests.
2017-12-24 07:04:34 -08:00
mistyLuminescence
c986d57c34 Med Pill Blue Pill (#4404)
* Fixes 4412
* Rebalanced medical gear spawns
* Pill bottle code touched up
2017-12-23 14:45:24 -08:00
MarinaGryphon
828b927a4d You can now remove card decks from containers. (#4452)
* You can now remove card decks from containers.

* Typecasting.

* Conditional fixes.
2017-12-22 19:33:13 -06:00
Verkister
6789835276 Enables rest icons for simplemobs that have them.
-Mostly just cats and xenos for now.
2017-12-18 10:05:35 +02:00
Atermonera
4b2ac88720 Research level typos 2017-12-17 19:48:15 -08:00
mistyLuminescence
9a86b05471 Grind up some more stuff! (#4423)
*More types of sheets can be ground up in a grinder
2017-12-17 13:43:10 -08:00
Neerti
595dee475a Merge pull request #4441 from Nalarac/OddySleeper
Fixes Odysseus Sleeper Being Unable to Inject Chemicals
2017-12-17 13:04:27 -05:00
Verkister
d83b142603 More missed limb icon null checks.
-Should probably decrease crashing even further.
2017-12-17 14:32:58 +02:00
Andrew
eba7b63937 Fixes Odysseus Sleeper Being Unable to Inject Chemicals
Fixes #869
Reduces inject to 5 per instead of 10 per (same cap)
Adds verb for occupants of sleeper to eject themselves
2017-12-16 13:23:44 -06:00
Cameron653
91df60a30d Makes galoshes shockproof 2017-12-15 19:37:56 -05:00
Anewbe
721c7a5291 Merge pull request #4435 from Belsima/plant
Tracking implant multi-z fix.
2017-12-14 21:30:58 -06:00