[MIRROR] Fixes species uplinks [MDB IGNORE] (#11445)

* Fixes species uplinks (#64816)

I was fucking deranged when I originally made this. I not only didn't actually include the assigned species to the uplink's ui data, but I made the code add each objective item to the uplink list twice. This fixes both of those problems, and makes it more readable.

Fixes a mistake I caused.
Closes #64806 (Species-Restricted uplink items don't appear)

Role-restricted and species restricted items can be purchased again.
Species-restricted items no longer appear in surplus.

* Fixes species uplinks

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-02-11 11:27:43 +01:00
committed by GitHub
parent f8196cd6a8
commit 9eef5d65b6
4 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
"name" = item.name,
"cost" = item.cost,
"desc" = item.desc,
"category" = item.category? initial(item.category.name) : null,
"category" = item.category ? initial(item.category.name) : null,
"purchasable_from" = item.purchasable_from,
"restricted" = item.restricted,
"limited_stock" = item.limited_stock,