Commit Graph

8962 Commits

Author SHA1 Message Date
SkyratBot
1f58e4c363 [MIRROR] The trashbag of holding now has its own inhand sprite. (#1300)
* Merge pull request #54347 from uomo91/trashbagsprite

The trashbag of holding now has its own inhand sprite.

* The trashbag of holding now has its own inhand sprite.

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2020-10-14 12:51:19 +02:00
SkyratBot
62f9a92c32 [MIRROR] removes unused define left over from devil (#1297)
* removes unused define left over from devil (#54356)

* removes unused define left over from devil

Co-authored-by: Couls <coul422@gmail.com>
2020-10-14 00:07:45 +01:00
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
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
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
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
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
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
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
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
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
3d972c22e3 [MIRROR] fixes supermatter sliver throwing (#1009)
* fixes nuke core throwing (#53972)

The typepath was wrong, due to an improper feature from a couple months ago, this means that nothing actually happen, and a nonexistent type had a fun new dust. This has been resolved here.

* fixes supermatter sliver throwing

Co-authored-by: Fikou <piotrbryla@onet.pl>
2020-09-27 11:32:38 +02:00
SkyratBot
98568e191a [MIRROR] Enforce preserving parent proc return values across ui_act call stacks (#999)
* Enforce preserving parent proc return values across ui_act call stacks (#53964)

All ui_act procs should call parent by default. All procs should preserve the value of the parent proc when it's TRUTHY and pass it down the call stack. No UI should be interactible when its flags or state indicate it should not be, except when explicity overriden by child procs intentionally disregarding parent return values to achieve a specific goal.

* Enforce preserving parent proc return values across ui_act call stacks

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-09-26 17:17:59 +02:00
SkyratBot
a2511bc8bb tgui: Interface improvements (#990)
Co-authored-by: Arkatos1 <43862960+Arkatos1@users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-09-26 16:46:14 +02:00
SkyratBot
443dcf512f [MIRROR] Fixes various issues related to machine component contents. (#991)
* Fixes various issues related to machine component contents. (#53943)

Fixes machines not referencing their circuits in their component parts when built manually, causing them to vomit out their circuit board when opened. This also fixes Runtime in _machinery.dm, line 607: Cannot read null.req_components from using the B/RPEDs.
Fixes computers not storing circuits in the contents.
Fixes smartfridges vending their components.

* Fixes various issues related to machine component contents.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-09-26 10:42:52 +02:00
SkyratBot
e67d1c2bb3 Fixed the multi z pipe adapter (#985)
Co-authored-by: nicbn <nicolas.nattis@gmail.com>
2020-09-26 00:43:52 +01:00
SkyratBot
13b96bfe01 [MIRROR] Rebalances space loot and space exploration (#981)
* Rebalances space loot and space exploration (#53916)

* Rebalances space loot and space exploration

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-09-25 14:34:13 +02:00
SkyratBot
29b79b3350 [MIRROR] Refactors decals to an element (#973)
* Refactors decals to an element (#53922)

* Refactors decals to an element

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
2020-09-25 13:38:52 +02:00
SkyratBot
ef28f115cc [MIRROR] Machines now store their components in their contents. (#966)
* Machines now store their components in their contents. (#52970)

Machine parts are now located in the machine instead of nullspace.

* Machines now store their components in their contents.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-09-24 20:33:40 +02:00
SkyratBot
18f4fb5029 [MIRROR] Fix skill related runtimes in mindless mobs. (#965)
* Fix skill related runtimes in mindless mobs. (#53691)

Fixes related to mindless mobs using skills

* Fix skill related runtimes in mindless mobs.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-09-24 20:33:19 +02:00