Commit Graph

14220 Commits

Author SHA1 Message Date
SkyratBot
b8d9874c27 [MIRROR] Converts all A && A.B into A?.B (#1292)
* Converts A && A.B into A?.B (#54342)

Implements the ?. operator, replacing code like A && A.B with A?.B

BYOND Ref:
When reading A?.B, it's equivalent to A && A.B except that A is only evaluated once, even if it's a complex expression like a proc call.

* Converts all A && A.B into A?.B

Co-authored-by: ZeWaka <zewakagamer@gmail.com>
2020-10-13 23:19:25 +02:00
SkyratBot
af7fb6428e [MIRROR] Fixes slices on pizza and resizes some foods (#1291)
* Fixes slices on pizza and resizes some foods (#54353)

fix: you can no longer cut pizza into bugged slices
fix: some small foods are actually small again

* Fixes slices on pizza and resizes some foods

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-10-13 23:05:12 +02:00
SkyratBot
756b97a0fb [MIRROR] Converts some unique and typelists into stringlists (#1284)
* Converts some unique and typelists into stringlists (#54237)

* Converts some unique and typelists into stringlists

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-10-13 08:03:58 +02:00
SkyratBot
81ba096768 [MIRROR] One more pass on null rod sprites + null rod storage sanity pass (#1277)
* Finishes the job on null rod sprites hopefully once and for all (#54235)

* One more pass on null rod sprites + null rod storage sanity pass

Co-authored-by: necromanceranne <40847847+necromanceranne@users.noreply.github.com>
2020-10-12 23:28:11 +02:00
SkyratBot
b0215f179a [MIRROR] Takes some lessons from Jimmy Neutron (#1269)
* sodium chloride is now called salt (#54328)

* Takes some lessons from Jimmy Neutron

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-10-12 23:18:45 +02:00
SkyratBot
4f1ffb5624 [MIRROR] Null rods no longer vanish when selecting a new holy weapon skin. (#1268)
* Null rods no longer vanish when selecting a new holy weapon skin. (#54321)

Put null rod in active hand > Bring up radial menu to select new skin > Swap active hands to hand that is full > Select new skin > Nullrod spawns in nullspace, can't be put in active hand, stays in nullspace, old rod deleted > Chaplain has no null rod.

Now we (redundantly) spawn the new null rod at the holder's drop_location instead of nullspace.

We use put_in_hands which will attempt to put it in the active hand, followed by any free hand, followed by the drop_location if all else failed (told you the above was redundant, probably good practice to do though)

* Null rods no longer vanish when selecting a new holy weapon skin.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-10-12 23:17:59 +02:00
SkyratBot
11ca98cbb9 [MIRROR] holosign little refractor (#1263)
* holosign little refractor (#54287)

* holosign little refractor

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2020-10-12 23:16:23 +02:00
SkyratBot
097e14956b [MIRROR] Serving Tray Fix (#1241)
* Serving Tray Fix (#54267)

* Serving Tray Fix

Co-authored-by: Winter Flare <7543955+Owai-Seek@users.noreply.github.com>
2020-10-11 03:46:38 +02:00
SkyratBot
970a2b03d6 [MIRROR] Mobility refactor: no more update_mobility() (#1233)
* Mobility refactor: no more update_mobility()

* Update robot.dm

Fixes robots.

* megadumb

* Update robot.dm

* weh

* Update gunpoint_datum.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-10-10 02:31:35 +02:00
SkyratBot
9d26065173 [MIRROR] Added science berets. (#1232)
* Added science berets. (#54255)

* Added science berets.

Co-authored-by: Cimika/Lessie/KathyRyals <65850818+KathyRyals@users.noreply.github.com>
2020-10-10 00:30:30 +01:00
SkyratBot
c1c3fb93da [MIRROR] BSbodybags inherit heaviest item weight + Easier to escape the disarm/BSbodybag combo (#1229)
* BSbodybags inherit heaviest item weight + Easier to escape the disarm/BSbodybag combo (#54065)

Bodybags now inherit the weight of their heaviest item. If it doesn't have a weight (people), we assume bulky since things like people can be firecarried or whatever.

It now takes less time to get out of a bag (20 > 12 secs), and the progress bar is unbreakable unless you get incapacitated. This means people interested in using it to kidnap can still do so but it requires considerably more effort that isnt based on a latency difference and a quick disarm. The timer still runs down if you open the bag and try to put them back in but good attempt😏.

This also fixes an issue with the BSB where it was picking up or otherwise doublecalling checks from inheritance.

* BSbodybags inherit heaviest item weight + Easier to escape the disarm/BSbodybag combo

Co-authored-by: girl <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
2020-10-10 00:30:06 +01:00
SkyratBot
cae0e4cb5c [MIRROR] Adds Alloy Materials (#1228)
* Adds Alloy Materials (#53623)

Adds and implements alloy materials

Takes several materials that were mostly fluff and converts them into actual usable materials.
Messes with material code a bit to make alloys recycle back into their component materials.
Adds the alloy materials to their in-game stacks.

Materials added:
    Plasteel
    Plastitanium
    Plasmaglass
    Titaniumglass
    Plastitanium Glass
    Alien Alloy

Makes plasteel/plastitanium/plasmaglass and the rest able to have separate properties from their component materials. It doesn't make much sense that the materials used to seal off the supermatter chamber from the rest of the station would be prone to exploding when heated.

Allows for further expansion of materials, possibly including actual functional metallurgy and smelting at some point in the very distant future.

(Lemons note: Adds a regeneration component, used for alien alloy)

* Adds Alloy Materials

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
2020-10-10 00:29:56 +01:00
SkyratBot
6ee36d46e6 [MIRROR] Turns maxhealth into a define (#1227)
* Merge pull request #54251 from Rohesie/define

Turns maxhealth into a define

* Turns maxhealth into a define

Co-authored-by: nemvar <47324920+nemvar@users.noreply.github.com>
2020-10-09 18:48:54 +02:00
SkyratBot
dbdcef06f2 [MIRROR] [s]Showers now properly react with 10u per tick instead of 1000u. (#1221)
* [s]Showers now properly react with 10u per tick instead of 1000u. (#54236)

Turns out what I thought was reagent units used per reaction was actually reaction multiplier in #53377, and it flew under the radar until literally 15 minutes ago.

This adjusted the reaction quantity down to 0.05, which with the 200 unit reagent volume of the showers, equates to about a 10u reaction per tick, ya know, rather high but reasonable considering that before it was mistakenly set to *5 instead, which meant you could de-husk a patient in a literal single tick with 1 unit of synthflesh.

* [s]Showers now properly react with 10u per tick instead of 1000u.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
2020-10-09 18:31:24 +02:00
SkyratBot
7eeaefe645 [MIRROR] Fixes some potential sleeps as detected by SpacemanDMM improvements (#1216)
* Fix some potential sleeps as detected by SpacemanDMM improvements (#54230)

overrides weren't detected by should not sleep, i think i've mostly
fixed that with SpaceManiac/SpacemanDMM#214

Some of these are wacky but overall this pr is harmless

signals shouldnt sleep even in weird 1 in a million situations or due
to other people adding bad code

overrides of changeling can_sting() use alert() and input() and that's
just too fucked for me to fix in this pr

* Fixes some potential sleeps as detected by SpacemanDMM improvements

Co-authored-by: spookydonut <github@spooksoftware.com>
2020-10-09 18:28:59 +02:00
SkyratBot
bba021046c [MIRROR] Converts Pizza to use the new food component. (#1205)
* Converts Pizza to use the new food component. (#53641)

pizzas now use processing component

* Converts Pizza to use the new food component.

Co-authored-by: Krysonism <49783092+Krysonism@users.noreply.github.com>
2020-10-08 17:30:13 +02:00
SkyratBot
65a2223ddf [MIRROR] Fixes the supply console not inheriting contraband and emag status from its circuit (#1197)
* Fixes the supply console not inheriting contraband and emag status from its circuit (#54177)

Added an abstract proc for circuits intended to be used to allow a circuit to configure a machine.

Overrode this proc for supply console boards (behaviour inherited by express boards)

Call this proc in supply console on_construction (behaviour inherited by express supply consoles)

Allows all supply consoles to inherit their circuit's emag and contraband status.

Doesn't look like any other circuits use this sort of functionality, but if they do I'll fix 'em up too.

* Fixes the supply console not inheriting contraband and emag status from its circuit

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-10-07 23:26:39 +02:00
SkyratBot
be24830926 [MIRROR] Fixes toy dualsaber injuring clowns (#1194)
* Fixes toy dualsabers stabbing clowns (#54104)

* Fixes toy dualsaber injuring clowns

Co-authored-by: TMTIME <urist.mcyt@gmail.com>
2020-10-07 23:25:26 +02:00
SkyratBot
d77ea78fe0 [MIRROR] RPD unwrench upgrade (#1189)
* RPD unwrench upgrade (#53615)

* Most OP atmos tool. RPD that can unwrench pipes.

Adds reverse wrench mode upgrade to the RPD.
Attention, due to budget cuts, the mode is hard linked to the destroy mode control button.

Now /obj/machinery/atmospherics/deconstruct(disassembled = TRUE) return created obj/item/pipe

Co-authored-by: girl <11748095+ExcessiveUseOfCobblestone@ users.noreply.github.com>

* RPD unwrench upgrade

Co-authored-by: Dennok <Deneles@yandex.ru>
Co-authored-by: girl <11748095+ExcessiveUseOfCobblestone@ users.noreply.github.com>
2020-10-07 20:40:29 +02:00
SkyratBot
3ffe8bbb1f [MIRROR] Allows rotating statues with alt click (#1179)
* Allows rotating statues with alt click (#54179)

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>

* Allows rotating statues with alt click

Co-authored-by: Mickyan <38563876+Mickyan@users.noreply.github.com>
Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>
2020-10-07 06:26:19 +02:00
SkyratBot
e3f8b4c96c [MIRROR] Adds tank holders (#1177)
* Merge pull request #54048 from nicbn/tank-frames

Adds tank holders

* Adds tank holders

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2020-10-07 01:11:16 +02:00
SkyratBot
1d05c667ee [MIRROR] Tile Reskinning: Allows you to make prettier in-game building projects (#1175)
* Tile Reskinning: Allows you to make prettier in-game building projects (#54184)

* Tile Reskinning: Allows you to make prettier in-game building projects

Co-authored-by: KathrinBailey <53862927+KathrinBailey@users.noreply.github.com>
2020-10-07 00:14:13 +02:00
SkyratBot
2f32d70dbb [MIRROR] Nerfs uranium material effects, and changes how effective materials are on sheets and statues (#1172)
* Nerfs uranium material effects, and changes how effective materials are on sheets and statues (#54178)

* Nerfs uranium material effects, and changes how effective materials are on sheets and statues

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-10-06 22:26:41 +01:00
SkyratBot
9efc52f2af [MIRROR] Replaces sleeping carp pierce immunity with wound resistance (#1171)
* Replaces sleeping carp pierce immunity with wound resistance (#54163)

* Replaces sleeping carp pierce immunity with wound resistance

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-10-06 22:26:26 +01:00
SkyratBot
82fad14b06 [MIRROR] Wound scans respect blindness (#1170)
* Wound scans respect blindness (#54188)

* Wound scans respect blindness

Co-authored-by: PKPenguin321 <pkpenguin321.git@gmail.com>
2020-10-06 21:40:05 +01:00
SkyratBot
74988557f1 [MIRROR] Sign language fixes (#1165)
* Sign language fixes (#53890)

If your hands are full, you make a visual attempt to sign, so others know you at least tried. If you have no hands, you simply cannot sign at all.
Having one arm gone and the other full properly makes one unable to sign
Runechat!
Uses TRAIT_HANDS_BLOCKED now
Any organ with ORGAN_UNREMOVABLE as a flag is no longer removed by aheals or full heals. Currently this only affects tied tongues, as no other organ really has that flag yet.

If you can't sign from your hands being full, you won't stand there silently staring at whoever you try to talk to.
People will actually see that you can't sign thanks to runechat
I finally fixed sign language for lings & xenobio mains

Co-authored-by: Rohesie <rohesie@ gmail.com>

* Sign language fixes

Co-authored-by: Wallemations <66052067+Wallemations@users.noreply.github.com>
Co-authored-by: Rohesie <rohesie@ gmail.com>
2020-10-06 15:37:37 +02:00
SkyratBot
9ae0a0b2e9 [MIRROR] Fixes scanners being usable by the blind (#1153)
* Fixes scanners being usable by the blind (#54164)

* Fixes scanners being usable by the blind

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-10-04 23:35:38 +02:00
SkyratBot
3b7068de61 [MIRROR] Mobility refactor: UI, pull and lying down edition (#1148)
* Mobility refactor: UI, pull and lying down edition

* Update living.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-10-04 20:03:31 +02:00
SkyratBot
7f69900f6c [MIRROR] Fixes large clothes displaying blood overlays incorrectly (#1149)
* fixes large clothes displaying blood overlays incorrectly (#54153)

* Fixes large clothes displaying blood overlays incorrectly

Co-authored-by: Mickyan <38563876+Mickyan@users.noreply.github.com>
2020-10-04 15:24:50 +02:00
SkyratBot
cab50f9c52 [MIRROR] Adds Shuttle 667 as a buyable shuttle for dispelling a cult rune (#1150)
* Adds Shuttle 667 as a buyable shuttle for dispelling a cult rune (#53975)

* Adds Shuttle 667 as a buyable shuttle for dispelling a cult rune

* Add stasis beds

* Fix forcefields going away, leading to hull breaches

* Use set instead of list

* Use subtype for forcefield walls

* Adds Shuttle 667 as a buyable shuttle for dispelling a cult rune

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
2020-10-04 15:24:15 +02:00
Azarak
544ca60e45 fixes vox breath issues (#1139) 2020-10-03 23:05:32 +01:00
SkyratBot
42e44d002e [MIRROR] tray belt and worn sprite (#1125)
* Merge pull request #54127 from Tlaltecuhtli/peniss

tray belt and worn sprite

* tray belt and worn sprite

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2020-10-03 02:31:44 +02:00
SkyratBot
ec5324bc1a [MIRROR] [READY] Highlander mode now includes silicons (#1122)
* Merge pull request #53702 from zxaber/kiltborg

[READY] Highlander mode now includes silicons

* [READY] Highlander mode now includes silicons

Co-authored-by: nemvar <47324920+nemvar@users.noreply.github.com>
2020-10-02 19:10:58 +02:00
SkyratBot
c4e85d51ae [MIRROR] Completely FIX Hilbert's Hotel and its associated ruin to the game. (#1111)
* Completely FIX Hilbert's Hotel and its associated ruin to the game. (#53830)

Reverts the removal in #53790.
Broken in #53586.

Because turfNumber++ must be incremented on turf, not on every ATOM it
EVERY TURF, and anyway it don't trigger since first turfs don't have
atoms in it.

Fix #53794, Hilbert's Hotel peephole runtime.
Fix #53795, hhmysteryRoomNumber generates only once.

* Completely FIX Hilbert's Hotel and its associated ruin to the game.

Co-authored-by: Dennok <Deneles@yandex.ru>
2020-10-02 14:56:57 +02:00
SkyratBot
5efc96ab80 [MIRROR] Makes some things that rely on atmos adjacency more sane/faster. (#1108)
* Makes some things that rely on atmos adjacency more sane/faster. (#54096)

* Replaces some CANATMOSPASS calls with a new define that checks if the turfs are in each others atmos adjacent list, as that's the same info that they want.

* Makes some things that rely on atmos adjacency more sane/faster.

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2020-10-01 21:32:19 +01:00
SkyratBot
8f853ea80d [MIRROR] Fixes monkeycube size and organ callback and microwaves (#1107)
* Fixes monkeycube size and organ callback and microwaves (#54095)

* fixes

* dumb runtime

* fixes eggs

* Fixes monkeycube size and organ callback and microwaves

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-10-01 21:41:47 +02:00
SkyratBot
49eb12c332 [MIRROR] Restores some functions food had (#1087)
* Restores some functions food had (#53892)

Synthmeat steaks are a subtype of plain so that they can be used in burgers the way they could before
Colored burgers have color again, as they were just the greyscale sprite

* Restores some functions food had

Co-authored-by: ArcaneDefence <51932756+ArcaneDefence@users.noreply.github.com>
2020-09-30 22:48:41 +02:00
SkyratBot
ada67ac929 [MIRROR] Ports soup, snacks, icecream, salads and meat to newfood (#1074)
* Ports soup, snacks, icecream, salads and meat to newfood (#54028)

Ports soup, snacks, icecream, salads and meat to newfood

* Ports soup, snacks, icecream, salads and meat to newfood

* Update true_changeling.dm

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-09-30 14:37:15 +02:00
SkyratBot
5359878eac [MIRROR] Nice, Corgi Pinning Action for the whole family. (#1077)
* Nice, Corgi Pinning Action for the whole family. (#53913)

Adds pin the tail on the corgi, a basic party game last seen at the summer ball, that I had lying around on one of my branches since then. The corgi is a poster that functions like most other posters, but has an interaction with the fake "Corgi tail" object, which can be pinned onto the poster to visually place the tail onto the poster.

Are you a bad enough dude to pin the tail on the corgi blindfolded?

Fun, cheap entertainment. Might make for a cheap thrill, or help set the scene of a birthday party. Works as a very player driven basic activity.

Also, the tail pins are harmless embeds. I'll leave that here for you to think about.

* Nice, Corgi Pinning Action for the whole family.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
2020-09-30 14:17:11 +02:00
SkyratBot
7f16f8abf8 [MIRROR] You can now throw things over raillings. (#1075)
* You can now throw things over raillings. (#54062)

Any movable atom with an attached thrownthing datum can now pass harmlessly over railings, and potentially fall safe down to the z-level below.

* You can now throw things over raillings.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-09-30 14:16:36 +02:00
SkyratBot
9690efd842 [MIRROR] Fixes up addictions reporting on scanners, and admin full heal (#1073)
* Fixes up addictions reporting on scanners, and admin full heal (#54056)

* Fixes up addictions reporting on scanners, and admin full heal

Co-authored-by: NightRed <nightred@gmail.com>
2020-09-30 03:44:20 +01:00
SkyratBot
b96909fb02 [MIRROR] [READY] Refactor icon smoothing to use 8-bit bitmasking (#1053)
* Merge pull request #53906 from Rohesie/smoothing

[READY] Refactor icon smoothing to use 8-bit bitmasking

* [READY] Refactor icon smoothing to use 8-bit bitmasking

Co-authored-by: nemvar <47324920+nemvar@users.noreply.github.com>
2020-09-29 22:55:58 +01:00
SkyratBot
9be3a7b8f6 [MIRROR] Moblity refactor: hands blocked and restrained edition. (#1051)
* Moblity refactor: hands blocked and restrained edition.

* Update carbon_defense.dm

* Update emotes.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-09-29 13:57:02 +02:00
SkyratBot
0c1833ff9a [MIRROR] Atmos Machinery Variants (#1038)
* Atmos Machinery Variants  (#54015)

Adds variants for a bunch of atmos machinery that were missing them:

    unary tanks
    atmos filters
    atmos control computers (and circuit boards)
    atmos tank turfs
    atmos tank outlet injectors
    atmos tank siphon vents
    gas miners

* Atmos Machinery Variants

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
2020-09-29 12:25:50 +02:00
SkyratBot
1766d87b57 [MIRROR] Reimagines Venus Human Traps (#1036)
* Reimagines Venus Human Traps (#53880)

Venus human traps now have a new sprite, new sprite for their bud, new sprite for their vines, their bud has icons according to how grown it is, they get sounds for hitting, getting hit, and dying.

oh yeah and I renamed the path flower_bud_enemy >flower_bud

* Reimagines Venus Human Traps

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2020-09-29 12:25:13 +02:00
SkyratBot
8378eb482a [MIRROR] Fixes whiteship console losing GPS signal (#1031)
* Fixes whiteship console losing GPS signal (#53998)

Deconstructing and rebuilding the whiteship console will switch it back to the GPS-less subtype. Added a new board and assigned it to the whiteship bridge console to remedy this.

* Fixes whiteship console losing GPS signal

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-09-29 00:31:59 +02:00
SkyratBot
f8eef23e64 [MIRROR] Fixes incorrect Initialize() arguments (#1029)
* Fixes incorrect Initialize() arguments (#54013)

* Fixes incorrect Initialize() arguments

Co-authored-by: spookydonut <github@spooksoftware.com>
2020-09-29 00:18:52 +02:00
SkyratBot
8e22b30dd6 [MIRROR] Duplicating statues sanity (#1028)
* Duplicating statues sanity (#54018)

* Duplicating statues sanity

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2020-09-29 00:18:11 +02:00
SkyratBot
e738ffa370 [MIRROR] Fixes for Syndicate Forgotten Ship (#1025)
* Fixes for Syndicate Forgotten Ship (#53832)

* Fixes missing implant on Syndicate Ship Captain:
  Syndicate Ship Crew Members have their implants. There are 2 boxes of syndicate firing pins in captains locker, but captain can't use them. This change fixes that. Captain had implant initially, but it was removed accidentally in #50597

Fixes spare magazines spawned in lockers:
  Captain has 2 mags for APS instead of 9mm mags in their locker.
  Crewmembers have 9mm mags instead of 10mm mags.
  10mm ammoboxes replaced with 9mm.
  Why do we even have 10mm mags, if crew spawns with makarov and captain spawns with APS.

* Fixes for Syndicate Forgotten Ship

Co-authored-by: antropod <antropod@gmail.com>
2020-09-28 18:11:08 +02:00
SkyratBot
dfb34d55ba [MIRROR] Fixes mapstart and random arcade machines (#1011)
* Fixes mapstart and random arcade machines (#53958)

Randomly generated arcade machines were getting random boards and initing properly, but they weren't re-built as the appropriate subtype.

This oversight has been remedied. A new subtype has been created for random arcade machines which exists purely to pick a random circuit then create a machine from that circuit's build path before returning that it should be qdel'd.

This new subtype has been appropriately regex find-and-replaced into all maps.
* Objectify

* Fixes mapstart and random arcade machines

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-09-27 19:18:44 +02:00