26 lines
726 B
Plaintext
26 lines
726 B
Plaintext
#include "_sh_inc_list"
|
|
void main()
|
|
{
|
|
string sDeckName = GetLocalString(OBJECT_SELF, "DeckName"); //"DECK_ALVERTON_1P";
|
|
object oDeck = ListCreate(sDeckName);
|
|
SetLocalObject(OBJECT_SELF, "oDeck", oDeck);
|
|
|
|
int i;
|
|
for (i = 1; i <= 4; i++)
|
|
{
|
|
ListAddString(oDeck, "2");
|
|
ListAddString(oDeck, "3");
|
|
ListAddString(oDeck, "4");
|
|
ListAddString(oDeck, "5");
|
|
ListAddString(oDeck, "6");
|
|
ListAddString(oDeck, "7");
|
|
ListAddString(oDeck, "8");
|
|
ListAddString(oDeck, "9");
|
|
ListAddString(oDeck, "10");
|
|
ListAddString(oDeck, "J");
|
|
ListAddString(oDeck, "Q");
|
|
ListAddString(oDeck, "K");
|
|
ListAddString(oDeck, "A");
|
|
}
|
|
}
|