Adds clarity to the associative list data type in wiremod (#73536)

## About The Pull Request

Once pulled, these changes will adjust how the associative list data
type is shown like on circuits and the description of the index table
component.

![assoclists1](https://user-images.githubusercontent.com/72105993/219969642-e9d76aa7-4f8e-40e5-a864-ae473b78c34e.png)

![assoclists2](https://user-images.githubusercontent.com/72105993/219969644-00b570ea-0c43-4190-9eb9-c8ac97bd1522.png)
## Why It's Good For The Game

Given the entry difficulty level of the circuits system, some players
may find themselves overwhelmed and frustrated seeing that their index
table component's output is not connecting to the index list component's
input, despite there being an index associative list component they may
not be aware of. These changes should hopefully lead players to learn
more about associative lists and how different they are from normal
lists. Just adding "assoc." to the descriptor should lead players to
search the term in the component printer and find the index associative
table.
## Changelog
🆑
qol: Made associative lists more apparent in circuits.
/🆑
This commit is contained in:
CesarBaylina
2023-02-22 22:10:02 +01:00
committed by GitHub
parent 16bb4b3764
commit 76eddfa59f
2 changed files with 3 additions and 3 deletions
@@ -1,11 +1,11 @@
/**
* # Index Table Component
*
* Gets the row of a table using the index inputted. Will return no value if the index is invalid or a proper table is not returned.
* Gets the row of a table as an associative list using the index inputted. Will return no value if the index is invalid or a proper table is not returned.
*/
/obj/item/circuit_component/index_table
display_name = "Index Table"
desc = "Gets the row of a table using the index inputted. Will return no value if the index is invalid or a proper table is not returned."
desc = "Gets the row of a table as an associative list using the index inputted. Will return no value if the index is invalid or a proper table is not returned."
category = "List"
circuit_flags = CIRCUIT_FLAG_INPUT_SIGNAL|CIRCUIT_FLAG_OUTPUT_SIGNAL
@@ -4,7 +4,7 @@
expected_types = 2
/datum/circuit_composite_template/assoc_list/generate_name(list/composite_datatypes)
return "[composite_datatypes[1]], [composite_datatypes[2]] list"
return "[composite_datatypes[1]], [composite_datatypes[2]] assoc. list"
/datum/circuit_datatype/composite_instance/assoc_list
color = "white"