Commit Graph

9869 Commits

Author SHA1 Message Date
AJCM
333f84f637 address review 2021-01-08 11:59:59 -04:00
AJCM
644dd23a1e Fixes console errors 2021-01-08 11:14:58 -04:00
moonheart08
010a22a593 Fix indentation in technologies.yml (#2952) 2021-01-08 15:21:34 +01:00
Leo
8eb96cfb01 Add setoutfit command (#2874)
* Add setoutfit command

* Adds setoutfit as a verb and adds a proper UI to the command

* Removes from AdminMenuWindow

* Changes the SetOutfit verb to be a component verb instead of a global verb

* Addresses reviews

* Remove empty method

* Remove on server aswell
2021-01-08 14:29:08 +01:00
Swept
6eeaa58988 HandheldLights no longer drain their batteries in 20 seconds. (#2942)
* Initial

* Update Content.Server/GameObjects/Components/Interactable/HandheldLightComponent.cs

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-01-07 21:35:39 +11:00
Swept
8e926db8e7 I used the web-edit to fix the web-edit... (#2941) 2021-01-07 21:17:34 +11:00
py01
8fa8de36ed PipeNetDeviceComponent refactor (#2912)
* Removes inheritance of PipeNetDeviceComponent

* Enables nullable in piping

* Piping error messages report the prototype

* Moves PipeNetDevice updating to ComponentMessage

* Build fix

* Review fixes

* review fix 2

Co-authored-by: py01 <pyronetics01@gmail.com>
2021-01-07 17:37:17 +11:00
py01
2b195fccb9 Chemical reaction refactor (#2936)
* Moves ContainsReagent from SolutionContainer to Solution

GetMajorReagentId from SOlutionContainer to Solution

Makes capability checks use HasFlag

Moves Solution Color calculation from SolutionContainer to Solution

Replaces SolutionContainerCaps.NoExamine with CanExamine

Misc SolutionContainer.Capabilities yaml cleanup

* Moves IReactionEffect from server to shared

* Moves ReactionPrototype from server to shared

* Moves SolutionValidReaction from SolutionContainer to ChemicalReactionSystem

* Moves PerformReaction from SolutionContainer to ChemicalReactionSystem

* Moves CheckForReaction from SolutionContainer to ChemicalReactionSystem

* Removes unused SolutionContainer methods

* Removes now-unused GetMajorReagentId from SOlutionContainer

* ChemicalReactionSystem comments

* Replaces usage of SolutionContainer.ContainsReagent and replaces it with SolutionContainer.Solution.ContainsReagent

* ChemicalReactionSystem ProcessReactions

* Moves ExplosionReactionEffect to shared, comments out server code, TODO: figure out how to let ReactionEffects in shared do server stuff

* Fixes SolutionContainer.CheckForReaction infinite recursion

* Moves IReactionEffect and ExplosionReactionEffect back to server

* Moves ChemicalReactionSystem and ReactionPrototype back to server

* Uncomments out Explosion code

* namespace fixes

* Moves ReactionPrototype and IReactionEffect from Server to Shared

* Moves ChemicalReactionSystem from Server to Shared

* ChemicalReaction code partial rewrite

* Moves CanReact and PerformReaction to Solution

* Revert "Moves CanReact and PerformReaction to Solution"

This reverts commit bab791c3ebd0ff39d22f2610e27ca04f0d46d6b8.

* Moves ChemistrySystem from Server to Shared

* diff fix

* TODO warning

Co-authored-by: py01 <pyronetics01@gmail.com>
2021-01-07 17:31:43 +11:00
Swept
429851140a Moves Filled stuff to Catalog/Fills. (#2938)
* Moved boxes

* Toolboxes

* Gas Tanks

* Fixed that last commit

* Large gas tanks shouldn't fit on belts
2021-01-07 17:27:46 +11:00
mirrorcult
7977992e5a Add kitchen knife & sliceable foods (#2891)
* sliceable food, kitchen knives

* sprite fixes, sounds

* add to vendor

* address reviews

* address reviews

* stereo -> mono

* fix wrong amount of nutriment being removed

* oops im dumb

* meta.json

* fix merge

* probably fix test

* remove all instances of [ComponentReference(typeof(IAfterInteract))]

Co-authored-by: cyclowns <cyclowns@protonmail.ch>
2021-01-07 12:48:08 +11:00
Swept
a7c4571075 Fixes Botanist and Mime not spawning with unique backpacks. (#2937)
* Botanist and Mime fixed

* Fixed some unupdated duffels.

* Fix

* I am so goofy
2021-01-07 12:35:57 +11:00
Tarlan2
6c10341938 Update technologies.yml (#2911)
Remade the technologies pull.
2021-01-07 11:40:42 +11:00
Swept
ff79798c2a Adds SimpleMobBase for NPCs. (#2932)
* Initial

* Initial2

* Abstraction
2021-01-07 11:25:06 +11:00
py01
2d1fe31bce SolutionContainerComponent refactors (#2746)
* Moves ContainsReagent from SolutionContainer to Solution

* GetMajorReagentId from SOlutionContainer to Solution

* Makes capability checks use HasFlag

* Moves Solution Color calculation from SolutionContainer to Solution

* Replaces SolutionContainerCaps.NoExamine with CanExamine

* Misc SolutionContainer.Capabilities yaml cleanup

* Removes HasFlag usage in SolutionContainerComponent

Co-authored-by: py01 <pyronetics01@gmail.com>
2021-01-06 13:31:41 +01:00
metalgearsloth
482106e827 Optimise handheld lights (#2927)
* Optimise handheld lights

* Woops also these

* Might as well do shutdown too

* Also these

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2021-01-06 12:50:49 +01:00
metalgearsloth
2bd4bf12a4 Utensils changes (#2929)
* Utensils changes

* Burn it all

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2021-01-06 12:49:19 +01:00
cyclowns
258ae55441 mobmask -> passable (#2916)
Co-authored-by: cyclowns <cyclowns@protonmail.ch>
2021-01-06 13:06:09 +11:00
Clyybber
6a56d86862 Enable FocusOOC and FocusAdminChat keybinds in lobby screen (#2917) 2021-01-06 13:05:06 +11:00
Swept
78ee111fbb Update syndie bag IDs (#2925) 2021-01-06 13:00:04 +11:00
Swept
e99d497b54 Increase PDA box capacity (#2924) 2021-01-06 12:58:56 +11:00
Paul Ritter
bbe9e8328f Merge pull request #2923 from SweptWasTaken/outdated-carpet
Removes any trace of floor_carpet.
2021-01-06 01:59:10 +01:00
Paul Ritter
c237714ee7 Merge pull request #2926 from SweptWasTaken/metalrod-move
Puts metal rods in their place.
2021-01-06 01:55:22 +01:00
SweptWasTaken
1f333c45fd Initial 2021-01-05 13:33:33 -08:00
SweptWasTaken
ba6fa3b1b4 Done 2021-01-05 13:00:12 -08:00
SweptWasTaken
38f5185bdb Nukes Pathfinding maps 2021-01-05 12:44:03 -08:00
Vera Aguilera Puerto
21a2ea86e4 Update engine to v0.2.13 (properly) 2021-01-05 13:20:49 +01:00
Swept
18fd5a6e41 Fixes multitool sprite. (#2921)
* Sprites

* YAML
2021-01-05 21:32:37 +11:00
Radrark
c196cdbd42 Add property to text keybinds (#2862)
Co-authored-by: Radrark <null>
2021-01-05 16:47:42 +11:00
Swept
196e6d2f45 Plays rustle sound when inserting or opening a backpack. (#2890)
* SoundCollection

* Works

* Applied review

* Waah

* Working

* e

* Adjust sound collection serialization

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2021-01-05 16:34:53 +11:00
Swept
4430164073 Adds unique equips for syndie duffels. (#2867)
* Initial

* Woops c/p slipup

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-01-05 16:22:31 +11:00
Metal Gear Sloth
a2b498d802 Update submodule 2021-01-05 16:20:19 +11:00
Metal Gear Sloth
3afc298d4f Update submodule 2021-01-05 15:55:29 +11:00
DrSmugleaf
e7eb23a9b0 Fix some of the build (#2894)
* THIS TIME FOR REAL

* Fix build

* Bring back old power code

* Remove debugger break

Co-authored-by: AJCM <AJCM@tutanota.com>
2021-01-05 15:36:25 +11:00
py01
1032576a20 Replaces AnchoredChanged C# event with ComponentMessage (#2905)
* Replaces AnchoredChanged C# event with ComponentMessage

* Removes unneeded fields

Co-authored-by: py01 <pyronetics01@gmail.com>
2021-01-05 15:32:59 +11:00
Swept
350f7313be Replaces medical scanner sprite. (#2870)
* Initial

* Let's go

* Updates the pods meta.json cause I can
2021-01-05 02:10:24 +01:00
Leo
447f0af6c2 Allows admins to see deadchat and adds a toggle for deadchat for admins and ghosts (#2904) 2021-01-04 09:25:33 +01:00
Pieter-Jan Briers
c1f53a4303 Clean up a ton of bugs with suspicion. 2021-01-04 09:18:28 +01:00
Vera Aguilera Puerto
9c2aaef73a Makes accept cloning message use Eui (#2910) 2021-01-03 17:20:17 +01:00
AJCM-git
c04a0270e1 Updates client IgnoredComponents list (#2859) 2021-01-03 16:23:50 +01:00
Swept
81730e2612 Backpack preferences. (#2864)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2021-01-03 16:22:14 +01:00
Leo
57b049d173 Adds DSay command (#2901)
* DSay command

* Moves getting the clients from DeadChat and AdminDeadChat to a function
2021-01-03 16:13:31 +01:00
py01
32f04fd7ca Replaces PowerReceiver's C# event with a ComponentMessage (#2888)
Co-authored-by: py01 <pyronetics01@gmail.com>
2021-01-03 16:13:01 +01:00
Pieter-Jan Briers
914a214a19 Fix setgamepreset command not updating status correctly. 2021-01-03 15:34:46 +01:00
Vera Aguilera Puerto
318f82ab30 Fixes aghost spam creating many admin ghosts.
- Also gives aghosts their character/player name
2021-01-03 15:32:53 +01:00
py01
6d9d7f751e Fixes ApcNetTest (#2895)
Co-authored-by: py01 <pyronetics01@gmail.com>
2021-01-03 03:48:33 +01:00
Vera Aguilera Puerto
74fed841a3 Fixes alert category being the same but alert type changing to one without severity
Also adds alert type to the exceptions in AlertPrototype
2021-01-02 20:51:02 +01:00
Vera Aguilera Puerto
85add420b0 Destructible spawning fix redux (#2892)
* Fix SpawnEntitiesBehavior crash and add test

* Fix comparer, add duplicated behavior

Turns out this isn't Java

* Threshold behaviors are now "linearly" executed

* Fixes YAML threshold behaviors to be linear

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2021-01-02 20:06:00 +01:00
Daniel Castro Razo
cc4669244d Fixes to explosionhelper (#2819)
* Revert "Make handheld explosives affect tiles (#2806)"

This reverts commit 005e142949.

* Fixes tiles being destroyed under walls by an explosion

* Extra imports removed

* Handles explosion in space and different grids

This handle explosions across different grids, and tiles are still protected if there is an entity airtight and currently blocking air on top of them that survived the explosion.

* Some bug fixes

- The way tiles were being protected was silly.
- Big explosions cause a lot of objects to trigger multiple events and at the same time they are destroyed.
- Explosions spawning inside containers like closets work now.

* Range bug fixes

* Explosive

The explosion works even if the entity exploding is inside multiple 'layers' of containers like.
bomb -> survival box -> tool box -> closet

* Explosions are different now

Explosion can't jump over walls now.
Explosions work like rays now, if an explosion breaks a wall it can scatter inside the room.
If entities are behind impassable entities that survive the blast  they are left unscathed.

* Little fix

* Remove the extra lookup of tiles

* Another small change

* Restore the second lookup

I thought this was extra, but this protects the tile under it if there is an Impassable entity on top. None wants anchored girders on top of lattice/space

* Changing order of conditions

IsBlockedTurf is cheaper to run than InRangeUnobstructed.

* Yep
2021-01-02 19:03:10 +01:00
Swept
cd9e5a590b Fixes remaining renamed chems (#2889) 2021-01-02 18:05:32 +11:00
Swept
63a7d2d433 Fixes gar glasses. (#2869)
* Initial

* Fixes inhands

* A

* Oh yeah and they slice real good too
2021-01-02 14:54:30 +11:00