Better Seed Extractor UI (#71204)

## About The Pull Request

Added icons to the seed extractor, indicators that show the stat value
relative to maximum possible value, tooltips to the stats, list of
traits and reagents.


![image](https://user-images.githubusercontent.com/3625094/201560469-7d44122b-7abd-4c3d-a76d-79fd26d36cb7.png)

There is also an ability to sort and filter the table now:


https://user-images.githubusercontent.com/3625094/201498368-9d620f99-28d3-4197-b73e-cd65d8285334.mp4

And an ability to scrap unneeded seeds:


https://user-images.githubusercontent.com/3625094/202563846-420f395b-d4a0-4ebc-88a9-df74c9c8ca1c.mp4

## Why It's Good For The Game

It wasn't very informative with just numbers, especially if you don't
know is it 5 out of 10 or 5 out of 100.

## Changelog

🆑
qol: new seed extractor UI 
/🆑

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: tattle <66640614+dragomagol@users.noreply.github.com>
This commit is contained in:
Andrew
2022-11-19 21:23:28 +00:00
committed by GitHub
co-authored by MrMelbert tattle
parent a110640d29
commit 3c7870b7f6
11 changed files with 525 additions and 124 deletions
+12
View File
@@ -0,0 +1,12 @@
/datum/asset/spritesheet/seeds
name = "seeds"
/datum/asset/spritesheet/seeds/create_spritesheets()
for (var/path in subtypesof(/obj/item/seeds))
var/obj/item/seeds/seed_type = path
var/icon = initial(seed_type.icon)
var/icon_state = initial(seed_type.icon_state)
var/id = sanitize_css_class_name("[icon][icon_state]")
if(sprites[id]) //no dupes
continue
Insert(id, icon, icon_state)