SSBM Decomp
Loading...
Searching...
No Matches
itBoxAttributes Struct Reference

Box/Crate item attributes loaded from .dat file. More...

#include <itCommonItems.h>

Data Fields

s32 spawn_weight_0
 Weight for item spawn outcome 1.
 
s32 spawn_weight_1
 Weight for item spawn outcome 2.
 
s32 spawn_weight_2
 Weight for item spawn outcome 3.
 
s32 empty_weight
 Weight for empty box (no items)
 
s32 special_spawn_weight
 Weight for special item roll.
 
f32 damage_threshold
 Damage needed to break the box.
 
f32 bounce_angle_threshold
 Max angle from vertical to stop.
 
f32 break_vel_threshold
 Velocity needed to break box on landing.
 

Detailed Description

Box/Crate item attributes loaded from .dat file.

Field Documentation

◆ spawn_weight_0

s32 itBoxAttributes::spawn_weight_0

Weight for item spawn outcome 1.

◆ spawn_weight_1

s32 itBoxAttributes::spawn_weight_1

Weight for item spawn outcome 2.

◆ spawn_weight_2

s32 itBoxAttributes::spawn_weight_2

Weight for item spawn outcome 3.

◆ empty_weight

s32 itBoxAttributes::empty_weight

Weight for empty box (no items)

◆ special_spawn_weight

s32 itBoxAttributes::special_spawn_weight

Weight for special item roll.

◆ damage_threshold

f32 itBoxAttributes::damage_threshold

Damage needed to break the box.

◆ bounce_angle_threshold

f32 itBoxAttributes::bounce_angle_threshold

Max angle from vertical to stop.

◆ break_vel_threshold

f32 itBoxAttributes::break_vel_threshold

Velocity needed to break box on landing.


The documentation for this struct was generated from the following file: