Myriad Lite Equipment Client
Myriad_Lite_Equipment_Client-v0.0.1-20120124.lsl
// Myriad_Lite_Equipment_Client-v0.0.1-20120124.lsl
// The Myriad RPG System was designed, written, and illustrated by Ashok Desai
// Myriad RPG licensed under the Creative Commons Attribution 2.0 UK: England and Wales
// http://creativecommons.org/licenses/by/2.0/uk/
// Myriad Lite software Copyright (c) 2011 by Allen Kerensky (OSG/SL)
// Myriad Lite licensed under the
// Creative Commons Attribution-Share Alike-Non-Commercial 3.0 Unported
// http://creativecommons.org/licenses/by-nc-sa/3.0/
integer dynchan;
default {
state_entry() {
llSetText("Client: Equipment",<1,1,1>,1);
dynchan = (integer)("0x"+llGetSubString((string)llGetKey(),0,6));
llListen(dynchan,"",NULL_KEY,"");
llListen(-999,"",NULL_KEY,"");
llRegionSay(-999,"LIST_EQUIPMENT");
}
touch_start(integer touched) {
touched = 0; // LSLINT
llRegionSay(-999,"LIST_EQUIPMENT");
llRegionSay(-999,"GET_EQUIPMENT|Claws");
llRegionSay(-999,"GET_EQUIPMENT|Knife");
llRegionSay(-999,"GET_EQUIPMENT|Dagger");
llRegionSay(-999,"GET_EQUIPMENT|Blackjack");
llRegionSay(-999,"GET_EQUIPMENT|Knuckledusters");
llRegionSay(-999,"GET_EQUIPMENT|Long Claws");
llRegionSay(-999,"GET_EQUIPMENT|Short Sword");
llRegionSay(-999,"GET_EQUIPMENT|Machete");
llRegionSay(-999,"GET_EQUIPMENT|Wooden Baseball Bat");
llRegionSay(-999,"GET_EQUIPMENT|Staff");
llRegionSay(-999,"GET_EQUIPMENT|Fire Axe");
llRegionSay(-999,"GET_EQUIPMENT|Long Sword");
llRegionSay(-999,"GET_EQUIPMENT|Katana");
llRegionSay(-999,"GET_EQUIPMENT|Aluminum Baseball Bat");
llRegionSay(-999,"GET_EQUIPMENT|Poleaxe");
llRegionSay(-999,"GET_EQUIPMENT|Battleaxe");
llRegionSay(-999,"GET_EQUIPMENT|Claymore");
llRegionSay(-999,"GET_EQUIPMENT|Laser Sword");
llRegionSay(-999,"GET_EQUIPMENT|Daikatana");
llRegionSay(-999,"GET_EQUIPMENT|Double-ended Polearm");
llRegionSay(-999,"GET_EQUIPMENT|Small Stones");
llRegionSay(-999,"GET_EQUIPMENT|Crude Sling");
llRegionSay(-999,"GET_EQUIPMENT|Throwing Knife");
llRegionSay(-999,"GET_EQUIPMENT|Derringer");
llRegionSay(-999,"GET_EQUIPMENT|Hand Catapult");
llRegionSay(-999,"GET_EQUIPMENT|Thrown House Brick");
llRegionSay(-999,"GET_EQUIPMENT|Shotgun");
llRegionSay(-999,"GET_EQUIPMENT|Throwing Axe");
llRegionSay(-999,"GET_EQUIPMENT|Pistol");
llRegionSay(-999,"GET_EQUIPMENT|Hunting Rifle");
llRegionSay(-999,"GET_EQUIPMENT|Automatic Pistol (full auto)");
llRegionSay(-999,"GET_EQUIPMENT|Very Heavy Pistol (Magnum)");
llRegionSay(-999,"GET_EQUIPMENT|Assault Rifle");
llRegionSay(-999,"GET_EQUIPMENT|Shotgun (combat)");
llRegionSay(-999,"GET_EQUIPMENT|High-velocity Sniper Rifle");
llRegionSay(-999,"GET_EQUIPMENT|Heavy Calibre Machine Gun");
llRegionSay(-999,"GET_EQUIPMENT|Soft Leather Armor");
llRegionSay(-999,"GET_EQUIPMENT|Heavy Cloth Armor");
llRegionSay(-999,"GET_EQUIPMENT|Hardened Leather Armor");
llRegionSay(-999,"GET_EQUIPMENT|Thick Hide Armor");
llRegionSay(-999,"GET_EQUIPMENT|Chain Mail Armor");
llRegionSay(-999,"GET_EQUIPMENT|Dragon Hide Armor");
llRegionSay(-999,"GET_EQUIPMENT|Full Plate Mail Armor");
llRegionSay(-999,"GET_EQUIPMENT|Mithril Chain Armor");
llRegionSay(-999,"GET_EQUIPMENT|Mithril Plate Mail Armor");
llRegionSay(-999,"GET_EQUIPMENT|Leather Jacket");
llRegionSay(-999,"GET_EQUIPMENT|Bullet-Proof Vest");
llRegionSay(-999,"GET_EQUIPMENT|SWAT Tactical Armor");
llRegionSay(-999,"GET_EQUIPMENT|Advanced Military Armor");
llRegionSay(-999,"GET_EQUIPMENT|Powered Battle Armor");
llRegionSay(-999,"GET_EQUIPMENT|Locksmith's Picks");
llRegionSay(-999,"GET_EQUIPMENT|Camping Equipment");
llRegionSay(-999,"GET_EQUIPMENT|Animal Traps and Snares");
llRegionSay(-999,"GET_EQUIPMENT|Blacksmithing Supplies");
llRegionSay(-999,"GET_EQUIPMENT|Alchemical Vessels");
llRegionSay(-999,"GET_EQUIPMENT|Electrician's Toolkit");
llRegionSay(-999,"GET_EQUIPMENT|Mechanic's Toolkit");
llRegionSay(-999,"GET_EQUIPMENT|Field Surgery Kit");
llRegionSay(-999,"GET_EQUIPMENT|Basic Tabletop Computer");
llRegionSay(-999,"GET_EQUIPMENT|Hacker's Laptop Computer");
llRegionSay(-999,"GET_EQUIPMENT|Climbing Gear");
llRegionSay(-999,"GET_EQUIPMENT|Disguise Kit");
llRegionSay(-999,"GET_EQUIPMENT|Theatrical Makeup Kit");
llRegionSay(-999,"GET_EQUIPMENT|Telescope");
llRegionSay(-999,"GET_EQUIPMENT|Spyglass");
llRegionSay(-999,"GET_EQUIPMENT|Advanced Security Bypass Software");
llRegionSay(-999,"GET_EQUIPMENT|Sniper's Telescopic Gun Sights");
llRegionSay(-999,"GET_EQUIPMENT|FBI Portable Lie Detector Machine");
llRegionSay(-999,"GET_EQUIPMENT|Auto Diagnostic Medical Scanner");
llRegionSay(-999,"GET_EQUIPMENT|Automated Mechanical Repair Droid");
llRegionSay(-999,"GET_EQUIPMENT|Hand-hand Multi-functional Element Scanner");
llRegionSay(-999,"GET_EQUIPMENT|Armour Piercing Bullets");
llRegionSay(-999,"GET_EQUIPMENT|Burning Blade");
llRegionSay(-999,"GET_EQUIPMENT|Climbing Tackle");
llRegionSay(-999,"GET_EQUIPMENT|Dum Dums");
llRegionSay(-999,"GET_EQUIPMENT|Energy Redirection Shield");
llRegionSay(-999,"GET_EQUIPMENT|Garrotte");
llRegionSay(-999,"GET_EQUIPMENT|Glyph of Retribution");
llRegionSay(-999,"GET_EQUIPMENT|Laser Painter");
llRegionSay(-999,"GET_EQUIPMENT|Password Thief");
llRegionSay(-999,"GET_EQUIPMENT|Pheremone Spray");
llRegionSay(-999,"GET_EQUIPMENT|Rune of Death");
llRegionSay(-999,"GET_EQUIPMENT|Xyzzy");
}
listen(integer channel,string name,key id,string msg) {
name = ""; // LSLINT
id = NULL_KEY; // LSLINT
if ( llSubStringIndex(msg,"EQUIPMENT") >= 0 ) {
llSay(PUBLIC_CHANNEL,(string)channel+": "+msg);
}
}
}