Pazleysox
Member
Is there a way to pull a specific preference out of a list?
IE:
results in this:
trigram 3x
... Is there a way to check for just the TRAM, or just TRIGRAM, or any other single chip?
EDIT: It seems that mafia records them in the order they were installed
A Clannie had this:
DRAM,INGRAM,DIAGRAM, ASHRAM,SCRAM,TRIGRAM
then installed a TRAM, and gets this:
DRAM,INGRAM,DIAGRAM, ASHRAM,SCRAM,TRIGRAM ,TRAM
IE:
PHP:
if(get_property("sourceTerminalChips") == "TRAM,DRAM,CRAM,INGRAM,ASHRAM,DIAGRAM,SCRAM,TRIGRAM")
print("trigram 3x");
if(get_property("sourceTerminalChips") == "TRAM")
print("trigram 2x");
trigram 3x
... Is there a way to check for just the TRAM, or just TRIGRAM, or any other single chip?
EDIT: It seems that mafia records them in the order they were installed
A Clannie had this:
DRAM,INGRAM,DIAGRAM, ASHRAM,SCRAM,TRIGRAM
then installed a TRAM, and gets this:
DRAM,INGRAM,DIAGRAM, ASHRAM,SCRAM,TRIGRAM ,TRAM
Last edited: