better data

This commit is contained in:
Rachel
2024-03-29 16:33:09 -07:00
parent 5130fb1695
commit 5706c82553
18 changed files with 48945 additions and 952 deletions

128
cspell.json Normal file
View File

@@ -0,0 +1,128 @@
{
"version": "0.2",
"language": "en",
"flagWords": [],
"words": [
"Astroloy",
"Autolathe",
"bapal",
"bapz",
"bapzal",
"batchmode",
"batchmodes",
"bdns",
"bdnsal",
"bdse",
"bdseal",
"beqal",
"beqz",
"beqzal",
"bgeal",
"bgez",
"bgezal",
"bgtal",
"bgtz",
"bgtzal",
"bindgen",
"bleal",
"blez",
"blezal",
"bltal",
"bltz",
"bltzal",
"bnaal",
"bnan",
"bnaz",
"bnazal",
"bneal",
"bnez",
"bnezal",
"brap",
"brapz",
"brdns",
"brdse",
"breq",
"breqz",
"brge",
"brgez",
"brgt",
"brgtz",
"brle",
"brlez",
"brlt",
"brltz",
"brna",
"brnan",
"brnaz",
"brne",
"brnez",
"Circuitboard",
"codegen",
"cstyle",
"endpos",
"getd",
"Hardsuit",
"hashables",
"inext",
"inextp",
"infile",
"itertools",
"jetpack",
"kbshortcutmenu",
"Keybind",
"lbns",
"logicable",
"logictype",
"logictypes",
"lzma",
"Mineables",
"mscorlib",
"MSEED",
"ninf",
"nomatch",
"oprs",
"overcolumn",
"Overlength",
"pedia",
"peekable",
"prec",
"preproc",
"putd",
"QUICKFIX",
"reagentmode",
"reagentmodes",
"repr",
"retval",
"rocketstation",
"sapz",
"sattellite",
"sdns",
"sdse",
"searchbox",
"searchbtn",
"seqz",
"serde",
"settingsmenu",
"sgez",
"sgtz",
"slez",
"slotlogic",
"slotlogicable",
"slotlogictype",
"slotlogictypes",
"slottype",
"sltz",
"snan",
"snanz",
"snaz",
"snez",
"splitn",
"Stationeers",
"stationpedia",
"stdweb",
"thiserror",
"tokentype",
"trunc",
"whos"
]
}

1
ic10emu/data/Enums.json Normal file

File diff suppressed because one or more lines are too long

47759
ic10emu/data/Stationpedia.json Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
Average 0 Average of all read values
Sum 1 All read values added together
Minimum 2 Lowest of all read values
Maximum 3 Highest of all read values
Minimum 2 Lowest of all read values
Sum 1 All read values added together

View File

