pub fn stat_throw( random: &GameRng, lookups: &ContentLookups, entity: &Entity, stat_code: &str, bonus: f64, ) -> bool