Commit Graph

1524 Commits

Author SHA1 Message Date
Alex Evgrashin
4002aa5852 Uplink UI icons and withdraw button (#4929)
* Uplink menu has icons now

* Add item icons

* Add few descriptions

* Better withdraw window

* Finished with withdraw window

* Refactored withdraw ui and fix some bugs

* Basic withdraw

* Quick fixes

* Removed uplink listing for TCs

* Move slider to separate control

* Final touches

* A bit more

* Not again...

* Fixed names

* Address review

* Fixed robust

* Non necessary check
2021-10-29 11:40:47 +02:00
Flipp Syder
91b4ce6f24 Adds generic damage visualizer to the game (#4893) 2021-10-29 10:04:24 +02:00
Kara D
78005f8e9e Fix windoors not autoclosing
Fixes #4902
2021-10-28 22:38:36 -07:00
Kara D
a02b08651b Fix lasers not passing through grilles 2021-10-28 22:25:21 -07:00
Vera Aguilera Puerto
d62317b8f6 Fix not being able to construct windows on top of grilles.
Fix #5073
2021-10-28 19:02:07 +02:00
Leon Friedrich
5dd73ff6e0 Fix emitter lock toggle (#5066) 2021-10-28 13:29:19 +02:00
Visne
94579d1877 Fix a bunch of warnings (#5058) 2021-10-28 13:19:38 +02:00
Vera Aguilera Puerto
f12cec3f98 Fix construction DoAfter results not setting current edge index.
Fixes #5061
2021-10-28 11:21:55 +02:00
Alex Evgrashin
2cb35fab3c Fix light replacer and move it to ECS (#5053)
* Fixed broken replacer prototype

* Light replacer ECS
2021-10-28 13:36:09 +11:00
20kdc
bf48a42b6f Give the Engi-Vend insulated gloves (only one machine in engineering) (#5049)
This is because engineers end up not having enough insulated gloves to go around.
Kinda bad.
2021-10-27 17:44:31 +02:00
Julian Giebel
5b74811f28 Add high pressure machine frame rsi (#4950)
Implement Disposal machine construction graph and recepie
Restore eris disposal unit

Co-authored-by: Julian Giebel <j.giebel@netrocks.info>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-10-27 21:54:12 +11:00
20kdc
687427d324 Lower Saltern generator power to balance things out (#4749)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-10-27 10:32:06 +02:00
Ygg01
14b401f9b3 Puddle refactor 2: Spillastic boogaloo (#4784)
* Refactor PuddleComponent

* Move puddle effects into separate RSIs

Basically egg/tomato/powder puddle will be moved into separate
/Textures/Fluids RSIs

* Fix YAML for puddles

* Fix issues sloth pointed out.

* Ensure Puddle Component are properly added when spawned

* Remove unnecessary method init puddle with starting maxVolume

* Addressed ElectroSr comments

* Add Resolves

* Try fix error in ensureSolution

* Puddle unanchoring

* Address some issues with puddles

* Fix continue -> return
2021-10-27 19:24:18 +11:00
Alex Evgrashin
6e00104260 Powered light ECS (#5028)
* Brrrr ECS

* Create lit on powered system

* Light bulb ECS

* Finishing porting to ECS

* Minor touches

* Removed events

* Removed old comments

* Fixed test

* To popup system
2021-10-27 12:24:22 +11:00
Vera Aguilera Puerto
189a5c7847 ConstructionGL2 Part 1: ECSification, events and steps. (#5017)
- Completely rewrited the `ConstructionComponent` logic to be ECS, *without* looking too much at the original implementation.
    - The original implementation was dirty and unmaintainable, whereas this new implementation is much cleaner, well-organized and maintainable. I've made sure to leave many comments around, explaining what everything does.
- Construction now has a framework for handling events other than `InteractUsing`.
    - This means that you can now have CGL steps for things other than inserting items, using tools...
- Construction no longer uses `async` everywhere for `DoAfter`s. Instead it uses events.
- Construction event handling occurs in the `ConstructionSystem` update tick, instead of on event handlers.
    - This ensures we can delete/modify entities without worrying about "collection modified while enumerating" exceptions.
    - This also means the construction update tick is where all the fun happens, meaning it'll show up on our metrics and give us an idea of how expensive it is/how much tick time is spent in construction.
- `IGraphCondition` and `IGraphAction` have been refactored to take in `EntityUid`, `IEntityManager`, and to not be async.
- Removes nested steps, as they made maintainability significantly worse, and nothing used them yet.
- This fixes #4892 and fixes #4857

Please note, this leaves many things unchanged, as my idea is to split this into multiple PRs. Some unchanged things:
- Initial construction code is the same. In the future, it'll probably use dummy entities.
- Client-side guided steps are the same. In the future, the server will generate the guided steps and send them to clients as needed, caching these in both the server and client to save cycles and bandwidth.
- No new construction graph steps... Yet! 👀
2021-10-26 16:38:03 +02:00
20kdc
632a4bcd95 Apc and light construction partial fix (#5030)
* Fix APC placement type

* Fix wall tags.

* Change wall light placement to match how it actually is now

* Change spawn-entity wall light snap mode

Separate commit so it can be nixed out for JREV

* Default switch placement mode to SnapgridCenter
2021-10-26 16:15:02 +02:00
20kdc
c29b23eb64 Fix ChemMaster bottles not having contents (#5026) 2021-10-25 16:58:16 +02:00
Vera Aguilera Puerto
cb2309b094 Add insulated gloves to saltern and a few closets/vending machines. 2021-10-25 16:56:54 +02:00
Vera Aguilera Puerto
ed3bf94a3b Electrocution. (#4958)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2021-10-25 16:21:56 +02:00
StStevens
e621a82e65 Fire extinguisher safety (#4912)
* Moved safety into FireExtinguisherComponent.

* Fix errant find and replace

* Address reviews

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-10-25 18:04:24 +11:00
mirrorcult
c0ecdb09af Slipping tweaks + remove EffectBlocker (#4955)
* Slipping tweaks + remove EffectBlocker

* mfw failed merge conflict resolution

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-10-25 17:43:49 +11:00
Leon Friedrich
e016fc9906 spray bottle fix (#5012)
* fix-spray

* move vapor rotation
2021-10-25 17:29:02 +11:00
metalgearsloth
16e3b6a08e Fix 4-way gas pipe visualisation (#5011) 2021-10-25 14:26:42 +11:00
metalgearsloth
507a1b9f84 Fix gas pipe rotation rendering (#5015) 2021-10-25 14:24:54 +11:00
SethLafuente
2b2211a468 Reinforced Plasma Windows (#4962)
* submodule

* adds reinforced plasma windows

* Fixed some of le issues

* removing the module

* empty

literal nothing

* empty

same empty

* request fixes

* ups forgot to add that

* small change

change do after and camel reinforcedPlasmaWindow

* Update structures.yml

* Update rplasma.yml

* Update meta.json

* Update structures.yml

* Update structures.yml

* Update window.yml

* Update structures.yml

* small fixes

* literary nothing why is this here

* Update window.yml

* Update structures.yml

Co-authored-by: SETh lafuente <cetaciocascarudo@gmail.com>
2021-10-24 23:46:38 +11:00
moonheart08
1fa946cd57 Revert "Pipes as items is broken so simply undo. (#4925)" (#5007)
This reverts commit 668c94b929.
2021-10-23 23:28:19 -07:00
Alex Evgrashin
7de1ebbd77 Move RCD to ECS (#4742)
* Moved ammo to ecs

* Moved RCD to ecs

* Replaced RCDDeconstructWhitelist with Tag

* Updated new structures RCDDeconstructWhitelist

* Queue delete
2021-10-24 14:34:00 +11:00
E F R
c5dd6c8b02 Server/Storage: allow specifying a radius for _areaInsert (#5001)
️ Pay no attention to the changes in trashbag.yml... they are merely an
illusion... ️

t. 🧙‍♂️
2021-10-23 19:34:29 -07:00
moonheart08
86e2f2005e Allows placing cables on lattices. (#4984)
Adds a "sturdy" tile flag, that in the future could be used by construction/etc to figure out if it's safe to build on a tile. (For example water isn't space, but it's not a sturdy building surface!)
2021-10-23 17:32:33 -07:00
Julian Giebel
45caf25ea9 Apc device network and apc based light switch (#4908)
* Remove WireNet node group from cables
Implement extension cable components and system
Remove connection over distance logic from ApcPower... components

* Add extension cable components to prototypes

* Implement ApcNetwork
Implement ApcNetSwitch

* Fix ignoredComponents.cs

* Add friend attribute to new components

* Add construction graph for a light switch

* Address reviews

* Fix broken test

* Move ConnectionType enum to DeviceNetworkComponent
Change netId data definition to use the ConnectionType enum values

Co-authored-by: Julian Giebel <j.giebel@netrocks.info>
2021-10-23 16:23:19 -07:00
SethLafuente
399aa6d140 Added plasma into the cargo console (#4974)
* submodule

* adds plasma into cargo console

* Update cargo_materials.yml

Co-authored-by: SETh lafuente <cetaciocascarudo@gmail.com>
2021-10-22 02:47:47 -07:00
PetMudstone
8ddb4fc59a Adds the virology backpack. (#4979) 2021-10-22 11:21:24 +02:00
mirrorcult
d340bea100 gunpet (#4978) 2021-10-22 11:14:09 +02:00
Fortune117
55249e3688 Add Overdosing Behaviour to Meth (#4949)
* Added debug bottle of meth as well as a damage increase on a Reagent Threshold

* fix for metabolism getting funked when there is a failed reaction condition

* removed max, raised minimum to 10

* reduced regular meth damage, increased overdose damage
2021-10-20 13:30:55 -07:00
Julian Giebel
4897a47ca9 Implement cable terminal construction graph (#4960)
Co-authored-by: Julian Giebel <j.giebel@netrocks.info>
2021-10-20 13:25:02 -07:00
20kdc
7ccf9668d4 Varied and semi-sprited atmos markers (#4944) 2021-10-19 21:07:47 +02:00
20kdc
607ec67522 Movable containment field generators (#4910) 2021-10-19 00:24:07 -07:00
20kdc
09d713e1f8 Make freezers rotatable (#4940)
* Make freezers rotatable

* Fix freezer sprite oddities via the noRot use

Has to be done this way for what is essentially consistency reasons
2021-10-19 00:22:41 -07:00
20kdc
6c6bde8743 FoodComponent solution un-hardcoding, rehydratable solution name fixes, monkey cubes edible again, slicable food preserves poisons (#4942) 2021-10-19 00:13:43 -07:00
mirrorcult
636a04eccd Armor (#4934)
* Armor

* radiation tweaks

* asphyxiation ignore resistances
2021-10-18 16:24:37 -07:00
20kdc
c5e7457206 Hydroponics tray machine board (#4889)
* Frame/soil anchored fix

* Ability to build and deconstruct hydroponics trays

* Undo pointless adding of anchoring to soil
2021-10-17 23:12:50 -07:00
moonheart08
668c94b929 Pipes as items is broken so simply undo. (#4925)
The rest of the changes stay though.
2021-10-17 17:39:40 +02:00
Bingo Johnson
c2e9893419 Fix spelling in elements.yml (#4924)
Fixes spelling
2021-10-17 16:02:04 +02:00
20kdc
c95c5e02c2 fixgridatmos blockers (#4911)
* FixGridAtmos blocker

* FixGridAtmos blockers in Saltern
2021-10-17 14:32:17 +02:00
Vera Aguilera Puerto
56a461988b Fix pipe connectors' appearance by making pipes screenlocked.
This is not an ideal solution because as an outsider, pipes will look wrong on rotated stations, however there's no way to fix this properly right now as far as I can see soooo...
2021-10-17 12:06:31 +02:00
moonheart08
b6c1f31f17 Pipes are now more item-like and cannot phase through solid matter. (#4914)
* Pipes are now more item-like and cannot phase through solid matter.

* actually tested it this time
2021-10-16 19:12:14 -07:00
Vera Aguilera Puerto
3001ea38cc Add-d-ds s-s-stut-ttering t-to the g-gam-me (#4901) 2021-10-17 01:23:31 +02:00
Watermelon914
4bf8a5d527 Adds hand labelers (#4903)
* Adds hand labelers

* Removes unnecessary thing

* Docs

* Reverts some changes

* Addresses comments and adds inhand sprites

* Addressed comments

Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
2021-10-16 13:34:05 -07:00
ShadowCommander
9da81ea85f Add GhostRadio to allow ghosts to hear radio messages (#4896)
* Add GhostRadio to allow ghosts to hear radio messages

* Add GhostRadio to ignored components
2021-10-16 12:04:35 -07:00
ShadowCommander
dae3ed3006 Fix chemmaster UI and eating pills (#4900) 2021-10-16 14:56:20 +02:00