Commit Graph

13381 Commits

Author SHA1 Message Date
Doctor Pope
aa034d02cd Fixed spelling of possession, separate, and cemetery (#63203)
Just fixes some spelling for gangs. I also fixed misspellings for "posession" to "possession". Fixed "seperate " to "Separate" Fixed "Cemetary" to "Cemetery"
2021-12-03 13:29:29 -08:00
Mickyan
9e5f805af8 Changes message when looking up at max-z (#63212)
Changed the message you get when you're at the highest z-level and try to look up to a more generic one that doesn't assume we're inside the station
2021-12-03 13:00:26 -08:00
GoldenAlpharex
4d2a074a1a Ghosts can have colorful hair again! (#63129)
The PR that updated the codebase to no longer use legacy colors didn't check this specific proc, which is to my knowledge only used by ghosts lightening their hair color. That's it.
2021-12-03 20:31:42 +00:00
Jeremiah
307ab2ab6b TGUI pAI Hotfix 1 (#63160)
Adds a new ui state so that players can access the paicard tgui while it's slotted in their PDA (inside the pda wasn't technically in the user's close inventory).
Adds some documentation for the pAI candidate file
Users now get notifications if they can't save files (guest keys).
pAIs previously had NO on screen indicator of hack progress, so I've given them a progressbar over the door
More visual output for pAIs
More output for edge cases
More documentation
Fixes #63161
2021-12-03 20:16:52 +00:00
Mothblocks
57c45bd24b Fix AI eye not being recreated if it was qdel'd, but not nulled (#63131)
As an error recovery point, if the eye somehow gets qdel'd, it is recreated when you try to move to the core.

However, this error recovery doesn't work if the AI eye is qdel'd without being nulled, as create_eye() checks if eyeobj exists (NOT if it's qdel'd).

Of course the real bug is in whatever is qdel'ing the eye, but considering this is an existing error recovery system, it should still work!
2021-12-03 00:45:12 -08:00
Ryll Ryll
b5089e714b Cleans up unnecessary transformation options in admin player panel (#62832)
I got tired of having to walk new admin candidates through the admin buttons and telling them about all of the antiquated buttons they'd never use, so I'm doing my part and removing a bunch of the transformation bloat from the player panel. Below is the current menu
The only button admins I know ever actually use is the human rudimentary transformation one, and literally nothing else. Judging by how the options are a random choice of some of the station pets, these options probably haven't been updated since like 2012. In addition, the non-rudimentary transformations only work if you're a human, so not sure why they show up for non human player panels.
Here's the new pared down selection, I figured these would be the only useful ones from the bunch. They work no matter what mob the target was previously, whether it be another living mob or a ghost. In addition, I also cut out the transformation equivalents from the VV dropdown, because lord knows that menu keeps getting longer and longer. Lastly, I refactored stuff where possible without getting too trapped in cursed pre-MSO era admincode.
2021-12-02 09:29:06 +00:00
Ghilker
11b6072074 Gasmaks tint and tint calculation update (Oranges approved edition) (#62947)
About The Pull Request

Gasmaks apply a darkening overlay similar to the welding one but much lighter and open.
Without mask
nomask
With mask
covid
With mask and sunglasses
image

Note that other items that apply tint haven't been changed if worn on their own (sunglasses don't darken the vision) but will increase the darkening effect if staked (mask + sunglasses will give an even darker overlay).

Oranges' approval
dad2
Why It's Good For The Game

All upside and no downside are no fun.
Changelog

cl
balance: gasmasks give a slightly darkening overlay, effect will stack with other items that have tint.
code: tint code has been updated to properly work.
/cl
2021-12-02 11:19:09 +13:00
Timberpoes
abfc52cb30 Improved logging for custom radio emote based messages (#62942)
About The Pull Request

Custom radio emotes are currently logged very poorly on live. This adds enhanced logging for both custom radio emotes and custom radio emotes that accompany messages.

Always individually logs the emote portions, and when the emote portions are accompanied by a spoken part, combines both into a single log entry for maximum clarity about what other players likely saw.

game.log example:

[2021-11-19 06:51:40.708] RADIOEMOTE: Timberpoes/(Rae Finkel) fancy emote over command (Central Primary Hallway (107,144,2))
[2021-11-19 06:51:40.708] SAY: Timberpoes/(Rae Finkel) *fancy emote over command*, "says things" (Central Primary Hallway (107,144,2))
[2021-11-19 06:51:52.622] RADIOEMOTE: Timberpoes/(Rae Finkel) fancy emote over common (Central Primary Hallway (107,144,2))
[2021-11-19 06:51:52.623] SAY: Timberpoes/(Rae Finkel) *fancy emote over common*, "says other things" (Central Primary Hallway (107,144,2))
[2021-11-19 06:52:01.134] RADIOEMOTE: Timberpoes/(Rae Finkel) fancy emote over common, no words (Central Primary Hallway (107,144,2))
[2021-11-19 06:52:11.674] RADIOEMOTE: Timberpoes/(Rae Finkel) fancy emote over command, no words (Central Primary Hallway (107,144,2))

Why It's Good For The Game

Kenny Loggins.
Changelog

cl
admin: Improved logging for radio emotes in game logs and player panel logs.
/cl
2021-12-02 10:51:38 +13:00
MrMelbert
95bba71149 Observers can't dispel paper wizard summons on examine (#63136)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-11-30 20:40:41 -08:00
dragomagol
ce95010add Fixes ed-209 construction not being completable (#63156)
Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
2021-11-30 20:28:57 -08:00
Tastyfish
506c00f45d Fixes cleanbot icon state, as well as removing redundant bloat (#63001)
* Fixes cleanbot icon state, as well as removing redundant bloat

* Update cleanbot PR to use new botflags
2021-11-30 10:31:42 +01:00
Jeremiah
7107128fbb pAI TGUI conversion (#62916)
About The Pull Request

Does what it says! pAI interfaces, including pAI card interfaces, have all been reworked.

I spent a bit of time working with pAIs doing this, so I've changed and fixed other things in the process.

    Door jacking had little to no UI feedback
    Many of the pAI actions had little feedback
    Some of the logic was poor or not working (pAI request, for instance)

Why It's Good For The Game

    One of the worst UIs in the game is redone
    Three interfaces are now two: pAI cards and recruit window -> 1 tgui window, pAI software interface -> tgui
    Door jacking gives more feedback, including sounds and messages.
    New procs inside general and security records to fetch data
    Requesting a pAI now uses the notify_ghosts proc like most other ghost roles

Changelog

cl
refactor: pAI interfaces have been converted to TGUI.
refactor: Requesting a holographic pAI friend now correctly notifies ghosts of your loneliness.
add: pAI door jacks have been given a bit more UI feedback.
del: Requesting and downloading a pAI no longer uses two separate screens.
/cl
2021-11-30 17:34:00 +13:00
MMMiracles
1d88b2895b The Tramstation Tram no longer shoves the handicapped out of their wheelchairs when moved (#63041)
* tram no longer pushes over buckled people

* varbgone
2021-11-29 00:51:31 +01:00
tralezab
4d04b44dd0 Antagonist Flavor 2: Malfunction Comes in Many Flavors! (#62774)
Malfunctioning Ais now get their own special antagonist panel, and roll for backstories much like traitors! As before, these are simply suggestions to encourage roleplay while you server wipe as the funny box.
2021-11-28 08:32:48 +00:00
Gandalf
73a4acad95 PORT: Makes diagonal movement euclidean (#63058) 2021-11-26 12:06:21 -08:00
OrionTheFox
ac63233e5d Catwalk Tiles REVAMP + floorbot buff (#63016)
Requested to bring this upstream, so here we are now. The floorbot stuff is new though.

Adds new catwalk tiles that blend better with other flooring

Also does some improvements to floorbots, specifically:
-Auto-place catwalks in maints (now when they wander in there they'll actually be helpful!)
-Actually patch holes (they used to just lay a tile over space and call it good; crowbarring it up would show a lack of plating)
-Repairing floor tiles actually REPAIRS it, leaving the decals intact

More usable catwalks, rather than what we currently had.

Added new reskins of the Catwalk Tiles, which will blend better with other types of floor! These can be selected via a radial on the base catwalk tile, crafted with iron rods.
Floorbots will automatically place catwalks when they're in a maintenance area, and will repair damaged/burnt tiles rather than fully replacing them.
Floorbots will actually place a plating when repairing a breach with tiles, rather than haphazardly laying a tile that has space below it.
2021-11-26 02:04:13 -08:00
Ghom
69e9c36b7f Fixes clown mobs spawning banana peels on turfs they can't reach or while inside closets and other objects. (#62923)
See the title. They previously ignored whether they were on a turf or not and used get_atmos_adjacent_turfs, which also included turfs on above and below z-levels, to get the list of adjacent turfs.

This will fix #62828:
    Create one of many eldritch clown demons that passively spawn banana peels below or around them.
    Place said clown demon into a bluespace bodybag and walk around the station.
    Banana peels will follow you in your wake, with no clear cause. Confuse and annoy everyone.
2021-11-25 23:46:27 -08:00
Ghom
79c8b3a8ca Gradients can now be applied to facial hair too. (#62996)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-11-25 22:44:06 -08:00
John Willard
03604bfb77 Bot code improvement (2/??) (#62671) 2021-11-25 20:41:52 -08:00
Mothblocks
d9b874197b Replace slime extract experiments, required for biotech, with dissection surgery (#63033)
About The Pull Request

Adds back dissection surgery for the purposes of performing experiments. Replaces the existing slime extract fetch quests with dissection surgery for biotech, and adds xenomorph dissection as an extra discount (though I would like to see a node require it some day).
Why It's Good For The Game

Science has no incentive to actually scan slime extracts for biotech, as the primary consumer is medical.

In practice, this means that the grey slime extract experiment, which can be done round-start, is frequently left unperformed. This lets medical have some level of control over their research, while still leaving the actual act of researching the node into the hands of the science department, or heads of staff.
Changelog

cl
add: Added back dissection surgery, which can be used with an operating computer to perform experiments for research.
add: Biological technology's requirement has been changed from scanning one grey slime extract to performing a dissection surgery.
add: Advanced biotech's requirement has been changed from scanning three slime extracts to performing a dissection surgery on a nonhuman.
add: Xeno-organ biology and Alien Biological Tools' now have additional discounts for performing a dissection surgery on a xenomorph.
/cl
2021-11-26 11:32:54 +13:00
Thedragmeme
cab4997529 Make all slimes chirp like the non humans they are (#63000) 2021-11-23 18:59:18 -08:00
ShizCalev
e100f3ca8c Fixes ghosts' boo ability going on cooldown when the light they tried to flicker didn't flick (#62965) 2021-11-23 17:58:43 -08:00
Ghom
423c114b7d Vampire victims no longer receive messages about bloodsucking while unconscious. (#62953) 2021-11-23 04:11:06 -05:00
Ghom
f0d8ca4b01 Update interaction.dm (#62979) 2021-11-23 04:10:31 -05:00
LemonInTheDark
88b2872803 I woke up to admins freaking out about massive lag spikes on manuel round 173107 (#62857)
They were seeing large amounts of hard deletes and weird spikes every ~2 seconds

Looking into the runtime log, the master controller was resetting every roughly 2 seconds
This was caused by an infinite loop in godslayer armor. Works like this

Player gets hurt enough to put them into crit, with enough brute to bring them up a stat level, and more hurt elsewhere
Godslayer armor detects harm, starts to heal
The heal heals the small amount of brute
This sends the stat update signal, which is sent before the stat is actually changed

The armor heals again, going through the same process
Any later calls to update_stat will send the same signal again because the signal is sent before the value is actually changed

This kills the master controller

I've fixed this by moving the cooldown reset, and by changing how stat is set in conjunction with the signal
2021-11-23 00:40:43 -08:00
Mothblocks
271ce9f995 Move current pick_weight consumers to not pass in zeros (#62940)
About The Pull Request

pick_weight_allow_zero was a backwards compatible hack, so it exists alongside pick_weight.

I would really like to just remove the old proc and just rename it, so I want to log what, if anything, is relying on this behavior, to see if it's a bug or if it needs to be handled especially in that case.
2021-11-23 20:19:02 +13:00
Mothblocks
5a72298164 Fix dragon rift not healing dragon (#62843)
About The Pull Request

Fixes #62816, caused by the healing aura refactor.
Changelog

cl
fix: Fix the space dragon's rift not healing the dragon.
/cl
2021-11-23 20:18:45 +13:00
tralezab
623290915c Replaces Batform with Vampire houses (#62516)
Permissions for species change

image
About The Pull Request

Goodbye batform

Hello, new preference called vampire status. Outcast vampires act just like normal, Inoculated vampires join their department under a unified "vampire house name" everyone shares.

image

image

image
Why It's Good For The Game

I've heard people complain about batform for years now, if vampires aren't gone by next halloween we can at least enjoy making them far less griefy (ruining a lot of the fun of halloween as just a dumb grief holiday) and more roleplay oriented. I don't even know why vampires got a griefy spell when they already have their main mechanic encourage randomly attacking people and stealing their blood to stay alive
Changelog

cl
del: Batform is gone!
add: ...Replaced by vampire houses as a preference. Join your department as a vampire ménage!
/cl
2021-11-23 16:29:23 +13:00
Ryll Ryll
6957aaf03d Possibly contains crude/indecent language (#62985) 2021-11-22 15:21:01 -08: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
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
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
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
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
Archemagus
24530bfc00 Fixing floorbot (#62878)
Not tested, but YOLOmerge requested
2021-11-17 14:06:50 -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
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
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
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
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
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
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
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
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
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
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