@@ -1,369 +1,455 @@
LogicType.Power 1
LogicType.Open 2
LogicType.Mode 3
LogicType.Error 4
LogicType.Pressure 5
LogicType.Temperature 6
LogicType.PressureExternal 7
LogicType.PressureInternal 8
LogicType.Activate 9
LogicType.Lock 10
LogicType.Charge 11
LogicType.Setting 12
LogicType.Reagents 13
LogicType.RatioOxygen 14
LogicType.RatioCarbonDioxide 15
LogicType.RatioNitrogen 16
LogicType.RatioPollutant 17
LogicType.RatioVolatiles 18
LogicType.RatioWater 19
LogicType.Horizontal 20
LogicType.Vertical 21
LogicType.SolarAngle 22
LogicType.Maximum 23
LogicType.Ratio 24
LogicType.PowerPotential 25
LogicType.PowerActual 26
LogicType.Quantity 27
LogicType.On 28
LogicType.RequiredPower 33
LogicType.HorizontalRatio 34
LogicType.VerticalRatio 35
LogicType.PowerRequired 36
LogicType.Idle 37
LogicType.Color 38
LogicType.ElevatorSpeed 39
LogicType.ElevatorLevel 40
LogicType.RecipeHash 41
LogicType.RequestHash 60
LogicType.CompletionRatio 61
LogicType.ClearMemory 62
LogicType.ExportCount 63
LogicType.ImportCount 64
LogicType.PowerGeneration 65
LogicType.TotalMoles 66
LogicType.Volume 67
LogicType.Plant 68
LogicType.Harvest 69
LogicType.Output 70
LogicType.PressureSetting 71
LogicType.TemperatureSetting 72
LogicType.TemperatureExternal 73
LogicType.Filtration 74
LogicType.AirRelease 75
LogicType.PositionX 76
LogicType.PositionZ 78
LogicType.VelocityMagnitude 79
LogicType.VelocityRelativeX 80
LogicType.VelocityRelativeY 81
LogicType.VelocityRelativeZ 82
LogicType.RatioNitrousOxide 83
LogicType.PrefabHash 84
LogicType.ForceWrite 85
LogicType.SignalStrength 86
LogicType.SignalID 87
LogicType.TargetX 88
LogicType.TargetY 89
LogicType.TargetZ 90
LogicType.SettingInput 91
LogicType.SettingOutput 92
LogicType.CurrentResearchPodType 93
LogicType.ManualResearchRequiredPod 94
LogicType.MineablesInVicinity 95
LogicType.MineablesInQueue 96
LogicType.NextWeatherEventTime 97
LogicType.Combustion 98
LogicType.Fuel 99
LogicType.ReturnFuelCost 100
LogicType.CollectableGoods 101
LogicType.Time 102
LogicType.Bpm 103
LogicType.EnvironmentEfficiency 104
LogicType.WorkingGasEfficiency 105
LogicType.PressureInput 106
LogicType.TemperatureInput 107
LogicType.RatioOxygenInput 108
LogicType.RatioCarbonDioxideInput 109
LogicType.RatioNitrogenInput 110
LogicType.RatioPollutantInput 111
LogicType.RatioVolatilesInput 112
LogicType.RatioWaterInput 113
LogicType.RatioNitrousOxideInput 114
LogicType.TotalMolesInput 115
LogicType.PressureInput2 116
LogicType.TemperatureInput2 117
LogicType.RatioOxygenInput2 118
LogicType.RatioCarbonDioxideInput2 119
LogicType.RatioNitrogenInput2 120
LogicType.RatioPollutantInput2 121
LogicType.RatioVolatilesInput2 122
LogicType.RatioWaterInput2 123
LogicType.RatioNitrousOxideInput2 124
LogicType.TotalMolesInput2 125
LogicType.PressureOutput 126
LogicType.TemperatureOutput 127
LogicType.RatioOxygenOutput 128
LogicType.RatioCarbonDioxideOutput 129
LogicType.RatioNitrogenOutput 130
LogicType.RatioPollutantOutput 131
LogicType.RatioVolatilesOutput 132
LogicType.RatioWaterOutput 133
LogicType.RatioNitrousOxideOutput 134
LogicType.TotalMolesOutput 135
LogicType.PressureOutput2 136
LogicType.TemperatureOutput2 137
LogicType.RatioOxygenOutput2 138
LogicType.RatioCarbonDioxideOutput2 139
LogicType.RatioNitrogenOutput2 140
LogicType.RatioPollutantOutput2 141
LogicType.RatioVolatilesOutput2 142
LogicType.RatioWaterOutput2 143
LogicType.RatioNitrousOxideOutput2 144
LogicType.TotalMolesOutput2 145
LogicType.CombustionInput 146
LogicType.CombustionInput2 147
LogicType.CombustionOutput 148
LogicType.CombustionOutput2 149
LogicType.OperationalTemperatureEfficiency 150
LogicType.TemperatureDifferentialEfficiency 151
LogicType.PressureEfficiency 152
LogicType.CombustionLimiter 153
LogicType.Throttle 154
LogicType.Rpm 155
LogicType.Stress 156
LogicType.InterrogationProgress 157
LogicType.TargetPadIndex 158
LogicType.SizeX 160
LogicType.SizeY 161
LogicType.SizeZ 162
LogicType.MinimumWattsToContact 163
LogicType.WattsReachingContact 164
LogicType.Channel0 165
LogicType.Channel1 166
LogicType.Channel2 167
LogicType.Channel3 168
LogicType.Channel4 169
LogicType.Channel5 170
LogicType.Channel6 171
LogicType.Channel7 172
LogicType.LineNumber 173
LogicType.Flush 174
LogicType.SoundAlert 175
LogicType.SolarIrradiance 176
LogicType.RatioLiquidNitrogen 177
LogicType.RatioLiquidNitrogenInput 178
LogicType.RatioLiquidNitrogenInput2 179
LogicType.RatioLiquidNitrogenOutput 180
LogicType.RatioLiquidNitrogenOutput2 181
LogicType.VolumeOfLiquid 182
LogicType.RatioLiquidOxygen 183
LogicType.RatioLiquidOxygenInput 184
LogicType.RatioLiquidOxygenInput2 185
LogicType.RatioLiquidOxygenOutput 186
LogicType.RatioLiquidOxygenOutput2 187
LogicType.RatioLiquidVolatiles 188
LogicType.RatioLiquidVolatilesInput 189
LogicType.RatioLiquidVolatilesInput2 190
LogicType.RatioLiquidVolatilesOutput 191
LogicType.RatioLiquidVolatilesOutput2 192
LogicType.RatioSteam 193
LogicType.RatioSteamInput 194
LogicType.RatioSteamInput2 195
LogicType.RatioSteamOutput 196
LogicType.RatioSteamOutput2 197
LogicType.ContactTypeId 198
LogicType.RatioLiquidCarbonDioxide 199
LogicType.RatioLiquidCarbonDioxideInput 200
LogicType.RatioLiquidCarbonDioxideInput2 201
LogicType.RatioLiquidCarbonDioxideOutput 202
LogicType.RatioLiquidCarbonDioxideOutput2 203
LogicType.RatioLiquidPollutant 204
LogicType.RatioLiquidPollutantInput 205
LogicType.RatioLiquidPollutantInput2 206
LogicType.RatioLiquidPollutantOutput 207
LogicType.RatioLiquidPollutantOutput2 208
LogicType.RatioLiquidNitrousOxide 209
LogicType.RatioLiquidNitrousOxideInput 210
LogicType.RatioLiquidNitrousOxideInput2 211
LogicType.RatioLiquidNitrousOxideOutput 212
LogicType.RatioLiquidNitrousOxideOutput2 213
LogicType.Progress 214
LogicType.DestinationCode 215
LogicType.Acceleration 216
LogicType.ReferenceId 217
LogicType.AutoShutOff 218
LogicType.Mass 219
LogicType.DryMass 220
LogicType.Thrust 221
LogicType.Weight 222
LogicType.ThrustToWeight 223
LogicType.TimeToDestination 224
LogicType.BurnTimeRemaining 225
LogicType.AutoLand 226
LogicType.ForwardX 227
LogicType.ForwardY 228
LogicType.ForwardZ 229
LogicType.Orientation 230
LogicType.VelocityX 231
LogicType.VelocityY 232
LogicType.VelocityZ 233
LogicType.PassedMoles 234
LogicType.ExhaustVelocity 235
LogicType.FlightControlRule 236
LogicType.ReEntryAltitude 237
LogicType.Apex 238
LogicType.EntityState 239
LogicType.DrillCondition 240
LogicType.Index 241
LogicType.CelestialHash 242
LogicType.AlignmentError 243
LogicType.DistanceAu 244
LogicType.OrbitPeriod 245
LogicType.Inclination 246
LogicType.Eccentricity 247
LogicType.SemiMajorAxis 248
LogicType.DistanceKm 249
LogicType.CelestialParentHash 250
LogicType.TrueAnomaly 251
LogicSlotType.None 0
LogicSlotType.Occupied 1
LogicSlotType.OccupantHash 2
LogicSlotType.Quantity 3
LogicSlotType.Damage 4
LogicSlotType.Efficiency 5
LogicSlotType.Health 6
LogicSlotType.Growth 7
LogicSlotType.Pressure 8
LogicSlotType.Temperature 9
LogicSlotType.Charge 10
LogicSlotType.ChargeRatio 11
LogicSlotType.Class 12
LogicSlotType.PressureWaste 13
LogicSlotType.PressureAir 14
LogicSlotType.MaxQuantity 15
LogicSlotType.Mature 16
LogicSlotType.PrefabHash 17
LogicSlotType.Seeding 18
LogicSlotType.LineNumber 19
LogicSlotType.Volume 20
LogicSlotType.Open 21
LogicSlotType.On 22
LogicSlotType.Lock 23
LogicSlotType.SortingClass 24
LogicSlotType.FilterType 25
LogicSlotType.ReferenceId 26
SlotClass.None 0
SlotClass.Helmet 1
SlotClass.Suit 2
SlotClass.Back 3
SlotClass.GasFilter 4
SlotClass.Motherboard 6
SlotClass.Circuitboard 7
SlotClass.DataDisk 8
SlotClass.Organ 9
SlotClass.Ore 10
SlotClass.Plant 11
SlotClass.Uniform 12
SlotClass.Battery 14
SlotClass.Egg 15
SlotClass.Belt 16
SlotClass.Tool 17
SlotClass.Appliance 18
SlotClass.Ingot 19
SlotClass.Torpedo 20
SlotClass.Cartridge 21
SlotClass.AccessCard 22
SlotClass.Magazine 23
SlotClass.Circuit 24
SlotClass.Bottle 25
SlotClass.ProgrammableChip 26
SlotClass.Glasses 27
SlotClass.CreditCard 28
SlotClass.DirtCanister 29
SlotClass.SensorProcessingUnit 30
SlotClass.LiquidCanister 31
SlotClass.LiquidBottle 32
SlotClass.Wreckage 33
SlotClass.SoundCartridge 34
SlotClass.DrillHead 35
SlotClass.ScanningHead 36
SlotClass.Flare 37
SlotClass.Blocked 38
GasType.Undefined 0
GasType.Oxygen 1
GasType.Nitrogen 2
GasType.CarbonDioxide 4
GasType.Volatiles 8
GasType.Pollutant 16
GasType.Water 32
GasType.NitrousOxide 64
GasType.LiquidNitrogen 128
GasType.LiquidVolatiles 512
GasType.Steam 1024
GasType.LiquidCarbonDioxide 2048
GasType.LiquidPollutant 4096
GasType.LiquidNitrousOxide 8192
AirCon.Cold 0
AirCon.Hot 1
AirControl.None 0
AirControl.Offline 1
AirControl.Pressure 2
AirControl.Draught 4
Color.Blue 0
Color.Gray 1
Color.Green 2
Color.Orange 3
Color.Red 4
Color.Yellow 5
Color.White 6
Color.Black 7
Color.Brown 8
Color.Khaki 9
Color.Pink 10
Color.Purple 11
DaylightSensorMode.Default 0
DaylightSensorMode.Horizontal 1
DaylightSensorMode.Vertical 2
ElevatorMode.Stationary 0
ElevatorMode.Upward 1
ElevatorMode.Downward 2
EntityState.Alive 0
EntityState.Dead 1
EntityState.Unconscious 2
EntityState.Decay 3
PowerMode.Idle 0
PowerMode.Discharged 1
PowerMode.Discharging 2
PowerMode.Charging 3
PowerMode.Charged 4
RobotMode.None 0
RobotMode.Follow 1
RobotMode.MoveToTarget 2
RobotMode.Roam 3
RobotMode.Unload 4
RobotMode.PathToTarget 5
RobotMode.StorageFull 6
SortingClass.Default 0
SortingClass.Kits 1
SortingClass.Tools 2
SortingClass.Resources 3
SortingClass.Food 4
SortingClass.Clothing 5
SortingClass.Appliances 6
SortingClass.Atmospherics 7
SortingClass.Storage 8
SortingClass.Ores 9
SortingClass.Ices 10
TransmitterMode.Passive 0
TransmitterMode.Active 1
Vent.Outward 0
Vent.Inward 1
Equals 0
Greater 1
Less 2
NotEquals 3
AirCon.Cold 0
AirCon.Hot 1
AirControl.Draught 4
AirControl.None 0
AirControl.Offline 1
AirControl.Pressure 2
Color.Black 7 Black
Color.Blue 0 Blue
Color.Brown 8 Brown
Color.Gray 1 Gray
Color.Green 2 Green
Color.Khaki 9 Khaki
Color.Orange 3 Orange
Color.Pink 10 Pink
Color.Purple 11 Purple
Color.Red 4 Red
Color.White 6 White
Color.Yellow 5 Yellow
DaylightSensorMode.Default 0
DaylightSensorMode.Horizontal 1
DaylightSensorMode.Vertical 2
ElevatorMode.Downward 2
ElevatorMode.Stationary 0
ElevatorMode.Upward 1
EntityState.Alive 0
EntityState.Dead 1
EntityState.Decay 3
EntityState.Unconscious 2
Equals 0
GasType.CarbonDioxide 4
GasType.Hydrogen 16384
GasType.LiquidCarbonDioxide 2048
GasType.LiquidHydrogen 32768
GasType.LiquidNitrogen 128
GasType.LiquidNitrousOxide 8192
GasType.LiquidOxygen 256
GasType.LiquidPollutant 4096
GasType.LiquidVolatiles 512
GasType.Nitrogen 2
GasType.NitrousOxide 64
GasType.Oxygen 1
GasType.Pollutant 16
GasType.PollutedWater 65536
GasType.Steam 1024
GasType.Undefined 0
GasType.Volatiles 8
GasType.Water 32
Greater 1
Less 2
LogicSlotType.Charge 10 returns current energy charge the slot occupant is holding
LogicSlotType.ChargeRatio 11 returns current energy charge the slot occupant is holding as a ratio between 0 and 1 of its maximum
LogicSlotType.Class 12 returns integer representing the class of object
LogicSlotType.Damage 4 returns the damage state of the item in the slot
LogicSlotType.Efficiency 5 returns the growth efficiency of the plant in the slot
LogicSlotType.FilterType 25
LogicSlotType.Growth 7 returns the current growth state of the plant in the slot
LogicSlotType.Health 6 returns the health of the plant in the slot
LogicSlotType.LineNumber 19
LogicSlotType.Lock 23
LogicSlotType.Mature 16 returns 1 if the plant in this slot is mature, 0 when it isn't
LogicSlotType.MaxQuantity 15 returns the max stack size of the item in the slot
LogicSlotType.None 0 No description
LogicSlotType.OccupantHash 2 returns the has of the current occupant, the unique identifier of the thing
LogicSlotType.Occupied 1 returns 0 when slot is not occupied, 1 when it is
LogicSlotType.On 22
LogicSlotType.Open 21
LogicSlotType.PrefabHash 17 returns the hash of the structure in the slot
LogicSlotType.Pressure 8 returns pressure of the slot occupants internal atmosphere
LogicSlotType.PressureAir 14 returns pressure in the air tank of the jetpack in this slot
LogicSlotType.PressureWaste 13 returns pressure in the waste tank of the jetpack in this slot
LogicSlotType.Quantity 3 returns the current quantity, such as stack size, of the item in the slot
LogicSlotType.ReferenceId 26
LogicSlotType.Seeding 18 Whether a plant is seeding (ready to harvest seeds from). Returns 1 if seeding or 0 if not.
LogicSlotType.SortingClass 24
LogicSlotType.Temperature 9 returns temperature of the slot occupants internal atmosphere
LogicSlotType.Volume 20
LogicType.Acceleration 216 Change in velocity. Rockets that are deccelerating when landing will show this as negative value.
LogicType.Activate 9 1 if device is activated (usually means running), otherwise 0
LogicType.AirRelease 75 The current state of the air release system, for example AirRelease = 1 for a Hardsuit sets Air Release to On
LogicType.AlignmentError 243
LogicType.Apex 238
LogicType.AutoLand 226 Engages the automatic landing algorithm. The rocket will automatically throttle and turn on and off its engines to achieve a smooth landing.
LogicType.AutoShutOff 218 Turns off all devices in the rocket upon reaching destination
LogicType.Bpm 103 Bpm
LogicType.BurnTimeRemaining 225 Estimated time in seconds until fuel is depleted. Calculated based on current fuel usage.
LogicType.CelestialHash 242
LogicType.CelestialParentHash 250
LogicType.Channel0 165
LogicType.Channel1 166
LogicType.Channel2 167
LogicType.Channel3 168
LogicType.Channel4 169
LogicType.Channel5 170
LogicType.Channel6 171
LogicType.Channel7 172
LogicType.Charge 11 The current charge the device has
LogicType.Chart 256
LogicType.ChartedNavPoints 259
LogicType.ClearMemory 62 When set to 1, clears the counter memory (e.g. ExportCount). Will set itself back to 0 when actioned
LogicType.CollectableGoods 101
LogicType.Color 38 \n Whether driven by concerns for clarity, safety or simple aesthetics, {LINK:Stationeers;Stationeers} have access to a small rainbow of colors for their constructions. These are the color setting for devices, represented as an integer.\n\n0: Blue\n1: Grey\n2: Green\n3: Orange\n4: Red\n5: Yellow\n6: White\n7: Black\n8: Brown\n9: Khaki\n10: Pink\n11: Purple\n\n It is an unwavering universal law that anything higher than 11 will be purple. The {LINK:ODA;ODA} is powerless to change this. Similarly, anything lower than 0 will be Blue.\n
LogicType.Combustion 98 The assess atmosphere is on fire. Returns 1 if atmosphere is on fire, 0 if not.
LogicType.CombustionInput 146 The assess atmosphere is on fire. Returns 1 if device's input network is on fire, 0 if not.
LogicType.CombustionInput2 147 The assess atmosphere is on fire. Returns 1 if device's Input2 network is on fire, 0 if not.
LogicType.CombustionLimiter 153 Retards the rate of combustion inside the machine (range: 0-100), with 0 being the slowest rate of combustion and 100 being the fastest
LogicType.CombustionOutput 148 The assess atmosphere is on fire. Returns 1 if device's Output network is on fire, 0 if not.
LogicType.CombustionOutput2 149 The assess atmosphere is on fire. Returns 1 if device's Output2 network is on fire, 0 if not.
LogicType.CompletionRatio 61 How complete the current production is for this device, between 0 and 1
LogicType.ContactTypeId 198 The type id of the contact.
LogicType.CurrentCode 261
LogicType.CurrentResearchPodType 93
LogicType.Density 262
LogicType.DestinationCode 215 Unique identifier code for a destination on the space map.
LogicType.Discover 255
LogicType.DistanceAu 244
LogicType.DistanceKm 249
LogicType.DrillCondition 240
LogicType.DryMass 220 The Mass in kilograms of the rocket excluding fuel. The more massive the rocket the more fuel will be required to move to a new location in space.
LogicType.Eccentricity 247
LogicType.ElevatorLevel 40 Level the elevator is currently at
LogicType.ElevatorSpeed 39 Current speed of the elevator
LogicType.EntityState 239
LogicType.EnvironmentEfficiency 104 The Environment Efficiency reported by the machine, as a float between 0 and 1
LogicType.Error 4 1 if device is in error state, otherwise 0
LogicType.ExhaustVelocity 235
LogicType.ExportCount 63 How many items exported since last ClearMemory
LogicType.ExportQuantity 31 Total quantity of items exported by the device
LogicType.ExportSlotHash 42 DEPRECATED
LogicType.ExportSlotOccupant 32 DEPRECATED
LogicType.Filtration 74 The current state of the filtration system, for example Filtration = 1 for a Hardsuit sets filtration to On
LogicType.FlightControlRule 236
LogicType.Flush 174 Set to 1 to activate the flush function on the device
LogicType.ForceWrite 85 Forces Logic Writer devices to rewrite value
LogicType.ForwardX 227
LogicType.ForwardY 228
LogicType.ForwardZ 229
LogicType.Fuel 99
LogicType.Harvest 69 Performs the harvesting action for any plant based machinery
LogicType.Horizontal 20 Horizontal setting of the device
LogicType.HorizontalRatio 34 Radio of horizontal setting for device
LogicType.Idle 37 Returns 1 if the device is currently idle, otherwise 0
LogicType.ImportCount 64 How many items imported since last ClearMemory
LogicType.ImportQuantity 29 Total quantity of items imported by the device
LogicType.ImportSlotHash 43 DEPRECATED
LogicType.ImportSlotOccupant 30 DEPRECATED
LogicType.Inclination 246
LogicType.Index 241
LogicType.InterrogationProgress 157 Progress of this sattellite dish's interrogation of its current target, as a ratio from 0-1
LogicType.LineNumber 173 The line number of current execution for an integrated circuit running on this device. While this number can be written, use with caution
LogicType.Lock 10 1 if device is locked, otherwise 0, can be set in most devices and prevents the user from access the values
LogicType.ManualResearchRequiredPod 94
LogicType.Mass 219 The total Mass of the rocket in kilograms including fuel and cargo. The more massive the rocket the more fuel will be required to move to a new location in space.
LogicType.Maximum 23 Maximum setting of the device
LogicType.MineablesInQueue 96
LogicType.MineablesInVicinity 95
LogicType.MinedQuantity 266
LogicType.MinimumWattsToContact 163
LogicType.Mode 3 Integer for mode state, different devices will have different mode states available to them
LogicType.NavPoints 258
LogicType.NextWeatherEventTime 97
LogicType.None 0 No description
LogicType.On 28 The current state of the device, 0 for off, 1 for on
LogicType.Open 2 1 if device is open, otherwise 0
LogicType.OperationalTemperatureEfficiency 150 How the input pipe's temperature effects the machines efficiency
LogicType.OrbitPeriod 245
LogicType.Orientation 230
LogicType.Output 70 The output operation for a sort handling device, such as a stacker or sorter, when in logic mode the device will only action one repetition when set zero or above and then back to -1 and await further instructions
LogicType.PassedMoles 234
LogicType.Plant 68 Performs the planting action for any plant based machinery
LogicType.PlantEfficiency1 52 DEPRECATED
LogicType.PlantEfficiency2 53 DEPRECATED
LogicType.PlantEfficiency3 54 DEPRECATED
LogicType.PlantEfficiency4 55 DEPRECATED
LogicType.PlantGrowth1 48 DEPRECATED
LogicType.PlantGrowth2 49 DEPRECATED
LogicType.PlantGrowth3 50 DEPRECATED
LogicType.PlantGrowth4 51 DEPRECATED
LogicType.PlantHash1 56 DEPRECATED
LogicType.PlantHash2 57 DEPRECATED
LogicType.PlantHash3 58 DEPRECATED
LogicType.PlantHash4 59 DEPRECATED
LogicType.PlantHealth1 44 DEPRECATED
LogicType.PlantHealth2 45 DEPRECATED
LogicType.PlantHealth3 46 DEPRECATED
LogicType.PlantHealth4 47 DEPRECATED
LogicType.PositionX 76 The current position in X dimension in world coordinates
LogicType.PositionY 77 The current position in Y dimension in world coordinates
LogicType.PositionZ 78 The current position in Z dimension in world coordinates
LogicType.Power 1 Can be read to return if the device is correctly powered or not, set via the power system, return 1 if powered and 0 if not
LogicType.PowerActual 26 How much energy the device or network is actually using
LogicType.PowerGeneration 65 Returns how much power is being generated
LogicType.PowerPotential 25 How much energy the device or network potentially provides
LogicType.PowerRequired 36 Power requested from the device and/or network
LogicType.PrefabHash 84 The hash of the structure
LogicType.Pressure 5 The current pressure reading of the device
LogicType.PressureEfficiency 152 How the pressure of the input pipe and waste pipe effect the machines efficiency
LogicType.PressureExternal 7 Setting for external pressure safety, in KPa
LogicType.PressureInput 106 The current pressure reading of the device's Input Network
LogicType.PressureInput2 116 The current pressure reading of the device's Input2 Network
LogicType.PressureInternal 8 Setting for internal pressure safety, in KPa
LogicType.PressureOutput 126 The current pressure reading of the device's Output Network
LogicType.PressureOutput2 136 The current pressure reading of the device's Output2 Network
LogicType.PressureSetting 71 The current setting for the internal pressure of the object (e.g. the Hardsuit Air release), in KPa
LogicType.Progress 214 Progress of the rocket to the next node on the map expressed as a value between 0-1.
LogicType.Quantity 27 Total quantity on the device
LogicType.Ratio 24 Context specific value depending on device, 0 to 1 based ratio
LogicType.RatioCarbonDioxide 15 The ratio of {GAS:CarbonDioxide} in device atmosphere
LogicType.RatioCarbonDioxideInput 109 The ratio of {GAS:CarbonDioxide} in device's input network
LogicType.RatioCarbonDioxideInput2 119 The ratio of {GAS:CarbonDioxide} in device's Input2 network
LogicType.RatioCarbonDioxideOutput 129 The ratio of {GAS:CarbonDioxide} in device's Output network
LogicType.RatioCarbonDioxideOutput2 139 The ratio of {GAS:CarbonDioxide} in device's Output2 network
LogicType.RatioHydrogen 252 The ratio of {GAS:Hydrogen} in device's Atmopshere
LogicType.RatioLiquidCarbonDioxide 199 The ratio of {GAS:LiquidCarbonDioxide} in device's Atmosphere
LogicType.RatioLiquidCarbonDioxideInput 200 The ratio of {GAS:LiquidCarbonDioxide} in device's Input Atmosphere
LogicType.RatioLiquidCarbonDioxideInput2 201 The ratio of {GAS:LiquidCarbonDioxide} in device's Input2 Atmosphere
LogicType.RatioLiquidCarbonDioxideOutput 202 The ratio of {GAS:LiquidCarbonDioxide} in device's device's Output Atmosphere
LogicType.RatioLiquidCarbonDioxideOutput2 203 The ratio of {GAS:LiquidCarbonDioxide} in device's Output2 Atmopshere
LogicType.RatioLiquidHydrogen 253 The ratio of {GAS:LiquidHydrogen} in device's Atmopshere
LogicType.RatioLiquidNitrogen 177 The ratio of {GAS:LiquidNitrogen} in device atmosphere
LogicType.RatioLiquidNitrogenInput 178 The ratio of {GAS:LiquidNitrogen} in device's input network
LogicType.RatioLiquidNitrogenInput2 179 The ratio of {GAS:LiquidNitrogen} in device's Input2 network
LogicType.RatioLiquidNitrogenOutput 180 The ratio of {GAS:LiquidNitrogen} in device's Output network
LogicType.RatioLiquidNitrogenOutput2 181 The ratio of {GAS:LiquidNitrogen} in device's Output2 network
LogicType.RatioLiquidNitrousOxide 209 The ratio of {GAS:LiquidNitrousOxide} in device's Atmosphere
LogicType.RatioLiquidNitrousOxideInput 210 The ratio of {GAS:LiquidNitrousOxide} in device's Input Atmosphere
LogicType.RatioLiquidNitrousOxideInput2 211 The ratio of {GAS:LiquidNitrousOxide} in device's Input2 Atmosphere
LogicType.RatioLiquidNitrousOxideOutput 212 The ratio of {GAS:LiquidNitrousOxide} in device's device's Output Atmosphere
LogicType.RatioLiquidNitrousOxideOutput2 213 The ratio of {GAS:LiquidNitrousOxide} in device's Output2 Atmopshere
LogicType.RatioLiquidOxygen 183 The ratio of {GAS:LiquidOxygen} in device's Atmosphere
LogicType.RatioLiquidOxygenInput 184 The ratio of {GAS:LiquidOxygen} in device's Input Atmosphere
LogicType.RatioLiquidOxygenInput2 185 The ratio of {GAS:LiquidOxygen} in device's Input2 Atmosphere
LogicType.RatioLiquidOxygenOutput 186 The ratio of {GAS:LiquidOxygen} in device's device's Output Atmosphere
LogicType.RatioLiquidOxygenOutput2 187 The ratio of {GAS:LiquidOxygen} in device's Output2 Atmopshere
LogicType.RatioLiquidPollutant 204 The ratio of {GAS:LiquidPollutant} in device's Atmosphere
LogicType.RatioLiquidPollutantInput 205 The ratio of {GAS:LiquidPollutant} in device's Input Atmosphere
LogicType.RatioLiquidPollutantInput2 206 The ratio of {GAS:LiquidPollutant} in device's Input2 Atmosphere
LogicType.RatioLiquidPollutantOutput 207 The ratio of {GAS:LiquidPollutant} in device's device's Output Atmosphere
LogicType.RatioLiquidPollutantOutput2 208 The ratio of {GAS:LiquidPollutant} in device's Output2 Atmopshere
LogicType.RatioLiquidVolatiles 188 The ratio of {GAS:LiquidVolatiles} in device's Atmosphere
LogicType.RatioLiquidVolatilesInput 189 The ratio of {GAS:LiquidVolatiles} in device's Input Atmosphere
LogicType.RatioLiquidVolatilesInput2 190 The ratio of {GAS:LiquidVolatiles} in device's Input2 Atmosphere
LogicType.RatioLiquidVolatilesOutput 191 The ratio of {GAS:LiquidVolatiles} in device's device's Output Atmosphere
LogicType.RatioLiquidVolatilesOutput2 192 The ratio of {GAS:LiquidVolatiles} in device's Output2 Atmopshere
LogicType.RatioNitrogen 16 The ratio of nitrogen in device atmosphere
LogicType.RatioNitrogenInput 110 The ratio of nitrogen in device's input network
LogicType.RatioNitrogenInput2 120 The ratio of nitrogen in device's Input2 network
LogicType.RatioNitrogenOutput 130 The ratio of nitrogen in device's Output network
LogicType.RatioNitrogenOutput2 140 The ratio of nitrogen in device's Output2 network
LogicType.RatioNitrousOxide 83 The ratio of {GAS:NitrousOxide} in device atmosphere
LogicType.RatioNitrousOxideInput 114 The ratio of {GAS:NitrousOxide} in device's input network
LogicType.RatioNitrousOxideInput2 124 The ratio of {GAS:NitrousOxide} in device's Input2 network
LogicType.RatioNitrousOxideOutput 134 The ratio of {GAS:NitrousOxide} in device's Output network
LogicType.RatioNitrousOxideOutput2 144 The ratio of {GAS:NitrousOxide} in device's Output2 network
LogicType.RatioOxygen 14 The ratio of oxygen in device atmosphere
LogicType.RatioOxygenInput 108 The ratio of oxygen in device's input network
LogicType.RatioOxygenInput2 118 The ratio of oxygen in device's Input2 network
LogicType.RatioOxygenOutput 128 The ratio of oxygen in device's Output network
LogicType.RatioOxygenOutput2 138 The ratio of oxygen in device's Output2 network
LogicType.RatioPollutant 17 The ratio of pollutant in device atmosphere
LogicType.RatioPollutantInput 111 The ratio of pollutant in device's input network
LogicType.RatioPollutantInput2 121 The ratio of pollutant in device's Input2 network
LogicType.RatioPollutantOutput 131 The ratio of pollutant in device's Output network
LogicType.RatioPollutantOutput2 141 The ratio of pollutant in device's Output2 network
LogicType.RatioPollutedWater 254 The ratio of polluted water in device atmosphere
LogicType.RatioSteam 193 The ratio of {GAS:Steam} in device's Atmosphere
LogicType.RatioSteamInput 194 The ratio of {GAS:Steam} in device's Input Atmosphere
LogicType.RatioSteamInput2 195 The ratio of {GAS:Steam} in device's Input2 Atmosphere
LogicType.RatioSteamOutput 196 The ratio of {GAS:Steam} in device's device's Output Atmosphere
LogicType.RatioSteamOutput2 197 The ratio of {GAS:Steam} in device's Output2 Atmopshere
LogicType.RatioVolatiles 18 The ratio of volatiles in device atmosphere
LogicType.RatioVolatilesInput 112 The ratio of volatiles in device's input network
LogicType.RatioVolatilesInput2 122 The ratio of volatiles in device's Input2 network
LogicType.RatioVolatilesOutput 132 The ratio of volatiles in device's Output network
LogicType.RatioVolatilesOutput2 142 The ratio of volatiles in device's Output2 network
LogicType.RatioWater 19 The ratio of water in device atmosphere
LogicType.RatioWaterInput 113 The ratio of water in device's input network
LogicType.RatioWaterInput2 123 The ratio of water in device's Input2 network
LogicType.RatioWaterOutput 133 The ratio of water in device's Output network
LogicType.RatioWaterOutput2 143 The ratio of water in device's Output2 network
LogicType.ReEntryAltitude 237
LogicType.Reagents 13 Total number of reagents recorded by the device
LogicType.RecipeHash 41 Current hash of the recipe the device is set to produce
LogicType.ReferenceId 217
LogicType.RequestHash 60 When set to the unique identifier, requests an item of the provided type from the device
LogicType.RequiredPower 33 Idle operating power quantity, does not necessarily include extra demand power
LogicType.ReturnFuelCost 100
LogicType.Richness 263
LogicType.Rpm 155 The number of revolutions per minute that the device's spinning mechanism is doing
LogicType.SemiMajorAxis 248
LogicType.Setting 12 A variable setting that can be read or written, depending on the device
LogicType.SettingInput 91
LogicType.SettingOutput 92
LogicType.SignalID 87 Returns the contact ID of the strongest signal from this Satellite
LogicType.SignalStrength 86 Returns the degree offset of the strongest contact
LogicType.Sites 260
LogicType.Size 264
LogicType.SizeX 160 Size on the X (right) axis of the object in largeGrids (a largeGrid is 2meters)
LogicType.SizeY 161 Size on the Y(Up) axis of the object in largeGrids (a largeGrid is 2meters)
LogicType.SizeZ 162 Size on the Z(Forward) axis of the object in largeGrids (a largeGrid is 2meters)
LogicType.SolarAngle 22 Solar angle of the device
LogicType.SolarIrradiance 176
LogicType.SoundAlert 175 Plays a sound alert on the devices speaker
LogicType.Stress 156 Machines get stressed when working hard. When Stress reaches 100 the machine will automatically shut down
LogicType.Survey 257
LogicType.TargetPadIndex 158 The index of the trader landing pad on this devices data network that it will try to call a trader in to land
LogicType.TargetX 88 The target position in X dimension in world coordinates
LogicType.TargetY 89 The target position in Y dimension in world coordinates
LogicType.TargetZ 90 The target position in Z dimension in world coordinates
LogicType.Temperature 6 The current temperature reading of the device
LogicType.TemperatureDifferentialEfficiency 151 How the difference between the input pipe and waste pipe temperatures effect the machines efficiency
LogicType.TemperatureExternal 73 The temperature of the outside of the device, usually the world atmosphere surrounding it
LogicType.TemperatureInput 107 The current temperature reading of the device's Input Network
LogicType.TemperatureInput2 117 The current temperature reading of the device's Input2 Network
LogicType.TemperatureOutput 127 The current temperature reading of the device's Output Network
LogicType.TemperatureOutput2 137 The current temperature reading of the device's Output2 Network
LogicType.TemperatureSetting 72 The current setting for the internal temperature of the object (e.g. the Hardsuit A/C)
LogicType.Throttle 154 Increases the rate at which the machine works (range: 0-100)
LogicType.Thrust 221 Total current thrust of all rocket engines on the rocket in Newtons.
LogicType.ThrustToWeight 223 Ratio of thrust to weight of rocket. Weight is effected by local body gravity. A rocket with a low thrust to weight will expend more fuel during launch and landing.
LogicType.Time 102 Time
LogicType.TimeToDestination 224 Estimated time in seconds until rocket arrives at target destination.
LogicType.TotalMoles 66 Returns the total moles of the device
LogicType.TotalMolesInput 115 Returns the total moles of the device's Input Network
LogicType.TotalMolesInput2 125 Returns the total moles of the device's Input2 Network
LogicType.TotalMolesOutput 135 Returns the total moles of the device's Output Network
LogicType.TotalMolesOutput2 145 Returns the total moles of the device's Output2 Network
LogicType.TotalQuantity 265
LogicType.TrueAnomaly 251
LogicType.VelocityMagnitude 79 The current magnitude of the velocity vector
LogicType.VelocityRelativeX 80 The current velocity X relative to the forward vector of this
LogicType.VelocityRelativeY 81 The current velocity Y relative to the forward vector of this
LogicType.VelocityRelativeZ 82 The current velocity Z relative to the forward vector of this
LogicType.VelocityX 231
LogicType.VelocityY 232
LogicType.VelocityZ 233
LogicType.Vertical 21 Vertical setting of the device
LogicType.VerticalRatio 35 Radio of vertical setting for device
LogicType.Volume 67 Returns the device atmosphere volume
LogicType.VolumeOfLiquid 182 The total volume of all liquids in Liters in the atmosphere
LogicType.WattsReachingContact 164 The amount of watts actually hitting the contact. This is effected by the power of the dish and how far off-axis the dish is from the contact vector
LogicType.Weight 222 Weight of Rocket in Newtons (Including fuel and cargo). Weight is effected by local body gravity.
LogicType.WorkingGasEfficiency 105 The Working Gas Efficiency reported by the machine, as a float between 0 and 1
NotEquals 3
PowerMode.Charged 4
PowerMode.Charging 3
PowerMode.Discharged 1
PowerMode.Discharging 2
PowerMode.Idle 0
RobotMode.Follow 1
RobotMode.MoveToTarget 2
RobotMode.None 0
RobotMode.PathToTarget 5
RobotMode.Roam 3
RobotMode.StorageFull 6
RobotMode.Unload 4
SlotClass.AccessCard 22
SlotClass.Appliance 18
SlotClass.Back 3
SlotClass.Battery 14
SlotClass.Belt 16
SlotClass.Blocked 38
SlotClass.Bottle 25
SlotClass.Cartridge 21
SlotClass.Circuit 24
SlotClass.Circuitboard 7
SlotClass.CreditCard 28
SlotClass.DataDisk 8
SlotClass.DirtCanister 29
SlotClass.DrillHead 35
SlotClass.Egg 15
SlotClass.Entity 13
SlotClass.Flare 37
SlotClass.GasCanister 5
SlotClass.GasFilter 4
SlotClass.Glasses 27
SlotClass.Helmet 1
SlotClass.Ingot 19
SlotClass.LiquidBottle 32
SlotClass.LiquidCanister 31
SlotClass.Magazine 23
SlotClass.Motherboard 6
SlotClass.None 0
SlotClass.Ore 10
SlotClass.Organ 9
SlotClass.Plant 11
SlotClass.ProgrammableChip 26
SlotClass.ScanningHead 36
SlotClass.SensorProcessingUnit 30
SlotClass.SoundCartridge 34
SlotClass.Suit 2
SlotClass.Tool 17
SlotClass.Torpedo 20
SlotClass.Uniform 12
SlotClass.Wreckage 33
SortingClass.Appliances 6
SortingClass.Atmospherics 7
SortingClass.Clothing 5
SortingClass.Default 0
SortingClass.Food 4
SortingClass.Ices 10
SortingClass.Kits 1
SortingClass.Ores 9
SortingClass.Resources 3
SortingClass.Storage 8
SortingClass.Tools 2
Sound.AirlockCycling 22
Sound.Alarm1 45
Sound.Alarm10 12
Sound.Alarm11 13
Sound.Alarm12 14
Sound.Alarm2 1
Sound.Alarm3 2
Sound.Alarm4 3
Sound.Alarm5 4
Sound.Alarm6 5
Sound.Alarm7 6
Sound.Alarm8 10
Sound.Alarm9 11
Sound.Alert 17
Sound.Danger 15
Sound.Depressurising 20
Sound.FireFireFire 28
Sound.Five 33
Sound.Floor 34
Sound.Four 32
Sound.HaltWhoGoesThere 27
Sound.HighCarbonDioxide 44
Sound.IntruderAlert 19
Sound.LiftOff 36
Sound.MalfunctionDetected 26
Sound.Music1 7
Sound.Music2 8
Sound.Music3 9
Sound.None 0
Sound.One 29
Sound.PollutantsDetected 43
Sound.PowerLow 23
Sound.PressureHigh 39
Sound.PressureLow 40
Sound.Pressurising 21
Sound.RocketLaunching 35
Sound.StormIncoming 18
Sound.SystemFailure 24
Sound.TemperatureHigh 41
Sound.TemperatureLow 42
Sound.Three 31
Sound.TraderIncoming 37
Sound.TraderLanded 38
Sound.Two 30
Sound.Warning 16
Sound.Welcome 25
TransmitterMode.Active 1
TransmitterMode.Passive 0
Vent.Inward 1
Vent.Outward 0

