Commit Graph

163 Commits

Author SHA1 Message Date
SkyratBot
56d4291ef6 [MIRROR] Reverts Entered() passing dir instead of old loc (#6646)
* Reverts Entered() passing dir instead of old loc (#59910)

* Reverts Entered() passing dir instead of old loc

Co-authored-by: Rohesie <rohesie@gmail.com>
2021-07-02 16:42:34 +01:00
SkyratBot
d85a02babd [MIRROR] Refactors move procs to support multitle objects (#6423)
* Refactors move procs to support multitle objects

* Update _blob.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-22 22:40:04 +01:00
SkyratBot
a757049411 [MIRROR] Toy Update (#6444)
* Toy Update (#59754)

* code

* sprite part 1

* sprites and mapping

* wa

* fix

* warden figure fix

* warden fix 2

* wahwah

* Update code/game/objects/items/toys.dm

* series

Co-authored-by: tralezab <spamqetuo2@ gmail.com>

* Toy Update

Co-authored-by: Fikou <piotrbryla@onet.pl>
Co-authored-by: tralezab <spamqetuo2@ gmail.com>
2021-06-22 22:38:42 +01:00
SkyratBot
7d1d0e1fad [MIRROR] Refactors most spans into span procs (#6315)
* Refactors most spans into span procs

* AA

* a

* AAAAAAAAAAAAAAAAAAAAAA

* Update species.dm

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-16 00:24:49 +01:00
SkyratBot
b047789758 [MIRROR] New Holidays: The Great War, D&D, and Species Celebrations (#6058)
* Add new Holidays: The Great War, D&D, and Species Celebrations (#59370)

Adds some new holidays.

    Remembrance Day is self explanatory, and falls on November 11th.
    UN Day is on the anniversary of the foundation of the UN, October 24th.
    Wizards Day is on Gary Gygax's birthday, July 27th.
    Tiziran Unification Day falls on September 1st, and is the date on which Lizards were made a roundstart race.
    The Festival of Atrakor's Might falls on June 15th, and is the date on which the Lizard visual overhaul was merged, bringing horns, frills, and spines to make lizards less bland.
    Draconic Day falls on May 3rd, and is the date on which the Draconic language was merged, heralding the rise of the Lizard metagangs (or not).
    Fleet Day is the Moths' special day, falling on Jan 19th which is the date on which Moths were merged.
    Finally, the Festival of Holy Lights is the Ethereal holiday, falling on Nov 28th, the date on which Ethereals were merged.

* New Holidays: The Great War, D&D, and Species Celebrations

Co-authored-by: EOBGames <58124831+EOBGames@users.noreply.github.com>
2021-06-01 14:45:07 +12:00
SkyratBot
cd7896c3ec [MIRROR] Pride week + rainbow floor tiles (#5917)
* Pride week + rainbow floor tiles (#59250)

Adds pride week from June 23rd to the 29th, and makes the floor tiles rainbow.

* Pride week + rainbow floor tiles

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-05-25 03:41:44 +01:00
SkyratBot
e155684bb4 [MIRROR] Refactors both taming + egg laying + animal colors into components (#5866)
* Refactors both taming + egg laying + animal colors into components (#58919)

Co-authored-by: Floyd <Floydje123@ hotmail.com>

* Refactors both taming + egg laying + animal colors into components

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Floyd <Floydje123@ hotmail.com>
2021-05-23 04:32:07 +01:00
SkyratBot
0d47e63221 [MIRROR] Mail holidays. (#5554)
* Mail holidays. (#58728)

* Mail holidays.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
2021-05-08 13:44:11 +01:00
SkyratBot
ee729f212a [MIRROR] Refactors pet bonuses to be an element (#5535)
* Refactors pet bonuses to be an element (#58912)

* Refactors pet bonuses to be an element

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-05-07 23:54:37 +01:00
SkyratBot
58edc266cc [MIRROR] Makes holidays span all timezones by default (#5338)
* Makes holidays span all timezones by default

* Update holidays.dm

Co-authored-by: cacogen <25089914+cacogen@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-01 13:31:29 +01:00
SkyratBot
886e4b56d3 [MIRROR] Mexican Food Tab, Food Tagging Tweaks (#5141)
* Mexican Food Tab, Food Tagging Tweaks (#58622)

* Tagging Fixes, Food Moves

Fixes Food Tags on a bunch of burritos. (3/4 don't use MEAT. They were tagged with MEAT.)
Fixes Food Tag and renames Egg Wrap (It doesn't use Tortillas. No GRAIN)
Moves Scotch Egg and Egg Wrap to EGG foods.

Makes a Mexican Food Tab, and moves burritos, tacos, and nachos into it.

* Mexican Food Tab, Food Tagging Tweaks

Co-authored-by: Winter Flare <7543955+Owai-Seek@users.noreply.github.com>
2021-04-24 00:41:35 +01:00
Useroth
4b2fcab710 Update holidays.dm (#4627) 2021-04-03 17:00:02 -05:00
SkyratBot
f2c798fcbd [MIRROR] Bunnies conjured from top hats each start with no eggs remaining instead of ten (#4079)
* Bunnies conjured from top hats each start with no eggs remaining instead of ten (#57597)

This PR adds a subtype of rabbits that starts with eggsleft = 0 instead
of eggsleft = 10 to the game, and makes top hats summon them instead of
normal rabbits. Note that these rabbits can still lay loaded eggs if
you feed them carrots (each carrot will give them 1-4 more eggs, which
they will disgorge from themselves with time).

The slowdown values of the Easter Bunny outfit's pieces have been
nerfed to be -0.3 each instead of -1 each, which I believe should make
someone wearing both pieces of the outfit move at the same speed as a
cultist who's wearing berserker robes (which have a slowdown value of
-0.6). Both pieces of the Easter Bunny set now also have the
THICKCLOTHING flag, and the Easter Bunny head now has the SNUG_FIT
flag.

---

https://youtu.be/QZj3h7FODhU

So, #56773 added the ability to pull rabbits from hats using wands. It
was a great PR, but there was one teensy little issue with it- each
rabbit that you pull out of a hat will, over a somewhat long period of
time, lay 10 loaded eggs, which you can use in-hand to receive a
chocolate egg and an Easter-related item.

Most of these items are just action figures, toys, etc., but two of the
items in the pool of prizes are the Easter Bunny head and the Easter
Bunny suit, which are two of the very few pieces of clothing in the
game that have negative slowdown values. Wearing even one of them will
let you zoom across the station at incredible speeds (you can see this
demonstrated in the Youtube video I linked above).

You will still be able to farm for Easter Bunny gear after this PR, but
you'll now have to acquire a consistent source of carrots and feed each
rabbit a carrot whenever you think it's low on remaining egg uses (you
can't stockpile eggsleft charges too far, as carrots won't increase the
eggsleft variable if it's >=8). You'll also still have to actually
collect and open each laid egg and deal with the risk of getting
swarmed by bees. This, I think, is a reasonable enough amount of effort
to acquire post-nerf Easter Bunny gear.

It should also be noted that you'll still be able to farm pet moodlets
and meat slabs from bunnies, which I've decided to leave in because you
can already do a similar thing with the kittens produced by Runtime and
a cat clone from cytology (which will always be male). Also, petting
zoos are fun, and I like the idea of the chef using small, innocent
creatures (and some bees) that have been summoned by stage magic as the
primary source of his food's meat.

The new clothing flags are there because the Easter Bunny set looks
like a mascot costume, which should be resistant to syringe injections
and dislodgements from thrown hats.

* Bunnies conjured from top hats each start with no eggs remaining instead of ten

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
2021-03-11 17:54:31 +00:00
SkyratBot
c150030945 [MIRROR] Makes spawned hot cross buns edible again (#3669)
* Makes spawned hot cross buns edible again (#57179)

Fixes (Not being able to eat hot cross buns due to them not having a reagents list)

You no longer hit yourself in the face with these.

Also does the following:

Formats the taste list properly (so it doesn't taste indescribable)
Fixes grammar in name and desc
Adds BREAKFAST foodtype
Adds pastry taste
Makes it require a bread slice rather than a whole loaf (not economical)
Moves it to the bread category

* Makes spawned hot cross buns edible again

Co-authored-by: cacogen <25089914+cacogen@users.noreply.github.com>
2021-02-26 14:08:11 +00:00
SkyratBot
123225d29c [MIRROR] Adds pulling rabbits from top-hats (#3590)
* Adds pulling rabbits from top-hats (#56773)

This PR makes it so using a wand on a top-hat makes a rabbit appear in
your hand! Fun! There's a 10% chance that instead of a cute bun you get
angry bees though, but a true performer will soldier on anyway. You can
now also scoop up rabbits in your hands, and scooping animals only
requires one free hand to do so instead of all your hands being free.

* Adds pulling rabbits from top-hats

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-02-22 12:06:54 +00:00
SkyratBot
b332b46b65 [MIRROR] Remove hideous inline tab indentation, and bans it in contributing guidelines (#3394)
* Remove hideous inline tab indentation, and bans it in contributing guidelines

* a

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-15 15:32:02 +00:00
SkyratBot
cc67a133e5 [MIRROR] [READY] Adds station traits: Small modifiers that can randomly be chosen each round (#3132)
* [READY] Adds station traits: Small modifiers that can randomly be chosen each round

* conflicts

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-08 23:07:24 +00:00
SkyratBot
64c8a4dd76 [MIRROR] adds vars for damage done by temp on simplemobs (#3042)
* adds vars for damage done by temp on simplemobs (#56572)

instead of heat and cold damage being handled by unsuitable_atmos_damage, instead its handled by unsuitable_heat_damage and unsuitable_cold_damage
if these vars arent set on the mob, they are set by default to the value of unsuitable_atmos_damage

* adds vars for damage done by temp on simplemobs

Co-authored-by: Fikou <piotrbryla@onet.pl>
2021-02-03 14:46:21 +00:00
BurgerLUA
a764925711 [Ready] Maintenance Loot Overhaul (#2470)
* Create maintenance_loot.dm

* everything works

* some requested changes

* Update maintenance_loot.dm

* requested changes i guess

* making it work with the rebase

* removes floorpills from rotation because apparantly they were removed in a testmerged PR

* removes black market uplink because that causes runtimes
2021-01-31 22:46:46 +00:00
SkyratBot
43f753907e [MIRROR] Changes name of "usa" holiday to remove ambiguity. (#2750)
* Removes ambiguity in holiday name. (#56162)

About The Pull Request

"Independence Day" is now "US Independence Day"
Why It's Good For The Game

There are dozens of independence days around the world, the current name is too ambiguous.
Changelog

🆑
tweak: The holiday observed on every 4th of July is now called "US Independence Day" instead of just "Independence Day".
/🆑

* Changes name of "usa" holiday to remove ambiguity.

Co-authored-by: interestingusernam3 <51925758+interestingusernam3@users.noreply.github.com>
2021-01-17 13:40:58 +01:00
SkyratBot
1f2747497a [MIRROR] On monkey day, you can play as a monkey roundstart. (#2408)
* On monkey day, you can play as a monkey roundstart (#55838)

* On monkey day, you can play as a monkey roundstart.

* Update monkeys.dm

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-12-31 23:49:22 +01:00
SkyratBot
22854490e7 [MIRROR] Replaces US Indigenous People's Day with International Indigenous People's Day (#2356)
* Replaces US Indigenous People's Day with International Indigenous People's Day (#55458)

Title. This modifies a unit test that tested the holiday I'm removing to test mother's day instead, as International Indigenous People's Day isn't an nth week holiday.

* Replaces US Indigenous People's Day with International Indigenous People's Day

Co-authored-by: interestingusernam3 <51925758+interestingusernam3@users.noreply.github.com>
2020-12-29 02:38:46 +00:00
SkyratBot
4c86dfc553 [MIRROR] Fixing a very old issue about lizard snouts and hoods, fake mustaches and similars. (#2264)
* Fixing a very old issue about lizard snouts and hoods, fake mustaches and similars. (#55574)

Fixing a little visual issue with certain hoods, fake mustaches and similars making lizard snouts magically disappear when worn.

* Fixing a very old issue about lizard snouts and hoods, fake mustaches and similars.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2020-12-21 19:56:29 +00:00
SkyratBot
312a312dc6 [MIRROR] Fix Hanukkah (again) and refactor Moth Week and Beer Day (#2200)
* Fix Hanukkah (again) and refactor Moth Week and Beer Day (#55532)

* Fix Hanukkah (again) and refactor Moth Week and Beer Day

* Remove unnecessary changes

* Fix Hanukkah (again) and refactor Moth Week and Beer Day

Co-authored-by: Jack LeCroy <3073035+jacklecroy@users.noreply.github.com>
2020-12-17 08:05:26 +01:00
SkyratBot
1b96cfbdaa [MIRROR] Adds Waitangi Day and ANZAC Day to holidays.dm (#2184)
* Adds Waitangi Day and ANZAC Day to holidays.dm (#55519)

* Adds Waitangi Day and ANZAC Day to holidays.dm

* Makes the poppy the default drone hat on ANZAC day

The remembrance poppy is an artificial flower worn to commemorate those who died for their country.

* Adds Waitangi Day and ANZAC Day to holidays.dm

Co-authored-by: cacogen <25089914+cacogen@users.noreply.github.com>
2020-12-16 07:15:11 +01:00
SkyratBot
ddbcca4de3 [MIRROR] Fix nth week holidays (#2061)
* Fix nth week holidays (#55364)

 fix: Holidays appearing on the nth day of the month like Thanksgiving will work now.
tweak: Columbus day is now called Indigenous Peoples' Day.

* Fix nth week holidays

Co-authored-by: Jack LeCroy <3073035+jacklecroy@users.noreply.github.com>
2020-12-07 10:32:35 +00:00
SkyratBot
2913364658 [MIRROR] Kills oldfood, Puts newfood on top. (#2041)
* Kills oldfood, Puts newfood on top. (#55160)

Slays the last of old-food, making new-food the new normal.

Co-authored-by: MrMelbert <kmelbert4@ gmail.com>
Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>

* Kills oldfood, Puts newfood on top.

* Update collars.dm

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: MrMelbert <kmelbert4@ gmail.com>
Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-12-04 16:46:26 +01:00
SkyratBot
c487c73f39 [MIRROR] Grep for space indentation (#1969)
* Grep for space indentation

* aa

* Update species.dm

* Update species.dm

* Update maps.dm

* Update examine.dm

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-12-01 12:26:41 +01:00
SkyratBot
7d653f1f6b [MIRROR] Moves grown food to newfood (#1794)
* Moves grown food to newfood (#55040)

Moves grown food to newfood
Gives trash element support for callbacks for item creation override

* Moves grown food to newfood

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-11-23 22:35:35 +00:00
SkyratBot
89a8cb991a [MIRROR] moves misc food to newfood code (#1725)
* moves misc food to newfood code (#54788)

misc food is now using newfood code

* moves misc food to newfood code

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-11-19 07:21:23 +01:00
SkyratBot
eb92ea9cb8 [MIRROR] adds more cursed animal masks (#1335)
* adds more cursed animal masks (#53539)

Animal masks refactor

* adds more cursed animal masks

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2020-10-15 22:12:00 +01:00
SkyratBot
b0215f179a [MIRROR] Takes some lessons from Jimmy Neutron (#1269)
* sodium chloride is now called salt (#54328)

* Takes some lessons from Jimmy Neutron

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-10-12 23:18:45 +02:00
SkyratBot
ada67ac929 [MIRROR] Ports soup, snacks, icecream, salads and meat to newfood (#1074)
* Ports soup, snacks, icecream, salads and meat to newfood (#54028)

Ports soup, snacks, icecream, salads and meat to newfood

* Ports soup, snacks, icecream, salads and meat to newfood

* Update true_changeling.dm

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-09-30 14:37:15 +02:00
SkyratBot
39c1a99020 [MIRROR] Moves over cakes to newfood and transfers reagents when crafting (#688)
* Moves over cakes to newfood and transfers reagents when crafting (#53316)

* Moves over cakes to newfood and transfers reagents when crafting

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-09-09 08:09:36 +02:00
SkyratBot
ec09510459 Bools and returns super-pr (#53221) (#565)
Replaces like 70-80% of 0 and such, as a side effect cleaned up a bunch of returns
Edit: Most left out ones are in mecha which should be done in mecha refactor already
Oh my look how clean it is

Co-authored-by: TiviPlus <TiviPlus>
Co-authored-by: Couls <coul422@gmail.com>

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
Co-authored-by: Couls <coul422@gmail.com>
2020-08-30 05:12:59 +02:00
SkyratBot
6da6b33009 [MIRROR] Food refactor part 1: Bread destruction and processable element (#447)
* Food refactor part 1: Bread destruction and processable element (#53047)

* Food refactor part 1: Bread destruction and processable element

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-08-21 14:15:57 +01:00
SkyratBot
1f7572847a [MIRROR] Petting more animals now causes floating hearts and a moodlet, borgs can now pet animals. (#243)
* Petting more animals now causes floating hearts and a moodlet, borgs can now pet animals. (#52594)

* Petting.

* Oops.

* Update code/modules/mob/living/simple_animal/friendly/penguin.dm

Co-authored-by: Fikou <piotrbryla@onet.pl>

* Working on underlying redo.

* More.

* Fixing to work with new emote system.

* Move proc and defines to living instead of mob.

* ...Moves it to simple_animal instead.

* Revert cat crate fix (other PR handling), fixes emote thing.

* Appveyor did not care for that.

* Comment typo.

* Very descriptive var name.

* Borgs can now commit pet.

* sweeps up missing manual_emotes, adds a hop to link for ghosts, and moves the name preface to ghost only

* More descriptive vars and proc name.

* Better descriptive vars.

* Making the borg code slightly nicer.

Co-authored-by: Fikou <piotrbryla@onet.pl>
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>

* Petting more animals now causes floating hearts and a moodlet, borgs can now pet animals.

Co-authored-by: uomo <51800976+uomo91@users.noreply.github.com>
Co-authored-by: Fikou <piotrbryla@onet.pl>
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2020-08-08 02:08:14 +01:00
AnturK
1f5e905c0d Simple skill/skillchip framework (#52314)
* Simple skills framework.

* Map changes.

* Adds skillchips to vendor

* Adds skill stations to the map.

* Circuitboards

* Fix typo

* Some minimal instability

* Fixes,tweaks etc

* Suggest better names or we'll end up with these.

* sharpness thing

* tgui build

* Makes wine from booze synthetizer show to wine tasters.

* Makes wine from dispenser have taste for wine tasters.

* Apply suggestions from code review

Co-authored-by: Rohesie <rohesie@gmail.com>

* Swaps to carbon var.

* wordy helper proc

* While i'm at it, other relaymoves

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-07-29 04:14:10 -04:00
skoglol
ecae391aa8 Fixes moth week dates (#52353)
* Fixes moth week dates

* Fixes week number function

* first day of month proc, fixes moth week properly
2020-07-20 16:35:13 -03:00
Jack Edge
b13da57769 🎁 Fix holiday loot being ultra rare
Since maintenance loot was put in the wide categories of trash, common,
uncommon and oddities, the Easter and Christmas maintenance loot was
made incredibly rare.

This commit increases the chances to around 25% of all maintenance loot
to be a special holiday item, rather than the tiny oddity level chance
before.
2020-06-24 12:14:54 +01:00
nemvar
b87f65d95e Converts ALL typepaths to lowercase (#51642)
* Case of lower

* More changes

* Ruins the nice 420 diff, brainfart when doing the second batch of conversions

* More changes

* Next batch. I think

* Converts even more paths

* Restarts bots

* Capital Free Zone

* Come on travis, do something

* Renames areas

* Bots, please stop dying

* Updates CONTRIBUTING.md and updates a few paths I missed.

* APC recgarftzfvas
/obj/item/computer_hardware/recharger/apc to /obj/item/computer_hardware/recharger/apc_recharger
2020-06-17 20:47:57 -03:00
nemvar
6ef421be42 Renames a few variables. Also reorders icon fallback order again. (#51060)
* Renames a few variables. Also reorders fallback order again.
Renames item_state to inhand_icon_state
Renames mob_overlay_icon to worn_icon
Renames mob_overlay_state to worn_icon_state
worn_icon_state/mob_overlay_state now never gets used for inhands.

* Fixes some comments

* Fixes map issue

* Restart lints

* Properly resolves conflicts
2020-05-25 06:47:19 +02:00
Couls
3bc4f93eb1 fixes the islamic calendar and adds more prefixes (#50695)
About The Pull Request

it is no longer the start and end of Ramadan at the same time
Why It's Good For The Game

fixies
Changelog

cl
add: more islamic prefixes
fix: end of ramadan now follows the islamic calendar
/cl
2020-04-28 11:15:27 +12:00
Jack LeCroy
2860850635 Add foreign calendar datum
Converted Hebrew calendar to a child of this datum
Foreign calendar is an easy way to support other
calendar systems for the purpose of holidays.
Added Islamic calendar and fixed Ramadan to
be more accurate than it currently is.
2020-04-20 18:22:38 -04:00
oranges
5f9037cd1a Further ToS cleanup (#50518) 2020-04-18 10:29:26 +12:00
spookydonut
8dbf1cf4ec Changes to comply with GitHub TOS
Further changes to comply with the ToS

More ToS cleanup

Bye bye George Melons

Better to be safe than sorry
2020-04-14 21:24:50 +00:00
Fikou
facef200d4 last commit probably 2020-02-25 01:48:34 +01:00
Nick
bf157b0e6e [READY]Easter additions:Electric Bugaloo 2 (#49191)
* Update easter.dm

* the carrotoning

* carrotless version

* THE FINAL TOUCH

* boop

* Update easter.dm

* Push

* Final
2020-02-20 10:04:13 +01:00
Fikou
a30635fb72 fixes category on easter foods 2020-01-27 19:07:43 +01: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