Commit Graph

35867 Commits

Author SHA1 Message Date
Ghom
41b8d99401 DNA code now supports unique identity and features blocks of different size. (#62303)
#61980 (694c2999b0) has uncovered a few issues with our dna datum code. Mainly the lack of support for ui/uf blocks of different sizes.
So, in order to fix this issues, I had to create four global lists, two for UI and UF blocks which sizes differ from DNA_BLOCK_SIZE and two more that store the points in the ui and uf strings where different dna blocks start (this way we avoid having to calculate them every getter and setter proc call).

This will add support for heterogeneous ui/uf block sizes and make 24-bit color features and identities possible.

To the maintainers of downstream codebases: Remember to add your modular code ui and uf color blocks to the identity_block_lengths and features_block_lengths global lists respectively ... Unless you have rewritten dna code on your end. If that's so, good luck.

Tested and working (unless CI says otherwise).
2021-11-22 18:09:09 -08:00
GuillaumePrata
ea301ac7cf Add Etheral lungs to the limbgrower (#62469)
Saturday morning, calm shift.
I spend most of my time staring at CANARY waiting for an atmos alarm to pop up while I sit at the foyer hearing what random craziness Poly is spewing and wondering about the previous and more interesting shifts.
When suddenly, an atmos alarm pops up at the Incinerator.
"Fucks sake, I bet the other atmos are torching the place again..."
I rush there expecting to fix a fire, but instead I find the start of something great...

The madman kidnapped an Ethereal to use as an organic Hydrogen farm, nothing I haven't seen before but... my hands start shaking, a spark of brilliance and potential in my eyes as I mumbled the words:
"I always hear that organic things are healthier... so what if we throw the Electrolyzer away and instead, print Etheral lungs in the limbgrower and implant them on monkeys..."
To our sadness, Ethereal lungs weren't added to the Ethereal disk design, this fixes that!
2021-11-22 18:07:30 -08:00
Ryll Ryll
6957aaf03d Possibly contains crude/indecent language (#62985) 2021-11-22 15:21:01 -08:00
Ghom
44863b2cfa Fixes some issues and an exploit with abandoned crates. (#62949) 2021-11-22 14:53:48 -08:00
Nick
2b411035c4 Adds additional DB logging for admin help interactions (#62994)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-11-22 14:53:08 -08:00
Ghom
a45ea1cb0b Hair gradient preference no longer shows for species that don't have hair (#62950) 2021-11-22 14:17:32 -08:00
Ghom
9ab5f12d9d Fixes a mistake that made space bartenders sad. (#62978)
* Fixes a mistake that made space bartenders sad.

* Update drinkingglass.dm
2021-11-22 16:14:12 -05:00
ArcaneMusic
4d36060cfc Washing machines can now shrink old t-shirts. (#62296)
About The Pull Request
image
Worn T-shirts, found in maintenance are now susceptible to shrinkage after repeated washing machine washings.
Too many machine washes can cause the shirts to shrink to the point that they simply disappear to the laundry dimension, as does real clothes in real life.

Why It's Good For The Game
Fun little hidden interaction with laundry machines due to my having noticed that laundry machines exist in the code still.

Changelog
🆑
expansion: Laundry machines can shrink particularly old, worn t-shirts. Remember kids, hand wash only.
/🆑
2021-11-22 13:45:33 -05:00
GoldenAlpharex
5342438ec3 Forces areas to create their lighting objects when loaded from a map template (#62931)
Continues the journey of #61730. This time, all map templates will see their area lighting objects created upon getting loaded if they have static_lighting = TRUE. This means that places like Hilbert's hotel, as well as any map placed by an admin during the round, will now be able to properly have dynamic lights without any need for VV shenanigans.

Tested and working, I tested with Hilbert's hotel and by spawning a couple of other map templates to confirm.

Fixes #61558, closes #61340 (kinda not, but it's already fixed anyway, and loosely related to this) and should be the final nail in the coffin of #61349.

Courtesy ping to @TiviPlus, just in case you had anything to say about it.
2021-11-22 16:16:23 +00:00
MrMelbert
fce1244014 fix harvest numbers (#62899) 2021-11-21 21:09:25 -08:00
Farquaar
3d183698c3 Yee-haw Update: Code Spaghetti Western Edition (#62937)
About The Pull Request

Previous PR (Closed Because I'm a Git Newbie)
https://youtu.be/AFa1-kciCb4

Ever wondered why we had cowboy boots in the autodrobe and clothesmate, but no hats?
Ever wanted to start a posse but the fluorescent lighting was beating down on your head?
Ever wanted to run your bar like an old-timey saloon but you were too ashamed of your bald spot?
Ever wanted to say "See you Space Cowboy" and actually mean it?

This is the PR for you!

image
Left to Right: Desperado Hat, Drifter Hat, Sheriff Hat (with Sheriff Vest), Ten-Gallon Hat, & Deputy Hat

All hats are craftable using two sheets of leather. The vest can be crafted with four sheets, and can be attached to jumpsuits.
The drifter hat and the ten-gallon can be found in the clothesmate. The others can be found in the autodrobe.
Every item has in-hand sprites!

This PR does not alter fugitive bounty-hunter items in any way.
Why It's Good For The Game

It always puzzled me that we had so many western-themed items, clothing, and references, but no hats to back it up. Now we can run cowboy gimmicks to our heart's content, and admins have more than enough to cobble together an event straight out of the old-space-west.
Changelog

cl
imageadd: Due to lobbying pressure from the Yee-haw Conservation Society, Nanotrasen vending machines now stock five new cowboy hats and an old-west vest.
/cl
2021-11-22 15:10:44 +13:00
Wallem
96b81f6c7f Refactors Sign Language & Fixes Inconsistency (#62836)
Refactors Sign Language code so instead of copy-pasting the same giant wall of checks we can just use a proc.
Also now checks to see if your limb is disabled, which fixes people with disabled robotic limbs being able to sign still.
Finally, the tongue only has ORGAN_UNREMOVABLE if you attained it from the trait. I've been told that the tongue could be attained from meateors and I think that's funny as hell so I swapped that over.
2021-11-21 11:32:58 +00:00
Mothblocks
a953f5bfa4 Reverts change I accidentally made to master, Lol 2021-11-21 00:37:30 -08:00
Mothblocks
dbec97742f Give weight to childtype 2021-11-21 00:36:24 -08:00
Burgermancoding
a05a3ab0f5 creativecommitname (#62935)
Co-authored-by: unknown <burgercoding@gmail.com>
2021-11-21 00:58:13 +01:00
esainane
0ac084a28b [MDB IGNORE] Repath wall reagent dispensers (#62593)
* Repath wall reagent dispensers

This changes /obj/structure/reagent_dispensers/{virusfood,peppertank}
to be subpaths of /obj/structure/reagent_dispensers/wall.

The WALLITEMS test now checks for all wall mounted reagent dispensers,
instead of just peppertank specifically.

> git ls-files '*.dmm' | xargs -d\\n sed -i 's@/obj/structure/reagent_dispensers/peppertank@/obj/structure/reagent_dispensers/wall/peppertank@g'
> git ls-files '*.dmm' | xargs -d\\n sed -i 's@/obj/structure/reagent_dispensers/virusfood@/obj/structure/reagent_dispensers/wall/virusfood@g'
2021-11-20 09:14:12 -07:00
Watermelon914
fb8d95a2f5 Allows players to send more visible adminhelps when no admins are on, which'll definitely alert admins (#62711)
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
2021-11-20 03:06:50 -08:00
Timberpoes
1152f4f15a Exempts non-deadminned admins from all the chat filters so they can break the server rules and get banned if they want to. (#62944)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-11-19 23:18:11 -08:00
Jeremiah
99541855b5 Hotfix: Vendor, Crafting, Mulebots (#62863) 2021-11-19 13:47:39 -08:00
Watermelon914
a2369f8f42 Allows shells that requiring anchoring to take power from APCs (#62907)
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
2021-11-19 11:56:14 -08:00
Ghom
c29ee238ea Fixes emptied shot glasses having the drinking glass filling icon. (#62920)
Made both drinking and shot glasses use the generic reagent_containers/update_overlay() method. Standardized drinking and shot glasses update_icon_state().
2021-11-19 17:37:45 +00:00
raffclar
2c55fe0557 Fixes stale data when a user performs a refresh of a TGUI page (#62930)
We should send a full update when a user refreshes a TGUI web page. Refreshes can be performed by pressing F5 while focused within a TGUI window.
2021-11-19 17:23:08 +00:00
Fhaxaris
82f5581967 Irish car bomb clown car interaction (#62889) 2021-11-18 21:19:34 -08:00
Bond
1357bf74b9 prevents mindswaping into ghost poly (#62554)
About The Pull Request

Closes #62465

Also makes ghost poly technically designated as a boss in the code as their sentience type, as far as I can tell this doesn't actually change anything other than the ability to make it sentient, but it also makes sense for a creature effectively incapable of death to be designated as a boss in the code.
Why It's Good For The Game

As funny as it is, mindswapping (blood into a rainbow slime extract gives you a mindswap potion) into ghost poly, or otherwise making ghost poly sentient, is an exploit that should be patched. Ghost poly is as fast as a ghost, can move through walls, has godmode, and if you give it a fugu gland it can beat people up. It can also pick up things, such as the nuke disk, which would make nukeops rounds pretty unfair and unfun.
Changelog

cl
fix: Aspiring xenobiologists and ambitious wizards can no longer mindswap into ghost poly or otherwise make them sentient in an attempt to gain godmode + ghost speed + the ability to go through walls.
/cl
2021-11-19 16:05:03 +13:00
GuillaumePrata
6494394389 Evidence bag in the bag (#62913) 2021-11-18 18:07:59 -08:00
Ghom
243cd2bfa5 Replacing more C-style for loops with the faster, traditional ones. (#62908) 2021-11-18 17:39:05 -08:00
Ghom
8fdebe8e80 Donuts found in sec vendors and boxes can now be used to make glazed donuts (#62910) 2021-11-18 17:38:37 -08:00
Mothblocks
72104c5729 Move conveyor belts to their own system, rename conveyor2 (#62911)
Renames conveyor2.dm to conveyor.dm, and removes the historical comment about "new conveyor belts". As a reminder, comments should be about what the code is now, not what it used to be. (Muh history -Lemon)

Moves conveyor belts to their own SS with an identical wait. It is very common, as an admin, for me to want to adjust conveyor belt processing, either to make it faster (for laughs) or to disable it when it is causing heavy lag. It is very difficult to do this (especially the former) because it just uses fast process.
2021-11-18 16:51:47 -08:00
John Willard
110957f7fd cyborgs doing research is now logged IC (#62898)
AI's doing research is logged to the RD, but Cyborgs doing it just shows up as 'Unknown', which makes no sense because some AI can order a Cyborg to do research on their behalf so the RD doesn't know who did it.
It also makes the RD's job easier to find out what rogue cyborg is doing research when told not to.
2021-11-18 20:43:14 +00:00
Tastyfish
15d38dc4bf Proper custom job name support (#62803)
* Makes PDA crew manifest and crew monitoring computer respect trims for ordering and sorting

* Fix static typecheck issue

* Added initial rank tracking for IC command
2021-11-18 21:25:55 +01:00
twilightwanderer
4a5eacf34a Improve the bureaucracy system (#61323)
Adds a blank printing system.

Virtually every Space Station 13 server has its own system of bureaucracy. As a rule, it is some kind of Wiki page with markup tags and a few sample forms. And that's usually the end of it. With stamps and a filing system in place, people rarely use them. This PR takes it upon itself to remedy this situation by introducing form standards into the game itself and adding the ability to print them.

Co-authored-by: twilightwanderer <twilightwanderer@users.noreply.github.com>
Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2021-11-18 20:53:18 +02:00
necromanceranne
666fcdbd9c Fixes an oversight with tail pulling and the Bad Touch trait (#62784) 2021-11-18 03:05:59 -08:00
ATH1909
5a87d96a41 the ultimate hulk nerf (#62891) 2021-11-18 02:54:55 -08:00
Ghom
dffd2afd15 Fixes a few cargo exports problems. (#62686)
About The Pull Request

Cargo exports will now start deleting the thing and its contents only after everything has been sold and hopefully stop objects from being deleted before getting sold (no export datum actually deletes anything on sell_object()). This PR also removes a variable only used in one place (an admin only item created by ExcessiveUseOfCobblestone, who probably didn't know there's an argument that stops unsold items from getting deleted) and that may be source of harddels.
Why It's Good For The Game

This will fix #62644, perhaps some harddels and other oddities.
Changelog

cl
fix: Cargo exports will now start deleting items only after everything is sold. This will fix issues such as unachievable exports (like machine ones) and getting less credits than what export scanners says.
/cl
2021-11-18 14:01:07 +13:00
Ghom
911005e03c Makes the "Ian's Adventure" station trait more interesting by making the dog deadchat controllable plus extra lives. (#62617)
About The Pull Request

Makes the "Ian Adventure" station trait more interesting by giving him deadchat control (democracy mode, 3 seconds cooldown on inputs) and a couple extra lives* to survive early round tiding.

*Basically, a new component that respawns the critter when he dies. The component itself is simple enough, but it sends a signal each respawn to allow other datums to expand this behavior how they want. I've contemplated adding a signal that can stop death, dusting and gibbing instead of respawning the mob at first but because death(), dust() and gib() were made with the assertion that the mob is always going to die I've quickly realized it'd require a refactor that's way too big and out of scope.

The deadchat control of corgis only include commands to change and drop hats, "speak" (random lines from the speak list of the mob) and spin (other than cardinal movement) for now. I'd have loved to add more complex commands (like, argumented) that can potentially be relayed to the AI controller, but I guess that'll have to wait until the thing gets refactored a little.
Why It's Good For The Game

"Ian's Adventure" is a really bland station trait at the moment. All it does is move Ian somewhere else at the start of the round. Even by the station traits standard of being small things this is insignificant, and also pretty bad considering Ian is not actually going on an adventure since he lacks the initiative to do anything being an npc dog.
This PR aims to breath fresh air into this station trait and push it toward a slighty more engaging direction, though it relies on observers to work, while still being a small """"cute"""" station trait.
Changelog

cl
expansion: The "Ian's Adventure" station trait now makes Ian deadchat controllable and gives him a couple extra lives (to survive early round tiding)
/cl
2021-11-18 13:13:57 +13:00
esainane
b0fd0f37b6 Admin: Fix Camera Report verb (#62866)
There is still the potential for false positives since the way diagonal
cameras were made didn't exactly line up with where their direction was.

However, this brings functionality back to parity with before the
dir-sanity PR.
2021-11-17 14:07:46 -08:00
Archemagus
24530bfc00 Fixing floorbot (#62878)
Not tested, but YOLOmerge requested
2021-11-17 14:06:50 -08:00
tralezab
d0bbaf83b5 clown and mime can access service orders (#62882) 2021-11-17 14:06:30 -08:00
John Willard
e688317857 Splits antag huds into their own .dmi file and de-hardcodes antag huds (#62767) 2021-11-17 12:09:05 -08:00
itseasytosee
e2e59406ab Fixes the wrong cinematic playing on nukeop win (#62877) 2021-11-17 11:56:57 -08:00
Ghom
dadb45ffed HoS, warden and officers no longer spawn with a stunbaton in their bags. (#62861) 2021-11-17 11:55:59 -08:00
Ghilker
ba8dbfb591 nitryl and stimulum merge in nitrium (#62061)
This PR is the first of a few were i'll be merging similar working gases into one.
This time is Nitryl and Stimulum. They'll be merged into Nitrium , a brown gas with both features of the two gases
The main scope is to add dept to atmos by removing bloated content and/or repeated content that has never seen the lights of the day (how many times have you seen both gases made and used at the same time?)
The PR so far:
-removed nitryl
-removed stimulum
-merged them into Nitrium (Nitrium is now made with trit, nitrogen and bz from a minimum temperature of 1500 K)
-made Nitrium have both gases features such as fast movements and sleep and stun immunity but increased damage taken
-Nitrium can make crystals that spread the chemicals with a cloud (is still far more efficient to just breathe the gas)

Less rare gases, going towards a better atmos gameplay loop
2021-11-17 01:56:19 -08:00
Ghilker
3a5c0a36d0 bad mafia (#62874) 2021-11-17 00:43:29 -08:00
WarlockD
b17f9ba018 Wiremod assoc_literal circuit component was missing from the lathe (#62818)
Was looking for a way to make a cache list when I noticed the assoc_literal component wasn't in the lathe
I rather cache a list of stuff than continuously run foreach/searchs on data from the ntnet or otherwise.
2021-11-16 23:02:31 +00:00
Paxilmaniac
e405891d6f Modern Armor For The Modern Age - Marine ERT's Armor Update (#62714) 2021-11-16 12:55:55 -08:00
tralezab
53d2b9a396 Adds New Aquarium Fish! (#62840)
* fish

* fixes broken stuff

* no emulsijack betrayal, emuslijacks will now reproduce
2021-11-16 21:54:21 +01:00
Krysonism
19d1d7323f Da plate update: New plate sizes and breakable plates (#62804)
About The Pull Request

This PR adds small and large plates and allows you to break plates by throwing them.

bild
bild
Why It's Good For The Game

Having larger plates allows you to more easily run the buffet gimmick as you can fit more items on the large plates.

Having large plates also allows for more space for creative food plating.

The small plates lets the chef serve small food items such individual cake slices without the plate looking mismatched.

Plate breaking improves immersion and allows unsavoury characters such as mimes and syndicates to stir up trouble.
Changelog

cl
expansion: Small and large plates have been added to the kitchen vend.
expansion: Plates will now break when thrown.
/cl
2021-11-17 09:37:28 +13:00
Kyle Spier-Swenson
639ab9cd38 Doubles slow asset send rate (#62845)
Newer byond clients now properly batch up `browse_rsc` sends so this clogging up the `browse()` queue is less of a concern.
2021-11-16 12:09:32 -08:00
Krysonism
ab1c143b53 carpswag (#62811)
expansion: Carpskin suits and fedoras can now be crafted using carp scales.
2021-11-16 10:56:28 -05:00
LordVollkorn
fe16f39145 Changed fermichem related values for Inacusiate and Multiver (#62467) 2021-11-15 23:00:39 -05:00