Skip to main content
RustDocs

OR Switch

Common

electric.orswitch

A logic gate that allows electrical passthrough if EITHER input receives power, passthrough amount is the greater of either power source

Attributes

Id
-1,286,302,544
ShortName
electric.orswitch
MaxStackSize
5
Hidden
No
Flags
0
Category
16
CategoryName
Electrical
Rarity
1
RarityName
Common
DespawnRarityName
Common
DespawnTimeSeconds
300
QuickDespawn
No
Volume
0
BaseRadioactivity
0
Era
None
IsVehicleItem
No
OccupySlots
0
ApprovedSkinCount
0
MaxDraggable
0
Capacity
0
Weight
1
StorageSlots
0

ItemModsData

ItemModDeployable

entityPrefab_Path
assets/prefabs/deployable/playerioents/gates/orswitch/orswitch.entity.prefab
showCrosshair
No

ItemModEntity

entityPrefab_Path
assets/prefabs/tools/planner/building_planner.entity.prefab
playerOnlyEntity
Yes
destroyEntityWhenBroken
No
parentItemDefinition_ShortName
electric.orswitch

Blueprint

Time
30
WorkbenchLevelRequired
1
AmountToCreate
1
ResearchCost
15
UserCraftable
Yes
IsResearchable
Yes
DefaultBlueprint
No
NeedsSteamItem
No
NeedsSteamDlc
No
ScrapFromRecycle
0

Ingredients

ShortName
metal.fragments
DisplayName
Metal Fragments
Amount
100

RecycleReturnsUnsafe

ShortName
metal.fragments
DisplayName
Metal Fragments
Amount
60
Chance
100

RecycleReturnsSafezone

ShortName
metal.fragments
DisplayName
Metal Fragments
Amount
40
Chance
100

Electrical

PowerConsumption
0
Inputs
2
Outputs
1

ItemMods

ItemModDeployableItemBlueprintItemModEntity

TechTreePaths

TreeName
techtree
NodeID
81
CumulativeScrapCost
0
TreeName
techtree
NodeID
81
CumulativeScrapCost
165
TreeName
techtree
NodeID
81
CumulativeScrapCost
0
TreeName
techtree
NodeID
81
CumulativeScrapCost
0

RepairIngredients

ShortName
metal.fragments
DisplayName
Metal Fragments
Amount
20

World Entity Properties

Attributes

Type
ORSwitch
Path
assets/prefabs/deployable/playerioents/gates/orswitch/orswitch.entity.prefab
ID
1,354,328,722

Components

ORSwitchGroundWatchDestroyOnGroundMissing

Raiding Calculator

