Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers
ContentTweaker Commands WalkThrough

SoundType Bracket Handler

The SoundType Bracket Handler gives you access to the SoundTypes in the game. Currently the only soundTypes supported are:

Click to expand the type list
  • Wood
  • Ground
  • Plant
  • Stone
  • Metal
  • Glass
  • Cloth
  • Sand
  • Snow
  • Ladder
  • Anvil
  • Slime

SoundTypes are referenced in the SoundType Bracket handler this way:

script.zs
<soundtype:name>
<soundtype:wood>

If the soundType is found, this will return an ISoundTypeDefinition Object.