Ancordia_PRC8/_module/nss/bj_preparedeck.nss
Jaysyn904 102ba7dab6 Initial Commit
Initial Commit
2023-09-21 19:51:32 -04:00

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");
}
}