373 {
374 super.EEHealthLevelChanged( oldLevel, newLevel, zone );
375#ifdef DIAG_DEVELOPER
376
377 if (newLevel == GameConstants.STATE_PRISTINE)
378 {
380
381 if (newWheel != "")
382 {
383
384 if (IsLockedInSlot())
386
388 lambda.SetTransferParams(true, true, true);
389 GetInventory().ReplaceItemWithNew(
InventoryMode.SERVER, lambda);
390 }
391 }
392#endif
393 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
void ReplaceWheelLambda(EntityAI old_item, string new_item_type, PlayerBase player)
void UnlockFromParent()
Unlocks this item from its attachment slot of its parent.