* 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
* 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
* 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
* DB ticket procs
* Schema changes for DB tickets
* Schema version update
* Fixes requested by Jordie
* SQL updates
Adds a recipient column
* Still one dangling issue where this DOESN'T WORK
* Alright, this should work
* Requested SQL fixes
* Rogue changes
* less bad defaults
* utf8 for the utf8 gods
* aaaaaa
* Update tgstation_schema_prefixed.sql
* Update tgstation_schema.sql
* Update database_changelog.txt
Co-authored-by: Jordie <4343468+Jordie0608@users.noreply.github.com>
* 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
Some walnut removed the paramedic spawn landmarks on Box, which according to a Reddit user causes them to spawn in random station areas (like the AI chamber).
This also indicates that SendToLateJoin(living_mob) might be broken, but I haven't tested that so far.
This should be merged quickly as it can fuck up rounds for Paramedics on Box.
Changelog
cl Denton
fix: Boxstation: Roundstart Paramedics now properly start in medbay.
/cl
This change the RCD & RPD Sprites for something way more beautiful than what it was.
Basically port : Citadel-Station-13/Citadel-Station-13#8953
Why It's Good For The Game
It look better than what we currently have.
https://imgur.com/a/gnfD6gs
Also, some idiot will complain that they will take the RPD for the RCD, they are just blind, while they have the same color scheme, they are different enough to know what is what.
And Citadel may be a ERP server, you have to admit they sometimes do some good stuff
Changelog
cl
change: Changed RCD & RPD Sprite
/cl