Commit Graph

60042 Commits

Author SHA1 Message Date
John Willard
5d58bebbf9 Mass-PDA perms is configured on Wirecarp (#66889)
Lawyers and Captains spawn by-default with the ability to send mass PDA messages, but the Wirecarp app (so Research Director and Captain) can grant/revoke permission to send PDAs to everyone
2022-05-17 00:35:08 -04:00
MrMelbert
ac3bb71738 Fixes mind restoration causing dizziness (#67011)
Mind res should cure dizziness, not cause it
2022-05-16 21:54:21 -04:00
Cheshify
9aeeb24838 Massively Nerfs Snowdin Gamer Loot (#66997) 2022-05-16 16:45:09 -07:00
Son-of-Space
f3c92c5b6e Gives Detective ACCESS_SECURITY, moves security equipment to ACCESS_BRIG (#66990)
* Gives Detective ACCESS_SECURITY, moves security equipment to ACCESS_BRIG

* Removed Forensics access from brig closet, security records
2022-05-16 18:43:57 -04:00
Tastyfish
2280d91da1 Adds pedestrian crossing signals to tramstation (#66966)
About The Pull Request

There's nothing inherently wrong with crossing the tramstation tram track, except it's impossible to guess where it is or if it's approaching you since it's silent. So I added little signal lights.

Green means it's not approaching you or it's so far away it doesn't matter.
Amber means you can safely cross but should do with some vague degree of urgency.
Red means NT isn't liable for what happens if you cross.

More specifically:

    If the train's stopped (usually switches to this state when the tram controls unlock):
        If the signals are at the same station that the tram is at: they are red, as the tram could start moving at any moment.
        Otherwise, they are green.
    If the train is moving:
        If the tram is moving away from the signal, it is green.
        If the tram is moving towards the signal, it is green, amber, or red as per the description at the beginning.

Why It's Good For The Game

So people don't have to guess and get hit by a train on their way to work.


cl
add: Tramstation now has crossing signals to help you not get hit by the tram (or jump in front of it at the last minute for comedy value).
/cl
2022-05-17 08:37:30 +12:00
Dorsisdwarf
49ce69df47 Egg Frying Overhaul (#66137)
- Removes friedegg recipie
- Adds a new rawegg grillable into friedegg, obtained by breaking an egg onto a griddle (right-click).
- Changes the double-egg friedeggs sprite to a single-egg. No more eggmancy!
- While we're at it, replaces the raw egg in the fried-egg-and-sausage recipe with a fried egg.
2022-05-16 12:31:58 -05:00
MrMelbert
4fa6e49c61 Adds radial support + balloon alerts to stack crafting, cult metal now uses a radial when making buildings (#66938)
* Adds radial support to stack crafting
- uses it for runed metal

* Unit tests

* Balloon alerts and toilet lives
2022-05-16 09:34:52 -04:00
Watermelon914
35f17d5745 Removes the PROGRESSION_POINT_FACTOR define and removed unnecessary progression point to reputation conversions (#67005) 2022-05-16 09:17:52 -04:00
DragonTrance
89650214fd [MDB Ignore] Refactoring Flora code (#66978)
* organizing flora file and icon states, & flags

Changes the typepath for a lot of flora, and adds new paths depending on the amount of icon states the flora had, for better modularization on mappers. Also adds flags to the flora depending on what type it was, instead of 3 bools

* Getting ready to attempt to modularize flora

Moving most vars and procs from ash flora into the normal flora type path, as a general preparation to add more here

* Weighted products & Region Messages

Rewrites flora code so a flora's produced items can be initialized with a weighted list. Also has some improvements, relating to item stacks.

Adds an option via variables to separate 3 messages into 3 possible regions, or the old method where the message changes when the value is exactly the same as the low or high harvest value

* organizing + documentation on procs

* Documentation, Organization & Modularization

(DOMing) yeah, I dom
Gives variables for tools that can harvest flora, a blacklist of them, and modularizes variables a bit.

Retypes the stump to be a subtype of a tree, which just deletes after being harvested

* Adds the ability to uproot flora with a shovel

* added eswords to the list of things that can cut

* ausbush junk

* code review appreciation + changing drag_slowdown

* more code review appreciation

* kirbyplants ComponentInitialize() -> Initialize()

* forgot glob.
2022-05-16 00:00:54 -07:00
RandomGamer123
58338c0a9d Fix tank compressor rotation-related bugs (#66998) 2022-05-15 23:54:11 -07:00
san7890
a5dd1c9019 Adds more instructions on finding Active Turfs (#66959)
Hey there,

That little portion that says (debug verbs required) is not helpful at all to anyone who isn't already familiar with the aforementioned debug verbs. It's a pretty buried feature in the codebase as of this PR, so I think it's best to add some more verbosity on actually getting these debug verbs enabled.

Escaping newlines seems to work with logging without any noted downsides, helps readability if it's not all smashed on that one line.
2022-05-16 00:40:01 -04:00
Tim
4b85c97357 Change drunk blur effect to scale by intoxication (#66961) 2022-05-16 00:39:04 -04:00
Seth Scherer
a3add37618 Refactors the forensics component into a datum (#66809)
About The Pull Request

This was doing things component really shouldn't be doing, and now all
of its behaviour is contained onto a datum, as it should've been the
whole time
Why It's Good For The CODEBASE

some things just really shouldn't be components, this was made back when DCS was first implemented and just thrown in because it was the new hot thing i guess, but datumized forensics makes far more sense, AND doesn't use GetComponent

TODO:

    More thorough testing to make sure nothing broke

Changelog

🆑
refactor: Turned the forensics component into a datum.
/🆑
2022-05-16 16:33:59 +12:00
magatsuchi
bea9387458 refactors statpanel to use tgui API (#66971)
refactors the status panel to utilize the tgui/byond communication APIs instead of passing along href data, as well as converts the entirety of it into a datum/tgui_window

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2022-05-16 07:12:05 +03:00
Son-of-Space
e5b68960b8 [NO GBP] Gives miners general cargo access (#67025)
Gives miners the ability to access their department (like the cargo bay) as normal. This is a quick fix to make sure that miners can do their jobs while we wait for the refactor currently in the works to go through. After that is in I will be able to properly manage the accesses and compartmentalize as necessary.
2022-05-15 17:58:36 -06:00
John Willard
aa0ce42279 Makes ridable not work if you cant hold the offhand (#66939)
* Makes ridable not work if you cant hold the offhand

Because amount_equipped is 0, and because not being able to insert the riding_offhand only break's, rather than returns FALSE to cancel, it goes on to fireman carry you're not supposed to be able to carry, leading to situations where people are fireman carrying others and is completely unable to drop them.

* adds a block buckle to slime's traits too
2022-05-15 15:24:00 -04:00
vincentiusvin
882f576755 Fixed another outdated quip about buying scipapers (#66968) 2022-05-15 14:42:13 -04:00
SmArtKar
e0fc6b0e39 Fixes lightning bolt not giving tesla shock immunity when granted by an admin (#66973) 2022-05-15 14:41:36 -04:00
TiviPlus
480751a6f4 Split up mecha.dm properly (#66986)
Co-authored-by: TiviPlus <572233640+TiviPlus@users.noreply.com>
2022-05-15 14:40:48 -04:00
VioletN
54ce923a6c Fixes traitor reputation being calculated and displayed incorrectly at round end (#66885)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-05-14 15:59:06 -07:00
YakumoChen
fa271795da Gives boritos more flavour (#66958)
About The Pull Request

Rewrites the descriptions for Boritos flavours
Also makes them taste better too like the code comment implied
Why It's Good For The Game

All the descriptions were bland, like plain Boritos
Changelog

cl
spellcheck: Boritos flavours have more flavour!
/cl
2022-05-15 09:27:58 +12:00
Tom
216c9736ca Allows BS gas sender to be unwrenched, minor gas sender code improvement (#66903)
* Update bluespace_sender.dm

* Update thermomachine.dm

* Update unary_devices.dm
2022-05-14 12:27:57 -04:00
GuillaumePrata
b500a5b188 belt.dm lists are in alphabetical order now. (#66943) 2022-05-14 12:15:38 -04:00
Thunder12345
e53a3152a2 massively improves the readability of stripping related attack logs (#66895) 2022-05-14 12:01:42 -04:00
SmArtKar
b3c624914d [NO GBP] Fixes hierophant trophy damage (#66891) 2022-05-14 11:59:53 -04:00
GuillaumePrata
ac2b7a7be5 Clean some small details on most vending machine product lists. (#66934)
* Cleans a lot of wardrobes.

* Small extra changes.
2022-05-14 11:55:57 -04:00
RandomGamer123
16076f69ab Fix biogenerator using 10 times more power than it should (#66937) 2022-05-14 11:50:18 -04:00
GuillaumePrata
5a83cfbf09 bags.dm lists are in alphabetical order now. (#66951) 2022-05-14 11:14:36 -04:00
David Walker
bbabf816f4 Protect against floating-point inaccuracy in log() (#66875)
This was causing issues with indexing icon slots (the main user of TOBITSHIFT). See BeeStation/BeeStation-Hornet#6842 for more details.
Probably fixes #66197 and fixes #65652. (In all my tests, I could never get anything to show in suit_storage, whereas those bugs are reporting intermittent issues.)
Originally made for BeeStation/BeeStation-Hornet#6842 (which also affects TG).
2022-05-14 10:14:37 +01:00
SmArtKar
a2a3c267cd Fixes multiple orbiting blades being used at once (#66817)
Multiple orbiting blades will no longer be used to protect you from the same attack in case you have multiple instances of the status effect
2022-05-13 23:47:45 -04:00
John Willard
c61d6dc3cb Removes CPU, Sensors and Identify ModPC parts. (#66924)
Removes CPU, Sensors and Identify parts from modulra computers.
This is in effort to simplify how tablets and tablet apps are, while removing barriers to download specific apps. Limiting apps needed for your job, through hardware, is a terrible idea, and just limits departmental stuff to being there roundstart/latejoin, punishing people who job change through the in-game HoP system, devaluing the job as a whole.
2022-05-13 14:50:35 -04:00
GuillaumePrata
a53f926078 Makes whistles be small sized. (#66930)
Just that, they were inheriting their size from the root /obj/item.
2022-05-13 11:49:02 -07:00
GuillaumePrata
04ecd0ab72 Advanced tools are medium sized, toolboxes can carry medium sized items. (#66900)
* Advanced tools are medium sized now.

* Moves `w_class` 1 line down

* Moves `w_class` MORE DOWN

* Syndie Jaw pocket edition.

* Toolboxes can carry medium items, pocket syndie jaw in desc.
2022-05-13 12:34:26 -04:00
John Willard
b0c8eb5a3a Fixes Cook CQC + job change config fixes (#66876)
Allows configs to once again change job positions of jobs, and additionally allows them to completely disable some jobs. In the past, Pubby didn't have Lawyers and Curators, I doubt this would be the case in the future, but I find having this as an option for config is still good.

I also properly logged jobs not loading due to removal from mapping config, to be in job debug instead of testing.

Finally, I removed the old config_job, and made all configs use title instead. It was suggested I use typepath instead of title, but I am against doing it for the time being, as I don't expect Mappers to look for typepaths if all they want to do is make mapping stuff, though arguments can be made against that (like how its case sensitive so it's easy to break).
2022-05-13 11:15:27 -04:00
John Willard
0a4d82046a Fixes pants altars being spammable (#66911)
The cooldown doesn't start until the pants is finished being made, so while its still making the pants, you can spam the shit out of it
2022-05-13 07:59:26 -07:00
John Willard
cfca867cf8 Fixes the captain's PDA (#66908)
I screwed it up and didn't make the Captain's PDA a subtype of heads, so captain was spawning with the wrong PDA.
2022-05-13 10:57:46 -04:00
magatsuchi
6bddf82ad8 fixes admin ticket linking bad href (#66910)
Fixes a bad admin href in help tickets
2022-05-13 10:56:55 -04:00
John Willard
62281befe3 makes minifridges able to hold more stuff (#66922)
Due to mini-fridges being in the pool for spawning instead of crates/lockers, if there's too many things meant to spawn in said fridge, unit tests will fail because it cannot hold it.
To fix this, I simply added more storage capacity.
2022-05-13 10:51:29 -04:00
MrMelbert
3d5a36308e Reduces the chance of spawning a pants altar (#66904)
* reduces the chance of spawning a pants altar
2022-05-13 04:15:51 -04:00
MrMelbert
c4a9043fa8 Fixes some minor formatting issues with vote text (#66913)
* Fixes some minor formatting issues with vote

* Wrong thing.

* Actually I think this is supposed to be here
2022-05-13 04:10:54 -04:00
dragomagol
6525ca4472 Removes log_cloning (#66912)
Right now there is only 1 source of cloning: pod cloning-- and pod cloning is exceedingly rare. I don't think this warrants its own file anymore with the death of regular cloning a few years back.
2022-05-12 22:55:46 -07:00
SmArtKar
73daa9dc66 Fixes staff of storms not aggroing mobs (#66819) 2022-05-13 01:36:04 -04:00
GuillaumePrata
4904ac7fa7 Surgery tools can be recycled for silver. (#66901) 2022-05-12 22:41:50 -04:00
ErdinyoBarboza
6f450d93a6 New drink sprites aka Drink Desouling (#66538)
- All drinks and bottles have been resprited
2022-05-12 22:39:40 -03:00
wesoda25
ba9b1d4786 Allows ethereals to ghost out of crystallization (#66853)
* moves around tgui question so it doesnt piss off linter or someting idk

* code clean up
2022-05-12 15:12:30 -04:00
GuillaumePrata
a2d135c456 Goodbye stack/medical (#66898)
Okay, why removing instead of giving it a sprite?

Simply put, those items are all small and there is no reason that you need to quick draw a suture/ointment and if you do, the medical belt can carry 7.
Allowed/exoslot items should be either medium/big/bulky sized items (Syringe gun) to make it worth inventory wise or items that you can quickdraw multiple times (Health Analyzer) to make your life easier.
Medical stacks are neither and would just get in the way if you try to quickly put them into a bag/pocket/belt and instead it goes into your exoslot where you would normally want to carry more valuable things like the syringe gun.

This doesn't feel big enough for a fix, spending 5 seconds making a list alphabetical doesn't few worth of code improvement, I will label this as QoL and if someone say it is a balance change I will follow you in game and keep placing shitty small items in your inventory via reverse pickpocketing.
2022-05-12 11:56:16 -07:00
John Willard
daf3fd6119 Makes cult's objectives load before their antag ui (#66899)
Makes Cultists get their objectives from their team BEFORE their parent's on_gain runs, giving and triggering their antag UI. This means players no longer have to close and reopen the page to see their actual objectives.
2022-05-12 11:55:49 -07:00
san7890
e38300ac2d Adds Ceilings To IceMoon Ruins (#66836)
Hey there,

On IceBox, sometimes, ruins could spawn below chasms that we had, or below a ruin that spawned in more openspace chasms. This would cause numerous Active Turfs on initialization, and I've seen the number go up to 150 active turfs. This change should reduce the number by a good margin.

I decided to make the ceiling mineral-rich snow to ensure it had that "buried" appearance, and would hopefully look nice to have that odd chance for a underground ice ruin create a natural bridge that just needs to be excavated.
2022-05-12 11:30:14 -07:00
John Willard
9ae3ef56a9 Lathe taxes now checks departmental flags (#66896)
Lathes and designs now use departmental flags rather than some random misc define that wasn't used anywhere else (which this PR is deleting), this allows us to cross-reference it with job bitflags to check whether or not a job should pay lathe taxes. Nothing else is effected by this change. Important changes are in code/modules/research/machinery/_production.dm if you want to get straight to the point.
2022-05-12 09:22:46 -07:00
Ghilker
f134d777ca Remove organs from delimber anomaly (#66888)
* Remove organs from delimber anomaly

* Remove organs from reactive armour
2022-05-12 11:09:15 -04:00