/tg/ Station 13 - Modules - TypesVar Details

pinata

Objects or mobs with this componenet will drop items when taking damage.

Vars

candyA list of "candy" items that can be dropped when taking damage
death_dropNumber of "candy" items dropped when the structure is destroyed/mob is killed, set to 0 if none. drop_chance and minimum damage are not applied.
drop_chanceWhat is the likelyhood some "candy" should drop when attacked.
minimum_damageHow much damage does an attack need to do to have a chance to drop "candy"

Var Details

candy

A list of "candy" items that can be dropped when taking damage

death_drop

Number of "candy" items dropped when the structure is destroyed/mob is killed, set to 0 if none. drop_chance and minimum damage are not applied.

drop_chance

What is the likelyhood some "candy" should drop when attacked.

minimum_damage

How much damage does an attack need to do to have a chance to drop "candy"