/////////////////////////////////////////////////////////////////////////// // Copyright (C) Wizardry and Steamworks 2011 - License: GNU GPLv3 // // Please see: http://www.gnu.org/licenses/gpl.html for legal details, // // rights of fair usage, the disclaimer and warranty conditions. // /////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// // INTERNALS // /////////////////////////////////////////////////////////////////////////// default { state_entry() { llSetText("Hatfields, touch for HUD.", <1, 1, 1>, 1); } touch_start(integer total_number) { if(llGetInventoryName(INVENTORY_OBJECT,0) == "") return; llGiveInventory(llDetectedKey(0), llGetInventoryName(INVENTORY_OBJECT,0)); } }