View File

@@ -20,9 +20,11 @@ Channel5 170 Channel on a cable network which should be considered volatile
Channel6 171 Channel on a cable network which should be considered volatile
Channel7 172 Channel on a cable network which should be considered volatile
Charge 11 The current charge the device has
Chart 256
ChartedNavPoints 259
ClearMemory 62 When set to 1, clears the counter memory (e.g. ExportCount). Will set itself back to 0 when actioned
CollectableGoods 101
Color 38 \n Whether driven by concerns for clarity, safety or simple aesthetics, {LINK:Stationeers;Stationeers} have access to a small rainbow of colors for their constructions. These are the color setting for devices, represented as an integer.\n\n0: Blue\n1: Grey\n2: Green\n3: Orange\n4: Red\n5: Yellow\n6: White\n7: Black\n8: Brown\n9: Khaki\n10: Pink\n11: Purple\n\n It is an unwavering universal law that anything higher than 11 will be purple. The {LINK:ODA;ODA} is powerless to change this. Similarly, anything lower than 0 will be Blue.\n
Color 38 \n Whether driven by concerns for clarity, safety or simple aesthetics, {LINK:Stationeers;Stationeers} have access to a small rainbow of colors for their constructions. These are the color setting for devices, represented as an integer.\n\n0: Blue\n1: Grey\n2: Green\n3: Orange\n4: Red\n5: Yellow\n6: White\n7: Black\n8: Brown\n9: Khaki\n10: Pink\n11: Purple\n\n It is an unwavering universal law that anything higher than 11 will be purple. The {LINK:ODA;ODA} is powerless to change this. Similarly, anything lower than 0 will be Blue.\n
Combustion 98 The assess atmosphere is on fire. Returns 1 if atmosphere is on fire, 0 if not.
CombustionInput 146 The assess atmosphere is on fire. Returns 1 if device's input network is on fire, 0 if not.
CombustionInput2 147 The assess atmosphere is on fire. Returns 1 if device's Input2 network is on fire, 0 if not.
@@ -31,8 +33,11 @@ CombustionOutput 148 The assess atmosphere is on fire. Returns 1 if device's Out
CombustionOutput2 149 The assess atmosphere is on fire. Returns 1 if device's Output2 network is on fire, 0 if not.
CompletionRatio 61 How complete the current production is for this device, between 0 and 1
ContactTypeId 198 The type id of the contact.
CurrentCode 261
CurrentResearchPodType 93
Density 262
DestinationCode 215 Unique identifier code for a destination on the space map.
Discover 255
DistanceAu 244
DistanceKm 249
DrillCondition 240
@@ -75,10 +80,12 @@ Maximum 23 Maximum setting of the device
MinWattsToContact 163 Minimum required amount of watts from the dish hitting the target trader contact to start interrogating the contact
MineablesInQueue 96
MineablesInVicinity 95
MinedQuantity 266
MinimumWattsToContact 163 Minimum required amount of watts from the dish hitting the target trader contact to start interrogating the contact
Mode 3 Integer for mode state, different devices will have different mode states available to them
NavPoints 258
NextWeatherEventTime 97
None None No description
None 0 No description
On 28 The current state of the device, 0 for off, 1 for on
Open 2 1 if device is open, otherwise 0
OperationalTemperatureEfficiency 150 How the input pipe's temperature effects the machines efficiency
@@ -88,22 +95,22 @@ Output 70 The output operation for a sort handling device, such as a stacker or
OverShootTarget None How far is the landing rocket going to overshoot its landing target at its current thrust. Expressed as a negative value in meters. ensure this is at zero by the time a rocket lands or risk total loss of rocket.
PassedMoles 234
Plant 68 Performs the planting action for any plant based machinery
PlantEfficiency1 None DEPRECATED
PlantEfficiency2 None DEPRECATED
PlantEfficiency3 None DEPRECATED
PlantEfficiency4 None DEPRECATED
PlantGrowth1 None DEPRECATED
PlantGrowth2 None DEPRECATED
PlantGrowth3 None DEPRECATED
PlantGrowth4 None DEPRECATED
PlantHash1 None DEPRECATED
PlantHash2 None DEPRECATED
PlantHash3 None DEPRECATED
PlantHash4 None DEPRECATED
PlantHealth1 None DEPRECATED
PlantHealth2 None DEPRECATED
PlantHealth3 None DEPRECATED
PlantHealth4 None DEPRECATED
PlantEfficiency1 52 DEPRECATED
PlantEfficiency2 53 DEPRECATED
PlantEfficiency3 54 DEPRECATED
PlantEfficiency4 55 DEPRECATED
PlantGrowth1 48 DEPRECATED
PlantGrowth2 49 DEPRECATED
PlantGrowth3 50 DEPRECATED
PlantGrowth4 51 DEPRECATED
PlantHash1 56 DEPRECATED
PlantHash2 57 DEPRECATED
PlantHash3 58 DEPRECATED
PlantHash4 59 DEPRECATED
PlantHealth1 44 DEPRECATED
PlantHealth2 45 DEPRECATED
PlantHealth3 46 DEPRECATED
PlantHealth4 47 DEPRECATED
PositionX 76 The current position in X dimension in world coordinates
PositionY 77 The current position in Y dimension in world coordinates
PositionZ 78 The current position in Z dimension in world coordinates
@@ -130,11 +137,13 @@ RatioCarbonDioxideInput 109 The ratio of {GAS:CarbonDioxide} in device's input n
RatioCarbonDioxideInput2 119 The ratio of {GAS:CarbonDioxide} in device's Input2 network
RatioCarbonDioxideOutput 129 The ratio of {GAS:CarbonDioxide} in device's Output network
RatioCarbonDioxideOutput2 139 The ratio of {GAS:CarbonDioxide} in device's Output2 network
RatioHydrogen 252 The ratio of {GAS:Hydrogen} in device's Atmopshere
RatioLiquidCarbonDioxide 199 The ratio of {GAS:LiquidCarbonDioxide} in device's Atmosphere
RatioLiquidCarbonDioxideInput 200 The ratio of {GAS:LiquidCarbonDioxide} in device's Input Atmosphere
RatioLiquidCarbonDioxideInput2 201 The ratio of {GAS:LiquidCarbonDioxide} in device's Input2 Atmosphere
RatioLiquidCarbonDioxideOutput 202 The ratio of {GAS:LiquidCarbonDioxide} in device's device's Output Atmosphere
RatioLiquidCarbonDioxideOutput2 203 The ratio of {GAS:LiquidCarbonDioxide} in device's Output2 Atmopshere
RatioLiquidHydrogen 253 The ratio of {GAS:LiquidHydrogen} in device's Atmopshere
RatioLiquidNitrogen 177 The ratio of {GAS:LiquidNitrogen} in device atmosphere
RatioLiquidNitrogenInput 178 The ratio of {GAS:LiquidNitrogen} in device's input network
RatioLiquidNitrogenInput2 179 The ratio of {GAS:LiquidNitrogen} in device's Input2 network
@@ -180,6 +189,7 @@ RatioPollutantInput 111 The ratio of pollutant in device's input network
RatioPollutantInput2 121 The ratio of pollutant in device's Input2 network
RatioPollutantOutput 131 The ratio of pollutant in device's Output network
RatioPollutantOutput2 141 The ratio of pollutant in device's Output2 network
RatioPollutedWater 254 The ratio of polluted water in device atmosphere
RatioSteam 193 The ratio of {GAS:Steam} in device's Atmosphere
RatioSteamInput 194 The ratio of {GAS:Steam} in device's Input Atmosphere
RatioSteamInput2 195 The ratio of {GAS:Steam} in device's Input2 Atmosphere
@@ -202,6 +212,7 @@ ReferenceId 217
RequestHash 60 When set to the unique identifier, requests an item of the provided type from the device
RequiredPower 33 Idle operating power quantity, does not necessarily include extra demand power
ReturnFuelCost 100
Richness 263
Rpm 155 The number of revolutions per minute that the device's spinning mechanism is doing
SemiMajorAxis 248
Setting 12 A variable setting that can be read or written, depending on the device
@@ -211,6 +222,8 @@ SettingOutput 92
SettingOutputHash 91 The output setting for the device
SignalID 87 Returns the contact ID of the strongest signal from this Satellite
SignalStrength 86 Returns the degree offset of the strongest contact
Sites 260
Size 264
SizeX 160 Size on the X (right) axis of the object in largeGrids (a largeGrid is 2meters)
SizeY 161 Size on the Y(Up) axis of the object in largeGrids (a largeGrid is 2meters)
SizeZ 162 Size on the Z(Forward) axis of the object in largeGrids (a largeGrid is 2meters)
@@ -219,6 +232,7 @@ SolarConstant None Solar constant of the world
SolarIrradiance 176
SoundAlert 175 Plays a sound alert on the devices speaker
Stress 156 Machines get stressed when working hard. When Stress reaches 100 the machine will automatically shut down
Survey 257
TargetPadIndex 158 The index of the trader landing pad on this devices data network that it will try to call a trader in to land
TargetX 88 The target position in X dimension in world coordinates
TargetY 89 The target position in Y dimension in world coordinates
@@ -241,6 +255,7 @@ TotalMolesInput 115 Returns the total moles of the device's Input Network
TotalMolesInput2 125 Returns the total moles of the device's Input2 Network
TotalMolesOutput 135 Returns the total moles of the device's Output Network
TotalMolesOutput2 145 Returns the total moles of the device's Output2 Network
TotalQuantity 265
TrueAnomaly 251
Unknown None No description available
VelocityMagnitude 79 The current magnitude of the velocity vector

