FANDOM


"Breakable" is an entity type. It sets up a breakable model the player can attack for a chance for an item to be dropped.

ClassEdit

class:com.interrupt.dungeoneer.entities.Breakable

Properties unique to this entityEdit

Name Value Description
breakSound sound file string  Sound or list of sounds to play when the object is broken
gibLifetime float Time until the particles are deleted. Default is 2000
gibNum int The number of particles to spawn when the object is broken. Default is 8
gibSpriteTexEnd int Refers to the last texture in particles.png to use for when the object breaks
gibSpriteTexStart int Refers to the first texture in particles.png to use for when the object breaks
hp int The hp of the breakable
lootSpawnChance float 0 to 1 Percentage chance for an item to be found when the object is broken

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.