Commit Graph

555 Commits

Author SHA1 Message Date
Pieter-Jan Briers
ccea85136b Random spontaneous cleanup PR (#25131)
* Use new Subs.CVar helper

Removes manual config OnValueChanged calls, removes need to remember to manually unsubscribe.

This both reduces boilerplate and fixes many issues where subscriptions weren't removed on entity system shutdown.

* Fix a bunch of warnings

* More warning fixes

* Use new DateTime serializer to get rid of ISerializationHooks in changelog code.

* Get rid of some more ISerializationHooks for enums

* And a little more

* Apply suggestions from code review

Co-authored-by: 0x6273 <0x40@keemail.me>

---------

Co-authored-by: 0x6273 <0x40@keemail.me>
(cherry picked from commit 68ce53ae17985876d6d112b764b2144964a9f42e)
2024-02-18 23:02:29 +01:00
SlamBamActionman
6991618a45 Add option for character name colors in chat & move coloration to clientside (#24625)
* Adds option to disable character names in chat/speechbubbles

* Moved the coloring of names to clientside

* Move string functions to SharedChatSystem to avoid duplicate code in SpeechBubble.cs

* Changed to be put under Accessibility section

* Cache CVar

(cherry picked from commit 247be5b5c770261544f4e468ea09422efb0f7028)
2024-02-18 22:52:19 +01:00
Nemanja
1efd153b83 prevent opening debug menus without perms (#25091)
prevent people without permissions from opening the tile, entityspawn, or decal menus

(cherry picked from commit 2293f46bcac38c73a212fc34ee77d2839cd8558b)
2024-02-18 22:38:55 +01:00
deltanedas
215d861bb8 make dialog window not evil (#24677)
* add Placeholder and make default buttons flags consistent w old behaviour

* DialogWindow ops

* make QuickDialog use DialogWindow

* Update Content.Client/UserInterface/Controls/DialogWindow.xaml

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
(cherry picked from commit 6b03aaaec78bd50c8f4730c9aa7d0f5cea76e782)
2024-02-08 12:21:02 +01:00
Nemanja
fea640584d make newchat box more opaque (#24555)
(cherry picked from commit 6605b7ba5023c01f3ac590bfda089e0291bbb7f9)
2024-01-28 00:27:31 +01:00
Kevin Zheng
1ab0ed77f6 Wrap objective briefing text (#24244)
(cherry picked from commit 0d53dad58ac5efc8d6cbd76a5e43eae7450ea25d)
2024-01-26 23:05:38 +01:00
Psychpsyo
e439d50479 Plates & Cash gridinv visuals (#24075)
(cherry picked from commit a747e6dda407cc93f8184be0712941606b19263e)
2024-01-26 22:50:12 +01:00
AJCM-git
9a6fa17e72 Virtual items cleanup (#23912)
* Virtual items cleanup

* Detail

* Review

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 108f001731b9394f98d9ef712b9b777e5b3f8abc)
2024-01-26 22:49:14 +01:00
DrSmugleaf
c0edcf330c Fix error when switching to a screen without an inventory gui widget (#24059)
(cherry picked from commit 6a7f1b2f1f52a8f88f8770a4c695292e5bebedff)
2024-01-26 22:37:14 +01:00
Crotalus
43de08bff3 Added search bar to warp points (#23978)
(cherry picked from commit 668d0eca2276b731730af930024ae66ccfdda11e)
2024-01-26 22:33:43 +01:00
metalgearsloth
dcc2baa5a5 Fix objects tab not showing nents (#23837)
* Fix objects tab not showing nents

* Fix everything

(cherry picked from commit 11701215322efe6e03c84a99645e60c766f0e2bb)
2024-01-26 22:22:36 +01:00
metalgearsloth
404ac576b8 Fix storagecomp serialization (#23780)
* Fix storagecomp serialization

* Fix state

(cherry picked from commit b22c9aa5e265994f87c9a3f41a95e0aef611b61d)
2024-01-26 22:17:53 +01:00
themias
9ba3f62cec fix use delay cooldown visual bug (#23532)
(cherry picked from commit edd85a5d2d8848fcbb5d5f60d505abe0164b10c1)
2024-01-26 21:39:31 +01:00
AJCM-git
6b7e8b4f5b UseDelay + ItemCooldown merge (#22502)
(cherry picked from commit 9c522c8b19f7a6f6b396c66342413572a22d7845)
2024-01-26 21:32:09 +01:00
Kot
5846fe3931 Fix chat size cvar serialization (#23005)
(cherry picked from commit 3d955677c53c929d95f4ef4a39a9b4415a11afd7)
2024-01-22 21:00:52 +01:00
metalgearsloth
6cfbdc6a4e Add UI click sounds (#22410)
* Add UI click sounds

* tweaks

* Significant cleanup

* Audio options and numerous fixes

* Fix the remaining UI elements

* new click sound

---------

Co-authored-by: Kara <lunarautomaton6@gmail.com>
(cherry picked from commit 4023134cf0536d36dd1d685189e8b1ee6c004d81)
2024-01-22 20:59:16 +01:00
Nemanja
21dce7d10b Better hover coloring for inventory (#23148)
(cherry picked from commit a4d36d408dcd3fa867d9254f734ca95a54a0e9a3)
2024-01-22 19:01:06 +01:00
Leon Friedrich
f3e61795f4 Add some tests and fix some miscellaneous bugs (#22836)
* Add some tests and fix some bugs

* Add more helper methods

* remove submodule

* fix merge

* also fix DirtyAll()

* poke

(cherry picked from commit 35ba42af9ccbbe41e8a3e59b30f2799ef8ca4b8d)
2024-01-22 18:44:30 +01:00
Nemanja
1fa68eefb0 Ion law visuals (#22908)
(cherry picked from commit 681f9a2c852033949f0b984f9f3b711c52e4cfdf)
2024-01-22 18:29:23 +01:00
Nemanja
21548d9cf8 Corner Clothing UI (#22883)
* Corner clothing (save point)

* IT WORKS. YIPPEE

* the last of it

* template rejigs

(cherry picked from commit 9b18357a882d6a9e3dfb3b4fccaa42f65238c9f0)
2024-01-22 18:24:28 +01:00
Debug
18f0af1f68 Implement gridinv, proper (#703)
* Implement gridinv, 1500 squashed commits :elp:

* Me when

* Linter errors

* Fix katana belts
2024-01-21 19:58:28 +01:00
LordCarve
2dc6a192ae Use different chatbox placeholder when dependent keys unbound (#22747) 2023-12-22 23:25:35 +01:00
Leon Friedrich
8494bd0885 Use ECS prototype-reload events (#22613)
* Use ECS prototype-reload events

* better constructors

* Maybe this fixes tests?
2023-12-22 23:25:35 +01:00
Kara
86af7b732d Fix glorfcode for real (#22838)
Fix glorfcode
2023-12-22 23:25:04 +01:00
DrSmugleaf
0c745cd168 Fix right click not showing the context menu in AHelps, players tab and objects tab (#22798)
* Fix right clicks in AHelp window

* Fix player tab right click

* Fix objects tab right click
2023-12-22 23:15:11 +01:00
qwerltaz
8e25e7a1f4 Improve gas analyzer interface (#22779) 2023-12-22 23:04:49 +01:00
keronshb
6a155a52ce Action Upgrade System (#22277)
* Adds uses before delay so actions can be used multiple times before cooldown

* adds methods to get remaining charges, to set uses before delay, and to set use delay

* adds method to change action name

* moves set usedelay

* action upgrade ECS

* adds method to reset remaining uses

* adds upgrade events

* refactors action upgrade event and adds logic to parse it

* fix serialization issue

* adds level up draft method

* adds action commands and a command to upgrade an action

* more warning lines to help

* Gets action to upgrade properly

* Removes unneeded fields from the action upgrade component and now properly raises the level of the new action

* Cleans up dead code and comments

* Fixes punctuation in actions-commands and adds a TryUpgradeAction method.

* removes TODO comment

* robust fix

* removes RT

* readds RT

* update RT to 190

* removes change name method

* removes remaining uses & related fields and adds that functionality to charges

* Adds Charges to action tooltips that require it
2023-12-16 20:24:54 +01:00
DrSmugleaf
41dc1299d5 Add ahelp bwoink sound cvar (#22439) 2023-12-16 20:16:24 +01:00
Pieter-Jan Briers
45591a383f More UI fixes (#22431)
* Fix chat filter button

Oh look, the popup code was copy pasted between chat filter and channel selector.

Hilarious.

Anyways same stuff as 995f506aafd770dd6572dfc9e7bf9e18186e485a. I pulled it all out into a base class so NO MORE COPY PASTE.

Fixes #22360

* Remove all further EnableAllKeybinds buttons.

Fixes #22346

Yeah none of these are valid use cases, why is this set...
2023-12-16 20:15:24 +01:00
KP
a719bc8c53 Fix glorfcode again (#22420) 2023-12-16 20:08:40 +01:00
KP
4f7d0d2e45 Fix Glorfcode (#22271) 2023-12-16 19:40:20 +01:00
Pieter-Jan Briers
73bec36f4e Fix being unable to open chat channel drop-down. (#22255) 2023-12-16 19:35:29 +01:00
deathride58
d5254d41bd Fancy speech bubbles - Names over speech bubbles, and 1:1 chat parity for emotes and LOOC! (#21999) 2023-12-16 19:16:53 +01:00
metalgearsloth
470f334c81 Fix ahelps (#21921) 2023-12-02 20:17:37 +01:00
metalgearsloth
b1ee2d48ff Unrevert audio (#21330)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2023-12-02 20:16:36 +01:00
Leon Friedrich
8c4ea47858 Rename SpriteView field (#21794) 2023-12-02 18:59:48 +01:00
Nemanja
61d58b83eb ok final actions fixes fr this time (#21683) 2023-11-19 22:13:50 +01:00
Nemanja
c529a02f49 small action bar fixes (#21655) 2023-11-19 22:09:45 +01:00
Nemanja
7eef08d1c0 Minimalist Action Bar (#21352) 2023-11-19 22:07:42 +01:00
Leon Friedrich
7c81a8517a fix implant action icon bug (#21597) 2023-11-19 22:03:29 +01:00
Leon Friedrich
29584576e7 Merge ActorSystem and IPlayerManager (#21314) 2023-11-12 20:53:33 +01:00
Vasilis
698b2a9749 LOOC will appear on top of your head (#21514)
* Oh well

* Minor fixing up

* HOLY BINGLE I DID IT

* TOGGLE!
2023-11-12 20:51:28 +01:00
Leon Friedrich
393a2c0887 Fix admin verb PVS issue (#21406) 2023-11-12 20:38:07 +01:00
Leon Friedrich
e66c0b5035 Un-revert IPlayerManager refactor (#21244) 2023-10-31 19:00:44 +01:00
ShadowCommander
144b0c7f4a Change ListContainer to send null when selected is removed from the data (#20595) 2023-10-31 18:45:36 +01:00
DrSmugleaf
9cc8a7fc81 Remove 700 usages of Component.Owner (#21100) 2023-10-20 15:31:13 +02:00
DrSmugleaf
253e012462 Add admin Erase verb, add checkbox to erase from the ban panel (#20985) 2023-10-14 22:19:04 +02:00
DrSmugleaf
d72f54bada Add panic bunker UI and automatic panic bunker (#20954) 2023-10-14 22:19:02 +02:00
Leon Friedrich
b5e4dfffc0 Add methods to transfer actions between containers (#20901) 2023-10-14 22:02:39 +02:00
metalgearsloth
de7879694f Climbing refactor (#20516) 2023-10-14 22:02:29 +02:00