Cheapest Method (Hard Side)HARD SIDE
52Sulfur
3 × Cannonball
1 × Handmade Shell
1 × Pistol Bullet
Raid Tool / AmmoDamageQuantity NeededSulfur CostTime Required
MLRS Rocket
ammo.rocket.mlrs
387.510-
Molotov Cocktail
grenade.molotov
87.530-
40mm HE Grenade
ammo.grenadelauncher.he
62.540-
Scattershot
catapult.ammo.boulder
40.050-
Bee Catapult Bomb
catapult.ammo.bee
10.0200-
Bee Grenade
grenade.bee
10.0200-
Smoke Rocket WIP!!!!
ammo.rocket.smoke
5.0400-
Cannonball
cannonball
60.0460-
Torpedo
submarine.torpedo.straight
22.010120-
F1 Grenade
grenade.f1
57.54240-
Satchel Charge
explosive.satchel
275.01480-
Beancan Grenade
grenade.beancan
65.04480-
Firebomb
catapult.ammo.incendiary
112.52600-
Incendiary Rocket
ammo.rocket.fire
112.52600-
Propane Explosive Bomb
catapult.ammo.explosive
312.51900-
Survey Charge
surveycharge
14.015900-
High Velocity Rocket
ammo.rocket.hv
45.051,000-
Flashbang
grenade.flashbang
10.0201,000-
Rocket
ammo.rocket.basic
312.511,400-
Homing Missile
ammo.rocket.seeker
12.0171,700-
Timed Explosive Charge
explosive.timed
550.012,200-
Raw JSON
{
  "Id": -1286302544,
  "ShortName": "electric.orswitch",
  "MaxStackSize": 5,
  "Hidden": false,
  "Flags": 0,
  "FlagNames": [],
  "Category": 16,
  "CategoryName": "Electrical",
  "Rarity": 1,
  "RarityName": "Common",
  "SteamDlcItem": null,
  "ItemMods": [
    "ItemModDeployable",
    "ItemBlueprint",
    "ItemModEntity"
  ],
  "DespawnRarityName": "Common",
  "DespawnTimeSeconds": 300,
  "QuickDespawn": false,
  "Volume": 0,
  "BaseRadioactivity": 0,
  "Era": "None",
  "IsVehicleItem": false,
  "VehicleCategory": null,
  "OccupySlots": "0",
  "ParentItem": null,
  "RedirectOf": null,
  "ApprovedSkinCount": 0,
  "ItemModsData": {
    "ItemModDeployable": {
      "entityPrefab_Path": "assets/prefabs/deployable/playerioents/gates/orswitch/orswitch.entity.prefab",
      "showCrosshair": false,
      "UnlockAchievement": ""
    },
    "ItemModEntity": {
      "entityPrefab_Path": "assets/prefabs/tools/planner/building_planner.entity.prefab",
      "defaultBone": "",
      "playerOnlyEntity": true,
      "destroyEntityWhenBroken": false,
      "parentItemDefinition_ShortName": "electric.orswitch"
    }
  },
  "MaxDraggable": 0,
  "Capacity": 0,
  "Weight": 1,
  "Blueprint": {
    "Time": 30,
    "WorkbenchLevelRequired": 1,
    "AmountToCreate": 1,
    "ResearchCost": 15,
    "UserCraftable": true,
    "IsResearchable": true,
    "DefaultBlueprint": false,
    "NeedsSteamItem": false,
    "NeedsSteamDlc": false,
    "RequireUnlockedItem": null,
    "AdditionalUnlocks": [],
    "ScrapFromRecycle": 0,
    "Ingredients": [
      {
        "ShortName": "metal.fragments",
        "DisplayName": "Metal Fragments",
        "Amount": 100
      }
    ],
    "RecycleReturnsUnsafe": [
      {
        "ShortName": "metal.fragments",
        "DisplayName": "Metal Fragments",
        "Amount": 60,
        "Chance": 100
      }
    ],
    "RecycleReturnsSafezone": [
      {
        "ShortName": "metal.fragments",
        "DisplayName": "Metal Fragments",
        "Amount": 40,
        "Chance": 100
      }
    ]
  },
  "Condition": null,
  "Combat": null,
  "Harvest": null,
  "Consumable": null,
  "Electrical": {
    "PowerConsumption": 0,
    "Inputs": 2,
    "Outputs": 1
  },
  "TechTreePaths": [
    {
      "TreeName": "techtree",
      "NodeID": 81,
      "Inputs": [],
      "CumulativeScrapCost": 0
    },
    {
      "TreeName": "techtree",
      "NodeID": 81,
      "Inputs": [
        77
      ],
      "CumulativeScrapCost": 165
    },
    {
      "TreeName": "techtree",
      "NodeID": 81,
      "Inputs": [],
      "CumulativeScrapCost": 0
    },
    {
      "TreeName": "techtree",
      "NodeID": 81,
      "Inputs": [],
      "CumulativeScrapCost": 0
    }
  ],
  "Armor": null,
  "Recipe": null,
  "WeaponMod": null,
  "StorageSlots": 0,
  "RepairIngredients": [
    {
      "ShortName": "metal.fragments",
      "DisplayName": "Metal Fragments",
      "Amount": 20
    }
  ]
}