Splits telecrystals into bluecrystals and telecrystals. (#16380)

* bluecrystals 1

* Splits telecrystals into bluecrystals and telecrystals.

* fixes

* dans ma tete ce n'est pas evident

* c'est toujours trop beau pour etre vrai

* on ne peut toucher le ciel des doigts

* thanks lily

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2023-06-18 14:43:49 +02:00
committed by GitHub
parent 34df7e093c
commit 316a80c231
36 changed files with 566 additions and 320 deletions

View File

@@ -49,7 +49,9 @@
return sorttext(b.last_name, a.last_name)
/proc/cmp_uplink_item(datum/uplink_item/a, datum/uplink_item/b)
return b.cost(INFINITY) - a.cost(INFINITY)
var/total_crystal_cost_a = a.telecrystal_cost(INFINITY) + a.bluecrystal_cost(INFINITY)
var/total_crystal_cost_b = b.telecrystal_cost(INFINITY) + b.bluecrystal_cost(INFINITY)
return total_crystal_cost_b - total_crystal_cost_a
/proc/cmp_access(datum/access/a, datum/access/b)
return sorttext("[b.access_type][b.desc]", "[a.access_type][a.desc]")