Commit Graph
5 Commits
Author SHA1 Message Date
Patrik Caes-Sayrs 3b9db7359b Fixed redundant bar sign windows (#42960)
Fixed redundant bar signs

* Fixes the extra bar sign popups bug introduced in #42364
by making BarSignBUI use CreateWindow

* Fixes bar signs placed from Entity Spawn Window
2026-06-29 12:43:56 +02:00
Patrik Caes-Sayrs 516c3f4840 Added Emp interaction with Bar Sign (#42950)
* Added Emp interaction with Bar Sign

There was already content for emp bar sign but no support for it.
This adds the interaction with emps to make bar signs EmpDisabled.

* Emp BarSigns stylistic change

* Fixed redundant bar signs

Fixes the extra bar sign popups bug introduced in #42364

* Block bar sign UI when emped

* Revert "Fixed redundant bar signs"

This reverts commit 23168bb503bcf267ac553eff9ac9674bf28adb4b.
2026-06-29 12:43:53 +02:00
slarticodefast dc7b12ae47 Predict BarSignBoundUserinterface (#42364)
fix bar sign prediction
2026-04-04 16:57:52 +02:00
Pieter-Jan Briersandslarticodefast b7f297f612 Fix usages of TryIndex() (#39124)
* Fix usages of TryIndex()

Most usages of TryIndex() were using it incorrectly. Checking whether prototype IDs specified in prototypes actually existed before using them. This is not appropriate as it's just hiding bugs that should be getting caught by the YAML linter and other tools. (#39115)

This then resulted in TryIndex() getting modified to log errors (https://github.com/space-wizards/RobustToolbox/commit/94f98073b07bd3fa3133ae6799b34d90f46f467e), which is incorrect as it causes false-positive errors in proper uses of the API: external data validation. (#39098)

This commit goes through and checks every call site of TryIndex() to see whether they were correct. Most call sites were replaced with the new Resolve(), which is suitable for these "defensive programming" use cases.

Fixes #39115

Breaking change: while doing this I noticed IdCardComponent and related systems were erroneously using ProtoId<AccessLevelPrototype> for job prototypes. This has been corrected.

* fix tests

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-12-29 11:39:03 -06:00
Nemanja 1bb89bdca5 Selectable Bar Signs (#29068)
* make bar sign selectable

* ajcm strongest soldier

* AJCM comes down hard for round 2

* good shit

* ok ballin

* bless'ed be the webedit
2024-07-25 01:57:58 +02:00