Commit Graph

1895 Commits

Author SHA1 Message Date
Morbo 9897bf62e1
Move some strings to ftl files (#6203) 2022-01-16 18:59:05 -07:00
ShadowCommander fc8da53fba
Stops InteractionOutline when the mouse is off screen. (#6191) 2022-01-17 07:21:08 +11:00
ShadowCommander df63fe615f
Fix VV Verb on entities that don't exist on the client (#6187) 2022-01-16 20:43:54 +01:00
Vera Aguilera Puerto 748dfb2ecb
Changes required for VirtualController EntitySystems (#6161) 2022-01-16 18:48:11 +11:00
mirrorcult 1fcc484a12
ECS APCs (#6118) 2022-01-15 11:32:46 -07:00
wrexbe 94207a42e9
Make manual valves work (#6121)
* Make manual valves work

* Change some GasValveSystem lookups
2022-01-15 05:18:45 -08:00
ShadowCommander a3c1d8f22a
Add job column to PlayerTab (#6181) 2022-01-15 14:17:33 +01:00
ZeroDayDaemon cd830fd4a9
Make bwoink window bigger (#6176) 2022-01-14 21:55:30 -06:00
Paul Ritter 9e1607722d
removes componentdependencies (#6160) 2022-01-15 13:26:37 +11:00
metalgearsloth 509ed98bdd
Split InteractionOutline from GameScreen (#6155)
Looking at making GameScreen in charge of managing the current GameHud and so it should be less of a god class.
2022-01-14 15:23:52 -08:00
ZeroDayDaemon 3e2ba2a91d
Fix #6154 (#6156)
* Fix #6154

This is a web edit

* This is not a web edit

(It's still broken)

* Fix more missing files from the patch
2022-01-14 12:19:07 -06:00
Pancake d10bb563c7
Change OOC color back. (#6150) 2022-01-14 23:28:09 +11:00
ShadowCommander 4f80dfda0d
Verb confirmation (#6137) 2022-01-14 01:28:17 +11:00
Moony bd359dd54c
Makes magboots grant gravity. (#6054) 2022-01-14 01:13:25 +11:00
Leon Friedrich 8179a50bdb
Fix smoking visuals, but properly this time. (#6051)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-01-14 01:09:46 +11:00
mirrorcult abd4eac921
ECS AsteroidRock and add a doafter to mining (#6120)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-01-12 13:12:08 +11:00
Michael Phillips 86812c1ad7
Added Whisper system for talking with players 2 tiles away. (#5994)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-01-12 01:48:18 +11:00
Morbo 62221d7b92
Add LOOC and change OOC color (#5841) 2022-01-12 00:29:55 +11:00
Lamrr 951bdabcd0
Removes LowWall. (#6063) 2022-01-11 18:03:27 +11:00
Pancake 61da69ee74
Singulo/Radiation Tweaks (#6045)
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
2022-01-11 17:30:17 +11:00
Leon Friedrich d83d6c50b2
Fix aghost hands gui. (#6119) 2022-01-10 20:43:28 -07:00
ShadowCommander adcdcaa4e4
Change VerbMenu categories to only execute solitary verbs (#6100)
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
2022-01-11 14:34:49 +11:00
Leon Friedrich 19b1c003e0
Fix misc virtual item issues (#5980) 2022-01-10 15:22:56 +11:00
wrexbe 5ceb2372bf
Clean up some warnings (#6088)
* Clean up some warnings

* Remove nullable enable

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
2022-01-09 22:10:36 -06:00
Pieter-Jan Briers e648ad72b9 Remove usages of Newtonsoft.Json outside StatusHost 2022-01-09 11:53:18 +01:00
Moony ca984036d6
Upstream species (#6066)
* Step 1 of porting; grabbed most of the files via patches.

* Add species field to the DB

* Appearance patches for slimes.

* Fix the db test.

* Add slime's biocompat.

* slimby

* Fixes, allow specifying if a species is playable or not.

* Update Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs

Co-authored-by: Javier Guardia Fernández <DrSmugleaf@users.noreply.github.com>

* Update Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs

Co-authored-by: Javier Guardia Fernández <DrSmugleaf@users.noreply.github.com>

* Update Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs

Co-authored-by: Javier Guardia Fernández <DrSmugleaf@users.noreply.github.com>

* Address reviews.

* Address reviews.

* make an if-case.

* Fix a goof where species wouldn't get shown in the editor correctly (it'd always default to human)

Co-authored-by: Javier Guardia Fernández <DrSmugleaf@users.noreply.github.com>
2022-01-08 19:53:14 -06:00
Leon Friedrich c29489ff4d
Fix foldable-pickup interactions. (#6057) 2022-01-07 17:09:42 +11:00
Leon Friedrich 4921ea6850
Make smoking cool again. (#6046) 2022-01-06 23:45:02 +11:00
JustinTime 7d0b06f551
Add ability to resist out of welded lockers and locked closets (#5958)
* Enable lighting of Cigars with IsHotEvent

Subscribed to IsHotEvent in ThrusterSystem, added AfterInteractEvent to SmokingSystem.Cigar which will set SmokableState to Lit if IsHotEvent returns true

This should mean that cigs/Cigars should light on anything hot

* Revert "Enable lighting of Cigars with IsHotEvent"

This reverts commit db896e1f80940892a87d34aa7182b9c605fa53bc.

* Add the ability to kick your way out of welded or locked closets

Added a ResistLocker component/system that hooks into OnRelayMove to begin resisting out of lockers so that players aren't stuck in lockers forever

Also added check to EntityStorageComponent to not print out welded shut message if the entity attempting to open the locker is inside of it.

* Changes based on review

minor formatting changes

make components passed into AttemptResist nullable and resolve them inside of the function

Remove incorrectly named .ftl file

* Changes based on review

Ditched async DoAfter
Used PopupSystem over User.PopupMessage

Added Cancel token to ResistLockerComponent

Subscribed to EntRemovedFromContainer event to cancel DoAfter if the player is removed from a container

* I am in formatting hell, apparently

* Changes based on review

Added TryComp for the EntityStorageComponent instead of the event passed one

* Changes based on review

* Apply suggestions from code review

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>

* Formatting changes based on review

* Shuffle functions around in LockSystem to properly trigger visualizer

Moved all the unlocking logic to a Lock method inside of LockSystem and TryUnlock calls this method if the user passes all of the access checks

* Formatting, replacing Resolve with TryComp and making AttemptResist arguments optional

Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>

* Check if the player is inside THE container not A container

me no read good

* ok ok I give my code is bad

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
2022-01-05 22:18:48 -08:00
metalgearsloth 4aaa85f84d
Xeno improvements (#6032) 2022-01-05 18:51:53 -07:00
Acruid 5b1cd2dd96
ECSatize AlertsSystem (#5559) 2022-01-05 19:19:23 +11:00
Rane 8f6192dafa
Added briefings to character menu & the traitor briefing (codewords) (#5971) 2022-01-05 16:46:40 +11:00
Leon Friedrich adbc4ee5b0
Partial hand ECS (#5634)
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
Co-authored-by: Paul <ritter.paul1@googlemail.com>
2022-01-05 15:53:08 +11:00
Leon Friedrich 0aa4f9efbe
Power Cell Refactor (#5943)
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
2022-01-05 15:20:25 +11:00
Paul 11510927d6 work on adminpanel & submodule update 2022-01-04 21:12:34 +01:00
mirrorcult 5249ea057a
Kill bobby 2.0 (#6023) 2022-01-04 10:17:39 +01:00
ShadowCommander 0a626353ab
Make disconnected players in AdminNameOverlay different from connected players (#5931)
* Set transparency for disconnected players in the AdminNameOverlay

* Change to white instead of transparent
2022-01-03 16:40:45 -08:00
Paul 33572c5cc8 submodule update & fixes the ahelpwindow further 2022-01-03 04:14:10 +01:00
Paul 7e266b41ff removes a bit of jank from bwoinkwindow
sorta fixes sorting
2022-01-03 02:36:25 +01:00
E F R df9aecb6a0
Administration: Ahelp tabs (#5965) 2022-01-03 01:54:44 +01:00
Flipp Syder b1584793bf
Adds fire/air alarms (#5018)
Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
Co-authored-by: E F R <602406+Efruit@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-01-02 15:56:24 +11:00
ShadowCommander 007f4c6cbe
Fix inventory UI not showing entities (#5981)
* Update inventory UI on init

* Add resolve pattern

* Update Content.Client/Inventory/ClientInventorySystem.cs

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>

* Fix errors

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
2022-01-01 23:35:30 +01:00
ShadowCommander 9529883db1
Fix player tab opening multiple VV when closed by the X and reopened (#5986) 2022-01-01 23:10:46 +01:00
ShadowCommander 04be14e057
Prevent equipping HandVirtualItems (#5982) 2022-01-02 00:20:32 +11:00
Michael Phillips 89044ea732
Fixed issue with missing value on heldEntity (#5961) 2021-12-31 14:26:12 +11:00
wrexbe abba1e1c2c
Make held entity nullable (#5923) 2021-12-30 19:27:15 -07:00
ShadowCommander dc1ca30f7c
Add context menu to AdminMenu PlayerTab entries (#5904)
* XAML PlayerTab entries

* Move command execution to PlayerTab

* Move command logic to the AdminSystem

* Clean up

* Add examine and context menu keybind handling to PlayerTab

* Fix remote admin verbs

* Remove examine for now

* Add server verbs

* Fix requests of verb by non-admins

* Clean up AdminSystem.Menu
2021-12-30 14:11:30 -08:00
Paul Ritter 512d6a38c3
get that crap outta here (completely rewrites inventorysystem) (#5807)
* some work

* equip: done
unequip: todo

* unequipping done & refactored events

* workin

* movin

* reee namespaces

* stun

* mobstate

* fixes

* some work on events

* removes serverside itemcomp & misc fixes

* work

* smol merge fix

* ports template to prototype & finishes ui

* moves relay & adds containerenumerator

* actions & cuffs

* my god what is actioncode

* more fixes

* im loosing my grasp on reality

* more fixes

* more work

* explosions

* yes

* more work

* more fixes

* merge master & misc fixed because i forgot to commit before merging master

* more fixes

* fixes

* moar

* more work

* moar fixes

* suffixmap

* more work on client

* motivation low

* no. no containers

* mirroring client to server

* fixes

* move serverinvcomp

* serverinventorycomponent is dead

* gaming

* only strippable & ai left...

* only ai and richtext left

* fixes ai

* fixes

* fixes sprite layers

* more fixes

* resolves optional

* yes

* stable™️

* fixes

* moar fixes

* moar

* fix some tests

* lmao

* no comment

* good to merge™️

* fixes build but for real

* adresses some reviews

* adresses some more reviews

* nullables, yo

* fixes lobbyscreen

* timid refactor to differentiate actor & target

* adresses more reviews

* more

* my god what a mess

* removed the rest of duplicates

* removed duplicate slotflags and renamed shoes to feet

* removes another unused one

* yes

* fixes lobby & makes tryunequip return unequipped item

* fixes

* some funny renames

* fixes

* misc improvements to attemptevents

* fixes

* merge fixes

Co-authored-by: Paul Ritter <ritter.paul1@gmail.com>
2021-12-30 22:56:10 +01:00
Pieter-Jan Briers 26b1f28f51 AdminSystem uses BaseWindow instead of SS14Window.
Forward compatibility patch for engine SS14Window deprecation.
2021-12-30 17:38:12 +01:00
ShadowCommander 9d70bdde9c
Keep players in the PlayerTab until round end (#5921)
* Rework AdminSystem to keep players in the PlayerTab until round end

* Prevent sending PlayerStatus to deadminned admins

* Change _playerList to non-nullable

* Clean up unused usings

* Consolidate duplicate foreach loop code
2021-12-30 16:12:28 +01:00