Commit Graph

3936 Commits

Author SHA1 Message Date
Vera Aguilera Puerto
bbe79d91a7 Fix strippable showing virtual items. 2021-10-01 13:35:21 +02:00
Vera Aguilera Puerto
facb0358f5 Fix buckle component exception when Removed from entity. 2021-10-01 13:23:39 +02:00
Vera Aguilera Puerto
47107c6a42 Adds linting support to SoundCollectionPrototype, fix linter errors.
Closes #4580
2021-10-01 12:40:44 +02:00
Vera Aguilera Puerto
26808d2e9a Fixes bar sign not changing due to wrong conditional. 2021-10-01 12:28:52 +02:00
20kdc
9600c8e983 Fix various solution capability issues (syringes, drinks) (#4687)
* Fix syringe message stating you're attempting to draw from yourself when you aren't

* Fix various missing capabilities (syringes, beakers, drinks)

* And fix mug inject/dispense/etc, too!

* Injectors can now refill things, and switch over drinks and cups thereof to be refillable rather than injectable
2021-10-01 12:06:50 +02:00
Vera Aguilera Puerto
6451b339c2 Fix drinking glasses not fitting in reagent dispensers. 2021-09-30 14:21:56 +02:00
Vera Aguilera Puerto
fcb23627eb Fixes ghost pointing.
- Ensures VisibilityComponent on entities with GhostComponent, sets visibility layer correctly.
- Fixes wrong bitflag operation comparison
2021-09-30 13:57:29 +02:00
Vera Aguilera Puerto
e194df9747 Fix GameTicker and StartingGear performing bad string checks.
- This prevented people from spawning as clown, etc if they had set the skirt option.
- Adds some custom type serializers to StartingGear for YAML linter support.
2021-09-30 13:35:35 +02:00
Kara D
d3751ee706 whoops 2021-09-29 17:34:34 -07:00
metalgearsloth
8365e8d52c Event for PowerNetBattery CurrentSupply changing (#4570)
I re-used AmbientOnPowered but maybe that was lazy; I was doubtful anything would ever have ApcPowerReceiver and PowerNetBatteryComponent.
2021-09-29 17:09:16 -07:00
Vera Aguilera Puerto
accb83b344 Raise HolidaysRefreshedEvent when holidays are disabled. 2021-09-29 12:57:37 +02:00
Vera Aguilera Puerto
77c93a5648 Turns HolidayManager into an entity system, HolidaySystem. 2021-09-29 12:56:10 +02:00
metalgearsloth
ad783396f8 Update CloseTo to CloseToPercent (#4708) 2021-09-29 20:07:01 +10:00
metalgearsloth
fe4a415d3b Don't send chat to ghosts on other maps (#4698) 2021-09-29 11:02:27 +02:00
Vera Aguilera Puerto
0be5ff829b Gets rid of all ComponentManager usages. (#4707) 2021-09-28 13:35:29 +02:00
Vera Aguilera Puerto
4e6d602784 DoAfterSystem uses EntityUid internally, adds EntityUid constructor for DoAfterEventArgs. 2021-09-28 11:33:33 +02:00
Swept
95d6f924cc Fixes loc typo in Traitor preset 2021-09-26 23:10:24 -07:00
metalgearsloth
91665cf0e6 Optimise emergency lights a bit (#4567)
* Optimise emergency lights a bit

* Fixes

* Delete the failing test, sinple

* Revert "Delete the failing test, sinple"

This reverts commit 7d9e3a3bb6975c15add2987e39e0d3ba85d88be3.

* Start server and fix test

It just werks
2021-09-27 14:51:17 +10:00
metalgearsloth
c298a8dc8e Move remqueue to engine (#4700) 2021-09-27 14:38:53 +10:00
Vera Aguilera Puerto
0869d837d6 Replace ComponentManager with EntityManager in StackSystem.
Stacks are the most advanced piece of code in this codebase...
2021-09-26 15:43:38 +02:00
Vera Aguilera Puerto
e71e5bec39 StackSystem uses PopupSystem.
Stacks are at the vanguard, as always.
2021-09-26 15:38:07 +02:00
Vera Aguilera Puerto
f913d8361d Refactors smoking to ECS, smoking actually makes you inhale reagents. (#4678) 2021-09-26 15:19:00 +02:00
Vera Aguilera Puerto
0767bd3777 Popup ECS Refactor (#4692) 2021-09-26 15:18:45 +02:00
Vera Aguilera Puerto
2051970cc1 Remove IMetaDataComponent dependency from DirtyUi in GasCanisterSystem
Just so I don't need to make this use MetaDataComponent for now.
2021-09-26 13:01:10 +02:00
Vera Aguilera Puerto
a9e44770cf Stack respects InteractUsing handled. 2021-09-25 10:44:54 +02:00
metalgearsloth
2145124aa4 Disabler locker throwing (#4683) 2021-09-23 15:44:25 -07:00
Vera Aguilera Puerto
08184bc928 Refactor AdvertiseComponent to be ECS, improve performance. (#4676) 2021-09-24 02:02:22 +10:00
Vera Aguilera Puerto
c4ec9a143d ReadyAll iterates PlayersInLobby instead of using IPlayerManager. 2021-09-23 13:18:48 +02:00
Vera Aguilera Puerto
55393699b1 ReadyAll no longer spawns people who are observing
Fixes #4650
2021-09-23 13:00:28 +02:00
Vera Aguilera Puerto
246fda53c5 Refactor Barotrauma to be ECS. (#4674)
- Refactor IPressureProtection to be two different ECS events.
2021-09-22 21:02:25 +10:00
Vera Aguilera Puerto
6cea9cb973 Refactor Flammable to be ECS. (#4671)
- Refactor IHotItem into IsHotEvent.
- Refactor IFireAct into TileFireEvent.
2021-09-22 11:05:33 +02:00
Vera Aguilera Puerto
9bde39c533 Clothing sound equip only happens on intentional equips. 2021-09-21 17:28:26 +02:00
Vera Aguilera Puerto
04ea6a66f6 Dice roll popup, some DiceSystem cleanup. 2021-09-21 17:04:16 +02:00
Vera Aguilera Puerto
cab0b4fc93 Refactor GasCanisterSystem to use Resolves, improves canister performance slightly. 2021-09-21 14:25:58 +02:00
Pieter-Jan Briers
00fbffcddf AGhost now un-aghosts you if you are already a ghost. 2021-09-21 08:13:47 +02:00
Swept
ae54ad188e Changes most uses of Color.Green to Color.LimeGreen for better visuals (#4666) 2021-09-20 21:50:02 -07:00
Swept
3e4a3a7597 Fixes typo causing flashlight_off.ogg not to play 2021-09-20 11:53:34 -07:00
metalgearsloth
a8908427a8 Remove some unused fields 2021-09-21 00:16:52 +10:00
Vera Aguilera Puerto
61d8852799 Update StackSystem to use Resolves. (#4664)
* Update StackSystem to use Resolves.

* Compile
2021-09-20 13:39:05 +02:00
metalgearsloth
4b2a4dbfb7 Update content for accurate grid bounds (#4632)
* A

* dummy comment why CI plz
2021-09-20 21:08:10 +10:00
Vera Aguilera Puerto
cda67df317 Fix some warnings relating to fields being unused. 2021-09-20 11:22:59 +02:00
metalgearsloth
578ed16b8f Remove IRelayMoveInput (#4663)
* Remove IRelayMoveInput

This interface gets called every time a movement key is pressed so it gets called a lot.

* Remove RelayMovementEntityMessage

Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2021-09-20 11:06:48 +02:00
Visne
fcc1217e5d Stop using some obsolete stuff (#4657) 2021-09-19 23:40:22 -07:00
Vera Aguilera Puerto
a9b3b5136b Improves and cleans up TabletopSystem further. (#4633) 2021-09-19 11:07:35 +02:00
Vera Aguilera Puerto
08d6801ec5 Makes GasCanisterSystem use ECS BoundUserInterfaces. (#4608) 2021-09-19 09:32:38 +02:00
Ygg01
fa905f477d Fix Welder component interaction (#4634) 2021-09-19 15:15:34 +10:00
Vera Aguilera Puerto
e440df03db Adds parchís game board, improves tabletop system to support other games. (#4610) 2021-09-18 10:40:38 +02:00
Mads Glahder
08cfc3bb46 Fix construction from inside containers (#4595)
* Disallow construction of construction ghosts from inside a container

* Move IsInContainer check to before doing container ensuring

* Move IsInContainer check to HandleStartStructureConstruction to allow building items but not construct structures when inside a cozy locker

* Update Resources/Locale/en-US/construction/construction-system.ftl

Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2021-09-18 10:38:42 +02:00
mirrorcult
62f6c8dd8e Wieldable/two-handed weapons (#4554)
* wielding kinda works

* rough out all the edges, wielding works nicely

* popups + loc

* increase damage & extra damage against whitelist

* small fixes

* forgot to actually do that

* reviews

* reviews + thing

* use resistances and not extradamageagainstwhitelist

* slashy

* make increasedamageonwield and melee hit events work with modifiersets

* Silly individual
2021-09-17 07:16:11 -07:00
Vera Aguilera Puerto
078a62762f Improves the JobSpecial system. (#4626)
* Improves the JobSpecial system.

* clean up code
2021-09-16 23:17:19 +10:00