mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user