Commit Graph

777 Commits

Author SHA1 Message Date
vuonojenmustaturska
40657c9ccd removes a bunch of unused/bad helpers (#48969)
* a commit

* Update code/controllers/subsystem/persistence.dm

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

* Update code/__HELPERS/text.dm

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

* Update advance.dm

* Update security_officer.dm

* Update text.dm

* Update unsorted.dm

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
2020-01-28 16:22:20 +01:00
Fikou
27834b9f74 sec and med erts are now holy 2020-01-26 13:36:11 +01: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
Fikou
e86c0febf6 Highlanders can no longer be dismembered (#48761)
all of their gameplay is centered around a single claymore that can 
just be cutoff with a single hit from another guy's claymore, when 
normally as a highlander to kill you need like 3 hits, now you just 
need 1 to dismember and win
2020-01-18 22:47:16 -08: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
81Denton
d8068d5d06 hey, if you type in your pw, it will show as stars (#48797)
* *********

* *******************

* genius

* replaces if/else with var
2020-01-15 20:52:34 -05:00
Rohesie
675a358b1b Moves mob stat var changes to a proc (#48760)
* set_stat

* Adds a signal.

* Signal comes before
2020-01-15 16:43:10 -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
Emmett Gaines
37a83ed511 Fixes hierophant barrier and blob structures allowing things through (#48746) 2020-01-13 17:59:30 -05:00
Fikou
8eee742734 [Ready] Adds ERP (#48699)
Adds a new emergency response team, the ERP! It stands for Emergency Response Party

the ERP includes:
-the coordinator: basically the captain of the operation, armed with a birthday cake, balloon and lots of fireworks to start the celebration
-the bouncer: the big boy, has a telebaton and an armor vest (if youre a loser you get a police hat too)
-the constructor: has tools, materials to build the party, disco tiles and an ethereal disco ball planter
-the cleaning service: your normal jannie, with his trusty mop, trash bag and cleaning grenades
-the comedian: a clown, armed with instruments, a bananium shield and chameleon suit/hat, for some comedy at the party
2020-01-12 13:31:13 +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
3ef6beb0d9 Merge pull request #48637 from Ghommie/Ghommie-tg14
Fixes traitor codewords highlight and some other hear signal hooks.
2020-01-10 22:26:18 +11:00
Arkatos1
7b543d2cf9 Valentine status effect fix (#48615)
* Automatic TGUI Rebuild [ci skip]

* Valentine fix

* Revert "Automatic TGUI Rebuild [ci skip]"

This reverts commit 0a92762a259c447b1486cef3a8a6d493dea2039b.

* Review fixes
2020-01-10 22:18:26 +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
c471f51dff Merge pull request #48647 from ShizCalev/tesla-shock-refund-fix
Fixes tesla immunity being lost if you have reactive armor and refund the lighting bolt spell / vice versa
2020-01-08 11:17:00 +01:00
Arkatos1
c1d0fe6f6b Headrev HUD fix (#48611)
* Automatic TGUI Rebuild [ci skip]

* Headrev HUD fix

* Revert "Automatic TGUI Rebuild [ci skip]"

This reverts commit 5b949eb972214592336399612e10eb812c762960.

* Proper order and cleanup

* Clean solution

* Second bugfix
2020-01-07 12:03:22 +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
Ghommie
ba9122d606 Fixes traitor codewords highlight and some other hear signal hooks. 2020-01-06 17:06:59 +01:00
actioninja
44170a8076 super important extra critical fix 2020-01-03 03:34:34 -08:00
Rob Bailey
cbad6e4de5 Contractor Uplink tgui-next overhaul (#48453)
* tgui next contractor interface

work

cleanup

more work

getting close now

final

build

more stuff for wanted messages

rebuild

spelling

* fixes

* rebuild

* fix

* disable button when contract not active or extraction enroute, disable limited when depleted
2020-01-03 11:29:38 +01:00
TheVekter
da2b817e44 [READY] Moves Genetics to the Science department and makes Gen… (#48397)
* great googly moogly it's all gone to shit

* Fixed geneticist ID, moved in job list

* This is what I get for not building

* Fixed HUD sprite

* Finalized move to R&D code areas and updated sprites

* Mapping fixes on Meta

* Boxstation's turn and some Meta fixes

* Fixing map conflicts

* Moves genetics to science

SQUASHED:

great googly moogly it's all gone to shit

Fixed geneticist ID, moved in job list

This is what I get for not building

Fixed HUD sprite

Finalized move to R&D code areas and updated sprites

Mapping fixes on Meta

Boxstation's turn and some Meta fixes

Fixing map conflicts

* lmao travis

* okay you can pass travis this time

* DeltaStation changes

* lmao access bullshit

* Kilo also a few code/sprite fixes

* Pubbystation

* Removed gondolas because people hate fun
2020-01-02 06:15:35 -08:00
cacogen
6b63bf7093 Changes $1 to 1 cr (#48414)
* $ to cr

* Payday messages use a proper span instead of asterisks
2019-12-28 16:29:36 +02:00
AnturK
8a64746062 More runtime fixes. (#48376)
* Fixes desynchronizer runtime.

* Fixes adv disease runtime.

* Disallows building with circuitboards without result. (Should this trace maybe)

* Steal objective runtime.

* Fixes scanning mindless dead.

* Fixes linked slime speech runtime.

* Fixes camera deletion runtime.

* Adds some sanity to camera swarmer act.
2019-12-27 04:24:27 +01:00
Arkatos1
b0497b3343 Spread Infestation requirement fix (#48398)
* Spread infestation fix and description update

* better desc and ordering

* Cleanup

* boolean convert
2019-12-27 02:40:06 +01:00
Iatots
89df3cf39d Cult revive rune now displays the amount of unredeemed sacrifices. (#48360)
* makes the remaining sacrifice amout clear (#39717)

* imma just do this

the problem was that the examine said "revives available" instead of "net plus of sacrifices" so I'll just rename the label to be right and add a blurb in the description.

* removes unnecessary copypaste
2019-12-23 19:00:00 -05:00
AnturK
9dd3da4445 Batch of runtime fixes. (#48268)
* Abductor implant runtime

* Point blank knockback runtime + cleanup

* dog food begging runtime

* Malf power loop runtime

* Explosive gondola pod runtime.

* Plasma shard runtime and related.
2019-12-21 18:40:10 +01:00
Ty-the-Smonk
5f9ebbe223 no more " " wizard for you (#48308) 2019-12-20 19:43:04 +01:00
skoglol
0525d59b17 Fixes catatonic soulstoning. (#48293) 2019-12-20 09:06:23 +01:00
skoglol
4a487ca803 Refactors language holder (#48106)
* Language holder refactor

* Ironed out bugs, testing

* adds sourced language, blocking list. more useful helpers.

* Replaced old usage

* Adresses requests

* Autodoc attempt #1

* Fixed monkeyize (again)

* Travis happy

* Language menu updated

* Final pass
2019-12-18 22:22:12 +01:00
Yenwodyah
a524d016f6 fix cult bola pickup effect (#48217) 2019-12-12 17:28:59 -05:00
Rob Bailey
d49c8c63c7 Tgui-next pandemic (#48074)
* pandemic

* rebuild

* flatten object

* use the correct var derp

* lint fixes + rebuild

* Rebuild tgui
2019-12-11 04:00:36 +02:00
spookydonut
175439f63a Removes unreachable code (#48143)
About The Pull Request

As detected by SpaceManiac/SpacemanDMM#123
2019-12-10 20:52:13 +13:00
skoglol
11a5ff7ecf Limit local server nukedisk spam (#48144)
Stops updating weight of the lone op spawn if the event has already 
triggered, and wont show the admin messages if there is just a single 
client connected to the server. Behaviour on live servers pre event 
spawn should not be noticeably affected.
2019-12-08 01:15:21 -08:00
Firecage
94c5676cca Updates energy resistance armour values on remaining armours and helmets. (#48067)
* Updates energy resistence on remaining armours.

* Changes Hardhat back to 10 energy armour value.
2019-12-07 00:08:54 +01:00
AnturK
d6145b9d18 Fixes readding clown mutation on traitor mind moving out 2019-12-02 11:11:28 +01:00
skoglol
acb976ac30 Adds a solo abductor option to traitor panel. 2019-11-28 10:13:00 +01:00
skoglol
036571dd7b Adds solo abductor outfit. 2019-11-28 09:59:20 +01:00
Firecage
d90f0144eb Anatomic Panacea now also cures brain traumas. (#47946) 2019-11-25 17:30:16 +01:00
Rob Bailey
b4ded1ad00 The Bomb (#47929)
I spent a ridiculous amount of time on this.

Arm order now works like:
input disk
input nuke code, press E
input time, press E
press ARM to activate
press ARM again to deactivate (with disk)
press C to clear code input while ready but not armed
2019-11-25 11:50:52 +02:00
skoglol
64dd1b200d Fixes changeling hivemind link (#47849)
* Hivemind link now properly requires a stranglehold

* fix

* too much salbu
2019-11-24 19:22:56 +01:00
Rob Bailey
a6c28db6a7 Some small random tgui-next uis (#47712)
* dna vault

* engraved messages

* holodeck

* fix

* remove unusued imports

* spawners menu

* small tweak

* </b>

* rebuild
2019-11-21 04:22:54 +00:00
ShizCalev
31ec5e4142 Fixes travis issue 2019-11-19 00:42:18 -05:00
skoglol
9e7284a925 Ling clothes delete properly on dismember (#47844) 2019-11-19 00:04:49 -05:00
skoglol
84c22f2c1f Biodegrade dissolves legcuffs (#47845) 2019-11-19 00:01:13 -05:00
py01
4107b625e8 You can only draw one blood rune at a time (#47717)
* you can only draw one rune at once

* oversight fix in runes
2019-11-18 18:06:05 +00:00
Emmett Gaines
5481515dff Removes the non bitflag slot defines (#47742)
Removes the non bitflag slot defines
2019-11-17 17:52:11 -08:00
Emmett Gaines
6ffc35a83b Converts gravity slowdown into a movespeed mod and removes movement_delay() (#47808)
Gravity still needs a rewrite but at least it's a speed modification now.

EDIT: And now it's the last one, goodbye movement_delay()!

cl ninjanomnom
fix: Gravity slowdown applies to all mobs instead of just humanoids
tweak: If you're floating in high gravity somehow you're no longer slowed down
/cl
2019-11-17 13:21:31 +13:00
Aleksej Komarov
e87b6c6701 Tgui error reporting, Keyboard passthrough, RPD, NtOS, Power Monitor (#47749)
* Improve tgui fatal error reporting

* Keyboard passthrough in tgui

* New Rapid Pipe Dispenser interface

* Update README with new components

* Release held keys when browser window loses focus

* Power Monitor Interface, NtOS theme and core components

* Yet another CSS rework

* Fix Table, Chart stubs for IE8

* NtOS Main interface

* Supermatter Monitor interface

* Tweak NT color, color + sort gas bars
2019-11-16 04:02:33 -08:00
carlarctg
b64de90572 Corazone renamed to Higadrite, adds replacement chemical for abductors and fixes heart disease (#47776)
* liver

* a

* 《 Verified webedit  》
2019-11-15 17:56:20 -05:00