Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
12
_module/nss/ew_d6roll.nss
Normal file
12
_module/nss/ew_d6roll.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "lel_colortoken"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastSpeaker();
|
||||
int nRoll=d6();
|
||||
string sName = GetName(oPC);
|
||||
string sRoll=IntToString(nRoll);
|
||||
AssignCommand( oPC, ActionPlayAnimation (ANIMATION_LOOPING_GET_MID, 3.0, 3.0));
|
||||
DelayCommand( 2.0, AssignCommand( oPC, SpeakString(GetGreenToken()+sName+" rolled a d6 and gets a: "+sRoll)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user