Commit Graph

2050 Commits

Author SHA1 Message Date
spookydonut 319ca52545 removing unnecesary double parent proc calls (#49694)
* removing unnecesary double parent proc calls

* i made an oopsie
2020-03-05 18:51:37 +08:00
Rob Bailey 1aeb72b2a9 Better glowing lights (#49454)
* better glowy lights

* phase 2

* some doc comments

* working emissive blocking

* flag so these rotate correctly

* full brightness screens

* doc comments and rename

* better doc comments

* stub overrides

* better autodoc format

* Update code/game/atoms_movable.dm

Co-Authored-By: Emmett Gaines <ninjanomnom@gmail.com>

* Update code/modules/lighting/emissive_blocker.dm

Co-Authored-By: Emmett Gaines <ninjanomnom@gmail.com>

* render target defines for all planes

* update proc for emissive blocker

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
2020-03-03 11:50:19 -05:00
Arkatos1 f515a72638 Converts all remaining Malfunction verbs to action buttons (#49625)
* Base version, no custom icons

* Custom icons

* Cleanup
2020-03-02 21:36:21 +08:00
skoglol ff2f381043 Merge pull request #49612 from Mickyan/pubby_art_gallery
Adds the art gallery to Pubbystation
2020-02-29 22:51:53 +01:00
skoglol f6ec8ddf4a Merge pull request #49604 from Arkatos1/ParticleUI
tgui: Particle Accelerator
2020-02-29 21:51:24 +01:00
skoglol a0761f2952 Merge pull request #49597 from LemonInTheDark/atomize-they-said
Atomizes my sm fixes from #48935
2020-02-29 21:34:07 +01:00
LemonInTheDark d80d259ba1 ya ever just.... 2020-02-28 22:13:49 -08:00
LemonInTheDark 95f2c5c156 Cleans some stuff I lost in the transfer 2020-02-28 16:08:34 -08:00
Mickyan ab93a38e9c art gallery 2020-02-28 01:23:29 +01:00
Arkatos 929a54e47d Conflict resolution 2020-02-27 13:15:17 +01:00
LemonInTheDark df9d859da8 Fixes tesla bugs, makes code better (#49260)
* Cleans shit up, adds some upper limits on zap count, makes explosions less commen. Need to fix apc issue before
I test how it plays

* Mood, buffs and nerfs tesla

* Cherry-Picking

* eyyo

* back to basics

* aight

* broooooooooooooooooo

* adds else

* range

* fixes shit

* Sure

* Cleans shit up

* Fixes prob issue

* Gee I like this spooky guy

* I swear to god if prob picks just makes a list I am gonna blow a gasket
2020-02-27 12:06:52 +01:00
LemonInTheDark 0725fb05b0 Merge branch 'master' into atomize-they-said 2020-02-26 19:26:41 -08:00
LemonInTheDark 51a241ffc8 There's the rest 2020-02-26 18:10:35 -08:00
LemonInTheDark 93745c7097 Mood 2020-02-26 17:34:30 -08:00
LemonInTheDark 7d1b96fb6c Wew god (#49593) 2020-02-26 16:58:56 -05:00
Arkatos1 395b8cb29f Gas Turbine UI (#49485) 2020-02-25 16:21:45 +01:00
ShizCalev 7209ac3c93 Removes unnessacary math defines 2020-02-17 23:09:09 -05:00
JJRcop a1392847bd Remove ismovableatom macro (#9) 2020-02-17 15:03:16 +01:00
AnturK 52120c7728 Drops 512 support. 2020-02-17 15:01:14 +01:00
yeeyeh e14313b9e6 Adds spray-on insuls. (#48996)
* Adds spray-on insuls

* gloves go bye bye if you lose an arm

* whoops

* merge conflicts? in MY pr? its more likely than you think

now featuring Signals™

* travis you fuck

also adds feedback if you cant spray them on

* forgot to remove a commented out line

* Removes snowflake

that moment when you lose all motivation to code after getting a review so you put it off for a week and then it goes stale 5 minutes after you start working on it again

* Uncurses gloves

* formalities

thank you arcane man

* formatting fix

i swear i used the tab button but i guess i am just cursed

* thank you strange bee creature

thank you strange bee creature

Co-Authored-By: Bobbahbrown <bobbahbrown@gmail.com>

Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
2020-02-16 18:01:05 -08:00
LemonInTheDark 0112585de8 Fixes SM hell, makes some changes to how gas is handled in the SM (#49081)
* Fixes comp, makes admeme happy

* Makes spindown instant

* Comments
2020-02-16 11:25:41 +01:00
nightred 9e46901b02 Lighting night mode togglable when locked (#49359)
* night mode toggle when locked

* razel frazel tgui building
2020-02-16 17:14:57 +13:00
Arkatos b1e602f0a1 Particle Accelerator UI 2020-02-15 17:37:58 +01:00
cacogen dd7b061488 Unanchored solar assemblies go off-centre to indicate they need securing. Anchored ones centre themselves (#49303)
* Random pixel offset for unanchored solar assemblies

Set to 0 when anchored

* better var names
2020-02-12 09:29:46 -05:00
MMMiracles 3a3e4db192 MultiZ Deck Relay Tweaks (#49053)
* relays now properly update powernet when being disconnected/destroyed, doesn't use processing anymore

* parents

* no break thx
2020-02-12 13:08:18 +01:00
ShizCalev 5120db8194 Attacking the SM with an item that's stuck to you will now dust the user. (#49133) 2020-02-04 07:21:22 +01:00
ShizCalev 3055b70349 emitter cleanup and fixes (#49129) 2020-02-04 07:14:41 +01:00
blessedmulligan 54dc879f19 Cyborg spin throwing now depends on intent (#48891)
Trying this again. When *spin-ing as a cyborg, the way mobs are thrown off you depends on your intent. On help intent, they will be thrown a shorter distance from you and will never be damaged or stunned (they will still be knocked down). On harm intent, they will be thrown the current distance and will be damaged and stunned if they hit a wall or another person.

WHAT THIS ACTUALLY CHANGES:
Currently, whether or not *spin-ing will actually hurt/stun someone depends on whether or not the *spin-ing borg is emagged. This PR also reduces the range of the help intent throw, but since the knockdown happens whether or not the thrown mob hits something this is in most circumstances a cosmetic change. So, in summary, if you are a non-emagged borg in help intent the only thing this changes is you will chuck people a slightly shorter distance.
Why It's Good For The Game

This isn't exactly the most important change, but a borg should be able to control their behavior. Having damage/stun from throwing determined solely by emag-ness seems more like a hacky kludge than a legitimate design choice. Also, having the behavior of borg-throwing determined in the code for carbons is messy.
Changelog

🆑
add: The behavior of cyborg's *spin emote now changes with intent; on harm intent, it will throw its passenger farther and damage and stun them if they hit a wall or another person.
/🆑
2020-02-01 20:30:57 +13: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
AnturK b04934a0d1 Fixes runtimes & some cleanup (#48776)
* Keyless emote sanity.

* Camera bug runtime

* SM runtime

* Removes random <br>'s in atmos logs

* light spark runtime

* uranium splashing on walls runtime

* throwing clown with clown shoes runtime.

* beam rifle runtime

* Don't warn on mesageless keyless emotes.

* Fixup
2020-01-24 13:23:59 -05:00
Rohesie 7bef84f009 Mass-replacement of stat to machine_stat (#48758)
Living and machine stat vars are pretty different, one uses flags and other number-defines.
This should make some other mass-replacements and searches a bit easier.
2020-01-24 12:37:17 +13:00
Qustinnus 9e90e09597 Adds a new BEPIS design; The Mauna Mug (#48599)
🆑 Kryson & Qustinnus
add: New BEPIS design; a self heating mug
/🆑

A self-heating mug that you can get from BEPIS designs. the better the cell thats in it, the higher the max temp and the faster the temp goes up.
2020-01-23 12:56:22 +13: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
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
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
TheChosenEvilOne 46f5743499 Changes supermatter to use the new beam icon. (#48754)
Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com>
2020-01-15 16:35:42 -05:00
Buggy123 5efd5df30d Added cult major loss if Narsie is destroyed. (#48251)
* Added cult major loss if Narsie is destroyed.

* Minor corrections.

* Why did this compile?

* Minor fixes.

* Not bool

* Changed to defines as requested
2020-01-14 18:22:49 -05:00
skoglol c20c02a013 Merge pull request #48550 from wesoda25/ethereal-charging
More ways for ethereals to charge
2020-01-14 10:35:22 +01:00
s 296608f2cc better 2020-01-13 17:27:47 -05:00
AnturK 9b662fc216 Fresh runtimes. (#48697)
* fixes vox nitrogen nonsense

* Gravgen runtime

* waterbottle throw impact runtime

* capitalize runtime

* dragon locker runtime

* xenobio cam runtime

* bad define fixup
2020-01-12 00:57:39 -05:00
Fhaxaris c6759b6ceb Fixes all explicit occurrences of rand() being used incorrectly. (#48732)
It doesn't return non whole numbers just because you gave it a range of non whole numbers. So don't do that.
2020-01-12 00:20:38 -05: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
LemonInTheDark a4e2d17a42 Makes SM's radiation behave correctly (#48691)
* https://www.youtube.com/watch?v=RbFpDJsLYOU Should fix some shitcode and unintended behavior

* A classic of our times

* maxing to 0 so we don't get hell sm's

* typo

Co-authored-by: Jordie <4343468+Jordie0608@users.noreply.github.com>
2020-01-10 21:23:55 +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
skoglol 16dd9a74ac Merge pull request #48517 from SteelSlayer/sm-arcs
Changes the sprite of the supermatter's electricity arcs
2020-01-08 11:25:00 +01:00
ShizCalev 0432f132fb Fixes tesla immunity being lost if you have reactive armor and refund the lighting bolt spell / vice versa 2020-01-06 21:04:44 -05:00
skoglol 5fb2b0fb24 Fixes floodlights (#48570)
* Unfucks floodlights

* Powernet fixes
2020-01-05 19:41:39 -05:00
skoglol 04880ca76c Merge pull request #48556 from ShizCalev/caltrop-fix
Caltrop / glass / lightbulb crossing fixes
2020-01-04 21:56:26 +01:00
BadSS13Player 4b7555d6bb Update coil.dm 2020-01-03 13:15:55 +00:00
ShizCalev ea56f83e58 Caltrop / glass / lightbulb crossing fixes 2020-01-03 04:47:06 -05:00