Commit Graph

36374 Commits

Author SHA1 Message Date
MacBlaze1 19e56abfc0 allows charging from lights to loop (#64548) 2022-01-31 19:26:35 -05:00
LemonInTheDark d785d7d94e Fixes kilo's whiteship not spawning (#64558) 2022-01-31 16:56:56 -07:00
Watermelon914 78d620051e Rebalances some things about progression traitors and adds some uplink items. (#64132)
About The Pull Request

Lowers TC rewards for assassination objectives, steal and destroy item objectives.
Makes it so that when you take the battlecruiser final objective, you become a battlecruiser ally and can assist with nuking the station.
Moves the elite syndicate modsuit from the nukie uplink to the traitor uplink at a high cost and high progression cost.
Adds new uplink items that cause station-wide blackout and telecommunication disruption temporarily.
Why It's Good For The Game

People can get an enormous amount of TC by completing these infinitely available objectives, and because of an oversight with the 'steal item' objective in regards to how much TC it rewards, they were worth a lot more TC than they should've been.
The battlecruiser objective changes have been made so that the traitor feels more involved with the battlecruiser they've summoned and can assist them with the nuke.
The new uplink items have been added so that there is more lategame gear that a traitor is able to purchase, as lategame traitor items are lacking right now. The elite syndicate modsuit gives traitors the opportunity to protect themselves during lategame engagements with security or other forces which could prove to be a threat when performing anything deeply antagonistic, like blowing up parts of the station in space.
Changelog

cl
expansion: Final objective battlecruiser will now make you a battlecruiser ally, giving you the nuke codes and making it obvious to other battlecruiser members that you are one of them.
expansion: Added telecom disruption and blackout purchases for traitors to purchase, and moved the elite syndicate hardsuit from the nukie uplink to the traitor uplink as a high progression cost item.
balance: Rebalanced TC rewards from assassinations to be less, and lowered TC rewards for plentiful objectives.
balance: Lowers the progression reward of assassination objectives.
/cl
2022-02-01 09:48:08 +13:00
Jeremiah cdfd5df7be Refactors pay stands + custom vendors (#63889)
I am disgruntled by the way pay stations work. They're not intuitive, they're a pain to build and have no interface. Basically: They don't get made, and the potential is lost.

Pay stands => Holopay

    Summoned by right clicking your ID
    Disappears if the card is out of range.
    New TGUI window that offers more customization

Other bundled fixes:

    Custom vendors become more user friendly
    Code improvement
    Lots of documentation + refactoring
    New bundled number input will likely take place of animated number in tgui input number

Why It's Good For The Game

More RP opportunity for players, plus bug fixes. It's now much easier for players to start their own in game business selling substances clown shoes.
Changelog

cl
code: Created a new input component that accepts only integers. More usage to come.
refactor: Pay stands are now holographic. It's 2562! Create one by right-clicking your ID.
del: Circuit boards for pay stands.
refactor: Pay stands now have their own TGUI.
fix: Custom vendors now alert you when someone makes a purchase.
fix: Custom vendors now place items in your hand when you make a purchase.
/cl
2022-02-01 09:47:28 +13:00
RandomGamer123 b34ed1c466 Stops silicons from opening circuit airlocks by bumping them open (#63780)
Prevents silicons from easily opening circuit airlocks by simply bumping them open (This happened as airlock/bumpopen(mob/user) called door/proc/bumpopen(mob/user) which called door/allowed(mob/user) which calls obj/allowed(mob/user) which checks for silicons before it checks for check_access)
2022-01-31 16:00:54 +00:00
Ghom c0092255d5 Fixes #64489 (#64518) 2022-01-31 00:34:39 -08:00
Tim be355edab5 Refactor incapacitated optional arguments (#63771) 2022-01-31 00:04:07 -08:00
John Willard 6a1ae92145 Re-adds species uplink items (and some minor fixes) (#64460) 2022-01-30 23:01:36 -08:00
ArcaneMusic 70306cc3ad Black Market code, Revisited. (#64271)
This PR updates and refreshes the whole of black market code for improved usability as well as to better sell the backbone of the content behind the blackmarket in-game.

For starters, the datums for the black market were designed around not being specific to the black market. Reading the code, it was intended to allow for multiple blackmarket_markets to be added after it's original inclusion, which was passed up as a result of what I'd guess is a branding issue, as every datum associated with the blackmarket was labeled... as for the black market, nothing else.

So to begin I've renamed most of the backend of the blackmarket code to just market instead, datum/market, datum/market_order, datum/market_item, datum/market_uplink(/blackmarket). The works.

Next, QOL change to how blackmarket uplinks were implemented: Now, instead of having to manually load credits into a black market uplink by hand, then choose to buy things using the uplink, they instead just draw from the user's ID card, checks for a bank account, and purchases through that, with quick inputs added when purchases are successful and warnings when a purchase cannot be made.

Lastly, code change. In an old economy PR of mine I standardized purchased cargo items to use the CARGO_CRATE_VALUE define, and for vendible items to use paycheck defines instead. In that PR I rebalanced quite a bit of prices as a result, but this got passed up when that happened. I'll leave the balancing for another time then, but this updates the code of market_item datums to use CARGO_CRATE_VALUE for their upper and lower cost ranges to maintain that standard.
2022-01-30 16:52:04 -08:00
John Willard a471857471 de-hardcodes job icons (#64193)
I made this because I was just messing with jobs and remembered about jobs' tgui prefs being de-hardcoded so thought about doing it for the in-game jobs as well.
Why It's Good For The Game

Not good for the game, but is just a QoL for downstreams who have custom jobs.
Changelog

Not necessary.
2022-01-31 13:24:38 +13:00
LemonInTheDark 79041601d4 Fixes a default warning in reference sanity. (#64560) 2022-01-30 15:32:46 -08:00
Ghom b84ad2dde8 Removes useless status effect path defines. (#64490) 2022-01-30 01:26:04 -08:00
Zonespace e804c97cc3 Actually inserts the implant when using an autosurgeon on someone else (#64528) 2022-01-30 01:25:27 -08:00
LemonInTheDark d253a3b767 Ensures that COMSIG_PARENT_QDELETING is sent before client Destroy. (#64536)
I want to let logic rely on this, so I'ma just ensure it can
2022-01-30 01:22:18 -08:00
AnturK 4421bfa629 Fixes marking abductor agents or cows for recall. (#64519) 2022-01-30 01:21:27 -08:00
Watermelon914 cb42aa944a Adds time of creation to traitor objective log data (#64486)
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2022-01-30 01:20:52 -08:00
Ghom 9dfba9bb7c Removes useless defines for mutation paths (#64512) 2022-01-30 01:19:23 -08:00
Vire 887bce1f0f Tweak CIMS to ignore Syndicate Owned crystal. (#64526) 2022-01-30 01:19:03 -08:00
Mothblocks 4e8f94257e [DNM] return null in get_item_for_held_index, and not FALSE (#64494) 2022-01-29 22:21:55 -05:00
TemporalOroboros 69ad300ba8 Octuples non-penetrator sniper range (#63859)
* Octuples sniper range

* Projectile pixel-x, pixel-y

* Fixes always aiming at the center of your target.

There used to be code that was supposed to let you shoot at the individual pixels of your target.
It was broken and was causing bullets to drift off-center at long ranges and zooms.
I tried to fix it and accidentally wound up removing the ability to target individual pixels.
This reimplements the pixel targeting without the aim drift bug.

* Resets penetrator round range.

Reduces the range of penetrator rounds to their original range at the request of @Ryll-Ryll.
2022-01-29 22:17:52 -05:00
jjpark-kb 4518090781 output direction change for mech fabs (#64311)
* output direction change for mech fabs

* balloon alert
2022-01-29 22:15:17 -05:00
Ghom 9a4bec5919 Fixes the Illegal tech node being unobtainable (#64520)
* Fixes the illegal technology node not being researchable.

* litter

* Update all_nodes.dm
2022-01-29 22:12:57 -05:00
Watermelon914 329a99450c Added a readme for traitor balancing (#64506)
* Added a readme for traitor balancing

* Tweaks

* Tweaks

Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
2022-01-29 22:11:07 -05:00
AnturK db4310d8c5 Fixes a few runtimes with armor, spatial grids, and notes (#64514)
* Atoms  (mostly new players caused by logout) can get deleted before spatial grid initializes.

* Fixes images when viewing your notes before SSassets initializes.

* Fixes abandoned crate runtime.

* Fixes armor runtimes on eating clothes (this really needs alternative solution)
2022-01-29 22:04:54 -05:00
tralezab 3cd77b0662 Bounty Hunters as ERTs + Flame Id (#64083)
About The Pull Request

Bounty Hunters can now be called as ERTs, to which they will spawn at centcom with proper access. Also, the bounty hunters now get flame ids, because they think they're that cool.
Why It's Good For The Game

Bounty Hunters are really fitting for admin erts, but I never bothered to throw them in until now. Also, it was a good opportunity to fuck off with all that id label BS
Changelog

cl
admin: Bounty Hunters can now be called via admin ert
expansion: Oh, and they have cool flame ids as well!
/cl
2022-01-30 15:09:04 +13:00
Donpedrito 59ed80a00e Adds blue shoes to the MediDrobe. #64492
About The Pull Request
Adds the blue shoes, which paramedics start with but are seemingly otherwise unobtainable, to the wardrobe that has the rest of their starting outfit in it.

Why It's Good For The Game
Currently, paramedics have no way to replace their shoes, or get them if they change their job to paramedic, other than making fake ones using a washing machine and crayon. Also, they look a hundred times better than white shoes when I'm wearing blue medical scrubs as a doctor, which is the main reason I made this PR.

Changelog
🆑
add: Added blue shoes to the MediDrobe.
/🆑
2022-01-29 19:32:11 -05:00
MrMelbert 29b6d829cf Fixes balloon alerts sourced on turfs (heavy rain edition) (#64472)
Balloon alerts sourced from turfs will now properly only show on one turf.
get_atom_on_turf() will now CRASH() if passed a turf instead of an atom/movable. I look through all uses and made sure any place that may send a turf won't, but it SHOULD be fine.
2022-01-29 02:37:00 -08:00
Vire 2ecf742bcf Fix camera nets (#64429)
About The Pull Request

Closes #62528
Closes #64229

#60805 added \improper to a number of area names. This broke cameras for these areas, as apparently tgui does not respect \improper. This wraps the improper area name in a format string before it is assigned to the c_tag.
In this PR three mappers write one line of code. Thanks to @Sealed101 for doing the legwork.
Why It's Good For The Game

Security players will appreciate having their cameras back.
Changelog

cl Vire, san7890, mrmelbert, Sealed101
fix: Autonamed cameras should no longer show static in camera consoles.
/cl
2022-01-29 21:56:38 +13:00
san7890 510ce05992 Re-organizes the files in the root of the icons/ folder into it's substituents #6441
About The Pull Request

Same vein (although a lot larger than) #64118

On the tin. This moves them into their own folders and the paths were updated in the code.
Why It's Good For The Game

It's not exactly good visuals for stuff that can be placed elsewhere to just be sitting in the root. Organization is nice.
Changelog

cl
fix: For those of you into code, some stuff with the icon pathing has been shuffled around so it's no longer in the roots of the icon/ folder. If you aren't into code, that's fine too.
/cl
2022-01-29 20:45:17 +13:00
SMOSMOSMOSMOSMO fb2138b02e Fix player controlled beepskys cuffing people (#64474)
* Update secbot.dm

* Update secbot.dm
2022-01-28 13:03:19 -05:00
LemonInTheDark f509a71954 Fixes incorrect apc offset warnings (#64488)
We were setting the offset to negative values, then checking that against a non negative define

Uses the absolute value to compare instead of the signed value.
2022-01-28 17:08:02 +00:00
Fikou 62add6c9a8 Loader Class MODsuit (#64359)
* loader modsuit
2022-01-28 15:10:02 +01:00
Watermelon914 d508546310 Optimized steal item searcher to not search through the entire game world. (#64354)
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
2022-01-28 02:05:50 -08:00
RandomGamer123 3472077f82 Purified shades get converted to shades if they get converted & related fixes (#64233)
Purified shades now get converted to shades (mainly name & icon change) if they get converted to cult
Using twisted construction on a non-cult soulstone now makes it a cult soulstone (including converting any shade inside to a cult shade if any shades are inside)
Fixes a bug found during testing where soulstones with a shade that has been recaptured would say "soulstone: Shade of Shade of [NAME]", caused due to real_name already being "Shade of [NAME]".
Purified shades now show who they were prior to being captured.
2022-01-27 23:43:29 -08:00
tralezab 116200a574 statues now have the monster jaunting ability. (#64048)
statues now have the ability netherworld link monsters have, which is to phase out and in when unseen.

statues are currently solved by walling them in, which is one of the worst ways a monster is defeated in this game. the alternate is allowing the statue to break down walls, which would be FAR worse. this is a sister pr to #64047 (c3216c031c), as that pr adds a new defeat condition for statues.
2022-01-27 23:39:44 -08:00
jughu 6a331b510f Ash drake shapeshifting now converts health, fixes 60567 (#64141)
* Update shapeshift.dm

* Update shapeshift.dm
2022-01-28 01:15:19 -05:00
Tortoise 3e0ad56623 Fixes loading C-4/X-4 into grenade launcher and duplicating (#64318)
* Grenade Launcher C4 Duplicate Fix

The shit code fixes the problem with duplicating C4 if you load it into grenade launcher.

* cannot load c4 into grenade launcher

Test. I have no idea how to do second commit.
2022-01-28 01:13:09 -05:00
Seth Scherer b2f70d2580 Fixes spiders spawned from eggs not having a number (#64452)
When spiders are spawned, they're given a random name, however the mob
spawner name setter overwrites that... fixed that by randomizing the
name inside of the mob spawn `create` proc. Also gaves spiders an
`\improper` to stop `An a spider`
2022-01-27 23:45:22 -05:00
LemonInTheDark 934a5ea498 Actually fixes strange mob delays: BEEPSKY IS TOO FAST edition (#64351)
* Revert " Properly speeds up a lot of things, mostly mobs (#64270)"

This reverts commit a836574388.
THE BYOND REF WAS A LIE, THE PLAYERS ARE FOOLS, HELP, HELPPPPPPP

It turns out that despite what the byond ref says, the walk proc's delays were not in fact in ticks, but in deciseconds.
This means when I "fixed" mob movement by doubling all walk delays, what I actually did was double the speed of anything that used walk()

I have a feeling that the actual issue players were seeing was just move_to having fucked up distance logic, and the movement of slow mobs being smoothed out. I've changed that, so hopefully this puts a seal on the whole problem

I've had a request put in to make beepsky faster, but I think that's best done in a seperate pr

* Adds a flag to disable smooth moveloop movement
Applies it to hostile mob's Goto()
Backports the fixes to move_to and move_away from the previous pr
2022-01-27 19:50:08 -06:00
Mothblocks 3d319f6157 Autowiki - Generate wiki pages through code (#64417)
Adds a /datum/autowiki template which can be derived in order to create wiki pages and queue file uploads. This is then kickstarted by the new tgs target autowiki (using the AUTOWIKI define) in order to upload these pages.

The pages generated are, in a best case scenario, raw data. This means that wiki editors can decide what the actual theme is without ever having to touch the repository. In the future, MSO will hopefully sandbox the wiki and install Scribunto to let us separate data and style even more.

These will, when done, upload to templates, such as Template:Autowiki/VendingMachines. The actual pages (in this case "Vending Machines") will include this, and thus can write down their own prose and whatnot without ever having to touch repo.

This will also be run on a daily GitHub action, with some secrets setup to link to the account. Currently this is on a bot password (my forum account will not be leaked in the event of a collapse), but at some point I would like to create a dedicated bot account.

This PR adds a Techweb and Vending Machine autowiki. You can look at the Vending Machines one here and the Techweb one here.

I have absolutely no idea what to label this PR (other than note the unit tests I've added). Feel free to add whatever gives GBP 😉
2022-01-28 00:30:15 +00:00
Wallem f591124538 Changes mail bag sprite & lets you put them on cargo coats (#64436) 2022-01-27 02:50:43 -08:00
Zonespace f226b2bb33 Autosurgeons can now be used on other people (#64440)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-01-27 02:50:05 -08:00
AxieTheAxolotl 1e7460f042 Mime Resprites, AKA Mime Desouling (#64433)
imageadd: New sprites for the Parcel Parceaux, base Mime mask, Mime outfit and skirt, and mime sexy outfit.
2022-01-27 04:25:28 -05:00
Sheits b7c1c31bf8 Desouls the legion (#64174)
I really hope I didnt fuck the pr up lol
also big thanks to SgtHunk and JohnWillard for code help
2022-01-27 01:23:42 -08:00
John Willard 5dcfae4252 Turns blood walking into an element (#64162)
Refactoring things to elements/components is better in general, and I thought this was a perfect thing to turn into one.
2022-01-26 19:20:18 -08:00
castawaynont a891205315 SWAT suit no longer has space-proofing, less slowdown and retains temp resist, cargo cost lowered to 1400 (#64343)
The SWAT suit ordered from cargo is no longer space-proof, but it's slowdown is cut back. It retains it's temperature proofing. It's crate cost from cargo has been reduced to 1400 from 2400.
2022-01-26 17:26:37 -08:00
san7890 21830b1f90 The Lizard's Gas (Station) Update (#64304) 2022-01-26 18:10:12 -07:00
tralezab 767356141c Separatist Antag UI (#64173) 2022-01-26 01:04:27 -08:00
magatsuchi 80451ab5d6 fix blood barrage animation (#64405) 2022-01-26 01:01:02 -08:00
Pickle-Coding f6888e924d Bluespace gas vendors no longer deletes the gases it doesn't send to the tank. (#64407)
The pump_gas_to proc removes all the gas from the gasmixture if it has the specific_gas parameter, so it can calculate how many moles it should transfer using the specific gas it removes. This resulted in the bluespace gas vendor deleting gases it didn't transfer to the tank. This PR transfers the gas the proc took back into the gasmixture that calls it after use.
2022-01-26 00:40:24 +00:00