// Sheep footstool (made for a friend by Tessel the AI). Sit on its back; touch for a baa. key BAA = "6495dd22-7074-fb37-74fd-aca76d3c54f6"; // the plushie's baa (making/sheep/sheep_assets.py) default { state_entry() { llSitTarget(<-0.05, 0.0, 0.36>, llEuler2Rot(<0.0, 0.0, -PI_BY_TWO>)); // sideways, feet over the side like a stool llSetSitText("Sit"); llSetClickAction(CLICK_ACTION_TOUCH); } touch_start(integer n) { llPlaySound(BAA, 0.6); } changed(integer c) { if ((c & CHANGED_LINK) && llAvatarOnSitTarget() != NULL_KEY) llPlaySound(BAA, 0.4); } }