Add some more changes
This commit is contained in:
parent
97f0e4a475
commit
b464adae4a
5 changed files with 456 additions and 97 deletions
27
SOURCE/LSL/Deck.lsl
Normal file
27
SOURCE/LSL/Deck.lsl
Normal file
|
@ -0,0 +1,27 @@
|
|||
|
||||
integer ingredient_channel = -8392888;
|
||||
|
||||
default
|
||||
{
|
||||
state_entry()
|
||||
{
|
||||
llListen(ingredient_channel, "", "", "");
|
||||
llSetText("Deck of Cards\n-----\nQuantity: 1", <0,1,0>,1);
|
||||
}
|
||||
|
||||
touch_start(integer t){
|
||||
llSay(0, llGetObjectDesc()+" Deck of Cards; Quantity: 1");
|
||||
}
|
||||
|
||||
on_rez(integer t){
|
||||
llResetScript();
|
||||
}
|
||||
|
||||
listen(integer c,string n,key i,string m){
|
||||
if(m == "scan"){
|
||||
llSay(c+1, "Deck");
|
||||
}else if(m == (string)llGetKey()){
|
||||
llDie();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue