pub enum ModifierType {
Show 51 variants
InserterStackSizeBonus,
BulkInserterCapacityBonus,
LaboratorySpeed,
CharacterLogisticTrashSlots,
MaximumFollowingRobotsCount,
WorkerRobotSpeed,
WorkerRobotStorage,
TurretAttack,
AmmoDamage,
GiveItem,
GunSpeed,
UnlockRecipe,
CharacterCraftingSpeed,
CharacterMiningSpeed,
CharacterRunningSpeed,
CharacterBuildDistance,
CharacterItemDropDistance,
CharacterReachDistance,
CharacterResourceReachDistance,
CharacterItemPickupDistance,
CharacterLootPickupDistance,
CharacterInventorySlotsBonus,
DeconstructionTimeToLive,
MaxFailedAttemptsPerTickPerConstructionQueue,
MaxSuccessfulAttemptsPerTickPerConstructionQueue,
CharacterHealthBonus,
MiningDrillProductivityBonus,
TrainBrakingForceBonus,
WorkerRobotBattery,
LaboratoryProductivity,
FollowerRobotLifetime,
ArtilleryRange,
Nothing,
CharacterLogisticRequests,
UnlockSpaceLocation,
UnlockQuality,
UnlockSpacePlatforms,
UnlockCircuitNetwork,
CargoLandingPadCount,
MaxCargoBayUnloadingDistance,
ChangeRecipeProductivity,
CliffDeconstructionEnabled,
MiningWithFluid,
RailSupportOnDeepOilOcean,
RailPlannerAllowElevatedRails,
BeaconDistribution,
CreateGhostOnEntityDeath,
BeltStackSizeBonus,
VehicleLogistics,
UnlockLogisticNetwork,
UnlockTravelToSpacePlatforms,
}Expand description
Used by TechnologyModifier.
Variants§
InserterStackSizeBonus
BulkInserterCapacityBonus
LaboratorySpeed
CharacterLogisticTrashSlots
MaximumFollowingRobotsCount
WorkerRobotSpeed
WorkerRobotStorage
TurretAttack
AmmoDamage
GiveItem
GunSpeed
UnlockRecipe
CharacterCraftingSpeed
CharacterMiningSpeed
CharacterRunningSpeed
CharacterBuildDistance
CharacterItemDropDistance
CharacterReachDistance
CharacterResourceReachDistance
CharacterItemPickupDistance
CharacterLootPickupDistance
CharacterInventorySlotsBonus
DeconstructionTimeToLive
MaxFailedAttemptsPerTickPerConstructionQueue
MaxSuccessfulAttemptsPerTickPerConstructionQueue
CharacterHealthBonus
MiningDrillProductivityBonus
TrainBrakingForceBonus
WorkerRobotBattery
LaboratoryProductivity
FollowerRobotLifetime
ArtilleryRange
Nothing
CharacterLogisticRequests
UnlockSpaceLocation
UnlockQuality
UnlockSpacePlatforms
UnlockCircuitNetwork
CargoLandingPadCount
MaxCargoBayUnloadingDistance
ChangeRecipeProductivity
CliffDeconstructionEnabled
MiningWithFluid
RailSupportOnDeepOilOcean
RailPlannerAllowElevatedRails
BeaconDistribution
CreateGhostOnEntityDeath
BeltStackSizeBonus
VehicleLogistics
UnlockLogisticNetwork
UnlockTravelToSpacePlatforms
Implementations§
Trait Implementations§
Source§impl Clone for ModifierType
impl Clone for ModifierType
Source§fn clone(&self) -> ModifierType
fn clone(&self) -> ModifierType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ModifierType
Source§impl Debug for ModifierType
impl Debug for ModifierType
Source§impl Default for ModifierType
impl Default for ModifierType
impl Eq for ModifierType
Source§impl From<ModifierType> for LuaAny
impl From<ModifierType> for LuaAny
Source§fn from(_: ModifierType) -> Self
fn from(_: ModifierType) -> Self
Converts to this type from the input type.
Source§impl From<ModifierType> for &'static str
impl From<ModifierType> for &'static str
Source§fn from(value: ModifierType) -> Self
fn from(value: ModifierType) -> Self
Converts to this type from the input type.
Source§impl Hash for ModifierType
impl Hash for ModifierType
Source§impl PartialEq for ModifierType
impl PartialEq for ModifierType
Source§impl PartialEq<&str> for ModifierType
impl PartialEq<&str> for ModifierType
Source§impl PartialEq<ModifierType> for &str
impl PartialEq<ModifierType> for &str
impl StructuralPartialEq for ModifierType
Auto Trait Implementations§
impl Freeze for ModifierType
impl RefUnwindSafe for ModifierType
impl Send for ModifierType
impl Sync for ModifierType
impl Unpin for ModifierType
impl UnsafeUnpin for ModifierType
impl UnwindSafe for ModifierType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more