Commit Graph

458 Commits

Author SHA1 Message Date
Gandalf
ad0b6e4e67 Batch pr pull (#12554)
* https://github.com/tgstation/tgstation/pull/65814

* https://github.com/tgstation/tgstation/pull/65832

* https://github.com/tgstation/tgstation/pull/65850

* https://github.com/tgstation/tgstation/pull/65689

* https://github.com/tgstation/tgstation/pull/65579

* https://github.com/tgstation/tgstation/pull/65760
2022-04-06 19:26:58 +01:00
Zonespace
1118b4175a Adds a bunch of PRs that the Mirror bot missed (#12535)
* aaAAA

* fix-maps
2022-04-06 17:50:47 +01:00
SkyratBot
fb8b0274c9 [MIRROR] Maid costumes, the respritening [MDB IGNORE] (#12474)
* Maid costumes, the respritening (#65844)

About The Pull Request

Haha gotchu, april fools

haha gotchu again, it's an actual resprite and additions to the maid costume with a headband, arm covers or whatever you call them, and a neck cover.

Spin arounds of the sprites.
Content
Content2
Why It's Good For The Game

TG is on a crusade to delete old sprites, or whatever. Someone has to do this at some point.
Changelog

cl
imageadd: New and updated maid costume sprites
/cl

* Maid costumes, the respritening

Co-authored-by: Halcyon <81479835+Ebin-Halcyon@users.noreply.github.com>
2022-04-03 15:33:21 +01:00
Gandalf
6c3a287fed Upstream merge 65642 (#12446)
* Extra-large painting canvases: 36x24 and 45x27

* Update paintings.dm

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2022-04-01 01:08:55 +01:00
OrionTheFox
b0f9698d69 Removes most sec reskins so that its all one style instead of 3 conflicting ones (#12175)
* begone, vile palette (redo red scrubs)

* begone, sprite issues! (redo one of the sec-sunglasses)

* begone, unused sprites/items!

* (same as last)

* makes more sense

* no more skirts

* no longer needed

* re-does the security vendor overrides better

* adds old alts of sec gear (for admims/mappers)

* emissives fun!!

* secmed gives me aneurisms

* digi-tize

* commits the cardinal sin

* also fix some palettes while im here

* these are broken anyways

* oops

* Revert "these are broken anyways"

This reverts commit 4941f14b3141e7e78cae1a88908d40a597c3af9d.

* missing icons + reskin fix + adjust fix + blue cap variant

* reskin woes

* i hate medic

* begone, redsec

* iconsss

* Apply suggestions from code review that I did so I can see my changes better

* icon fixes

* removes redundant HoS Formal Suits

* i hate maps

* sec medic kiiinda better

* fix eror

* tgu===

* conflict fix 2

* woo woo woo fix3

* what a silly funny little typo

* red to redsec, easy to search

* fuck you CDO

* i need to stop trying to sprite

* goodbye redsec vendors!!

* one spray of red-away

* bye red! (sprites nyi so not bye yet)

* conflict fix

* few more redsec killings

* what do i even say about this its literally peter griffin

* bye red bye red bye red

* Apply suggestions from code review

* repair icons

* Apply suggestions from code review

* i forgor
2022-03-27 23:01:49 +01:00
SkyratBot
58e94861c2 [MIRROR] [MDB IGNORE] 3/4th medkit sprites + firstaid > medkit [MDB IGNORE] (#12034)
* [MDB IGNORE] 3/4th medkit sprites + firstaid > medkit

* Update storage.dm

Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-03-13 22:07:44 +00:00
jjpark-kb
f84efe2636 production/fishing skills, forge/ceramics/glassblow cleanup (#11795)
* production/fishing skills, forge/ceramics/glassblow cleanup

* forgot this, more benefits

* idk why this fails ci, even though it says it defaults to type

* some changes

* the fix

* right clicking hammer anvil works now
2022-03-08 16:46:41 +00:00
SkyratBot
c81fc69c38 [MIRROR] Resprites The Detective, Blueshift and Constable Outfits [MDB IGNORE] (#11786)
* Resprites The Detective, Blueshift and Constable Outfits (#65190)

imageadd: The detective outfits, the blueshift uniform and the constable outfits have been redone!

* Resprites The Detective, Blueshift and Constable Outfits

Co-authored-by: Imaginos16 <77556824+Imaginos16@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-03-06 13:22:56 -05:00
SkyratBot
e92a995068 [MIRROR] Medical Revamp: Resprites and Jumpsuit/Under Changes [MDB IGNORE] (#11864)
* Medical Revamp: Resprites and Jumpsuit/Under Changes (#65236)

New sprites for the CMO's turtleneck/skirtleneck, paramedic jumpsuit/jumpskirt, virologist jumpsuit/jumpskirt, and chemist jumpsuit/jumpskirt

* Medical Revamp: Resprites and Jumpsuit/Under Changes

* fix

Co-authored-by: axietheaxolotl <86872535+axietheaxolotl@users.noreply.github.com>
Co-authored-by: jjpark-kb <55967837+jjpark-kb@users.noreply.github.com>
2022-03-05 14:22:00 -05:00
ErdinyoBarboza
a4a41fb216 modularize (#11876) 2022-03-04 11:04:09 -05:00
SkyratBot
ddfc30c89c [MIRROR] Adds Moth Fashion [MDB IGNORE] (#11612)
* Adds Moth Fashion

* skyrat fix

Co-authored-by: Mickyan <38563876+Mickyan@users.noreply.github.com>
Co-authored-by: jjpark-kb <55967837+jjpark-kb@users.noreply.github.com>
2022-02-20 21:10:39 +00:00
SkyratBot
88e86cf1a0 [MIRROR] Fixes issues found by new switch lints [MDB IGNORE] (#11454)
* Fixes issues found by new switch lints (#64766)

Very nice addition to sdmm.

* Fixes issues found by new switch lints

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2022-02-11 10:33:17 +00:00
SkyratBot
b2cc74a77e [MIRROR] Fixes layering issues brought by the FoV PR. [MDB IGNORE] (#11411)
* Fixes layering issues brought by the FoV PR.

* Update code/__DEFINES/layers.dm

* Update code/modules/mob/living/living_defines.dm

* Update code/modules/mob/living/simple_animal/hostile/venus_human_trap.dm

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-02-10 02:51:52 +00:00
SkyratBot
b45221cfa1 [MIRROR] Tgui input refresh [MDB IGNORE] (#11290)
* Tgui input refresh

* Update code/modules/mob/dead/observer/observer.dm

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-02-06 23:08:19 -05:00
SkyratBot
01bcfd8742 [MIRROR] Refactors pay stands + custom vendors [MDB IGNORE] (#11177)
* Refactors pay stands + custom vendors (#63889)

I am disgruntled by the way pay stations work. They're not intuitive, they're a pain to build and have no interface. Basically: They don't get made, and the potential is lost.

Pay stands => Holopay

    Summoned by right clicking your ID
    Disappears if the card is out of range.
    New TGUI window that offers more customization

Other bundled fixes:

    Custom vendors become more user friendly
    Code improvement
    Lots of documentation + refactoring
    New bundled number input will likely take place of animated number in tgui input number

Why It's Good For The Game

More RP opportunity for players, plus bug fixes. It's now much easier for players to start their own in game business selling substances clown shoes.
Changelog

cl
code: Created a new input component that accepts only integers. More usage to come.
refactor: Pay stands are now holographic. It's 2562! Create one by right-clicking your ID.
del: Circuit boards for pay stands.
refactor: Pay stands now have their own TGUI.
fix: Custom vendors now alert you when someone makes a purchase.
fix: Custom vendors now place items in your hand when you make a purchase.
/cl

* Refactors pay stands + custom vendors

* I edited these maps in a text editor

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-02-02 17:59:18 +00:00
SkyratBot
8e753ea91b [MIRROR] Adds blue shoes to the MediDrobe. [MDB IGNORE] (#11122)
* Adds blue shoes to the MediDrobe. #64492

About The Pull Request
Adds the blue shoes, which paramedics start with but are seemingly otherwise unobtainable, to the wardrobe that has the rest of their starting outfit in it.

Why It's Good For The Game
Currently, paramedics have no way to replace their shoes, or get them if they change their job to paramedic, other than making fake ones using a washing machine and crayon. Also, they look a hundred times better than white shoes when I'm wearing blue medical scrubs as a doctor, which is the main reason I made this PR.

Changelog
🆑
add: Added blue shoes to the MediDrobe.
/🆑

* Adds blue shoes to the MediDrobe.

Co-authored-by: Donpedrito <pedro.storch@gmail.com>
2022-01-30 02:00:57 +00:00
SkyratBot
fe7c4da2a7 [MIRROR] Boritos: Now with different flavors and available at vendors + Ready Donkmeal Trash Sprite uplift [MDB IGNORE] (#10984)
* Boritos: Now with different flavors and available at vendors + Ready Donkmeal Trash Sprite uplift (#64238)

Boritos finally decided to start supplying the station with their cornchips. This PR comes with 4 flavors of boritos that can be bought from vendors as well as a slight uplift for the sprite of Ready Donkmeal's trash variant, making it actually look like trash rather then a pristine box.

Also hey if you walk on boritos packages they pop! Thats cool right?

* Boritos: Now with different flavors and available at vendors + Ready Donkmeal Trash Sprite uplift

Co-authored-by: ErdinyoBarboza <erdinyobarboza@gmail.com>
2022-01-26 18:38:07 +00:00
SkyratBot
430ed57f69 [MIRROR] Vending Machine no gravity fix [MDB IGNORE] (#10982)
* Vending Machine no gravity fix (#64379)

Vending machines will no longer tilt onto people if there is currently no gravity experienced by it.

* Vending Machine no gravity fix

Co-authored-by: SMOSMOSMOSMOSMO <95004236+SmoSmoSmoSmok@users.noreply.github.com>
2022-01-25 16:48:03 +00:00
SkyratBot
f444c5038b [MIRROR] Semkis and Pistachios! Come get your snacks + Snack Items Name Fixes [MDB IGNORE] (#10956)
* Semkis and Pistachios! Come get your snacks + Snack Items Name Fixes (#64276)

Snack time

* Semkis and Pistachios! Come get your snacks + Snack Items Name Fixes

* Fix (#10960)

Co-authored-by: ErdinyoBarboza <erdinyobarboza@gmail.com>
2022-01-24 13:33:13 -05:00
SkyratBot
3d2f115dbf [MIRROR] Fixes + expands vending machine returned purchases [MDB IGNORE] (#10954)
* Fixes + expands vending machine returned purchases (#64314)

Fixes vending machine returns, also makes it so you can return anything to (nearly) any vending machine. New stuff vends first. Secondhand stuff last.

* Fixes + expands vending machine returned purchases

Co-authored-by: cacogen <25089914+cacogen@users.noreply.github.com>
2022-01-24 13:30:08 -05:00
SkyratBot
14aafb6399 [MIRROR] Drinking root beer increases your fire-rate; Adds root beer [MDB IGNORE] (#10801)
* Drinking root beer increases your fire-rate; Adds root beer

* Drinking root beer increases your fire-rate; Adds root beer

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-01-20 03:25:07 +00:00
SkyratBot
b57658d388 [MIRROR] Tidies up Clothesmate: h3h3 shirt removal [MDB IGNORE] (#10631)
* Tidies up Clothesmate: h3h3 shirt removal (#63997)

del: Removed podcaster reference shirt.

* Tidies up Clothesmate: h3h3 shirt removal

Co-authored-by: carshalash <carshalash@gmail.com>
2022-01-12 12:58:02 +00:00
SkyratBot
daddf8ead0 [MIRROR] Stops vending machines from runtiming when broken [MDB IGNORE] (#10616)
* Stops vending machines from runtiming when broken (#63888)

* fix

* review

* Stops vending machines from runtiming when broken

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
2022-01-12 02:24:03 +00:00
SkyratBot
85baa14367 [MIRROR] Fixes cyborgs being able to right a vending machine from any distance [MDB IGNORE] (#10589)
* Fixes cyborgs being able to right a vending machine from any distance #63887

* Fixes cyborgs being able to right a vending machine from any distance

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
2022-01-11 12:52:13 +00:00
SkyratBot
8a247e37c9 [MIRROR] adds the three missing (non-cursed) animal masks to the autodrobe, reenables speech modification for most animal masks [MDB IGNORE] (#10567)
* adds the three missing (non-cursed) animal masks to the autodrobe, reenables speech modification for most animal masks (#63824)

* adds the three missing (non-cursed) animal masks to the autodrobe, reenables speech modification for most animal masks

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
2022-01-10 17:54:35 +00:00
SkyratBot
3a1b25acc9 [MIRROR] Adds a new toy: The Captain's Aid [MDB IGNORE] (#10520)
* Adds a new toy: The Captain's Aid (#63833)

Co-authored-by: John Willard <53777086+JohnFulpWillard@ users.noreply.github.com>
Co-authored-by: Fikou <23585223+Fikou@ users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Adds a new toy: The Captain's Aid

Co-authored-by: FernandoJ8 <80640114+FernandoJ8@users.noreply.github.com>
Co-authored-by: John Willard <53777086+JohnFulpWillard@ users.noreply.github.com>
Co-authored-by: Fikou <23585223+Fikou@ users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
2022-01-08 02:41:07 +00:00
SkyratBot
092e534e75 [MIRROR] TGUI list conversions + bug fixes [MDB IGNORE] (#10355)
* TGUI list conversions + bug fixes

* Fixing conflicts

* Maintaining a few modular files while we're at it...

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-01-03 22:53:58 +00:00
SkyratBot
119356e97f [MIRROR] Fixes Massive Radio Overtime, Implements a Spatial Grid System for Faster Searching Over Areas [MDB IGNORE] (#10107)
* Fixes Massive Radio Overtime, Implements a Spatial Grid System for Faster Searching Over Areas

* no spamming pings for upstream :(

* E

* E

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-12-23 03:06:56 +00:00
SkyratBot
af66bb2f3e [MIRROR] Adds moth seeds to seedvend and various moth food fixes [MDB IGNORE] (#10170)
* Adds moth seeds to seedvend and various moth food fixes (#63352)

* Eob you dork. Thanks for the moth drinks.

* this too.

* Update megaseed.dm

* Cooked pasta sheets instead of raw.

* Pepper

* Update misc.dm

* mmmh webedit :drooling:

* Update megaseed.dm

* Adds moth seeds to seedvend and various moth food fixes

Co-authored-by: carshalash <carshalash@gmail.com>
2021-12-21 19:02:42 +00:00
SkyratBot
f64e20590a [MIRROR] TGUI input box conversions 2 [MDB IGNORE] (#10089)
* TGUI input box conversions 2 (#63395)

More text inputs converted to tgui, TGUI text and number input now more sanely handles ENTER key being pressed, you can now press anywhere in the window to enter the input. TGUI text input now considers placeholder text for the default valid state. IE, if there is default text you can press enter immediately without having to rewrite it just to recheck validity. Fixes: useSharedState => useLocalState. not only was sharedstate not needed but it opened up the ui to vulnerabilities

* TGUI input box conversions 2

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
2021-12-15 23:57:40 +00:00
Gandalf
0e77ce9596 New Security Drip! :) (#9963)
* New security sprites :)

* Update security_belt.dm

* more uppendat

* E

* E

* Update security_head.dm

* Update wardrobes.dm

* Update wardrobes.dm

* Wooo

* Eeee

* E

* E

* EEE

* E

* Update belts.dmi

* Update security.dm
2021-12-15 01:31:14 +00:00
SkyratBot
2c8be89114 [MIRROR] Moth Food Returns: A Taste of the Fleet [MDB IGNORE] (#9985)
* Moth Food Returns: A Taste of the Fleet (#63174)

* Moth Food Returns: A Taste of the Fleet

Co-authored-by: EOBGames <58124831+EOBGames@users.noreply.github.com>
2021-12-10 21:52:20 +00:00
SkyratBot
e5276a2c6f [MIRROR] Paintings improvements. [MDB IGNORE] (#9977)
* Paintings improvements. (#63170)

About The Pull Request

    Paintings can now do stroke painting.
    Added painting management panel for admins.
    Paintings now display author's character name, year of painting, medium and patron when hung on wall.
    You can become new patron by paying more than the previous one.
    Added painter's palettes to library vendor. (Sprites by @ Mickyan )

Backend changes:

    Images are now stored in /data/paintings/images/*.png instead of /data/paintings/[category]/*.png
    Old categories are now just tags

Screens & Video
Changelog

cl
add: You can now become patron of your favorite painting by buying sponsorship from Nanotrasen Trust Foundation.
add: Painter's palettes are now available at library vendor.
qol: Can use strokes in paintings now
/cl

* Paintings improvements.

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2021-12-09 16:47:52 -05:00
SkyratBot
463c2fc71d [MIRROR] multiz movement refactor redux [MDB IGNORE] (#9925)
* multiz movement refactor redux (#62132)

* multiz movement refactor redux

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-12-07 08:27:12 -05:00
SkyratBot
86880cfc23 [MIRROR] Adds Pride Pins [MDB IGNORE] (#9839)
* Adds Pride Pins (#62987)

* I love gay

* Update accessories.dm

* fix conflicts

* Apply suggestions from code review

Co-authored-by: bawhoppen <Bawhoppen@ users.noreply.github.com>

* Update accessories.dm

* ok

Co-authored-by: bawhoppen <Bawhoppen@ users.noreply.github.com>

* Adds Pride Pins

Co-authored-by: AxieTheAxolotl <86872535+axietheaxolotl@users.noreply.github.com>
Co-authored-by: bawhoppen <Bawhoppen@ users.noreply.github.com>
2021-12-03 11:07:02 +00:00
SkyratBot
aefaa7e228 [MIRROR] Re-paths and changes the worn layer of GAR glasses [MDB IGNORE] (#9736)
* Re-paths and changes the layer of GAR glasses (#63009)

Re-paths GAR glasses to make them subtypes of each other, where applicable.
Re-names some of the icon states, to make it clearer as to what they are.

Changes the alternate_worn_layer to make them show over hair, rather than under. (Muh reference)

Subtypes good. Being able to see what you're wearing properly also good.

* Re-paths and changes the worn layer of GAR glasses

* Feex

Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2021-11-28 01:10:36 +00:00
SkyratBot
d3692922ef [MIRROR] Donuts found in sec vendors and boxes can now be used to make glazed donuts [MDB IGNORE] (#9559)
* Donuts found in sec vendors and boxes can now be used to make glazed donuts (#62910)

* Donuts found in sec vendors and boxes can now be used to make glazed donuts

* Hopefully fixes CI

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2021-11-23 12:02:47 -05:00
SkyratBot
d0a9c24bbd [MIRROR] A step up: The Lawyer Suit Resprite! [MDB IGNORE] (#9642)
* A step up: The Lawyer Suit Resprite! (#62961)

Co-authored-by: Changelogs <action@ github.com>

* A step up: The Lawyer Suit Resprite!

Co-authored-by: Imaginos16 <77556824+Imaginos16@users.noreply.github.com>
Co-authored-by: Changelogs <action@ github.com>
2021-11-23 09:53:08 -05:00
SkyratBot
3154627354 [MIRROR] Yee-haw Update: Code Spaghetti Western Edition [MDB IGNORE] (#9603)
* Yee-haw Update: Code Spaghetti Western Edition

* Feex?

Co-authored-by: Farquaar <44147031+Farquaar@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2021-11-22 14:29:53 +00:00
RatFromTheJungle
db74c849ff [NONMODULAR] Fixes the clothesmate having 0 stock of two items. (#9297)
* remove here

* move this here

* Update clothesmate.dm

* Update clothesmate.dm

* Update clothesmate.dm
2021-11-16 23:46:04 +00:00
SkyratBot
b517806be1 [MIRROR] Da plate update: New plate sizes and breakable plates. [MDB IGNORE] (#9496)
* Da plate update: New plate sizes and breakable plates (#62804)

About The Pull Request

This PR adds small and large plates and allows you to break plates by throwing them.

bild
bild
Why It's Good For The Game

Having larger plates allows you to more easily run the buffet gimmick as you can fit more items on the large plates.

Having large plates also allows for more space for creative food plating.

The small plates lets the chef serve small food items such individual cake slices without the plate looking mismatched.

Plate breaking improves immersion and allows unsavoury characters such as mimes and syndicates to stir up trouble.
Changelog

cl
expansion: Small and large plates have been added to the kitchen vend.
expansion: Plates will now break when thrown.
/cl

* Da plate update: New plate sizes and breakable plates.

Co-authored-by: Krysonism <49783092+Krysonism@users.noreply.github.com>
2021-11-16 15:56:51 -05:00
SkyratBot
71b5f92eda [MIRROR] [MDB IGNORE] dir sanity, primarily on WALLITEMs [MDB IGNORE] (#9315)
* [MDB IGNORE] dir sanity, primarily on WALLITEMs (#62601)

About The Pull Request

Wall items mostly use the direction from the floor to the wall in the named mapping helper. Wall items mostly use the direction from the wall to the floor for the internal dir variable.

This leads to a headache when it comes to working out what conflicts with what, and what needs placing where.

Wall frames provided a member, inverse, which specified whether or not to invert the direction of the item when looking for conflicts. It was also used to specify whether to look for conflicts outside of the wall (cameras and lights appear external to the wall) or inside the wall (most wall items). This flag was set for Intercoms, APCs, and Lights. Since APCs and Lights expect a floor-to-wall direction, and Intercoms expect a wall-to-floor direction, this means that APCs and Lights were getting the correct direction, and Intercoms were getting the wrong direction.

Some implications of this setup were:

    You could build an APC on top of another wall item, provided there was nothing external attached to the wall and the area didn't have an APC.
    You could stack Intercoms indefinitely on top of the same wall, provided you weren't in a one-tile wide corridor with something on the opposite wall.

Or both! Here's twenty Intercoms placed on the wall, and a freshly placed APC frame after placing all Intercoms and deconstructing the old APC:

endless-stack-of-intercoms

Not everything used this inverse variable to adjust to the correct direction. For example, /obj/machinery/defibrillator_mount just used a negative pixel_offset to be visually placed in the correct direction, even though the internal direction was wrong, and never set! This also let you stack an indefinite number of defib mounts on the same wall, provided it wasn't a northern wall... except you could do this to northern walls too, since defibs weren't considered a wall item for the purposes of checking collisions at all!

Ultimately, every constructable interior wall item either used this inverse variable to adjust to the correct placement, set a negative pixel_offset variable to have its offset adjusted to the correct placement, or overrode New or Initialize to run its own checks and assignment to pixel_x and pixel_y!
Inventory: Table of various paths, related paths, and the adjustments they used

Unfortunately, untangling /obj/structure/sign is going to be another major headache, and this has already exploded in scope enough already, so we can't get rid of the get_turf_pixel call just yet. This also doesn't fix problems with the special 2x1 /obj/structure/sign/barsign.

Some non-wall items have been made to use the new MAPPING_DIRECTIONAL_HELPERS as part of the directional cleanup.

tl;dr: All wall mounted items and some directional objects now use the same direction that they were labelled as. More consistent directional types everywhere.
Why It's Good For The Game

fml
Changelog

cl
refactor: Wall mounted and directional objects have undergone major internal simplification. Please report anything unusual!
fix: You can no longer stack an indefinite amount of Intercoms on the same wall.
fix: Defibrillator Mounts, Bluespace Gas Vendors, Turret Controlers, and Ticket Machines are now considered wall items.
fix: Wall mounted items on top of the wall now consistently check against other items on top of the wall, and items coming out of the wall now consistently check against other items coming out of the wall.
fix: The various directional pixel offsets within an APC, Fire Extinguisher Cabinet, Intercom, or Newscaster have been made consistent with each other.
fix: The pixel offsets of Intercoms, Fire Alarms, Fire Extinguisher Cabinets, Flashers, and Newscasters have been made consistent between roundstart and constructed instances.
fix: Constructed Turret Controls will no longer oddly overhang the wall they were placed on.
qol: Defibrillator mounts now better indicate which side of the wall they are on.
fix: Some instances where there were multiple identical lights on the same tile have been fixed to only have one.
/cl

* [MDB IGNORE] dir sanity, primarily on WALLITEMs

* apc directionals

* bluespace vendor fix

* defib fix

Co-authored-by: esainane <esainane+github@gmail.com>
Co-authored-by: jjpark-kb <55967837+jjpark-kb@users.noreply.github.com>
2021-11-10 17:17:26 -05:00
SkyratBot
98428cdfb5 [MIRROR] Replaces a portion of C-style for loops with the more commonplace for loops, which are faster. [MDB IGNORE] (#9298)
* Replaces a portion of C-style for loops with the more commonplace for loops, which are faster.

* Update code/modules/projectiles/boxes_magazines/_box_magazine.dm

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
Co-authored-by: jjpark-kb <55967837+jjpark-kb@users.noreply.github.com>
2021-11-08 10:50:29 -05:00
SkyratBot
95e988a156 [MIRROR] Fixes emissive appearances of vending machines being removed when the wire panel is opened/closed [MDB IGNORE] (#9280)
* Fixes emissive appearances of vending machines being removed when the wire panel is opened/closed (#62592)

Replaces a cut_overlays() call with cut_overlay(panel_type) EDIT: moved the panel overlay to the update_overlays proc

* Fixes emissive appearances of vending machines being removed when the wire panel is opened/closed

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-11-06 19:31:11 -04:00
SkyratBot
e90627be0e [MIRROR] Modernizing Radiation -- TL;DR: Radiation is now a status effect healed by tox healing, and contamination is removed [MDB IGNORE] (#9176)
* Modernizing Radiation -- TL;DR: Radiation is now a status effect healed by tox healing, and contamination is removed

* Fixing conflicts

* Makes it compile, yeet all the RAD armor from everywhere (thanks RegEx!)

* Removing more lingering rad armor (woo)

* Damnit powerarmors

* Bye bye rad collectors!

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2021-11-02 10:36:46 -04:00
SkyratBot
a498651560 [MIRROR] Vending machine panel icon reorganization [MDB IGNORE] (#9112)
* Vending machine panel icon reorganization

* Fixing merge conflict

Co-authored-by: Mickyan <38563876+Mickyan@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2021-10-29 23:33:47 +13:00
SkyratBot
7954d664a8 [MIRROR] removes double spaces before symbols [MDB IGNORE] (#9117)
* removes double spaces before symbols (#62397)

This can apparently cause some bugs on occasions, so I thought I might as well try to kill them all.

* removes double spaces before symbols

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2021-10-29 04:14:00 +01:00
SkyratBot
08600c662c [MIRROR] Moves 3 vars related to vending machines, from /atom to /obj/item [MDB IGNORE] (#9033)
* Moves vending prices from /atom to /obj/item (#62243)

* Moves 3 vars related to vending machines, from /atom to /obj/item

* Lazily removes some lines in a funky IDE of my choosing.

Removes all instances of custom_price and custom_premium_price within maps to prevent compilation errors due to invalid vars.

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: Kat <evesovereign@hotmail.co.uk>
2021-10-27 06:35:59 +01:00
SkyratBot
4c58582ef1 [MIRROR] Adds art stuff to the library games vendor [MDB IGNORE] (#8983)
* Adds art stuff to the library games vendor (#62253)

* added game vendor art stuff

* spaces, ai canvas to premium

* Adds art stuff to the library games vendor

Co-authored-by: Mickyan <38563876+Mickyan@users.noreply.github.com>
2021-10-23 00:25:31 +01:00
SkyratBot
13d38add93 [MIRROR] Repaths knives to not all be children of the kitchen knife. [MDB IGNORE] (#8843)
* Repaths knives to not all be children of the kitchen knife.

* Fix

Co-authored-by: itseasytosee <55666666+itseasytosee@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-10-23 00:07:08 +01:00