Renames flatten_list proc to assoc_to_values (#93453)

## About The Pull Request

`/proc/flatten_list()` -> `/proc/assoc_to_values()`, also changes the
code doc to mirror the language of `assoc_to_keys()`'s code doc

## Why It's Good For The Game

Having a proc called `assoc_to_keys` that takes an associative list and
returns a list of the keys, and also having a proc that takes an
associative list and returns a list of the values, and the latter not
being called `assoc_to_values` is very funny

## Changelog
🆑
code: renamed flatten_list proc to assoc_to_values
/🆑

---------

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
Roxy
2025-10-14 21:01:09 +00:00
committed by GitHub
co-authored by Ghom
parent b1ba710b67
commit f3848f1ef2
17 changed files with 29 additions and 29 deletions
@@ -59,9 +59,9 @@ ADMIN_VERB(dynamic_tester, R_DEBUG, "Dynamic Tester", "See dynamic probabilities
data["tier"] = tier
data["num_players"] = num_players
data["roundstart_ruleset_report"] = flatten_list(roundstart_ruleset_report)
data["light_midround_ruleset_report"] = flatten_list(light_midround_ruleset_report)
data["heavy_midround_ruleset_report"] = flatten_list(heavy_midround_ruleset_report)
data["roundstart_ruleset_report"] = assoc_to_values(roundstart_ruleset_report)
data["light_midround_ruleset_report"] = assoc_to_values(light_midround_ruleset_report)
data["heavy_midround_ruleset_report"] = assoc_to_values(heavy_midround_ruleset_report)
return data
+1 -1
View File
@@ -24,7 +24,7 @@ SUBSYSTEM_DEF(economy)
var/techweb_bounty = 250
/**
* List of normal (no department ones) accounts' identifiers with associated datum accounts, for big O performance.
* A list of sole account datums can be obtained with flatten_list(), another variable would be redundant rn.
* A list of sole account datums can be obtained with assoc_to_values(), another variable would be redundant rn.
*/
var/list/bank_accounts_by_id = list()
/// A list of bank accounts indexed by their assigned job typepath.