Commit Graph

16178 Commits

Author SHA1 Message Date
Matt Atlas
62feca073d Fixes ert merc outfit (#7285) 2019-10-27 23:00:22 +02:00
ParadoxSpace
6ee78fa0ca Skrell Glowing Algae Fix (#7274) 2019-10-27 18:53:12 +01:00
Matt Atlas
ca1e06d6c7 Adds distress beacons instead of the current ERT call (#7169) 2019-10-27 14:35:24 +01:00
JohnWildkins
76adc1d93a Death to earmuff duping (and other fixes/tweaks) (#7216)
* earmuff *scream

* don't limit limb breaking that hard
2019-10-27 12:27:38 +01:00
Alberyk
cd8682a3b5 Custom items 23/10 (#7248) 2019-10-27 09:41:27 +01:00
Geeves
5d0c109bfc DESTROYS DISARMING (#7114)
Disarming now takes a portion of your stamina. You cannot disarm if your stamina is near-empty.
    Disarming someone with a weapon in their hand has a chance for them to retaliate by bashing you with it.

I coded this at 1 AM. I want reviewers to look at this critically. In my testing, the stamina worked out pretty well, you could do around 6 disarms before being pooped. Also in my testing, the retaliation never happened, could be bad luck, could be bad code. Anyone got any ideas? I'd love to improve this.
2019-10-27 01:19:24 +03:00
JohnWildkins
9c335f6c00 Killing off inconsistencies with impact wrenches / combi-tools (#7269)
Part 1 in the "why my impact wrench no wrench bolt" saga

tl;dr for end users: combitools / impact wrenches now work on everything their non-powered versions do (except mechs and RIGs, tune in next time on dragon ball Z for that)

essentially all this PR does is murder every istype() check possible that could use a helper function instead, most notably many pen checks with ispen(). it also repaths combitools and powerdrills to /obj/item/weapon so they aren't instantly taken out of contention by half of the known attackby() prompts

I already squashed a couple runtimes here and there from the pen changes and it's possible I missed another because pencode is another scourge upon our lives
2019-10-26 22:20:40 +03:00
fernerr
45bec23db7 Hivebots, tweaks and fixes (#7244)
Changes:

    tweak: "Tweaked the hivebot spawnrate and spawn pattern."
    bugfix: "Fixed some miscellaneous bugs related to hivebots and added the beacons to the gold slime core blacklist."
2019-10-26 22:18:23 +03:00
otatoh
a199c0ac71 Adds *Chitter (#7171)
Adds a *chitter emote for vaurca. Sound effects obtained from ZapSplat.com under their standard license
2019-10-26 18:03:46 +03:00
Mykhailo Bykhovtsev
f1c5f816ac Tesla Fix (#7256)
bugfix: "Tesla no longer melts ashes, emitter beams, its own energy balls and accelerated particles." Fixes #7249
    bugfix: "Tesla now properly consumes accelerated particles."
2019-10-26 17:57:41 +03:00
JohnWildkins
231beb1678 Adds ability to print Yield Declarations to the Ore Redemption Console (#7192)
Title. Yield Declarations follow standard format, with the addition of an optional 'waste detected' field that displays any materials that the miners wasted. This also offers a vague IC trade-off if the miners are lazy but also suck at their jobs. The papers are also auto-stamped by the machine, although they should still be stamped by a QM or head as well, this is just a certificate of authenticity so to speak.

Yield Declarations can only be printed with an inserted ID and any amount of output materials (or wasted input). The miner and note fields are left blank to be filled in by the user, see below.
2019-10-26 14:15:58 +03:00
ParadoxSpace
1b8bd0d5a4 Jacket Accessory Buff (#7235)
Suit slot items can now support armband and decor items. Uniforms can now have multiple armbands, since they can be flipped. Patches are now properly flippable.
2019-10-26 14:15:34 +03:00
Alberyk
4d271cd6a8 Remove bottled lightning touch_turf() (#7238)
This was a bad idea from the start. Using this chemical with smokes creates a lot of tesla bolts that either kills everything in its path or just crashes the server.
2019-10-26 14:14:36 +03:00
Geeves
cdfa04c24e Improvised Sword (#7243)
You can now build improvised swords. The hilt determines the integrity thereof, while the blade determines the damage it does.

Additionally, it also adds a var that sets whether the material item uses its material name or not.
2019-10-26 14:12:51 +03:00
MarinaGryphon
4bca7f2147 Lets Vaurca breathe again (#7263) 2019-10-25 17:06:49 +03:00
Matt Atlas
2bd5baa586 Fixes some bugs (#7252) 2019-10-25 13:42:24 +03:00
MarinaGryphon
65d2338347 Fixes #7189, fixes needle thoracostomy (#7241)
Fixes #7189, fixes needle thoracostomy
2019-10-25 13:41:10 +03:00
BurgerLUA
0ec7346023 Blood loss hunger tweaks (#7228)
Nutrition loss due to not having enough blood was pretty damn insane. I mean yeah you're supposed to be hungry when you lose a bunch of blood but not "I can down 3 steaks and still have enough for desert hungry"

This PR fixes that by significantly reducing the penalties.
2019-10-25 13:37:33 +03:00
JohnWildkins
b375519d09 Water bottles (and other closed non-carbonated drinks) no longer explode when shaken (#7221) 2019-10-25 13:33:41 +03:00
Karolis
a38415ed2c Added little sound. (#7215) 2019-10-24 02:35:53 +05:00
Mykhailo Bykhovtsev
b167f0eade Tesla tweaks and bugfixes (#6955)
Bugfix: Tesla no longer gains energy from just colliding with objects

    Bugfix: Fixes sprite for singularity beacon not showing up

    Bugfix: Tesla no longer spams admin longs when a new ball is created outside of containment

    Bugfix: Telsa looses energy when dropping ball which should be slightly below how much is required for new ball.

    tweak: Tesla dissipation rate has been buffed, it now looses energy faster

    tweak: Tesla dissipates every time it zaps something

    tweak: Tesla now melts any object or mob(but not turfs) it touches or when it zaps it while sacrificing a miniball.

    rscadd: Added special emergency singularity beacon that is to be used when Singulo/Telsa are on the Loose. When Tesla zaps the beacon, it will discharge all energy into it, dying and destroying beacon.
2019-10-23 21:09:46 +03:00
JohnWildkins
ef34fd3a43 Heads of staff buff (clipboard QOL + fixes) (#7204)
* make clipboards great again

* geevies is right

Co-Authored-By: Geeves <ggrobler447@gmail.com>
2019-10-23 08:37:20 +05:00
Karolis
b7e34d5543 Makes new player panel gap consistant (#7223) 2019-10-23 08:35:12 +05:00
JohnWildkins
afd8e1b6e0 Cooking appliance boards, cooking and other machine fixes (#7174)
Resolves #7172. Resolves #7190.

Cooking appliances are no longer esoteric technology beyond the control of NT's finest researchers.

    Adds microwave, oven, deep fryer, cereal maker, and candy maker circuit boards for research and construction.
    Constructing, upgrading, and deconstructing microwaves and other cooking appliances is now possible. (Note, as of yet upgrading microwaves has no purpose. Will be fixed ASAP along w/ microwave overhaul)
    Oven efficiency now starts at 70% once pre-heated, to alleviate the incredibly slow cooking times at round-start.
    Oven heat loss from the door being open cut down to 1.5x from 4x.
    Deconstructing a machine now returns cable coil.
    Wirecutting a blueprint on the cable-coil stage lowers it to the 'secured blueprint' stage, requiring a wrench to disassemble instead of wirecutters again.
    Printing a smart-fridge board no longer gives you an operating table circuit board.
    Deconstructing a machine no longer displays the incorrect icon state (box instead of blueprint).
    Candy and cereal makers work again. (woops)
2019-10-21 22:20:11 +03:00
fernerr
47a1b1d78f Fixes mech sounds and other sound tweaks (#7220)
Fixed mech sounds and some other sounds becoming garbled due to a random frequency being picked.
    Made gunshots and flashbangs be heard farther and through walls again and not just via line of sight.
2019-10-21 22:19:33 +03:00
JohnWildkins
90b550eb69 toggle helmet button for voidsuits (#7184)
Voidsuits now have a 'Toggle Helmet' button just like Toggle Helmet Light or Toggle Magboots.

Full credit to Kasuobes and Baystation12/Baystation12#15923, for coming up with a much more elegant solution than I could in ten minutes.
2019-10-20 23:56:26 +03:00
Erki
78a5a9d2e2 Skull re-adds SOP (#7152)
SOP is re-added as a book.
    Reworked wiki-books to be easier to code and work with.
    Resprited corporate reg book to say "REG" instead of "LAW".
2019-10-20 20:05:34 +03:00
Lady Fowl
3c2c978ef7 Koko Bars (#7144)
rscadd: "Add's KoKo bars, a unathi themed candy."
2019-10-20 19:59:22 +03:00
fernerr
5e02e38437 Hivebots: The Second Wave (#7002)
Changed the spawning mechanics of hivebots and expanded their roster with three new types, Bomber, Guardian and Harvester.
    Tweaked the slime infestation event to be a bit more colorful and spawn a couple more slimes than currently.
    Made it so infestation events no longer trigger outside the station at shuttle docks,, inside xenobiology cells, substations, at centcomm or outside etc.
    Fixed the prison break event from not working correctly with virology, added a chance for it to happen at the bridge.
    Fixed some announcements missing their custom titles. Particularly those used by random events. Tweaked their font and size.
2019-10-20 00:18:23 +03:00
aleksix
e91c9cea62 Moves "Adjust Mask" verb to the "Object" group (#7200)
Breath masks, as well as other adjustable masks, didn't have a proper name and category set for them, resulting in "adjust mask" verb being in its own "commands" category. This PR capitalizes the verb name and moves it into "Object" category.
2019-10-19 23:00:26 +03:00
JohnWildkins
9069098ba4 Misc. kitchen / reagent fixes (#7182)
Ice now melts at 25C. Other methods to fix the ice-instantly-melting issue didn't end so well ( #6617 et al.) and this seems to be how most baycode implementations handle the problem. If someone has a better solution, please, suggest, and I'll nuke this into the floor. Fixes #6119.

    Soda cans (incl. water bottles) can now be re-filled after bursting open from shaking. This also fixes a crash related to putting these cans into chem machines and the like. Fixes #6499.

    Robots and silicons can no longer be force-fed. Fixes #5016.

    Custom output food from cooking appliances now fits inside storage containers. Fixes #4106.

    Custom output food from the oven now causes a 'ding' as with normal cooking. Fixes #3904.

    Batter now requires proximity to be applied. Fixes #5724.

    Lasagne and doner kebab contents buffed to match the ingredients used in their creation. Fixes #6195.
2019-10-19 22:59:58 +03:00
JohnWildkins
b1f91000eb Fix borg inflatable dispenser (#7193)
Fixes #7191.

Simply put, borg inflatable dispenser didn't have a check to see if it was actively deploying, so you could swap modes and place down an unrecoverable barricade as per issue linked above. This resolves that issue.
2019-10-19 10:59:41 +03:00
Joshie
039ca8e0de More MedSci Sprites (#7154)
Adds more of the Medical and Science uniform sprites. Still have stuff to do. My understanding of code is pretty limited so if anyone knows how to do any of the things I'm trying to do, please comment and tell me how. Otherwise, I'll keep trying to get them working. Also please if any merciful coder feels like looking over any changes out of the kindness of their heart while I'm working on this, please point out anything that might be broken or wrong.
2019-10-19 10:24:40 +03:00
Mwahahahaha
ac9c1769ae Accessory Flipping, Wallets, Lanyards, contractor worn ID icons, ID layer switching, custom loadout names and descriptions, manbeast, hiiyah (#7087)
Asymmetrical accessories can now be flipped! This is done through the attack_self proc (i.e., activating it in your active hand), or a right-click menu if the item already has an attack_self behaviour.
This affects:

    Stethoscopes
    All medals
    All badges
    Armbands
    Holsters
    Machete Holster
    Scarves
    TCFL ribbons
    Shoulder capes
    Sleeve patches
    Bandoliers
    Political pins
2019-10-19 00:04:29 +03:00
BurgerLUA
631c477e98 Machine Overload Nerf (#7025)
Machine overloads are now no longer a joke. The strength of APC machine overloads is now reduced by roughly 2/3rds. As you can see by the below graph, this change is very much needed.

image

X axis is the APC's power cell charge.
Y axis is the strength of the explosion.

Purple line is the strength of the explosion in its current state. As you can see above, it caps out very easily and super fast: Basically 4 AA batteries can destroy nearly everything.

Red line is the new strength of the explosion in this PR. It's much more reasonable and caps out at APCs with upgrades.

That purple dotted line down the middle is the cell capacity of a normal APC.
2019-10-19 00:01:21 +03:00
Lady Fowl
f9334feb41 Client FPS Tweak (#7127)
Allows you to set your FPS via preferences
2019-10-18 23:37:44 +03:00
Alberyk
48fa3a4273 Remove the mob_name_prefix from the cciaa and ert commander ghost spawners (#7170)
At the request of the cciaa head.
2019-10-18 23:07:53 +03:00
Geeves
c8c1fe4dd3 vomit based gameplay addition (#7142)
You will now throw up into disposal bins, sinks, and toilets if you're within range of them, instead of onto the floor, you fucking animal.
2019-10-18 22:36:37 +03:00
Mwahahahaha
cfe6f92616 ASFX toggle for arcade sounds (#7163)
Allows players to opt out of hearing arcade sounds by adding a button in the ASFX tab.

Note that the computer typing sounds will still play.
2019-10-18 22:35:01 +03:00
JohnWildkins
b5c224344e Binoculars now zoom out if the user moves (#7187)
Fixes the /client/Move check for zoomed entities to check for pixel displacement, and not just view displacement itself (since the binoculars don't change view size)

Fixes #5689
2019-10-17 23:23:13 +03:00
Geeves
69125ecfe6 fixes refitted voidsuit in-hand sprites (#7178)
Resolves #2280
2019-10-17 23:22:21 +03:00
Geeves
e6a7d06711 Geeves buffs all of engineering (#7089)
Adds atmos_canpass = CANPASS_NEVER to the emergency shields you put up to seal breaches.
    Converts a bunch of 0's and 1's to TRUE and FALSE for easier readability.
2019-10-17 22:58:00 +03:00
ParadoxSpace
dc09a8dd20 Diona Heat Buff (#7151)
They can now be on fire, but a phoron fire would still wipe them out. Also, the chirp emotes no longer double up.
2019-10-15 23:56:59 +03:00
JohnWildkins
54ee25214c Copier and paper fixes (#7168)
Resolves #2836, resolves #4226, resolves #4266, and resolves #4366.

    Race condition between copying and printing solved, no longer does the photocopier print half the requested copies.
    You can no longer infinitely tear off copies of carbon copies. Additionally, copies have their remove-copy verb removed.
    Copying paper bundles in the photocopier now works at the correct speed. Additionally, the bug mentioned in #4266 has been removed.
    You can now write to papers inside paper bundles once again.

Most of this section could honestly do with a revamp, but I'm not exactly the person to do that, and we are talking about paperwork of all things. This just gets the functionality working again, more or less.
2019-10-15 23:53:06 +03:00
Alberyk
41cba7d8b9 Ghost roles will now respect alien whitelist restrictions (#7155)
What it says in the title.
2019-10-15 23:50:57 +03:00
Geeves
196f9d87df removed black kois mutation (#7112)
It's a Lii'dra bioweapon, producing it on-station shouldn't be possible. Also a bit too devastating for the station's good.
2019-10-14 22:56:05 +03:00
JohnWildkins
784b76af04 Fix late-join not showing alt-title jobs with differing minimum ages from main job (#7156)
Fixes #7122 - basically just makes IsJobAvailable() check for the player's selected alt-title rather than just the main title, so you can late-join as an 18-year-old medical intern again for example

Also first PR apologies in advance
2019-10-14 22:50:50 +03:00
Alberyk
82cf8aac95 Adds skrell glowing algae (#7145)
At the request of their writer, it works like the skrell ear items, but it glows.
2019-10-13 22:04:04 +03:00
Geeves
33ccd3d8e1 RIGs now splint broken limbs correctly (#6987)
Adds to fractured organ process, if the user's wearing a RIG and it's deployed over that part, it'll splint that part.
2019-10-12 22:37:27 +03:00
otatoh
6c2708a57d Fixes an oversight with pen attack to_chat (#7149)
[bugfix] Attacking a mob with a pen used "pen" instead of "[src]", so children & renamed pens would display incorrect attack text.
2019-10-11 09:04:31 +03:00