Getting cargo name
Posted: 14 Jan 2011 11:11
Hi guys,
I have 2 questions
How do i get the cargo name (not the cargo label), the real cargo name, it depend on localisation.
like IORE = iron ore
As the doc says, because GRF can change it, i will just use that for cosmetic purpose (yeah i won't die if i can't get it).
Another question, how do i dup something in squirrel without duplicate the instance, but its content ? So both get the same content, but not sharing their instance. Like if i do "a=z" and altering "z" won't change any "a" values ? i'm looking for something that might appears simple for anyone, but i can't put my hand on it.
I have 2 questions
How do i get the cargo name (not the cargo label), the real cargo name, it depend on localisation.
like IORE = iron ore
As the doc says, because GRF can change it, i will just use that for cosmetic purpose (yeah i won't die if i can't get it).
Another question, how do i dup something in squirrel without duplicate the instance, but its content ? So both get the same content, but not sharing their instance. Like if i do "a=z" and altering "z" won't change any "a" values ? i'm looking for something that might appears simple for anyone, but i can't put my hand on it.