Commit Graph

11649 Commits

Author SHA1 Message Date
MrPerson
273464ae65 Include ~ and ` too 2020-01-26 02:18:38 -06:00
MrPerson
e022407b81 Makes stuttering ignore some punctuation
Fixes #48983
2020-01-25 16:00:36 -06:00
81Denton
3849a4a42c Replica pods can show the blood DNA of injected samples (#48755)
* Replica pods notify ghosts, can show the blood DNA of injected samples

* basically im monky

* h

* removes garbo, adds hints that "blood DNA" is just the UE
2020-01-20 11:44:38 -05:00
skoglol
53e76b83cc Merge pull request #48798 from Fikou/patch-96
changes the cyborg hat blacklist to include all space helmets and the broken chameleon hat
2020-01-20 01:53:19 +01:00
skoglol
03f4a81f16 Makes husking harder, adds husk healing to instabitaluri (#48717)
* Makes husking harder, adds husk healing to isntabitaluri

* Adds amount limit to instab unhusking, removes roundstart.

* treshold define, upped instab limit, nice feedback
2020-01-19 18:32:38 -05:00
tralezab
4a48f2b9d9 adds genetic powers (theres a new one since you last looked) (#48665)
* relic file

* Revert "Merge branch 'master' of https://github.com/tralezab/tgstation"

This reverts commit 826916d87b421dbb0ebcfce7fad96e456b6d3674, reversing
changes made to a0f476d874.

* tongue spike, chem spike

* oh god github desktop is shitting and farting

* ahhhh so broken bros

* final commit before recreation

* readds sprites, makes it work and compile

* webs

* sprite readded

* web icon

* cooldown fix

* compile dammit

* review done

* early return
2020-01-19 18:29:18 -05:00
JJRcop
5b761072cb [READY] Roundstart spawning without job landmark puts you on shuttle (#48821)
About The Pull Request

Discovered via paramedics missing their start landmarks, jobs without landmarks would spawn on the last landmark to be loaded in the map. This appears to not have been intended, and they now spawn on the arrivals shuttle if available. If that fails they spawn in the error room.

I am touching job distribution code so I'd like this to be testmerged for a bit before getting merged.
Why It's Good For The Game

This is a bug in an error condition, so it will only show up if there are map bugs, which is why we haven't uncovered it for so long.
Changelog

🆑 JJRcop
fix: Jobs missing spawns will spawn on the arrivals shuttle.
/🆑
2020-01-20 10:50:36 +13:00
Mickyan
f4424ef731 Adds Thocks (#48860)
* thocks

* brought to you by cinco men
2020-01-18 22:22:37 -05:00
AnturK
ac4f25e563 Cross server comms update. (#48850)
* Makes cross server config easier to manage and lets you send messages to specific stations.

* No need for fancy copy
2020-01-18 19:04:23 -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
JJRcop
e1d3148c6f Intercom examine tells you about :i (#48809)
* Intercom examine tells you about :i

If you're close enough to them

* Intercom exmaine message different depending on proximity

* Intercom examine isn't dynamic
2020-01-17 10:59:23 -05:00
nightred
8738287f11 FIXED: Better species environment handlers, and custom race body temperature (#48569)
* species can handle enviroment differently

* forgot slimes, removed environment check was a dupe

* slimes are now fixed, cleanup

* base living getting better math also

* ethereal lowered bodytemp, raised heat damage

* plasmamen were to cold

* old language thing in my fork

* min max to base proc that is better

* added item back, better docs

* better docs, moved a vars

* moved above vars in ethereals

* natural stabilization is fixed

* resist is better

* ashlizards needed more heat

* Comment updates

* fixed a comment

* better doc comment
2020-01-16 14:30:24 -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
87aac02fcd Adds a new surgery, "Stomach Pump" (#48728)
* Fuck it, still not working but the work is at least started

* ALRIGHT we got this shit working off of existing procs now, no bloat :arm:

* Alright take 2, it's still not removing 2/3 instead of 1/10

* Alright this still isn't working fully. Thoughts?

* Attempted calling purge alone.

* Where I got before calling it tonight

* Re-adds bools.

* Alright cool, now 2/3 of the body's chemicals are being purged at a time, if this is too high, let me know.

* Renames the surgery to "stomach pump" to better match it's effects.

* Fixes leftover sprites from the organ PR, forgot to rename fully.

* FINE COBBERT
2020-01-15 16:53:44 -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
Fikou
9d2c354d36 colossus now enrages on sandstone golems (#48774)
* web edit

* f*ck

* khfldsk;hfs

* shidd :-DD
2020-01-14 20:48:04 -05:00
Fikou
0adc445b0a technically only the broken one is a bug 2020-01-15 00:34:35 +01:00
Fikou
0cdc150bc6 changes the cyborg hat blacklist 2020-01-15 00:29:41 +01:00
skoglol
3efbc75623 Fixes straight jackets (#48749)
* Fixes straight jackets

* Moves parent call
2020-01-14 15:05:41 -05:00
Emmett Gaines
37a83ed511 Fixes hierophant barrier and blob structures allowing things through (#48746) 2020-01-13 17:59:30 -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
Qustinnus
be23312096 New achievements and achievements icons (#48544)
* sdasd

* fixes

* fixed

* attempt 2

* Update skill_achievements.dm
2020-01-12 18:46:51 -08:00
zxaber
837564a41b Fixes Borg Emag Law 0 (#48729)
* Delete stale.yml

* Create stale.yml

* da fix
2020-01-12 13:06:03 -07: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
actioninja
118b95dacf mulebot fix 2020-01-10 20:05:13 -08:00
Unknown
58a2dcadbe a 2020-01-10 14:06:35 +01:00
wesoda25
030303d952 Ethereals now discharge electricity if their charge is too high (#48573)
* if this works i will be happy

* :(

* explosion

* brutemod

* george melons
2020-01-10 23:14:41 +11:00
Ghom
f94fb3f578 Fixes Light Eater not overloading borg lamps. (#48640)
* Fixes Light Eater not overloading borg lamps.

* How to fool light eater's infinite lamp cooldown: flash yourself or take a nap. 👏

* I'm an idiot.
2020-01-10 22:30:23 +11:00
Ghom
c5b5d96130 Just a few dullahans fixes. And no, it doesn't fix headless monkys yet. (#48633)
* A few dullahans fixes and QoL.

* Binary operators.
2020-01-10 22:21:20 +11:00
Jordie
09bb6a3e84 Merge pull request #48694 from Fhaxaris/turfmovespeed
Flying/Floating mobs no longer affected by turf move-speed modifier.
2020-01-10 20:42:04 +11:00
Arkatos1
fb416d9f10 Simple mob alerts (#48646)
Simple mob alerts
2020-01-09 05:53:57 -08:00
fhaxaris
53e1cad39b Flying/Floating mobs no longer affected by turf move-speed modifier. 2020-01-08 22:53:55 -06: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
e47a4022b9 MMI brain fixes (#48590)
* Base cleanup

* Finished refactor

* Bugfixing and polish
2020-01-07 10:53:12 +01:00
skoglol
eb0c16dc08 Merge pull request #48558 from ArcaneMusic/mousescience
Mice will now eat cheese slices, resulting in a mouse problem.
2020-01-07 10:28:11 +01:00
MrPerson
d5b98c4d8d Unicode support Part 1 (#48304)
* Unicode support Part 1

Makes all calls to ascii2text() and text2ascii() unicode aware as well as all calls in code/__HELPERS/text.dm.

Adds defines for the footext_char() procs to maintain 512 support.

I did some cleanup on the text helpers since a lot of them were really, really bad.

reject_bad_text() and reject_bad_name() have an arg to reject non-ascii chars which defaults to TRUE.

* Give travis a more recent beta

* Ultimate compat
Added the _char procs I was missing
Test the build instead of the version because Lummox is a goddamn moron

* Suggested fixes, removes the last of the dd_ helpers

* Reading the reference is very important!

* Minor code improvements and a comment

* Typo
2020-01-07 09:25:47 +01:00
ArcaneMusic
31ddcbd1b0 Whoops, my bad. Things were breaking so I refered to monkeycube's spawn call 2020-01-07 03:25:39 -05:00
ArcaneMusic
03557acf7c Alright this should be fine. 2020-01-07 01:28:09 -05: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
ArcaneMusic
cf03da347a Lowers the value to a more manageable 32 maximum mice, fixes config, grammar clarification 2020-01-06 04:15:57 -05:00
ArcaneMusic
f49f705ad4 Merge remote-tracking branch 'upstream/master' into mousescience 2020-01-06 03:39:53 -05:00
AnturK
e624cabe5d Fix various runtimes (#48563)
The grille one could use a lower level solution eventually. As in 
separation of simple animal attack/visuals/aftereffects but that's 
bigger refactor.

* Fixes explosion dismemberment runtime.
* Fixes removing pen from PDA runtime.
* Mulebot bullet act runtime.
* Trying to refuel plasmacutter with fuel runtime.
* Fixes grille runtime.
* Teslium reaction runtime
* lavaland elite win runtime
2020-01-04 22:13:10 -08:00
skoglol
04880ca76c Merge pull request #48556 from ShizCalev/caltrop-fix
Caltrop / glass / lightbulb crossing fixes
2020-01-04 21:56:26 +01:00
Arkatos1
127fde2606 Megafauna mobs are no longer deaf (#48538) 2020-01-04 21:01:16 +01:00
Rob Bailey
ba876548f3 Revert "[ready] Smooth-ish move rising: revengeance" (#48156)
Reverts #47817

People are complaining about motion sickness and I don't know what the issue is.
2020-01-04 23:58:31 +13:00
ArcaneMusic
cf83c4d081 Global Variable and config option 2020-01-03 22:40:24 -05:00
ArcaneMusic
05ec6a9ec9 Yeah I didn't wind up using that, whoops 2020-01-03 05:39:19 -05:00