[MIRROR] Completely rewrites the orbit screen [MDB IGNORE] (#14715)

* Completely rewrites the orbit screen (#68054)

I set about refactoring Orbit.js when I just decided to scrap it and maybe add in some different functionality.

This PR:
- rewrites orbit from the ground up in typescript
- color coded list + scrollable + wider
- adds some styling and effects to gauge "threat": icons change, buttons change color
- fixes button text overflow
- fixes issue where scrolling hides the search header
- fixes similar antags being grouped separately (nukie and nukie leader, etc)

* Completely rewrites the orbit screen

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-07-04 02:10:31 +02:00
committed by GitHub
parent 6bd66b30c1
commit 862fbd773c
4 changed files with 318 additions and 248 deletions
-5
View File
@@ -39,11 +39,6 @@ GLOBAL_DATUM_INIT(orbit_menu, /datum/orbit_menu, new)
update_static_data(usr, ui)
return TRUE
/datum/orbit_menu/ui_assets()
return list(
get_asset_datum(/datum/asset/simple/orbit),
)
/datum/orbit_menu/ui_static_data(mob/user)
var/list/new_mob_pois = SSpoints_of_interest.get_mob_pois(CALLBACK(src, .proc/validate_mob_poi), append_dead_role = FALSE)
var/list/new_other_pois = SSpoints_of_interest.get_other_pois()