Require( "animob/animob.ts" ) -- This is a general description of a fizzy drink. -- Several fizzy drinks inherit from this. -- For a well-commented sample file, see flamingbanana.aconf. -- While this is a hot, not a fizzy drink, it's similar enough to still be useful. return AnimobAconf({ version = 1, default = "drink/drink.aconf", -- all fizzy drinks use the same model, so I don't expect anyone to override this, -- and all fizzy drinks have opacity in the same places, so I don't expect -- opacitymap to get overridden either. object = { appearance = { modelName = "m002dr_fizzybottle01.model", modelSettings = { glass = { opacitymap = "drink/t000drxx_bottlealpha.jpg", }, liquid = { colormap = "drink/t000dr2b_bubbleup.jpg", animtype = 1, animloop = 1, animspeed = 25.0, }, }, }, }, appKeys = { -- all fizzy drinks use same animation, this is the length of that animation, -- so I don't expect this would need to be overridden. sipEmotionDuration = 2.5, -- change this when you change the sip animation. Determines how long after the sip -- animation until I start the reaction animation. -- when any fizzy drink loads, it plays this sound in the background, at the given volume and -- falloff radius. backgroundSoundName = "fizz", backgroundSoundVolume = 0.15, backgroundSoundRadius = 10.0, -- all fizzy drinks use the same sip animation. sipSmiley = "sipfizz", emptySmiley = "sipemptyfizz" }, Sounds3d = { fizz = { soundName = "drink_fizz_loop", looping = 1, ballSource = "root", }, }, carriable = { icon = "ico_drinks_fizzy.png", }, })