Commit Graph

35834 Commits

Author SHA1 Message Date
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
oranges
d2aa1eea9f Adds some basic sanity to the plumbing bottler (#62823)
* Adds some basic sanity to the plumbing bottler

* Update code/modules/plumbing/plumbers/bottler.dm

Co-authored-by: Emmanuel S. <emmanuelssr@gmail.com>

* Update code/modules/plumbing/plumbers/bottler.dm

Co-authored-by: Emmanuel S. <emmanuelssr@gmail.com>

Co-authored-by: Emmanuel S. <emmanuelssr@gmail.com>
2021-11-15 14:45:19 -08:00
Ghom
326e8bfafc Hydroponics Tray USB Port (plus a tiny refactor needed to fit it in) (#62652)
Adds a USB port to constructable hydroponic trays. I had to refactor some hydro tray code, which is kinda old, to fit the USB circuit and the new signals in.
2021-11-15 17:44:22 +00:00
itseasytosee
9b0ee745bf The Nuke kills everyone when it goes off. (#62807)
This does not make the nuke explode like it used to.
The nuke will now dust you in a similar way to the AI doomsday device when it goes off. This will only happen if the nuke successfully detonated on the station and not on a near miss. Otherwise, it kills everything on the z-level.

There has been code in the game for an extended period of time that was supposed to make this happen, but I believe it was bugged and did not properly give the z-level of the nuke in the explosion.

It should be noted that gameplay-wise this makes it so antagonists who need to escape will no longer get a free pass for being on the station when the nuke goes off, but they will still be counted as escaped if they are in lavaland/another z-level. I would say that this is only good for the game but I understand if it's controversial.

The original code gibbed people on the z-level, although I've considered changing it to dusting. I would like opinions on this or alternative methods of death.

fixes #62788
2021-11-15 17:38:42 +00:00
RandomGamer123
2d36cbb9f7 Stops HFRs (and other INDESTRUCTIBLE machinery) from being able to be blown up if an explosion's epicenter is on the tile (#62164)
* Stops HFRs from being able to be blown up if an explosion's epicenter is on the tile

* Stops stationloving objects from being able to be teleported to HFR core

* Automatically add PREVENT_CONTENTS_EXPLOSION_1 to all INDESTRUCTIBLE machinery

* Document reason for PREVENT_CONTENTS_EXPLOSION_1 flag being needed
2021-11-15 08:16:09 +01:00
Watermelon914
838baab5db Fixes the foreach and filter circuit component (#62798)
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
2021-11-14 21:12:50 -08:00
Iamgoofball
aa7cb15978 Gives Space Pirates a bonus to hijack speed on the shuttle. (#62806)
If a pirate pulls this off, they've got to be the best pirate I've ever seen.
2021-11-14 21:12:03 -08:00
Mickyan
17e4b60a14 Wings negate fall damage from short falls (remake) (#62800)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-11-14 21:11:39 -08:00
tralezab
8119b3dbc4 Fixes cargo console breaking when you ordered canisters, and makes it break softer when it does anyways (#62829)
🆑
fix: cargo consoles aren't breaking when department orders buys a canister. seriously though who buys canisters man
/🆑
2021-11-15 02:29:08 +00:00
Jeremiah
8946d26155 Simplebot TGUI conversion (#62748)
About The Pull Request

Creates a modular TGUI for simple bots.

Current issues with simplebots:

    They are all HTML

Why It's Good For The Game

    Better looking UI
    Many new tooltips for information
    You can now lock/unlock the controls via UI
    You can now lock/unlock the maintenance hatch via UI
    A little bit easier to catch runaway bots

Changelog

cl
add: All of your favorite simple bot friends aboard the station now have a much better interface in TGUI
qol: You can now lock
/cl
2021-11-15 11:44:26 +13:00
LemonInTheDark
3e692d3c9e Adds debug verbs for grabbing the amount of food and stacks on the station (#62787)
Adds mapping debug verbs that pull info about how many food/stacks are in the world and on the station.
Puts them into happy little html uis to make em easier to read.

A stacks amount is it's actual amount, so the amount of items inside it, rather then the amount of stack groups
2021-11-14 22:41:28 +00:00
Ghom
dac07b5264 Fixes Multi lavaland tumor combat (and possible sources of harddels) (#62540)
This will fix #62065 by adding a new trait that prevents mobs from activating another elite tumor structure until he's won or lost the previous challenge, along with possible sources of harddels by making sure the hard-refs are properly cleared if the mobs get qdeleted.
2021-11-14 10:42:39 +00:00
tralezab
d909f33bc9 Traitor Flavor is now displayed on roundend (#62740) 2021-11-14 02:23:16 -08:00
Ghom
026857414f The detomatix cart now sends forged messages that make PDAs explode if one tries to reply to them instead of detonating them right off the bat. (#62494) 2021-11-14 02:22:30 -08:00
Fikou
16c5fed904 splits space adaptation into two mutations (#62764)
* splits space adaptation into two mutations

* cooler desc by ath :)

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>

* desc 2

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
2021-11-14 02:19:11 -08:00
Mothblocks
dd30542dff Fix team antag HUDs displaying when they shouldn't, and the other way around, fix round end antag HUDs (#62771) 2021-11-13 22:30:49 -08:00
Ghom
136239a653 market crashing is now a status strait to avoid concurrence problems. (#62706)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-11-12 23:31:59 -08:00
John Willard
a4b890bdf7 Fixes headcrabs spawning in the void (#62699) 2021-11-12 23:22:48 -08:00
esainane
cb9e8ba924 Merge MACHINE/port_gen/Initialize definitions (#62747)
This apparently happened in 58d0f12c5c, four year ago, where a New()
was renamed to Initialize().

Apparently in this case, the second definition runs first, and the first
definition runs in the second's parent call. Since the second immediately
calls the first as a parent call, just merging them with the first's body
first preserves behavior.

This is slightly horrifying.
2021-11-12 23:20:13 -08:00
Thunder12345
0ab5f14870 Allows any character to use the body type setting regardless of gender (#62733)
Co-authored-by: Thunder12345 <stewart@critar.demon.co.uk>
Co-authored-by: Jared-Fogle <35135081+Mothblocks@users.noreply.github.com>
2021-11-12 23:16:29 -08:00
Timberpoes
1950da9f70 Removes cryostasis pods from the game pending creation of a proper design document (#62731)
* Baleeted

* Unmap

* Nudge the cabinet out of the way of the door
2021-11-12 15:57:22 -08:00
Cimika/Lessie/KathyRyals
ef2f70d344 You can now pull tails, it makes the person happy! (#62763)
About The Pull Request

You can now pull on tails and it makes the person happy! It was supposed to just be felinid but it changed when mothblocks requested I check for tails!
Why It's Good For The Game

Cute interaction with our cat friends. And Lizards. And anything with a tail.
Changelog

cl
add: You can now pull on a felinid's tail to make them happy!
/cl
2021-11-12 15:17:23 +13:00
tralezab
bb7638f114 Routine Cargo Departmental Deliveries (#61992)
About The Pull Request

Document: https://hackmd.io/@bazelart/HkY-SO9VF

Each department's request console is upgraded. Instead of making requests, they are only able to see crates related to their department that helps the department. They can order one for free (so not out of anyone's wallet) and it will arrive at cargo. Cargo gets the price of the ordered crate for bringing it to the department that ordered it (via an area check, of which the crate will remain locked until satisfied, emitter cracking aside).

Ordering a crate puts the console on a cooldown depending on the price of the crate ordered. The time ranges from 10 minutes at the lowest value, to capped at 20 minutes at 4x the default crate's price. the price in time follows a ease in out circular function, where the time increases slowly as the time goes up, but a lot in the middle. towards the higher end it slows down again.

Cargo will start with far less money, but this is countered by the new source of income.

Finish Mapping it
Finish tgui panel for department orders
Testmerge it for balance and feedback who cares

    Maybe give multiple destination areas, just in case one area gets obliterated who cares!

Why It's Good For The Game

Cargo starts with a budget to spend on themselves, which lets them order their department rewards before doing anything. There is no inherent reward to delivering to other departments other than social expectations of filling the job, which means cargo will simply ignore deliveries and requests if there are more self-important things going on, since those deliveries both cost cargo and do not help cargo in any way
Changelog

cl
add: replaced the request consoles in each department with department order consoles, which order for free on a cooldown. cargo gets these orders and delivers the crates, which are locked until delivery. upon delivery, cargo gets paid the value of the crate, and can then sell the crate back on the shuttle.
balance: cargo doesn't start with a budget, other departments get what their budget was split up amongst them
/cl
2021-11-12 14:19:33 +13:00
esainane
c8c82a31b7 Fix spelling on multilayer cable reset (#62721) 2021-11-11 19:32:53 -05:00
Cimika/Lessie/KathyRyals
bfa1542009 Felinids don't like getting sprayed with water. (#59506)
This PR is an ode to @Ryll-Ryll, who inspired me to try and find fun, silly things to PR to try and make people smile.
About The Pull Request

Felinids now get a SMALL and SHORT mood debuff when getting sprayed with water. The intent of this PR is not to provide content to grief felinid (flashback to the "Felinids hate water" pr), but rather to provide a funny interaction.

Bonus point (Suggested by Ninja) : Getting sprayed with water interrupts do_after. Felinid climbing on your table ? Pssshttt. Straight in the face.

PR with permission from @ninjanomnom
Why It's Good For The Game

Light-hearted fun and a bit of flavour to felinids.
Changelog

cl
add: Felinids don't like getting sprayed with water.
code: Adds a new status effect, incapacitated, which causes your do_afters to stop.
/cl
2021-11-12 11:04:00 +13:00
Mothblocks
061f47d0ee Antag HUDs will now animate if you have multiple antagonists, and will no longer clear on deconversion (#62718)
About The Pull Request

This is for the admin combo HUD. Players shouldn't notice any difference (except at roundend).
2021-11-09T16-27-26.mp4

Removes the ability to set custom antag HUDs for custom admin teams for complexity, though if there's a large enough demand I can try to bring it back in another PR.

Fixes #59767

TM candidate only so that I can make sure antags aren't getting leaked to people who shouldn't see them.
Changelog

cl
fix: Antag HUDs will no longer clear on deconversion if the player was another antag.
qol: Antag HUDs (as seen by admins and at the round end) will now animate between all antagonists, rather than just choosing the most latest.
/cl
2021-11-12 10:53:45 +13:00
LemonInTheDark
3bb64112e2 Ref tracker TLC, makes unit test harddel errors more descriptive (#62725) 2021-11-11 13:49:21 -08:00
CocaColaTastesGood
31cf6cb6be Fixes #62719, exploit that let players order crates marked as special. (#62723)
* Update orderconsole.dm

* Update orderconsole.dm

* Update budgetordering.dm
2021-11-11 15:55:40 +01:00
Ghom
a2489d7b72 The weapon description for energy guns now takes in consideration the pellets number of the selected mode. (#62705) 2021-11-10 22:15:39 -05:00
Y0SH1M4S73R
46e877a2ee makes the color matrix editor log all color edits (#62717) 2021-11-10 22:12:42 -05:00
Ghom
21c89ba12b Reagents scanner circuit component (#62704)
It allows people to make circuits objects that interface with reagents.
2021-11-10 19:35:44 +00:00
GoldenAlpharex
d407799f4a The word filter will now be less scared of double or trailing spaces (#62703)
It kept on tripping because the RegEx expression was malformed due to an absence of words in to_join_on_whitespace_splits, which caused it to filter out spaces that were at the beginning or at the end of a message, or if there was two spaces one by the other.

Also prevents people from sending a message that's only spaces in OOC, because that's a little silly.
2021-11-10 18:26:53 +00:00
Mothblocks
f3af9d6d9e Fix random names breaking preferences (#62668)
The randomization (specifically from the random names secret) overrode your preferences, this fixes that.
2021-11-10 07:43:15 +00:00
Ghom
45e7aeda84 Material Scanner circuit component (#62677)
* Material Scanner circuit component

* get_turf(src) to get_location()
2021-11-09 23:08:55 -05:00