{"format_version":"1.10.0","animation_controllers":{"controller.animation.scar":{"states":{"default":{"transitions":[{"fire":"(query.is_using_item) && (query.get_equipped_item_name=='scar') && (variable.scar_ammo > 0)"},{"reload":"(variable.attack_time) && (query.get_equipped_item_name=='scar')"}]},"fire":{"on_entry":["@s scar_fire","/playsound scar.fire @s ~~~ 20.0 ","variable.scar_ammo = variable.scar_ammo - 1;"],"transitions":[{"default":"(1.0)"}]},"reload":{"on_entry":["@s scar_reload","variable.scar_ammo = -50;","/playsound scar.re @s ~~~ 1.0"],"transitions":[{"end_reload":"(query.variant == 1)"}]},"end_reload":{"on_entry":["variable.scar_ammo = 32;","@s end_reload"],"transitions":[{"default":"(1.0)"}]}}}}}