protected sealed override void PrepareProtoItem() { var lightConfig = new ItemLightConfig(); var fuelConfig = new ItemFuelConfig(); this.PrepareProtoItemLight(lightConfig, fuelConfig); this.ItemLightConfig = lightConfig.ToReadOnly(); this.ItemFuelConfig = fuelConfig.ToReadOnly(); }
protected sealed override void PrepareProtoItemEquipmentHead() { var lightConfig = new ItemLightConfig(); var fuelConfig = new ItemFuelConfig(); this.PrepareProtoItemEquipmentHeadWithLight(lightConfig, fuelConfig); this.ItemLightConfig = lightConfig.ToReadOnly(); this.ItemFuelConfig = fuelConfig.ToReadOnly(); if (IsClient) { ClientEquipmentHeadWithLightInputToggle.Init(); } }