Commit Graph

186 Commits

Author SHA1 Message Date
Pieter-Jan Briers 68ce53ae17
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>
2024-02-13 16:48:39 -05:00
SlamBamActionman 247be5b5c7
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
2024-02-10 22:38:55 -08:00
Nemanja 2293f46bca
prevent opening debug menus without perms (#25091)
prevent people without permissions from opening the tile, entityspawn, or decal menus
2024-02-10 19:00:52 +11:00
Nemanja 6605b7ba50
make newchat box more opaque (#24555) 2024-01-25 08:17:48 -05:00
Kevin Zheng 0d53dad58a
Wrap objective briefing text (#24244) 2024-01-19 09:25:40 +11:00
Psychpsyo a747e6dda4
Plates & Cash gridinv visuals (#24075) 2024-01-14 11:44:17 -05:00
AJCM-git 108f001731
Virtual items cleanup (#23912)
* Virtual items cleanup

* Detail

* Review

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2024-01-14 21:18:47 +11:00
DrSmugleaf 6a7f1b2f1f
Fix error when switching to a screen without an inventory gui widget (#24059) 2024-01-14 14:18:28 +11:00
Crotalus 668d0eca22
Added search bar to warp points (#23978) 2024-01-12 13:34:11 -07:00
metalgearsloth 1170121532
Fix objects tab not showing nents (#23837)
* Fix objects tab not showing nents

* Fix everything
2024-01-10 01:30:20 -07:00
metalgearsloth b22c9aa5e2
Fix storagecomp serialization (#23780)
* Fix storagecomp serialization

* Fix state
2024-01-09 03:47:51 -07:00
themias edd85a5d2d
fix use delay cooldown visual bug (#23532) 2024-01-04 13:13:38 -05:00
AJCM-git 9c522c8b19
UseDelay + ItemCooldown merge (#22502) 2024-01-03 21:33:09 -04:00
Kot 3d955677c5
Fix chat size cvar serialization (#23005) 2023-12-30 12:24:10 -05:00
metalgearsloth 4023134cf0
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>
2023-12-29 15:43:36 +11:00
Nemanja a4d36d408d
Better hover coloring for inventory (#23148) 2023-12-29 12:46:51 +11:00
Leon Friedrich 35ba42af9c
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
2023-12-28 10:05:20 +11:00
Nemanja 9b18357a88
Corner Clothing UI (#22883)
* Corner clothing (save point)

* IT WORKS. YIPPEE

* the last of it

* template rejigs
2023-12-22 23:32:23 -07:00
LordCarve 7d69055291
Use different chatbox placeholder when dependent keys unbound (#22747) 2023-12-22 11:39:29 -08:00
Leon Friedrich b6bd82caa6
Use ECS prototype-reload events (#22613)
* Use ECS prototype-reload events

* better constructors

* Maybe this fixes tests?
2023-12-23 01:13:45 +11:00
Kara ee0c3c4a69
Fix glorfcode for real (#22838)
Fix glorfcode
2023-12-21 16:23:22 -08:00
DrSmugleaf 0273bbcbf3
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-20 23:32:52 -07:00
keronshb 2d692f47da
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-15 02:41:44 -07:00
DrSmugleaf 77e872fe8b
Add ahelp bwoink sound cvar (#22439) 2023-12-13 01:51:30 -07:00
Pieter-Jan Briers 16bd6802df
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 995f506aaf. 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-12 19:02:19 -07:00
KP 17270bb321
Fix glorfcode again (#22420) 2023-12-12 13:57:54 -08:00
Nemanja 9de4c40c29
Miscellaneous inventory tweaks (#22371)
* pt 1

* Miscellaneous gridinv UX
2023-12-12 00:49:37 -07:00
Nemanja b37b988ce3
Even spaced hotbar (#22252)
* Fix spacing on hotbar

* more tweaksies
2023-12-11 04:37:51 -07:00
KP 1b5e5032f4
Fix Glorfcode (#22271) 2023-12-11 19:53:10 +11:00
Pieter-Jan Briers 995f506aaf
Fix being unable to open chat channel drop-down. (#22255) 2023-12-09 13:15:06 +11:00
Nemanja 8112f84c33
Mark the last item stored in storage for smart-equip (#22236)
* mark the last item stored in grid inventory

* shift
2023-12-08 12:43:57 -06:00
Nemanja 736300d505
keybinds for opening bag/belt & context logic for opening storage window (#22238)
* keybinds for opening bag/belt & context logic for opening storage window

* no error por favor
2023-12-08 12:43:37 -06:00
Nemanja b01f0b5f82
add tooltip with entity name on inventory hover (#22203) 2023-12-07 21:38:07 -05:00
Nemanja c047f19fdc
Inventory sprite rotation (#22201) 2023-12-07 11:59:16 +11:00
TemporalOroboros f98322ad5d
T shaped pickaxe and grid UI fix (#22197) 2023-12-06 19:52:57 -05:00
Nemanja 9ca84ac3fb
Grid inventory fixes (#22161)
* Gridinv fixes

* eek

* oh yeah this too

* eek
2023-12-05 16:38:10 -07:00
deathride58 e32ede5882
Fancy speech bubbles - Names over speech bubbles, and 1:1 chat parity for emotes and LOOC! (#21999) 2023-12-04 16:10:49 -07:00
Nemanja cc8984d096
Grid Inventory (#21931)
* Grid Inventory

* oh boy we keep cracking on

* auto insertion is kinda working? gross, too!

* pieces and proper layouts

* fix the sprites

* mousing over grid pieces... finally

* dragging deez nuts all over the screen

* eek!

* dragging is 90% less horrendous

* auto-rotating

* flatten

* Rotation at last

* fix rotation and change keybind for removing items.

* rebinding and keybinding

* wow! look at that! configurable with a button! cool!

* dragging is a bit cooler, eh?

* hover insert, my beloved

* add some grids for storage, fix 1x1 storages, fix multiple inputs at once

* el navigation

* oh yeah some stuff i forgor

* more fixes and QOL stuff

* the griddening

* the last of it (yippee)

* sloth review :)
2023-12-04 16:04:39 -07:00
metalgearsloth 3423f11f79
Fix ahelps (#21921) 2023-11-28 00:42:03 +11:00
metalgearsloth 269c93245d
Unrevert audio (#21330)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2023-11-27 22:12:34 +11:00
Nemanja de5319737e
ok final actions fixes fr this time (#21683) 2023-11-16 00:12:47 -05:00
Nemanja 2727f63bf3
small action bar fixes (#21655) 2023-11-14 18:35:43 -07:00
Nemanja 4e84961ef8
Minimalist Action Bar (#21352) 2023-11-13 22:27:14 -05:00
Leon Friedrich 355e16f470
fix implant action icon bug (#21597) 2023-11-12 16:29:46 -07:00
Leon Friedrich 654cc7f071
Merge `ActorSystem` and `IPlayerManager` (#21314) 2023-11-11 13:08:10 +11:00
Vasilis 2f2d237f86
LOOC will appear on top of your head (#21514)
* Oh well

* Minor fixing up

* HOLY BINGLE I DID IT

* TOGGLE!
2023-11-09 02:18:58 -07:00
Leon Friedrich 6a8023cf8b
Fix admin verb PVS issue (#21406) 2023-11-05 02:58:26 +11:00
metalgearsloth 5b8f3c48c4
Revert "Update submodule to 175.0.0 (#21318)" (#21319) 2023-10-29 15:29:30 +11:00
metalgearsloth 9b1b3e03ed
Content audio (#20862) 2023-10-29 14:58:23 +11:00
Leon Friedrich e685cb626b
Un-revert IPlayerManager refactor (#21244) 2023-10-28 09:59:53 +11:00