Commit Graph

7783 Commits

Author SHA1 Message Date
Swept
e3ace03cad Boxes (and sterile mask) (#1964)
* Added sprites and lights, handcuffs and PDA box.

* Syringe and Beaker

* Adds flashbang latex and a sterile mask

* Adds a box to store those sterile masks

* Adds donkpocket box WHY WASN'T THIS IN ALREADY I'LL KILL YOU ALL AHHHHH

* Makes inhand boxes grey

* Security boxes now have proper layer

* Adds meson, sechud, and better inhands

* Adds survival box (no o2 can or injector because they're not included yet

* Adds survival box sprites

* Blank commit

* Adds filled backpacks for starting-gear

* Moves filled backpacks to a sensible place

* Builds now

* Fixes rsi
2020-09-03 23:13:45 +02:00
DrSmugleaf
ae8bde221b Update RobustToolbox 2020-09-03 22:10:23 +02:00
nuke
c3630b7301 Glowsticks, flares and lighting behaviours (#1886)
* Assets

* LightingBehaviours, flares, and such.

* More changes

* More changes, more flare work.

* More work on flares + light behaviours

* another refactor

* missed

* Light behaviours refactor, added sfx, improved graphics, improved lighting effects for glowstick and flare.

* remove unneeded value

* nullables

* remove old code

* nullable

* one last push

* net id

* more work

* more colors for glowsticks

* Adjust flare so it fades in

* fix name

* sprite fix
2020-09-03 22:02:40 +02:00
Exp
7991a97ec2 Fix Airlock Power not restoring after cutting the wire (#2015) 2020-09-03 21:54:10 +02:00
creadth
b8bf100277 Feature/1754 kill player on body parts missing (#2014)
* Moved the uplink creation code to the PresetSuspicion.Start method to ensure uplink created when we give the traitor role
Moved the starting TC balance to cvars

* Added isVital flag for body parts
Automatically killing creature if last vital body part removed
Marked head as vital part
2020-09-03 20:35:39 +02:00
DrSmugleaf
5f79d3e31d Fix the health status effect not showing after spawn (#2013) 2020-09-03 20:17:30 +02:00
Víctor Aguilera Puerto
850abc0f0e Update submodule 2020-09-03 19:16:17 +02:00
Víctor Aguilera Puerto
3d9fe8ecfa Fix lv426 barsign case sensitivity 2020-09-03 15:40:20 +02:00
Víctor Aguilera Puerto
17ea79076a AddActiveTile doesn't check if the tile's gasmixture is null anymore.
Fixes race condition where an airtight tile without a gas mixture wouldn't become active after the vacuum is fixed.
2020-09-03 15:31:42 +02:00
Pieter-Jan Briers
5f4b806d13 Merge pull request #2011 from metalgearsloth/power_allocs 2020-09-03 11:58:54 +02:00
Metal Gear Sloth
363bfb595f Reduce power allocations
It was the 2nd and 3rd highest traffic for memory allocs.
2020-09-03 19:35:09 +10:00
Pieter-Jan Briers
0a1d41d53a Merge pull request #1871 from SweptWasTaken/goodbyebarsigns 2020-09-02 23:10:39 +02:00
Exp
40f967a03a Hurt Command (#1967)
* Hurt Command

* Fixed not sending help

* Removed unused import

* Use IDamageableComponent

* Optional entityuid arg

* Reviews

* Allow DamageTypes too

* who wrote this

* reviews

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2020-09-02 23:00:06 +02:00
Pieter-Jan Briers
3230f21933 These are words 2020-09-02 22:11:48 +02:00
Víctor Aguilera Puerto
3c1f06b03c Merge pull request #2008 from Zumorica/2020-09-02-pry-tile
Tile Prying helpers
2020-09-02 21:27:47 +02:00
Víctor Aguilera Puerto
12f4d28865 Reduce random offset for tiles 2020-09-02 20:53:30 +02:00
Víctor Aguilera Puerto
d1f7f0b80b Tile Prying helpers 2020-09-02 18:55:51 +02:00
Exp
fd21ceb0cf Improves the Admin PlayerList (#1989)
* -Makes PlayerList scrollable
-Player names clip when they are too long
-Shows Player count

* Add padding to make columns more noticeable

* -Added Separators between the columns
-Pushed List a bit down

* Add alternating row colors
2020-09-02 18:47:13 +02:00
Víctor Aguilera Puerto
9944dc70d0 Fix random events not playing 2020-09-02 18:34:40 +02:00
Víctor Aguilera Puerto
36e8cab807 Adds click attacks (#1972)
click attacking goes brrrr
2020-09-02 15:34:09 +02:00
Víctor Aguilera Puerto
3922759a81 address reviews 2020-09-02 15:27:28 +02:00
Víctor Aguilera Puerto
2294c32235 Merge branch 'master' into 2020-08-31-click-attack 2020-09-02 15:12:17 +02:00
DrSmugleaf
94b83c3d69 Fix crash when deleting a medical scanner with someone inside (#2007) 2020-09-02 12:29:40 +02:00
SoulSloth
e40e3fa267 Cloning (#1932)
* Add art assets for cloning

* Added a 'Scan DNA' button to the medical scanner

* Made the UI update unconditional for the medical scanner until checks for power changes are in place

* Update Medical scanner to reflect powered status and fix #1774

* added a 'scan dna' button the the medical scanner that will add the contained bodies Uid to a list in CloningSystem, fixed an issue with the menu not populating if the scanner starts in an unpowered state

* Add disabling logic to 'Scan DNA' button on medical scanner

* Removed un-used libraries

* changed scan dna button to Scan and Save DNA

* Added cloning machine code infrastructure copied from Medical Scanner

* Added a list to cloning menu containing some numbers

* Cloning Machine UI sends a message to the cloning component with the entityUID

* New scans now show up in cloning pod menu

* fixed cloning machine collision shape

* cloning machine can now spawn the right player profile assuming the attatched entity is still correct.

* refactored cloning system to use a map of integer ids to player Minds

* Added a return to body cloning loop for the ghost

* Fixed warning for _playerManager being possibly null, added TODO note for ghost return to body button acting as a toggle

* removed #nullable from cloningMachineWindow"

* Trying to get rid of nullable error

* fix CloningMachine to not initilize with it's owner components

* updated CloningMachine server component to play nice with the new nullable rules

* replace flag with eventBus message for sending a ghosts mind to a clone body

* Refactor cloning so that a popup option is used to get user consent for cloning

* Refactoring

* Reverting unused changes for cloning component

* Added proper cloning pod sprites and a visualizer so 'idle' and 'cloning' states are properly reflected

* added missing robust toolbox contents

* Added cloning NoMind State and made cloning take time

* Added cloning progress bar and mind status indicator to cloning pod

* Added missing localization calls, removeed 'returned to cloned body' from ghostUI

* Added unsubscribe for cloningStartedMessage in Mindcomponent.cs OnRemove

* Added eject button to cloningMachine and clamped the cloning progress bar to 100%

* Added condition to eject body on cloningmachine so bodies can't be ejected until cloning is done

* Add click-dragOn functionality to the medical scanner for things with a bodyManager

* Messed with scan query so it doesn't fail on dead bodies as long as Mind still owns the mob

* refactored clonning scan check on medical scanner so it doesn't do a linq query

* merge with rogue toolbox

* Change the name of Cloning Machine to the less generic Cloning Pod

* Changed Cloning Pod so it pauses cloning while the power is out

* Removed the evil LocalizationManager from the cloning menus and used the static Loc instead

* removed localization dependency from bound accpetCloning user interface

* Removed Ilocalization dependency I accidentally added to ghost ui

* Update Content.Client/GameObjects/Components/MedicalScanner/MedicalScannerComponent.cs

Co-authored-by: Exp <theexp111@gmail.com>

* Changed null check to tryget in case for cloning UiButton.Clone

* Parameterized Cloning time on serverside component

* tried to reset Robust toolbox module to current master

* Added null check to ghost client component message handling, unsubscribe to the mind component listening to the cloning question ui, fixed _clonningProgress typo, moved CloningPod component dependencies to actually be dependencies, removed un-needed disposals of cloning windows, added disposals missing in boundUserInterfaces.

* Reset submodule

* corrected exception for cloning pod visualizer to refer to cloning pod state and not medical scanner state

* Fix typo

* Unsubscribe from onUiReceiveMessage in mindcomponent in the onRemove function, not the acceptcloningui function

* unsubscribe from OnUiReceiveMessage in CloningPodComponent

* unssubscribe from ghostreturn message in cloningpodComponent onRemove

Co-authored-by: Exp <theexp111@gmail.com>
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2020-09-02 12:07:54 +02:00
Swept
95665d184f Updates surgery IDs to standard (#2004)
* Updates IDs and map file

* Update the surgery duffel
2020-09-02 11:57:21 +02:00
Swept
9fdcb2b084 Adds Fireextinguisher stuff to IgnoredComponents.cs (#2005) 2020-09-02 11:53:55 +02:00
Swept
77057ac499 Cleans up backpack prototypes/rsis (#2002)
* Backpack rsis up to snuff

* Readds holding meta.json

* Updated bag of holdings license

* Backpacks prototype now clean
2020-09-02 11:53:28 +02:00
Moses
6a4b856961 Extinguisher cabinet (#1976)
* 1779 Add extinguisher cabinet base item, rsi, and class based on potted plant

* Pretty much the rest of the owl

* Allow construction

* no more deconstruction

* pr fixes
2020-09-02 01:41:35 +02:00
DrSmugleaf
dbbe3088f8 Add puddle spill tests (#1990)
* Add puddle spill tests

* Merge fixes
2020-09-02 01:31:47 +02:00
DrSmugleaf
de9dfefd61 Replace resolve dependency with attribute in components (#1995)
* Replace resolve dependency with attribute in components

* Add changes that went missing in translation
2020-09-02 01:30:03 +02:00
ALMv1
4044602187 Object Description Update For Prototypes (#1986)
* Food Description Update

* dice.yml Description Update

* Minor drink_cans.yml Update

* backpacks.yml Description Update
2020-09-02 01:29:47 +02:00
DrSmugleaf
3a54ace1a8 Fix old use of item shuffling (#2001) 2020-09-02 01:23:43 +02:00
Swept
538eac8a15 Adds random spawners for toys (#1979) 2020-09-02 01:18:18 +02:00
DrSmugleaf
b132a4c2d9 Add a test to check that maps are not saved postmapinit (#1987) 2020-09-02 01:16:42 +02:00
DrSmugleaf
61f64e15f2 Add extensions for spilling solutions into puddles (#1991) 2020-09-02 01:16:25 +02:00
DrSmugleaf
682b6b9568 Add IMechanism interface to body system (#1997) 2020-09-02 01:16:13 +02:00
Swept
072f374bcc Removes the Straylight SMG (#1881)
* goodbye

* Removes Straylight from spawners
2020-09-02 00:38:35 +02:00
Víctor Aguilera Puerto
80ffe6bfcc Merge pull request #1999 from DrSmugleaf/tile-adjacent-extensions
Add extension methods for getting adjacent tiles randomly and to offset coordinates in a direction
2020-09-02 00:37:26 +02:00
Víctor Aguilera Puerto
6fa5a25ce4 Merge pull request #1992 from DrSmugleaf/entity-shuffle
Add extension method to shuffle an entity by a random value
2020-09-02 00:35:57 +02:00
Víctor Aguilera Puerto
4c5aa3c11d Merge pull request #1993 from DrSmugleaf/verbs-injectio
Make verbs be created through IDynamicTypeFactory
2020-09-02 00:34:41 +02:00
Víctor Aguilera Puerto
8040e3fac1 Merge pull request #1994 from DrSmugleaf/buckle-made-saner
Add an entire nullable to buckle
2020-09-02 00:34:06 +02:00
Víctor Aguilera Puerto
64addb26c1 Merge pull request #2000 from DrSmugleaf/murica-helpers
Add helpers for converting to and from Fahrenheit
2020-09-02 00:04:33 +02:00
Pieter-Jan Briers
f5cba6ae89 Fix screenshots crashing due to bad FileAccess 2020-09-01 23:53:49 +02:00
Pieter-Jan Briers
2aed70befe Update submodule 2020-09-01 23:53:26 +02:00
DrSmugleaf
8afeb4d094 Add helpers for converting to and from Fahrenheit 2020-09-01 23:33:42 +02:00
DrSmugleaf
8a14725539 Add extension methods for getting adjacent tiles randomly and to offset coordinates in a direction 2020-09-01 23:28:59 +02:00
DrSmugleaf
549c8c595e Add extension method to shuffle an entity by a random value 2020-09-01 22:04:55 +02:00
DrSmugleaf
1186552629 Add an entire nullable to buckle 2020-09-01 21:49:32 +02:00
Swept
2e12d8b758 Adds the Mime (#1798)
* Adds mime job

* Adds mime spawn point

* Moves the ID prototypes/textures to Objects/Misc

* The things I do to avoid conflicts

* identification_cards.yml's final resting place

* Adds ID card and PDA

* Center mime id

* Puts pen and paper in the mimes pocket

* Adds mime spawnpoint to Saltern

* Revert "Adds mime spawnpoint to Saltern"

This reverts commit 56c6cf729baae0958b8b41dd83f71355e4e5f9aa.

* Add mime spawn point

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2020-09-01 21:42:31 +02:00
DrSmugleaf
e0928d78e0 Make verbs be created through IDynamicTypeFactory
To allow for dependencies to be declared on them
2020-09-01 21:11:17 +02:00