A small change of unknown purpose
This commit is contained in:
parent
0da955e9a7
commit
18e50d0f4f
1 changed files with 7 additions and 7 deletions
|
@ -12,19 +12,19 @@ default
|
||||||
{
|
{
|
||||||
llMessageLinked(LINK_SET,0,"","fw_reset");
|
llMessageLinked(LINK_SET,0,"","fw_reset");
|
||||||
}
|
}
|
||||||
|
|
||||||
changed(integer x){
|
changed(integer x){
|
||||||
if(x&CHANGED_REGION_START){
|
if(x&CHANGED_REGION_START){
|
||||||
llResetScript();
|
llResetScript();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
on_rez(integer t){
|
on_rez(integer t){
|
||||||
if(t == 0){
|
if(t == 0){
|
||||||
llResetScript();
|
llResetScript();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
link_message(integer s,integer n,string m,key i){
|
link_message(integer s,integer n,string m,key i){
|
||||||
if(n==0){
|
if(n==0){
|
||||||
if(i=="fw_ready"){
|
if(i=="fw_ready"){
|
||||||
|
@ -39,7 +39,7 @@ default
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
listen(integer c,string n,key i,string m){
|
listen(integer c,string n,key i,string m){
|
||||||
if(g_sPath == "/"){
|
if(g_sPath == "/"){
|
||||||
if(m == "White"){
|
if(m == "White"){
|
||||||
|
@ -53,9 +53,9 @@ default
|
||||||
llMessageLinked(LINK_SET,0,"c=white","fw_conf : card_helpertext");
|
llMessageLinked(LINK_SET,0,"c=white","fw_conf : card_helpertext");
|
||||||
llSetLinkColor(LINK_ROOT,<0.2,0.2,0.2>,1);
|
llSetLinkColor(LINK_ROOT,<0.2,0.2,0.2>,1);
|
||||||
llSetLinkColor(LINK_ROOT,<0.2,0.2,0.2>,0);
|
llSetLinkColor(LINK_ROOT,<0.2,0.2,0.2>,0);
|
||||||
|
|
||||||
g_sPath = "/num_req";
|
g_sPath = "/num_req";
|
||||||
llDialog(llGetOwner(), "[Playing Card]\n\nHow many cards do you want to require the player to draw?", ["1","2", "3","4","5","6","7","8","9","10"], g_iChan);
|
llDialog(llGetOwner(), "[Playing Card]\n\nHow many cards do you want to require the player to draw?", ["1","2", "3", "4"], g_iChan);
|
||||||
}
|
}
|
||||||
} else if(g_sPath == "/text"){
|
} else if(g_sPath == "/text"){
|
||||||
llMessageLinked(LINK_SET,0,m,"fw_data : card_text");
|
llMessageLinked(LINK_SET,0,m,"fw_data : card_text");
|
||||||
|
@ -99,4 +99,4 @@ state myCard
|
||||||
touch_start(integer t){
|
touch_start(integer t){
|
||||||
llSay(0, "/me created by secondlife:///app/agent/"+(string)g_kAuthor+"/about");
|
llSay(0, "/me created by secondlife:///app/agent/"+(string)g_kAuthor+"/about");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue