Commit Graph

7343 Commits

Author SHA1 Message Date
Werner
da454793fe Cyborg Update (#4992)
Changes / Fixes a few things around borgs:

    A borgs voice is now garbled if its damaged too much
    Completely broken components are now accounted for in health
    The taser cooling module can now be applied to sec borgs again
    Added a lower power warning ability
    Fixes a mistake in the NT Aggressive lawset

Fixes #4112
2018-07-20 21:11:13 +02:00
skull132
59a69716d8 Merge branch 'master' into development 2018-07-17 23:23:02 +03:00
Mykhailo Bykhovtsev
3e1d0ca38f Fixes #5000 (#5001) 2018-07-17 22:55:40 +03:00
Alberyk
f2d48983c4 Bug fixes: trial by fire (#4990)
-fixes #4697
-fixes #3913
-fixes #3216
-fixes #1854
-fixes #901
-fixes #1597
-fixes #4469
-fixes #1215
-fixes #3681
-fixes #3567
2018-07-17 22:55:01 +03:00
BurgerLUA
6cf7aadf8c Fixed an age-old tail layering issue. (#4889)
When wearing clothing in the suit slot, tails would layer over clothes when facing south, toward the screen.
This PR fixes it by telling the game to layer it behind the suit slot if the player is facing south.
2018-07-16 23:25:31 +02:00
Alberyk
80a82cd4ec Adds siik'tau and a bit more (#4947)
This pr adds siik'tau, as proposed here: https://forums.aurorastation.org/viewtopic.php?f=78&t=11259
A language that humans, skrell and tajara can select.

Also, tweaks how skrell handles language at the request of the skrell lore person and cleans up a tiny bit of the species language related vars.
2018-07-15 16:25:04 +02:00
skull132
8348bf711c Merge branch 'master' into development 2018-07-14 15:01:05 +03:00
ben10083
70e7be54fc Clerical robot getting more stuff (#4960)
Gave Clerical module a Denied stamp and a tape roll.

If it's emagged it gets a Chameleon stamp and a electrified arm for self defence.
2018-07-14 13:21:34 +03:00
BurgerLUA
ddaf0b0d3e Fixes inhalers having odd interactions with masks (#4988)
The code for whether or not gas could be inhaled wasn't good. This fixes that.
2018-07-14 13:13:21 +03:00
Alberyk
5e915363a8 Bugfixes: the hour of reckoning (#4989)
-fixes #3766
-fixes #4619
-fixes #4842
-fixes #4948
-fixes #4439
-fixes some extra white pixels on the dead spider icon
-fixes the hacker event not taking people's money if it is a success
-fixes an oversight that allowed people to explode emmaged cyborgs using the robot console
-fixes messed up shotgun icons when wielded
-fixes the butcher knife sprite being messed up
-replaces all userdanger span class with danger, since userdanger is not really a thing
-vaurca should now spawn with proper survival gear, as requested by their lore person
-cleans up some martial art texts and logging
2018-07-14 12:38:16 +03:00
Lohikar
a15aa07307 Fix Phantom Globals (#4957)
Removes the phantom global definitions that Fowl found.

Fixes:

Game log in GELF not logging proper target.
Pylon attacks not detecting the actual firer of a damaging bullet.
A message in the mixer cooking machine.
A message in airbubbles.
A use_check sanity check in landmines.
Some messages in psych therapy code.
A view() checkk in psych therapy code.
CCIA being unable to announce incoming faxes in some circumstances.
Language whitelists potentially checking the whitelists of the last person to throw a tray in addition to the pref mob.
Fixes some messages/sounds with some custom items.
Fixes a message with digging into the asteroid.
Fixes electrocution code not properly checking for absurdly long hair.
Fixes a broken message in devour.
Fixes a targeting issue with player-controlled hostile ranged mobs.
Fixes failure behavior for modular RnD guns.
Fixes an intent safety check on gun aim.
Fixes the Harvester knock spell potentially not working.
2018-07-01 22:47:58 +03:00
Karolis
6bc87d221c Makes crew copied holograms actually copy the crew if they're within camera range (#4926) 2018-07-01 22:36:57 +03:00
Mykhailo Bykhovtsev
33fb783d6b Commanded mobs fix (#4942)
My Hostile mobs PR broke commanded mobs. Making them behave weirdly. This PR fixes it.

Commanded mobs do not attack their masters in any situation possible

Dogs do not destroy their surroundings

Commanded mobs make sad emote when they are being attacked by their masters.

Commanded mobs no longer attack target that they need to follow.
2018-06-26 21:49:43 +03:00
Werner
7877c6876b The drone console now lists drones located on different station levels (#4918) 2018-06-22 22:22:07 +03:00
BurgerLUA
5444e578f5 Kinetic Fixes (#4898)
Fixes a mining borg issue caused by an old bug, fixes processing for the uranium charger, adds a new cyborg kinetic accelerator that uses cyborg battery charge.
2018-06-18 07:28:54 +03:00
BurgerLUA
9da929d4a1 Custom Kinetic Accelerators (#4802)
This is honestly one of my biggest and most ambitious projects. I hope people are happy with this.

Custom kinetic accelerators are special, customizable mining weapons that are meant to give a sense of progression, and a sense of pride and accomplishment while mining. Each custom KA is made up of 3 or 4 parts:

The Frame (5 to choose from)
The Cell (5 to choose from, +1 traitor)
The Barrel (5 to choose from, +1 traitor)
The Upgrade Chip (7 to choose from, +1 traitor)
The sprites change with each addon, they are truly dynamic and there are so many combinations of parts that a miner can have. You can have several different builds for each desired mining style, it's quite a robust system.

You can have a KA that shoots slowly, but delivers high-penetrating shots that go through several walls of rock. You can have a KA that shoots REALLY fast, but precisely destroys 1 rock at a time. You can have an absolute canon of a beast, that destroys rocks in a 3 tile radius around it.

The parts can be obtained via research, via abandoned crates, or via RNG in the cargo warehouse. There are some custom KAs that spawn on the raider's ship, on the mercs ship, and a laser one on the merc's headquarters. That laser one can also be bought from the traitor uplink as well.

ERT get a class 4 KA for use in special operations, if they choose to use it.
2018-06-17 23:02:42 +03:00
Alberyk
b601c6bedd Changes how stuttering is handled (#4855)
Being hurt or wounded will now triggger the traditional stuttering, while non wounded mobs, mostly under the influence of the disability, will use the new stuttering.
2018-06-15 01:22:47 +02:00
skull132
05c0d13013 Merge branch 'master' into development
# Conflicts:
#	maps/aurora/aurora-4_mainlevel.dmm
2018-06-03 14:15:41 +03:00
Erki
c22698ce74 Fixes a thing because aaaaaa. (#4840) 2018-06-03 11:31:10 +02:00
Mykhailo Bykhovtsev
5397e798c6 Hostile AI fix (#4839)
When I made an update to hostile AI, I have not seen this stupid bug. This one variable makes them ignore people with full health. I urge to merge it ASAP as carps and spiders won't attack people with 100 health. fixes #4836

Also this makes hostile mobs to destroy surroundings if there is no-one to attack.
2018-06-01 20:51:31 +03:00
LordFowl
33b46e8b14 Adds Asthma (#4723)
Sprinting no longer deals oxygen damage unless you have lung damage or asthma. Sprinting is now based off of both halloss and oxyloss.

Lung damage now causes both oxygen damage and halloss when you sprint past your threshold.

Coughing disability now causes halloss when you sprint past your threshold.

Adds asthma, which causes oxygen damage when you sprint past your threshold, and inhibits your ability to recover from oxygen naturally. It also makes you cough harmlessly when you have more than 10 oxygen damage.
2018-05-26 23:54:25 +03:00
Lohikar
bf2f6fb28d Devour Fixes Pt. 5 (#4782)
Fixes #4780.
Fixes an issue where SA adult slimes were improperly considered organic mobs.
Fixes an issue where viscerators, malf drones, and spiderbots were not considered synthetic mobs.
2018-05-22 01:20:57 +03:00
Alberyk
baedf50918 Bugfixes: resisting grab and synth version (#4712)
-fixes #4704, so you can resist properly out of neckgrabs again if your stunned value is low enough
-fixes the ipc construction whitelist check once for all
-fixes orb's eyes sprites being at the wrong direction
2018-05-14 00:39:32 +03:00
Erki
613f55c56a Reverts alcohol changes partially (#4722)
Restores old rates of gaining and losing intoxication.
The strength of alcohol was implemented with the original formula in mind, you cannot simply add another curve and expect it to fit. The rate of getting drunk was way too fast (increased 7 fold!). I also doubled the rate of losing alcohol, since gains and losses typically work in balance with one another.
Fixes a bug which spammed, "You're drunk"
2018-05-13 22:15:55 +03:00
skull132
674cd94714 Merge branch 'master' into development
# Conflicts:
#	maps/aurora/aurora-3_sublevel.dmm
#	maps/aurora/aurora-4_mainlevel.dmm
#	maps/aurora/aurora-5_interstitial.dmm
2018-05-13 19:19:52 +03:00
Werner
520d294c8d Moves the Janitor Back to Civilian (#4716)
The Janitor is moved back to civilian.
2018-05-13 18:07:44 +03:00
BurgerLUA
aad698be53 Mental Medication Additions (#4648)
The less controversial tweaks
Tweaked the metabolism rate of mental medication to reflect their intended values. Reduced the dosage threshold to suppress traumas to reflect their intended values.

Syringe (drugs) now contains truth serum.

Cardox is now slightly poisonous, and can directly remove phoron from blood when consumed. Cardox can now remove phoron in the air when applied to turfs.

A secure box of loyalty implants, hextrasenil pills, and cardox grenades are now located in the vault.

The vault now contains some misc emergency gear that a head of staff can access in case of a dire situation. Current gear are loyalty implants, expensive cardox grenades, and Hextrasenil pills.
2018-05-13 17:39:56 +03:00
Erki
c0db238c11 Lore: bumped Vaurca economic modifier (#4702)
* Some lore thing

* Log
2018-05-12 21:15:56 +02:00
Ron
e388235cef Changes (#4594) 2018-05-12 21:15:01 +02:00
Mykhailo Bykhovtsev
65d58d026d Hostile mobs update (#4690)
This Improves hostile mob logic. They prioritize mobs with lowest health. They also now attack back if they are being either attacked or touched.

Improves efficiency of hostile mob code - decreases number of times expensive ListTargets() is called, while keeping the functionality
Example of why it is useful - spider starts chasing a person, another person comes in and attacks spider while it is chasing person one:

Without my logic - Spider blindly ignores person two and keeps chasing, thus just dying.

With my logic - Spider switches targets to person two. Until then spider check who has lowest health, and targets them.
2018-05-12 12:54:27 +03:00
Kaedwuff
3c2740cddb Fixes resisting out of grabs while hypnotized (or stunned) (#4701)
Previously, people could resist spam their way out of grabs while hypnotized, causing vampires to have to eat shit and die for trying to use their basic solo target abilities.

This was due to there being no special exceptions in place for resisting out of a grab when you are stunned.

Fixes #4689
2018-05-09 23:56:52 +03:00
Alberyk
03cf84880c Adds weaponry permission access and a bit more (#4665)
-adds weaponry permission access, that is used by the securitron to check if the person can use a weapon, added to all security roles, the head of personnel and the captain
-added a firing pin that checks for access
-fixed the ert id having access to things they should not
2018-05-09 10:22:51 +02:00
ParadoxSpace
49be412edd Adds Cyberpunk Hairstyles (#4671)
Courtesy of TheTrollDoctor and Dukica99, of Baystation12 fame.
2018-05-06 18:13:27 +03:00
Werner
6c460c942d Short Names for Commanded Dogs (#4659)
Adds the ability to call a commanded animal by a short name.
Adds the ability to set the short name of a commanded animal (if you can rename it)
https://forums.aurorastation.org/viewtopic.php?f=18&t=10865&p=96711
2018-05-01 23:49:00 +03:00
Alberyk
b9f6deb229 Adds the ability to partially understand other languages and a bit more (#4625)
Ports the feature added in Baystation12/Baystation12#19868, it allows people that knows a certain language to understand some words from another language, without needing to have it. It is used in all tajaran and unathi languages for now, Already consulted the lore team and it seems this is all they want so far.

Also, it adds Delvahhi, a zhan language.
2018-05-01 23:27:55 +03:00
skull132
d27af2445e Merge remote-tracking branch 'upstream/development' into development 2018-04-29 17:32:58 +03:00
skull132
26fc08e65c Merge branch 'master' into development 2018-04-29 17:32:06 +03:00
Lohikar
7ef4090f00 Z-Lights Mk 2 (#4383)
changes:
Bidirectional source Z-lights have been reverted to single-direction in favor of corner z-bleed.
Z-mimic turfs will now average their light level with their mimiced turf to better approximate Z-lighting.
Openspaces have been made significantly less dark.
Corners no longer incorrectly always take the instant update pathway.
MultiZ helpers are now macros.
More things now properly respect area dynamic lighting settings.
2018-04-27 23:10:59 +03:00
Werner
d4c2268c4e Poll Fix + Link (#4655)
Fixes the permissions required for polling / the button not showing up for devs.
Adds the option to display a link in the poll
2018-04-25 23:01:58 +03:00
Mykhailo Bykhovtsev
3850b8acc8 Fixes #4308 and dup engine door (#4641) 2018-04-25 22:57:41 +03:00
Ron
71216f92a0 Missing returns + check (#4605) 2018-04-18 09:12:06 +02:00
BurgerLUA
74de9885da Fixes of Fixes (#4590)
PROPERLY allows unathi to wear boxing gloves.
PROPERLY and completely removed the buckle resist cooldown by fixing code oversights.
Removes duplicate definition of ethanol in the scrubber alert reagent table.
Fixes Xenoarch floating light and clean tiles outside the airlock.
2018-04-15 22:13:49 +03:00
Lohikar
9c33cc2e09 Minor refactors/fixes (#4589)
changes:

Underwear has been promoted to a human layer; this might fix some potential issues with human icon caching.
turf/Entered() code has been cleaned up and proximity checks have been timerized.
Fixed an issue where openspaces wouldn't render objects that entered an openspace after init.
Shortened organ keymap prefix as it didn't really need to be that long.
2018-04-15 22:13:24 +03:00
Ron
d1c1d84bde Refactors gravity checking (#4591)
Removes a lot of duplicated or redundant code from areas when checking gravity.
2018-04-12 20:31:05 +03:00
Ron
2b4e2a7b75 Removes the shuttle sound (#4587)
Fixes #4575
Also fixes the verb uses name from showing up in the list for leap.
2018-04-12 20:28:21 +03:00
Erki
32d7540aba fix (#4570) 2018-04-09 01:45:11 +02:00
LordFowl
1086e1fdb2 [Ready for Review] Unapologetic Psych Buffs - Now with 80% less Mike Pence! (#4377)
This PR removes brain surgery's ability to instantly cure all traumas. Now traumas have been roughly divided into four categories of treatment:
1: Chakra therapy cures traumas that directly affect physical behavior, such as tourettes or paralysis. It is accomplished via the crystal therapy pod available to the psychiatrist.

2: Hypnotic therapy cures traumas that directly affect mental behavior, such as phobias or confusions. It is accomplished via the mesmetron pocketwatch available to the psychiatrist.

3: Isolation therapy cures traumas that cause hallucinations. It is accomplished via the metronome and facilitated by the isolation room available to the psychiatrist.

4: Surgical therapy cures traumas that do not fit into the above categories. It is accomplished via brain surgery.

Using the crystal therapy pod's neural scan function will provide the psychiatrist the brain damage the patient suffers from in numerical form. It falls upon the psychiatrist to determine how much of this brain damage is being caused by mental traumas the crystal therapy pod is equipped to deal with. Excessive cycles will cause increasing amounts of radiation damage.

The mesmetron pocketwatch requires the patient to believe in hypnosis. It then puts the patient into a slumber, where the psychiatrist can hypnotically suggest new behavior, provided the patient continues to believe in hypnosis. Each suggestion cures a single hypnotic trauma.
The isolation room is equipped with a metronome. When active, the metronome will have a chance every ticktock of the metronome to cure an isolation trauma, provided the patient is totally alone.

The psychiatry office has been expanded into a complete mental health ward. The only thing it is lacking is beds, as I believe recovering mental health patients still belong in the recovery ward.

The chaplain can also cure isolation and chakra traumas by dispelling the demons within with his null rod. Staring at the supermatter unprotected has been known to hypnotize. Electricity applied by any source directly to the head is also known to sometimes cure electroshock trauma.
2018-04-08 16:29:33 +03:00
Alberyk
d7951fbd9f Changes how ipc resurrection works (#4472)
This prs removes the old method of ipc resurrection, which was just removing and placing the mmi/heart back into the body, which was really lazy and caused a lot of bugs.

Now, robotics can create a ipcs frames using the different brands in the robotics frabricator, based on the torso's brand. The law manager can disable by using a multitool on the head which is the diffence between creating a cyborg or an ipc. Also; it allows you to customize your snowflakness after your new body is created.

Changes: you can't print all torso types from robotics anymore, but there are torsos that come with their own brand, that you should be able to buy from cargo, that will allow someone to create another type of ipc.

Feedback Topic: https://forums.aurorastation.org/viewtopic.php?f=18&t=10705
2018-04-07 21:12:49 +03:00
Erki
59f1d4f3ec Fixes #4547 (#4550) 2018-04-07 17:00:48 +02:00
Erki
4f0dbb2690 Revert and replace #4127 -- Funk jood, round deux (#4481)
Reverts the new chemicals and their effects as implemented in #4127 due to their unnecessary severity.

Replaces the reverted mechanics with new mechanics which seek to accomplish a similar thing. Mobs now have an nutrition_attrition_rate factor, which is a multiplier describing how fast they grow hungry. By default, the multiplier is 1. Only eating healthy/chef food will see to it that said multiplier remains at 1.
2018-04-07 00:41:43 +02:00