Commit Graph

34547 Commits

Author SHA1 Message Date
Brandon Li
545cacbcae StyleNano removal: Palette system and Sheetlets (#29903)
* Apply patch 1777eea9a4..6b32bb2b14

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* make red squiggly line go away

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Add todo list

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Add palette to `TextureButton`

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Rename `PalettedButtonSheetlet` to `NTButtonSheetlet` and move useful methods to `ButtonSheetlet`

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* migrate `ContextMenu` styles

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Update todo

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* tweak NT colors

* New stylesheet: `InterfaceStylesheet` & `InterfaceTooltipSheetlet`

* Move inheritance of `IButtonConfig` to `NanotransenStylesheet.Buttons`

* move `MenuButtonSheetlet` & actually implement `InterfaceStylesheet` correctly

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* tweak color & update todo

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* chat is this real (update chat palette)

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Update todo

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* `SmallButton` and remove some obsolete things from `StyleNano`

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* rename `StyleClasses` to `StyleClass` so `Stylesheets.Redux.StyleClasses` syntax is dead

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* replace `ButtonColorGreen` with `Positive`

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* `Placeholder`

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Examine popup buttons

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* move over more things & cleanup `StyleNano` more (under 1000 lines!!!!)

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Remove some more redundant stuff

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Undo style change for chat window

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* paper editing works now

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* `OptionButton` styles

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* `ListContainer`, move `DefaultWindow` styles (for now) & more cleanup

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* fix `ActionButton` not having highlighting

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* remove imports of `Robust.Client.UserInterface.StylesheetHelpers` & format

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* `ButtonBig` and more cleanup

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Move items inheriting from `ISheetletConfig` into their own directory

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Cleanup & move `Label` styles

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Action search box styles

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Moved, stuff is

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* rename `LabelSubtext` to `LabelSubText` & move more stuff (were almost there!!)

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* yap & move over MORE stuff (just like one thing left!!!)

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Change status classes to appropriate existing classes

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* remove remaining references to `StyleNano`

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Fix some hardcoding & broken code, `GetFromControl`

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Scrollbars!

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* chores

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* clean up `StyleClass.cs`

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* `ItemListSheetlet` refactor

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* more chores!

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Consistency w/ directory structure

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Move `MainMenuSheetlet`

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* `ColorPalette`

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* whoopsie

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Remove most sheet-specific sheetlets

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* fix warnings, cleanup, & fix scrollbar (this is why we fix warnings boys)

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* yap

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* MASSIVE resharper skill issue

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* actually use `ISheetletConfig`

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* have specific sheetlet be specific

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* `GetResourceOr`

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* cleanup & move / remove `IPalette`s

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* actually do specific stylesheets correctly & fix tooltips

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* cleanup & logging

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* Move `FontKind` and `FontKindExtensions` to their own files

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* rename `InterfaceStylesheet` to `SystemStylesheet`

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* change `ButtonHovered` etc to `PseudoHovered` etc

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* give the palettes fun names

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* `StyleSpace` is no more

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* It should compile now! I am now going to bed (fr) if it fails it fails

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* make squiggly red line go away

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>

* add additional type restrictions to sheetlets

* `CommonStylesheet`

* minor cleanup

* Make `GetSheetletRules` not horrible

* wait this was duplicating style rules. oops!

* move some sheetlets to their associated xamls

* oh wait apparently that was important

* review pass 1

* review pass 2 (font & color stuff)

* review pass 3: remove unused stuff / filename fix

* fix warnings & "replace cast with explicit variable type"

* move `Palette` stuff to its own directory

* tweak colors (they're different now that I actually fixed the OKlab thing)

* review pass 4: little things

* make window close button grey before hovering

* refactor `HLine` to make it less terrible and allow it to be styled

* fix `NanoHeading` (it's been broken for a while whoops) and cleanup hardcoding

* band-aid missing references in `StyleNano`

* move `StyleBox` generating functions out of `IButtonSheetlet` into `StyleBoxHelper`

* remove dictionary field from `IStylesheetManager`

* Add check for unloaded sheetlets

* style tweaks to satisfy OCD

* I somehow missed this: `Caution` styleclass replaced with `negative`, refactor `PowerChargeWindow`

* tweak palettes for like the fourth time

* construct `StyleNano` / `StyleSpace` in `StylesheetManager` and mark them as obsolete

* rename `BackgroundPanel` classes for consistency

* tweak window / `ListContainer`

* oh right you use `///` not `/**`

* font system is bad, make it temporary

* acknowledge Divider funkyness

* remove use of class `Disabled`

* `ColorPalette` allow overriding colors with brace initialization

* review pass again

* tweak disabled button colors

* `StatusPalette` tweaks

* typo

* Make squiggly red line go away

* Delete `Redux`

* Remove all references to `Redux`

* make red less radioactive

* Store stylesheet name inside stylesheet class

* fix merge errors

* use RT's Oklab support instead

* shuffle around `StylesheetManager` fields

* apply stylesheets based off `StylesheetComponent`

* simplify `ColorPalette` construction

* add todo for `SheetletConfigType`

* `OptionButton` has a background color now

* fix disabled buttons

* sigh (red color palette fixed)

* make `ItemList` use primary palette

* Revert "apply stylesheets based off `StylesheetComponent`"

This reverts commit c05b147da845f6e04ff33d1cbd91a18a92c676d7.

* dead code removal

* buttons are green when pressed (we need togglebuttons)

---------

Signed-off-by: Brandon Li <sirbrandonthenerd@gmail.com>
Co-authored-by: Janet Blackquill <uhhadd@gmail.com>
2025-10-19 21:10:44 +00:00
PJBot
edfa3d92f4 Automatic changelog update 2025-10-19 21:11:34 +00:00
PotentiallyTom
e44083b280 Silicon lawset book and Law boards can now point to the list of lawsets. (#40944)
* AI compendium book proto added

* added BaseSiliconLawboard and have silicon boards parent it

* color tweaks

* requested change
2025-10-19 20:59:42 +00:00
lzk
3ea2b1b182 fix arachnid lungs (#34381) 2025-10-19 20:28:42 +00:00
slarticodefast
1469b9484d Add virtual chat API methods in Shared (#40895)
* move chat stuff to shared

* refactor: using cleanup +whitespaces + xml-doc

* review

---------

Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru>
2025-10-19 19:08:27 +00:00
PJBot
1541c107e5 Automatic changelog update 2025-10-19 19:10:12 +00:00
Kittygyat
8b8357792f Lets monkeys & kobolds shove/disarm! (#38542)
Let monkeys shove/disarm
2025-10-19 18:58:17 +00:00
PJBot
239b4ba009 Automatic changelog update 2025-10-19 18:38:56 +00:00
SpaceLizard
29018becce Fix some crystals (#40985)
Update crystal_shard.yml
2025-10-19 18:26:09 +00:00
PJBot
eba8ea87aa Automatic changelog update 2025-10-19 16:04:00 +00:00
Pgriha
8e3af00f63 Adding cotton seeds to cargo seeds crate (#40970)
* First one

* Let me count
2025-10-19 15:51:39 +00:00
slarticodefast
1b7fa85733 Add EntityEffectOnTrigger and RejuvenateOnTrigger (#40967)
commit
2025-10-19 14:42:18 +00:00
PJBot
69e2963945 Automatic changelog update 2025-10-19 11:46:21 +00:00
Anri
cb261babd8 Ninja headset (#40054)
* init-commit

* skill-issue

* happens

* post-review-changes

* desc-fix

* is-it
2025-10-19 11:33:56 +00:00
āda
2c71b92a60 Document tags: H-L (#40976)
* the letter H

* The letter I

* the letter J

* The letter K

* The letter L

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
2025-10-19 09:00:39 +00:00
PJBot
a10e3ef993 Automatic changelog update 2025-10-19 06:56:44 +00:00
JackRyd3r
2d08773acc Added the sidearm tag to energy magnum (#40974)
Co-authored-by: JacobThayil <jtha821@aucklanduni.ac.nz>
2025-10-19 06:44:50 +00:00
github-actions[bot]
748ff7d49a Update Credits (#40969)
Co-authored-by: PJBot <pieterjan.briers+bot@gmail.com>
2025-10-19 02:38:31 +02:00
Princess Cheeseballs
24216b1bc8 Fix Ninja EMP themselves. (#40968)
* push

* Skibidi toiler

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
2025-10-18 23:56:32 +00:00
PJBot
8837851b00 Automatic changelog update 2025-10-18 21:40:39 +00:00
Mehnix
3c1982a85f All pens embed (#39104)
* Embed for all

* Unify all thrown pen damage

Removes PenEmbeddable Abstract Entity as it is redundant. Those that parented to it now just parent to Pen.

* Fancy Pens deserve that damage bonus

Keeps an abstract entity for fancier pens to parent off of. Someone might do different fonts in the future, and them doing more damage is funny.
2025-10-18 21:27:45 +00:00
Absotively
a2927b773c Update outdated comment re: borging & borg playtime requirements (#40886)
Update outdated comment
2025-10-18 19:37:47 +00:00
ScarKy0
7168fd9ed9 Trigger On Hitscan (#40964)
* init

* doc

* merge systems

* review
2025-10-18 19:23:45 +00:00
Голубь
219aeda235 AddReagentOnTrigger (#39875)
* Trigger

* Unnecessary(?) Checks

* request

* Update

Co-Authored-By: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* cleanup

* standard name

* don't use name alias

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Co-authored-by: iaada <iaada@users.noreply.github.com>
2025-10-18 18:26:31 +00:00
PJBot
a7614c6ef7 Automatic changelog update 2025-10-18 17:59:40 +00:00
Perry Fraser
c65f0aeb31 Make a lot more puddle stuff predicted (#38871)
* feat: predict evaporation

* refactor: move puddle update logic to shared

* refactor: move more puddle stuff to Shared

Still can't do stuff that creates puddles :(

* refactor: move puddle transfers to shared

* fix: various style fixes + switch to predicted variants

* style: make some puddle stuff private instead of protected

* refactor: move solution dumping to its own system

* docs: clarify Drainable/Dumpable/Refillable docs

Also whacks unneeded VVAccess's.

* fix: audit usages of drainable+refillable

I'm leaving spear and arrow for now... but I don't love it.

* Added an item query I guess

* Review changes

* You can pour out waterguns

* Review changes

* oops

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
2025-10-18 17:41:56 +00:00
PJBot
303e0aae17 Automatic changelog update 2025-10-18 17:21:51 +00:00
slarticodefast
ccd47a00a3 Fix AddReagent modifying to solution being added in some cases (#40959)
fix
2025-10-18 17:06:08 +00:00
Hitlinemoss
ae349a446a Cargo orders that contain beverages now come in freezers (#40955) 2025-10-18 16:59:57 +00:00
PJBot
feadb81989 Automatic changelog update 2025-10-18 17:09:01 +00:00
MissKay1994
6720e85c6f Add sprites for Vox organs (#40555)
* Blue organs for blue blood

* EYES GO IN THE HEAD

* Accidental upload

* Also accidental upload

* skreeching for the future

* SKREEEEEEEEEE

* THese are not the files you are looking for

* Sprite attribution
2025-10-18 16:56:41 +00:00
Stefano Pigozzi
68ea91d070 Fix Space Villain tie message (#40958)
Fix `space-villain-game-enemy-dies-with-player-message`
2025-10-18 16:43:10 +00:00
Kittygyat
253c6b4e0a Slightly resprited the service borg (#39764)
* Small resprite of the service borg

* forgot credits

* Spriting fix, merging fix

* Deduplicated meta.json file
2025-10-18 16:30:18 +00:00
PJBot
2d2ca483b3 Automatic changelog update 2025-10-18 13:51:01 +00:00
PicklOH
86880a3194 Remove rag forensics cleaning (#40818)
Removes rag forensics
2025-10-18 13:39:07 +00:00
PJBot
f2b99c8eb5 Automatic changelog update 2025-10-18 09:26:08 +00:00
Hitlinemoss
e809073f6f Folders and clipboards recycle into what they are actually made of now (#40954)
* Folders recycle into paper, clipboards recycle into wood/plastic and steel

* CC clipboards also contain some cloth

* The nuclear code folder is also made of paper

* Whoops, violated the laws of thermodynamics

* Whoops, broke the laws of economics
2025-10-18 09:13:22 +00:00
PJBot
f5afd99f38 Automatic changelog update 2025-10-18 07:14:50 +00:00
Kittygyat
2f0538fa9a Made a new generic borg module for art; the Artistry Module! (#39679)
* Made a new generic borg module for art; the Artistry Module!

* Made requested changes, changed the crayon emptyRepresentatives

* Did the thing.

* Added updated action sprite,with thanks to TiniestShark, also Attempted to fix the merge conflict

* changed empty representative of red to rainbow

* Added recharging crayon 'Electric Crayon' and sprite to the borg module, removed redundant extra crayon slot.

* Added requested changes, replaced old spraypainter with new recharging borg spraypainter

* Forgot to readd the recyclable tag to Crayon

* Removed compressed paint hand
2025-10-18 07:02:15 +00:00
beck-thompson
492a1aa9c3 Hitscans are now entities (#38035)
* Hitscans are now entities

* Cleanup

* Cleanup

* Silly mistakes but stop sign testing helps :)

* Address most of the review

* Reviews

* perry :(

* Final reviews

* Add comments

* Split event up

* better comment

* cleanup
2025-10-18 05:42:08 +00:00
āda
7a2206d011 Fix recharging spray painter (#40953)
* commit

* fix

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
2025-10-18 05:38:50 +00:00
GeneralGaws
d8c2ca1b41 Arrival signs on fland (#40942)
arrival signs on fland
2025-10-18 02:52:24 +00:00
PJBot
6a532699cd Automatic changelog update 2025-10-18 00:29:52 +00:00
Mora
eec7fb6cf1 Add GenpopLeave and GenpopEnter to Security accesses (#39515)
Add GenpopLeave and GenpopEnter perms to security job accesses
2025-10-18 00:17:25 +00:00
Mora
8d47febe1d Added Vox Chitter and Clicking (#40878)
Added Vox chitter and clicking

Co-authored-by: TrixxedHeart <46364955+TrixxedBit@users.noreply.github.com>
2025-10-18 00:17:10 +00:00
PJBot
584825ec19 Automatic changelog update 2025-10-17 18:57:10 +00:00
Wolfkey-SomeoneElseTookMyUsername
58218a58dd Fix some food recipe categories (#40949)
Fix some guidebook food categories
2025-10-17 18:44:01 +00:00
PJBot
132d655ceb Automatic changelog update 2025-10-17 15:39:36 +00:00
Errant
a958f3ea1b Remove two obsolete buttons from the Admin UI (#40904)
remove unused UIs
2025-10-17 15:27:21 +00:00
rlebell33
5a244ed63a add the diona typing indicator to the FloraTree entity (#39103)
* add the diona typing indicator to the FloraTree entity

* move diona typing indicator to BaseTree

* add comment
2025-10-17 09:32:02 +00:00