View File

@@ -1,3 +1,4 @@
Contents 0 The amount of this Reagent present in the machine
Required 1 The amount of this Reagent needed to complete the Machine's current recipe after subtracting the amount currently present
Recipe 2 The amount of this Reagent required by the Machine's current recipe
Required 1 The amount of this Reagent needed to complete the Machine's current recipe after subtracting the amount currently present
TotalContents 3

240
ic10emu/generate_data.py Normal file
View File

@@ -0,0 +1,240 @@
from collections import defaultdict
import json
import xml.etree.ElementTree as ET
import argparse
from pathlib import Path
import sys
import re
from itertools import chain
import struct
import binascii
def intOrNone(val):
try:
return int(val)
except ValueError:
return None
def main():
arg_parser = argparse.ArgumentParser(
description="Generate instructions, enums, and docs for lsp.\n\nWorks best when using https://github.com/Ryex/StationeersStationpediaExtractor",
epilog="Point at the Stationeers install and go!",
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
arg_parser.add_argument("path", help="Path to Stationeers installation")
arg_parser.add_argument("--lang", help="language to extract from (ie. english)", default="english")
args = arg_parser.parse_args()
install_path = Path(args.path)
if install_path.match("Stationeers/*.exe") or install_path.match("Stationeers/rocketstation_Data"):
install_path = install_path.parent
elif install_path.name == "Stationeers":
pass
elif (install_path / "Stationeers").is_dir():
install_path = install_path / "Stationeers"
data_path = install_path / "rocketstation_Data" / "StreamingAssets" / "Language"
if not data_path.is_dir():
print(f"Invalid install path. {install_path} does not point to a valid Stationeers installation")
arg_parser.print_help()
sys.exit(1)
lang = args.lang
if not (data_path / f"{lang}.xml").is_file():
print("Language file '{lang}.xml' does not exist. can not pull help strings.")
sys.exit(2)
extract_data(install_path, data_path, lang)
def extract_data(install_path, data_path: Path, language: str):
tree = ET.parse(data_path / f"{language}.xml")
root = tree.getroot()
interface = root.find("Interface")
strings = root.find("GameStrings")
colors = root.find("Colors")
elms = [elm for elm in (interface, strings, colors) if elm is not None ]
logic_type = re.compile(r"LogicType(\w+)")
logic_slot_type = re.compile(r"LogicSlotType(\w+)")
script_command = re.compile(r"ScriptCommand(\w+)")
script_desc = re.compile(r"ScriptDescription(\w+)")
color = re.compile(r"Color(\w+)")
operation_help_strings: dict[str, str] = {}
enum_help_strings: dict[str, str] = {}
logictypes: dict[str, tuple[int|None, str]] = {}
slotlogictypes: dict[str, tuple[int|None, str]] = {}
for record in chain.from_iterable(elms):
key = record.find("Key")
value = record.find("Value")
if key is None or value is None:
continue
key = key.text
value = value.text
if key is None or value is None:
continue
if match := logic_type.match(key):
enum_help_strings[f"LogicType.{match.group(1)}"] = value
logictypes[match.group(1)] = (None, value)
if match := logic_slot_type.match(key):
enum_help_strings[f"LogicSlotType.{match.group(1)}"] = value
slotlogictypes[match.group(1)] = (None, value)
if match := color.match(key):
enum_help_strings[f"Color.{match.group(1)}"] = value
if match := script_command.match(key):
if not match.group(1).lower() == "command":
operation_help_strings[f"{match.group(1).lower()}"] = value
if match := script_desc.match(key):
operation_help_strings[f"{match.group(1).lower()}"] = value
op_help_patch_path = Path("data") / "instruction_help_patches.json"
if op_help_patch_path.exists():
with op_help_patch_path.open(mode="r") as f:
patches = defaultdict(dict)
patches.update(json.load(f))
operation_help_strings.update(patches[language])
enums = {}
with (Path("data") / "enums.txt").open("r") as f:
for line in f.readlines():
match line.strip().split(' ', maxsplit=2):
case [name, val]:
help = ""
if name in enum_help_strings:
help = enum_help_strings[name]
enums[name] = (intOrNone(val), help)
case [name, val, help]:
enums[name] = (intOrNone(val), help)
case _:
pass
with (Path("data") / "logictypes.txt").open("r") as f:
for line in f.readlines():
match line.strip().split(' ', maxsplit=2):
case [name, val]:
help = ""
if f"LogicType.{name}" in enum_help_strings:
help = enum_help_strings[f"LogicType.{name}"]
elif name in logictypes:
help = logictypes[name][1]
logictypes[name] = (intOrNone(val), help)
case [name, val, help]:
logictypes[name] = (intOrNone(val), help)
case _:
pass
with(Path("data") / "slotlogictypes.txt").open("r") as f:
for line in f.readlines():
match line.strip().split(' ', maxsplit=2):
case [name, val]:
help = ""
if f"LogicSlotType.{name}" in enum_help_strings:
help = enum_help_strings[f"LogicSlotType.{name}"]
elif name in slotlogictypes:
help = slotlogictypes[name][1]
slotlogictypes[name] = (intOrNone(val), "")
case [name, val, help]:
slotlogictypes[name] = (intOrNone(val), help)
case _:
pass
batchmodes = {}
with(Path("data") / "batchmodes.txt").open("r") as f:
for line in f.readlines():
match line.strip().split(' ', maxsplit=2):
case [name, val]:
batchmodes[name] = (intOrNone(val), "")
case [name, val, help]:
batchmodes[name] = (intOrNone(val), help)
case _:
pass
reagentmodes = {}
with(Path("data") / "reagentmodes.txt").open("r") as f:
for line in f.readlines():
match line.strip().split(' ', maxsplit=2):
case [name, val]:
reagentmodes[name] = (intOrNone(val), "")
case [name, val, help]:
reagentmodes[name] = (intOrNone(val), help)
case _:
pass
enum_values_path = install_path / "Stationpedia" / "Enums.json"
if enum_values_path.exists():
with enum_values_path.open(mode="r") as f:
enum_values = json.load(f)
def update_enum(enum, values):
for name, val, in values.items():
if name in enum:
_, help = enum[name]
enum[name] = (val, help)
else:
help = ""
if name in enum_help_strings:
help = enum_help_strings[name]
enum[name] = (val, help)
update_enum(logictypes, enum_values["LogicType"])
update_enum(slotlogictypes, enum_values["LogicSlotType"])
update_enum(batchmodes, enum_values["LogicBatchMethod"])
update_enum(reagentmodes, enum_values["LogicReagentMode"])
update_enum(enums, enum_values["Enums"])
op_help_path = Path("data") / "instructions_help.txt"
with op_help_path.open(mode="w") as f:
for key, val in sorted(operation_help_strings.items()):
f.write("{} {}\n".format(key, val.replace("\r", "").replace("\n", "\\n")))
stationpedia: dict[str, tuple[str, str | None]] = {}
things = root.find("Things")
reagents = root.find("Reagents")
hashables = [elm for elm in (things, reagents) if elm is not None]
for record in chain.from_iterable(hashables):
key = record.find("Key")
value = record.find("Value")
if key is None or value is None:
continue
key = key.text
value = value.text
if key is None:
continue
crc = binascii.crc32(key.encode('utf-8'))
crc_s = struct.unpack("i", struct.pack("I", crc))[0]
stationpedia[crc_s] = (key, value)
exported_stationpedia_path = install_path / "Stationpedia" / "Stationpedia.json"
if exported_stationpedia_path.exists():
with exported_stationpedia_path.open(mode="r") as f:
exported = json.load(f)
for page in exported["pages"]:
stationpedia[page["PrefabHash"]] = (page["PrefabName"], page["Title"])
hashables_path = Path("data") / "stationpedia.txt"
with hashables_path.open(mode="w") as f:
for key, val in sorted(stationpedia.items(), key=lambda i: i[1][0]):
name = val[0]
desc = val[1] if val[1] is not None else ""
f.write("{} {} {}\n".format(key, name, desc.replace("\r", "").replace("\n", "\\n")))
logic_types_path = Path("data") / "logictypes.txt"
with logic_types_path.open(mode="w") as f:
for t, (v, help) in sorted(logictypes.items()):
f.write(f"{t} {v} {help.replace("\r", "").replace("\n", "\\n")}\n")
slot_logic_types_path = Path("data") / "slotlogictypes.txt"
with slot_logic_types_path.open(mode="w") as f:
for t, (v, help) in sorted(slotlogictypes.items()):
f.write(f"{t} {v} {help.replace("\r", "").replace("\n", "\\n")}\n")
batch_modes_path = Path("data") / "batchmodes.txt"
with batch_modes_path.open(mode="w") as f:
for t, (v, help) in sorted(batchmodes.items()):
f.write(f"{t} {v} {help.replace("\r", "").replace("\n", "\\n")}\n")
reagent_modes_path = Path("data") / "reagentmodes.txt"
with reagent_modes_path.open(mode="w") as f:
for t, (v, help) in sorted(reagentmodes.items()):
f.write(f"{t} {v} {help.replace("\r", "").replace("\n", "\\n")}\n")
enums_path = Path("data") / "enums.txt"
with enums_path.open(mode="w") as f:
for name, (val, help) in sorted(enums.items()):
f.write(f"{name} {val} {help.replace("\r", "").replace("\n", "\\n")}\n")
if __name__ == "__main__":
main()

View File

@@ -98,7 +98,7 @@ pub enum ICError {
#[error("Empty Device List")]
EmptyDeviceList,
#[error("Connection index out of range: '{0}'")]
ConnecitonIndexOutOFRange(u32),
ConnectionIndexOutOFRange(u32),
#[error("Connection specifier missing")]
MissingConnectionSpecifier,
#[error("No data network on connection '{0}'")]

View File

@@ -24,9 +24,9 @@ pub enum VMError {
UnknownIcId(u16),
#[error("Device with id '{0}' does not have a IC Slot")]
NoIC(u16),
#[error("IC encoutered an error: {0}")]
#[error("IC encountered an error: {0}")]
ICError(#[from] ICError),
#[error("IC encoutered an error: {0}")]
#[error("IC encountered an error: {0}")]
LineError(#[from] LineError),
#[error("Invalid network ID {0}")]
InvalidNetwork(u16),
@@ -191,7 +191,7 @@ impl Device {
pub fn get_network_id(&self, connection: usize) -> Result<u16, ICError> {
if connection >= 8 {
Err(ICError::ConnecitonIndexOutOFRange(connection as u32))
Err(ICError::ConnectionIndexOutOFRange(connection as u32))
} else if let Connection::CableNetwork(network_id) = self.connections[connection] {
if let Some(network_id) = network_id {
Ok(network_id)
@@ -440,7 +440,7 @@ impl VM {
Ok(result)
}
/// returns true if exacuted 128 lines, false if returned early.
/// returns true if executed 128 lines, false if returned early.
pub fn run_ic(&self, id: u16, ignore_errors: bool) -> Result<bool, VMError> {
let device = self.devices.get(&id).ok_or(VMError::UnknownId(id))?.clone();
let ic_id = *device.borrow().ic.as_ref().ok_or(VMError::NoIC(id))?;

View File

@@ -114,8 +114,8 @@ def extract_all():
json.encoder
json.dump(
{
"logic_enabeled": logicable,
"slot_logic_enabeled": slotlogicable,
"logic_enabled": logicable,
"slot_logic_enabled": slotlogicable,
"devices": devices,
"items": items,
},

View File

@@ -26,6 +26,9 @@ console_error_panic_hook = ["dep:console_error_panic_hook"]
[lib]
crate-type = ["cdylib", "rlib"]
[build]
target = "wasm32-unknown-unknown"
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"

View File

@@ -340,7 +340,7 @@ impl VM {
}
#[wasm_bindgen(getter, js_name = "defaultNetwork")]
pub fn defualt_network(&self) -> u16 {
pub fn default_network(&self) -> u16 {
self.vm.borrow().default_network
}

View File

@@ -19,9 +19,9 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
[[package]]
name = "aho-corasick"
version = "1.1.2"
version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0"
checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
dependencies = [
"memchr",
]
@@ -98,13 +98,13 @@ dependencies = [
[[package]]
name = "async-trait"
version = "0.1.78"
version = "0.1.79"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "461abc97219de0eaaf81fe3ef974a540158f3d079c2ab200f891f1a2ef201e85"
checksum = "a507401cad91ec6a857ed5513a2073c82a9b9048762b885bb98655b306964681"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.53",
"syn 2.0.55",
]
[[package]]
@@ -115,20 +115,20 @@ checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.53",
"syn 2.0.55",
]
[[package]]
name = "autocfg"
version = "1.1.0"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80"
[[package]]
name = "backtrace"
version = "0.3.69"
version = "0.3.71"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837"
checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d"
dependencies = [
"addr2line",
"cc",
@@ -153,9 +153,9 @@ checksum = "7ff69b9dd49fd426c69a0db9fc04dd934cdb6645ff000864d98f7e2af8830eaa"
[[package]]
name = "bytes"
version = "1.5.0"
version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223"
checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9"
[[package]]
name = "c2rust-bitfields"
@@ -191,9 +191,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "clap"
version = "4.5.3"
version = "4.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "949626d00e063efc93b6dca932419ceb5432f99769911c0b995f7e884c778813"
checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0"
dependencies = [
"clap_builder",
"clap_derive",
@@ -213,14 +213,14 @@ dependencies = [
[[package]]
name = "clap_derive"
version = "4.5.3"
version = "4.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90239a040c80f5e14809ca132ddc4176ab33d5e17e49691793296e3fcb34d72f"
checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64"
dependencies = [
"heck",
"proc-macro2",
"quote",
"syn 2.0.53",
"syn 2.0.55",
]
[[package]]
@@ -329,7 +329,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.53",
"syn 2.0.55",
]
[[package]]
@@ -395,7 +395,7 @@ checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904"
[[package]]
name = "ic10lsp"
version = "0.7.4"
source = "git+https://github.com/Ryex/ic10lsp.git?branch=wasm#b6300c0bfd55feab487c180582b4005d6bb85bbd"
source = "git+https://github.com/Ryex/ic10lsp.git?branch=wasm#657c59db0c33a4ab071188a6ecfaf1f7144b02d9"
dependencies = [
"clap",
"const-crc32",
@@ -437,9 +437,9 @@ dependencies = [
[[package]]
name = "itoa"
version = "1.0.10"
version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c"
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
[[package]]
name = "js-sys"
@@ -487,9 +487,9 @@ dependencies = [
[[package]]
name = "memchr"
version = "2.7.1"
version = "2.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149"
checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d"
[[package]]
name = "miniz_oxide"
@@ -605,7 +605,7 @@ dependencies = [
"phf_shared",
"proc-macro2",
"quote",
"syn 2.0.53",
"syn 2.0.55",
]
[[package]]
@@ -634,14 +634,14 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.53",
"syn 2.0.55",
]
[[package]]
name = "pin-project-lite"
version = "0.2.13"
version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58"
checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02"
[[package]]
name = "pin-utils"
@@ -693,9 +693,9 @@ dependencies = [
[[package]]
name = "regex"
version = "1.10.3"
version = "1.10.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15"
checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c"
dependencies = [
"aho-corasick",
"memchr",
@@ -716,9 +716,9 @@ dependencies = [
[[package]]
name = "regex-syntax"
version = "0.8.2"
version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56"
[[package]]
name = "rustc-demangle"
@@ -755,14 +755,14 @@ checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.53",
"syn 2.0.55",
]
[[package]]
name = "serde_json"
version = "1.0.114"
version = "1.0.115"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0"
checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd"
dependencies = [
"itoa",
"ryu",
@@ -777,7 +777,7 @@ checksum = "0b2e6b945e9d3df726b65d6ee24060aff8e3533d431f677a9695db04eff9dfdb"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.53",
"syn 2.0.55",
]
[[package]]
@@ -806,9 +806,9 @@ dependencies = [
[[package]]
name = "smallvec"
version = "1.13.1"
version = "1.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7"
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
[[package]]
name = "socket2"
@@ -839,9 +839,9 @@ dependencies = [
[[package]]
name = "syn"
version = "2.0.53"
version = "2.0.55"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7383cd0e49fff4b6b90ca5670bfd3e9d6a733b3f90c686605aa7eec8c4996032"
checksum = "002a1b3dbf967edfafc32655d0f377ab0bb7b994aa1d32c8cc7e9b8bf3ebb8f0"
dependencies = [
"proc-macro2",
"quote",
@@ -865,7 +865,7 @@ checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.53",
"syn 2.0.55",
]
[[package]]
@@ -885,9 +885,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tokio"
version = "1.36.0"
version = "1.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931"
checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787"
dependencies = [
"backtrace",
"bytes",
@@ -910,7 +910,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.53",
"syn 2.0.55",
]
[[package]]
@@ -979,7 +979,7 @@ checksum = "84fd902d4e0b9a4b27f2f440108dc034e1758628a9b702f8ec61ad66355422fa"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.53",
"syn 2.0.55",
]
[[package]]
@@ -1007,7 +1007,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.53",
"syn 2.0.55",
]
[[package]]
@@ -1043,7 +1043,7 @@ dependencies = [
[[package]]
name = "tree-sitter-ic10"
version = "0.5.2"
source = "git+https://github.com/Ryex/tree-sitter-ic10.git?branch=wasm#143545d3053971e04ddd1fbc0ac5b18631658c5a"
source = "git+https://github.com/Ryex/tree-sitter-ic10.git?branch=wasm#5648a5babc6390c67ca30301551f25190f7ef968"
dependencies = [
"cc",
"tree-sitter",
@@ -1126,7 +1126,7 @@ dependencies = [
"once_cell",
"proc-macro2",
"quote",
"syn 2.0.53",
"syn 2.0.55",
"wasm-bindgen-shared",
]
@@ -1161,7 +1161,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.53",
"syn 2.0.55",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]

View File

@@ -28,3 +28,5 @@ ic10lsp = { git = "https://github.com/Ryex/ic10lsp.git", branch = "wasm" }
opt-level = "s"
lto = true
[build]
target = "wasm32-unknown-unknown"

View File

@@ -1 +1,109 @@
{"words":["brgtz","brlez","brgez","brltz","brna","brap","brne","breq","brge","brle","brgt","brlt","brdns","brdse","bnaz","bapz","bnez","beqz","bgtz","blez","bgez","bltz","bdse","bdns","snaz","sapz","snez","seqz","sgez","slez","sgtz","sltz","sdns","sdse","bdnsal","bdseal","bapal","bapzal","beqal","beqzal","bgeal","bgezal","bgtal","bgtzal","bleal","blezal","bltal","bltzal","bnaal","bnazal","bneal","bnezal","brapz","brnaz","breqz","brnez","trunc","bnan","brnan","lbns","snan","snanz","Mineables","logictype","rocketstation","whos","sattellite","Stationeers","Hardsuit","jetpack","stationpedia","slottype","getd","putd","preproc","tokentype","overcolumn","overcolumn","QUICKFIX","infile","codegen","splitn","Circuitboard","hashables","logictypes","slotlogictypes","Astroloy","Autolathe","slotlogictype","reagentmodes","batchmodes","batchmode","reagentmode","ninf","endpos","Overlength","serde","bgezal","beqzal","themelist","modelist","hardwrap","offcanvas","popperjs"],"version":"0.2","language":"en","flagWords":[]}
{
"words": [
"Astroloy",
"Autolathe",
"bapal",
"bapz",
"bapzal",
"batchmode",
"batchmodes",
"bdns",
"bdnsal",
"bdse",
"bdseal",
"beqal",
"beqz",
"beqzal",
"bgeal",
"bgez",
"bgezal",
"bgtal",
"bgtz",
"bgtzal",
"bleal",
"blez",
"blezal",
"bltal",
"bltz",
"bltzal",
"bnaal",
"bnan",
"bnaz",
"bnazal",
"bneal",
"bnez",
"bnezal",
"brap",
"brapz",
"brdns",
"brdse",
"breq",
"breqz",
"brge",
"brgez",
"brgt",
"brgtz",
"brle",
"brlez",
"brlt",
"brltz",
"brna",
"brnan",
"brnaz",
"brne",
"brnez",
"Circuitboard",
"codegen",
"endpos",
"getd",
"Hardsuit",
"hardwrap",
"hashables",
"infile",
"jetpack",
"Keybind",
"lbns",
"logictype",
"logictypes",
"Mineables",
"modelist",
"ninf",
"offcanvas",
"overcolumn",
"Overlength",
"popperjs",
"preproc",
"putd",
"QUICKFIX",
"reagentmode",
"reagentmodes",
"rocketstation",
"sapz",
"sattellite",
"sdns",
"sdse",
"seqz",
"serde",
"sgez",
"sgtz",
"slez",
"slotlogictype",
"slotlogictypes",
"slottype",
"sltz",
"snan",
"snanz",
"snaz",
"snez",
"splitn",
"Stationeers",
"stationpedia",
"themelist",
"tokentype",
"trunc",
"whos"
],
"version": "0.2",
"language": "en",
"flagWords": []
}

View File

@@ -42,21 +42,21 @@
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"ts-loader": "^9.5.1",
"typescript": "^5.4.2",
"webpack": "^5.90.3",
"typescript": "^5.4.3",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.3"
"webpack-dev-server": "^5.0.4"
},
"dependencies": {
"@popperjs/core": "^2.11.8",
"ace-code": "^1.32.7",
"ace-linters": "^1.1.1",
"ace-code": "^1.32.9",
"ace-linters": "^1.1.2",
"bootstrap": "^5.3.3",
"bson": "^6.5.0",
"buffer": "^6.0.3",
"crypto-browserify": "^3.12.0",
"ic10emu_wasm": "file:../ic10emu_wasm/pkg",
"ic10lsp_wasm": "file:../ic10lsp_wasm/pkg",
"ic10emu_wasm": "file:..\\ic10emu_wasm\\pkg",
"ic10lsp_wasm": "file:..\\ic10lsp_wasm\\pkg",
"jquery": "^3.7.1",
"lzma-web": "^3.0.1",
"stream-browserify": "^3.0.0",

646
www/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff