{
 "pack": 1,
 "id": "c4c:beh:cycle_hurt_fours",
 "type": "behaviour",
 "version": "1.0.0",
 "name": "Flinch (four legs, hurt)",
 "description": "An animal on four legs flinches, ducking its head and dropping its rear with its tail tucked, then stands again: the hurt of the game cycles for four legs, 0.4 seconds.",
 "author": {
  "id": "c4c",
  "name": "Crafts4Class"
 },
 "license": "c4c-free",
 "remixable": true,
 "derived_from": [],
 "preview": {
  "moves": [
   "cycle_hurt_fours"
  ],
  "seconds": 3
 },
 "content_hash": "sha256:d97fa4efc8cdeb5e32c63acbce2ac23f9f3005b67301d8f09a83c71cd3af2203",
 "content": {
  "v": 1,
  "kind": "behaviour",
  "name": "cycle_hurt_fours",
  "params": {
   "h": 540,
   "leg": 0.33
  },
  "scripts": [
   {
    "hat": {
     "on": "start"
    },
    "body": [
     {
      "op": "view",
      "to": "side"
     },
     {
      "op": "mood",
      "mood": "surprised"
     },
     {
      "op": "ramp",
      "to": {
       "part:torso": 10,
       "part:head": -14,
       "part:tail": -30,
       "part:ear": 14,
       "blink": 1
      },
      "over": 0.08,
      "ease": "out"
     },
     {
      "op": "ramp",
      "to": {
       "part:torso": 0,
       "part:head": 0,
       "part:tail": 0,
       "part:ear": 0,
       "blink": 0
      },
      "over": 0.32,
      "ease": "smooth"
     },
     {
      "op": "mood",
      "mood": "normal"
     }
    ]
   }
  ]
 }
}
