Require( "animob/animob.ts" ) return AnimobAconf({ version = 1, -- All aconf files have a version number. We will be backwards compatable object = { productName = "Classic Treat Bag", appearance = { modelName = "m000dog_treatbag01.model", }, }, appKeys = { -- 0, -- TreatNormal -- 1, -- TreatGood -- 2, -- TreatBad -- 3, -- TreatSing -- 4, -- TreatTwinkle -- 5, -- TreatEarFlap -- 6, -- TreatSneeze -- 7, -- TreatDeadly treatType = 0, -- TreatEarFlap stoppingDistanceMeters = 0.7, deadlyTreatSleepTicks = 45, twinkleRadiusMeters = 0.02, jumpDelayTicks = 2, tossAnimationDelayTicks = 4, -- how long does the toss emotion take? tossHeightMeters = 1.5, -- what's the height of the apex of the toss arc above the starting height? tossAnimationDurationTicks = 18, -- how long should a treat's flight take? treatRadiusMeters = 0.04, -- how big is a treat? defaultTossDistanceMeters = 6.0, -- if there's no target, how far should we throw the treat? minimumVisualAngleDegrees = 60.0, -- targets must be within this angle of the center of our gaze to be considered treatBagIconFileName = "treatbag_icon.png", maxDurationInGettingTreatMode = 4 + 30, -- tossAnimationDelayTicks + tossAnimationDurationTicks, treatColorR = 192, -- white treatColorG = 192, -- white treatColorB = 192, -- white }, balls = { root = { joint = "root", radius = 0.1, mass = 0.2, restitution = 0.01, staticFriction = 0.1, dynamicFriction = 0.05, nearbyCollisionRadius = 3.5, airFriction = 0.1, }, }, springs = { }, seats = { }, animators = { }, actions = { }, pilot = { -- This refers to triggers on the pilot animationTriggers = { toss = { type = "emotion", -- only type currently supported is "emotion" emotionName = "em004dog01_tosstreat", -- refers to lib/xt0/come.emotion }, }, }, carriable = { icon = "treatbag_icon.png", poseAdvice = "treatbag", } })