2025-03-01 16:22:57 -05:00
|
|
|
use polariton_server::operations::SimpleFunc;
|
|
|
|
|
use polariton::operation::{ParameterTable, Typed};
|
|
|
|
|
|
|
|
|
|
//const BAY_ID_KEY: u8 = 54; // in
|
|
|
|
|
const BAY_SKIN_KEY: u8 = 234;
|
|
|
|
|
const SPAWN_EFFECT_KEY: u8 = 235;
|
|
|
|
|
const DEATH_EFFECT_KEY: u8 = 236;
|
|
|
|
|
|
|
|
|
|
pub(super) fn bay_customisations_provider() -> SimpleFunc<218, crate::UserTy, impl (Fn(ParameterTable, &crate::UserTy) -> Result<ParameterTable, i16>) + Sync + Sync> {
|
|
|
|
|
SimpleFunc::new(|params, _| {
|
|
|
|
|
let mut params = params.to_dict();
|
|
|
|
|
params.insert(BAY_SKIN_KEY, Typed::Str("RC_MothershipSkin_Neptune_01".into()));
|
2025-03-29 22:08:08 -04:00
|
|
|
params.insert(SPAWN_EFFECT_KEY, Typed::Str("Spawn_Warp".into()));
|
|
|
|
|
params.insert(DEATH_EFFECT_KEY, Typed::Str("Explosion_Warp".into()));
|
2025-03-01 16:22:57 -05:00
|
|
|
Ok(params.into())
|
|
|
|
|
})
|
|
|
|
|
}
|