Commit Graph

3516 Commits

Author SHA1 Message Date
EgorDinamit
801e32b397 Merge branch 'master' into master 2020-02-17 09:19:15 +04:00
Emmett Gaines
9e34b3d6a1 Supports named arguments in AddComponent and AddElement (#49098)
AddComponent/AddElement now support named arguments. This requires passing around an argument list instead of using actual proc args which a bit gross but we can blame byond for forcing this.

InheritComponent uses mirrored init arguments instead of an argument list which means no more accessing it via index to get to the same arguments as in init.

As a small bonus I restructured dcs defines to be a bit more manageable. Mainly just splits them into separate files and gives them their own folder.
2020-02-17 17:57:52 +13:00
EgorDinamit
be5df32fe1 Update ghost_role_spawners.dm 2020-02-14 12:33:03 +04:00
EgorDinamit
b39fc74589 Merge branch 'master' of git://github.com/tgstation/tgstation into tgstation-master 2020-02-13 22:49:10 +04:00
Mickyan
0b3e1b524a Functional headphones (#48908)
* headphones

* adds element for mob icon updates

* corrects some "user" errors, literally

* now using signals

* removes extra space
2020-02-13 16:38:15 +01:00
EgorDinamit
36c6bf443a Probably the last update 2020-02-13 12:25:33 +04:00
EgorDinamit
7ce6bad46c Update 2020-02-13 11:57:11 +04:00
EgorDinamit
e1d7000117 Update-update 2020-02-12 23:56:26 +04:00
EgorDinamit
e8e87d4497 Merge pull request #1 from tgstation/master
Updating fork, because I don't know other ways.
2020-02-12 13:43:23 +04:00
Qustinnus
d646e37bae Bepis design: Table with wheels part 2: electric boogaloo (#49010)
* WHEELS

* design

* epic

* rolling table fixes

* test

* dumb

* 1`

* fix
2020-02-11 20:15:05 -05:00
EgorDinamit
b60d8804fd Updated all needed files 2020-02-11 22:58:28 +04:00
EgorDinamit
97d8295309 Updating forgotten ship ruin 2020-02-11 21:11:22 +04:00
cacogen
9436ed69a8 Makes abductor baton child of stun baton (#48766)
* Makes abductor baton child of stun baton


- Clarify var names and reorder vars in baton defines
- Slightly simplify active baton wash code

* forget about ()
2020-02-07 14:53:14 +01:00
skoglol
a28b24f149 Completely removes cloning (#48668)
* Removed from code

* Removes cloners from maps

* Some more references, now compiles.

* Reduces availability of replica pods

* DNA scanner and tech disk rebranding

* pubby door name, cargo pack description
2020-02-04 16:04:06 -05:00
Jordan Brown
c0e897fe59 Merge pull request #49048 from 81Denton/trophycase
Fixes constructed display cases starting with an alarm system
2020-02-04 11:09:10 -05:00
Emmett Gaines
ab3a127295 Makes the global materials lookup lazily initialized 2020-02-03 10:17:13 -05:00
MrPerson
12eecfd181 Makes raw HTML and browser datum popups UTF-8 aware (#49066)
* Makes raw HTML and browser datum popups UTF-8 aware

Admin menus specifically really shouldn't break just because you named some guy "☺s the Clown"

* Fixed new_player.dm

* Fucking filing cabinets
2020-02-01 22:14:31 +01:00
itseasytosee
165602d45a Plastic Ducks (#48885)
Nanotrasen has just come out with a new clown tech design, Plastic Duckys™. Move aside expensive rubber donk.co and waffle.co brand duckies. These quality* made ducks are fabricated at our finest research stations with industrial-grade** protolathes. Made from chemically processed plastics from our expert*** chemists!
Plastic ducky
Why It's Good For The Game

plastic uses are neato. This may be controversial as it ads a potentially unlimited source of honks but if people think this is really an issue then I would consider adding a bananaium cost that would make it on par with other printable honk items.
Changelog

🆑 itseasytosee
add: Nanotracen is beginning to dabble in toy-making technologies. Clown tech now adds a design for a cheap alternative to rubbers ducks made from plastic.
/🆑
2020-01-29 11:57:57 +13:00
Qustinnus
83d8030bea You can no longer build tables from rods or floor tiles (#48585)
🆑 floyd
fix: You can no longer dupe mats by making tables from rods
/🆑

apparently you could use rods and floor tiles to finish tables, now you can only use sheets.

fixes #48547
2020-01-29 11:40:59 +13:00
ShizCalev
86b1d134ee Merge pull request #49033 from Names-Are-Hard/borg-barrier-fix
Allows borgs and various other things through medical holobarriers
2020-01-28 04:50:32 -05:00
spookydonut
ac7f2b5166 Fix Crossed/Entered/Exited/Bump/ui_act parameter casting (#49016)
About The Pull Request

Detected as part of my work on SpaceManiac/SpacemanDMM#167
2020-01-28 10:51:15 +13:00
Names Are Hard
4da5445620 Nonhuman things can now move through the barrier 2020-01-27 12:13:49 -08:00
Denton
ceb4b5b76e Fixes constructed display cases 2020-01-27 08:49:17 +01:00
Names Are Hard
6fb3c0dfdd Adds check to allow silicons through med barriers 2020-01-26 21:26:18 -08:00
Rohesie
cb9c710b5d Icon fix (#48972) 2020-01-24 21:40:06 -05:00
MrPerson
26093e5ac2 Further update_icon splitup (#48784)
* Further update_icon splitup

After this there'll be just under 100 old update_icon() calls that need fixing.

* Thanks Travis
2020-01-22 10:18:05 -05:00
Dennok
79b7b5030b closet block reach (#48682)
Now closets block interaction with storages in contents.
2020-01-21 20:20:14 +01:00
AnturK
258c759e16 Adds some votebox sanity. (#48903)
* Adds some votebox sanity.

* By char not byte.
Closes #48901
2020-01-21 20:48:35 +13:00
skoglol
c3aa648341 Merge pull request #48767 from itseasytosee/Add_droppers
Adds droppers to medical protolathes and autolathes
2020-01-20 10:24:50 +01:00
skoglol
9a4cc4ffc3 Merge pull request #48859 from Archanial/master
Fixes stasis beds not working with operation computers
2020-01-20 10:23:11 +01:00
itseasytosee
738e970ad1 Ducks 2020-01-19 20:06:49 -06:00
Flint
2a0bf0e6cd Merge remote-tracking branch 'origin/master' 2020-01-19 19:46:35 -06:00
AnturK
bc7ea709c5 Canvas Refactor (#48834)
* Canvas Refactor

* tgui review stuff
2020-01-19 11:14:05 -05:00
Flint
33ebbc97a3 Desc fix 2020-01-18 22:28:19 -06:00
Flint
4bb0e06116 DUCKS WORK! 2020-01-18 22:16:51 -06:00
MrPerson
f7eb2c905b Unicode awareness Part 2 -- copytext() (#48512)
* Unicode support Part 2 -- copytext()

This is the transition of all copytext() calls to be unicode aware and also some nearby calls in the same functions. Most things are just replacing copytext() with copytext_char() as a terrible character limiter but a few others were slightly more involved.

I replaced a ton of
````
var/something = sanitize(input())
something = copytext(something, 1, MAX_MESSAGE_LEN)
````

with a single stripped_input() call. stripped_input() already calls html_encode(), trim(), and some other sanitization so there shouldn't be any major issues there.

This is still VERY rough btw; DNA is a mess, the status displays are complete ass, there's a copytext() in code\datums\shuttles.dm that I'm not sure what to do with, and I didn't touch anything in the tools folder. I haven't tested this much at all yet, I only got it to compile earlier this morning. There's also likely to be weird bugs until I get around to fixing length(), findtext(), and the rest of the string procs.

* Makes the code functional

* Assume color hex strings are always # followed by ascii.
Properly encodes and decodes the stuff in mob_helpers.dm which fixes some issues there.

* Removes ninjaspeak since it's unused
2020-01-18 13:07:22 +13:00
Archanial
73c6c80e96 fix 2020-01-18 00:02:20 +01:00
AnturK
424fc64c10 Fixes moruge trays mistaking radios for cloneable bodies. (#48794) 2020-01-16 20:43:27 -05:00
spookydonut
3195ceaa22 Update SpacemanDMM suite to 1.2 (#48785)
* Update SpacemanDMM suite to 1.2

* Fix new lint errors
2020-01-16 11:49:39 -05:00
AnturK
bca492823a Runtime fixes: Episode 113 (#48814)
* Fixes mood nanite settings

* Fixes yet another quirk runtime.

* Ugly paperplane fix

* Abductor armor runtime.

* cablecutting runtime

* Nukeop death runtime (were those spec deaths meant to fire on gibbing too ? )

* headpike runtime fix

* ERT outfit runtime

* bonfire oxygen runtime

* Rest of nanite updates
2020-01-16 11:16:37 -05:00
ArcaneMusic
65485b9c54 Adds a new Tech to the B.E.P.I.S., Specialized Engineering, and a new Minor Reward. (#48507)
About The Pull Request

Round 2.
image
Adds a new tech to be unlocked within the B.E.P.I.S.'s major techs, called "Specialized Engineering". Within that tech are 2 new items, Heat Resistant Rods, and the Tinker's Gloves, as well as a new minor tech, the Survival Pen.
Heat Resistant Rods:
Have you ever wanted to expand Lavaland Base? Build a lava fortress worthy of your magnificence? Well, now you can! Using Heat Resistant Rods, you can make a catwalk to cross lava tiles, as well as build atop lava, without messy methods like using the RCD!
Tinker's Gloves:
This just in engineers, insulated gloves have new competition in town! The Tinker's gloves are complicated, overdesigned gloves that, while not very shockproof, allow for faster wall girder construction. No longer will you need to die of old age walling off an area when you're out of RCD ammo! Warning: This product contains no likeness to clockwork gauntlets used by the extinct cult of Rat'Var, and any such similarity is by no means intentional.

Survival Pen:
Have you ever been stuck on lavaland, trapped by your survival pod with just a few chairs, some titanium walls, and walls of ash closing in on you? Well THANK GOD you have your Rockbreaker brand Survival Pen! Allows for basic mining operations, and is portable like a standard pen!
BUT WAIT!
A watcher blocks your path. Thankfully, your expensive, diamond encrusted pen isn't just good for being the world's slowest pickaxe, it's ALSO coated in the one thing watchers crave: DIAMONDS. Toss the pen to draw the watcher's attention elsewhere.
Why It's Good For The Game

Starts to fill our B.E.P.I.S. Major Reward Techs, as intended, and fills a niche that doesn't get much play nowadays: Building on Lavaland. This was something I've had in the back of my mind since we did the first tests of the Disaster gamemode a few months ago, so each item here was made with the intention of improving the mining base should the station become un-livable. Lava-Proof Rods are beneficial in that you'll be able to cross and build over lava by the mid-end of the shift. RCDs still work as usual, but this way you won't have to worry about getting specialized engineering equipment as a member of cargo or science. The tinker's gloves are basically a variant of the nitrile gloves, but they grant a speed bonus to adding plating to metal girders, so that some kind of functional alternative to giving every engineer insulated gloves.
Survival Pens are quite honestly very niche, but getting dumb pens with extra functionality is a tradition of trade shows all over the world, so it feels right at home as a minor reward.

Also, does a tiny change to the doe sprites, just to look a little bit less old.
Changelog

cl
add: A new Technology has been implemented as a major reward in the B.E.P.I.S., Specialized Engineering, to appeal to engineering utility and new construction horizons.
tweak: Watchers will now actively consume diamond ore left lying around, alongside the new survival pens.
/cl
2020-01-14 11:21:40 +13:00
LemonInTheDark
f4f8a686df Makes grounding rods consistent, changes the supermatters bolts a great deal. (#48472)
* Goof I will find you and I will berate you

holy hell

Calm and peaceful ahhhhh

I swear goofs pc failing was the biggest tragedy in gaming

Fixes some flags

More touchups

Now to squash

Goofs PC failing was the biggest tragady in GAMING

* Fixing some misspellings before the bee gets me

* GOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

* Full vehicle support

* Changes some flags around, "fixes" some bugs, makes being shocked less insane

* Makes spliting more reasonable, unfucks some shitty tesla code I copypasta'd into the sm, godspeed shitcode,
none noticed you.

* Removes my tesla_ignore_1 fix, another pr is up that should solve things, so we're just leaving it in for now,
gonna have to deal with merge conflicts when it gets merged, but that won't be too bad

* tfw

* Nothing to see here folks

* I'm a boomer
2020-01-10 23:25:11 +11:00
Jordie
88c11a0f23 Merge pull request #48653 from ShizCalev/door-glass-revert-fix
Fixes special airlocks that don't have glass versions reverting to normal airlocks on completion if you added glass to the frame during construction.
2020-01-10 22:01:18 +11:00
Emmett Gaines
53024590de Can pass refactor (#48659)
* Makes all CanPass procs call parent

* Makes CanPass more extendable and gives the mover a say in the matter

* Replace CanPass with CanAllowThrough to use the new system

Regex replace `(?<!proc)/CanPass\(` => `/CanAllowThrough(`

* Simple optimization pass
2020-01-08 21:31:49 +01:00
Qustinnus
8337ccac44 Fixes integrity issues related to datum mats (#48586) 2020-01-07 10:02:18 -05:00
skoglol
17f86ca12a Merge pull request #48597 from spessbandit/examination
Clicking a sign examinates it.
2020-01-07 11:03:42 +01:00
Arkatos1
e47a4022b9 MMI brain fixes (#48590)
* Base cleanup

* Finished refactor

* Bugfixing and polish
2020-01-07 10:53:12 +01:00
ShizCalev
35e4e6152b Fixes airlocks reverting to normal versions if you added glass prior to the frame's mineral 2020-01-07 00:50:21 -05:00
MMMiracles
c5447934aa conflicts 2020-01-05 09:32:12 -05:00
spessbandit
1033a02f24 Clicking a sign examinates it. 2020-01-05 01:20:39 -05:00