// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Owned-object impact chime // Not compiled or tested in-world // Setup: Add a short licensed impact sound. Owner-touch arms/disarms. // Stop / restore: Owner-touch to disarm before removing. No physical status or movement is changed. // Notes: No avatar surveillance or visitor history. Agents and foreign objects are excluded. One-second cooldown limits chatter; no physics settings change. // License: see LICENSE in this distribution. // Original Incoprea. MIT. Not compiled or tested in-world. integer armed; float last=-10.0; default { touch_start(integer n) { if(llDetectedKey(0)!=llGetOwner())return; armed=!armed; if(!armed)llStopSound(); } collision_start(integer n) { if(!armed||llGetTime()-last<1.0)return; integer i; for(i=0;i