16 lines
304 B
Plaintext
16 lines
304 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oSelf = OBJECT_SELF;
|
||
|
|
||
|
//0 - 54 (as 55 is not counted)
|
||
|
int nDice = Random(55);
|
||
|
|
||
|
//note you must have an artifact with the resref artifact0
|
||
|
|
||
|
string sName = "artifact" + IntToString(nDice);
|
||
|
|
||
|
//Put one of the above artifacts in the Unique Chest..
|
||
|
CreateItemOnObject(sName, oSelf, 1);
|
||
|
|
||
|
}
|