mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
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.
This commit is contained in:
@@ -200,7 +200,7 @@
|
||||
"restricted_roles" = item.restricted_roles,
|
||||
"restricted_species" = item.restricted_species,
|
||||
"progression_minimum" = item.progression_minimum,
|
||||
"ref" = REF(item)
|
||||
"ref" = REF(item),
|
||||
))
|
||||
|
||||
var/list/remaining_stock = list()
|
||||
@@ -218,6 +218,7 @@
|
||||
data["has_objectives"] = uplink_handler.has_objectives
|
||||
data["lockable"] = lockable
|
||||
data["assigned_role"] = uplink_handler.assigned_role
|
||||
data["assigned_species"] = uplink_handler.assigned_species
|
||||
data["debug"] = uplink_handler.debug_mode
|
||||
return data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user