Actions

Difference between revisions of "Kit (Satellite Dish)"

From Unofficial Stationeers Wiki

m
Line 342: Line 342:
 
| Constant: 4.
 
| Constant: 4.
 
|}
 
|}
 +
 
=== Buy/Sell Payloads ===
 
=== Buy/Sell Payloads ===
  
Buy/Sell Payloads are 1 address each, so it's referenced here as a 8 bytes(64 bit) payload.
+
Buy/Sell Payloads are 1 address each, so it's referenced here as a 16 bytes(128 bit) payload.
  
 
{| class="wikitable" style="width:60%;"
 
{| class="wikitable" style="width:60%;"
 
! BitsOffset
 
! BitsOffset
| 63-56
+
| 63-48
| 55-48
 
 
| 47-16
 
| 47-16
| 15-0
+
| 15-8
 +
| 7-0
 
|-
 
|-
 
! Contents
 
! Contents
Line 366: Line 367:
 
{| class="wikitable" style="width:60%;"
 
{| class="wikitable" style="width:60%;"
 
! BitsOffset
 
! BitsOffset
| 63-56
+
| 63-48
| 55-48
 
 
| 47-16
 
| 47-16
| 15-0
+
| 15-8
 +
| 7-0
 
|-
 
|-
 
! Contents
 
! Contents

Revision as of 06:53, 24 March 2025

Category:Machines]]

Kit (Satellite Dish)
ItemKitSatelliteDish.png
Properties
Stacks Yes (10)
Recipe
Created With Electronics Printer
Cost 5g Gold, 10g Copper, 20g Steel, 5g Nickel, 10g Solder
Medium Satellite Dish
StructureSatelliteDish.png
Operation
Power Usage 200W
Construction
Placed with Kit (Satellite Dish)
Placed on Small Grid
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Satellite Dish)

Description

The Satellite Dish is used together with a Computer fitted with a Motherboard (Communications) to allow Interstellar Communications.

The Satellite Dish must be guided by Satellite Tracking onto a signal and communications may be established once the signal strength is greater than 94%

Medium Satellite Dish

After "Big Changes Coming: Terrain Preview, Melting Ice, Modding, & Localization" update, Medium Satellite Dish has internal stack like Autolathe, which user can utilize it to give instructions to. The Medium Satellite Dish currently have 256Bytes(32 Addresses) stack memory.

Op_code Name Description Valid Address Bits Bits Description
1 TraderInstruction.WriteTraderData The dish will write out metadata(24 Bytes, in continuous of 3 addresses) to the specified starting index. E.g.: if set WRITE_INDEX to 1, then the metadata will span address 1-3. See Metadata Payloads. 0-31 0-7 Op_code
8-15 WRITE_INDEX
16-63 Unused
2 TraderInstruction.StrongestContactIdHash Currently not useful. 0-31 0-7 Op_code
8-39 TRADER_ID_HASH
40-63 Unused
3 TraderInstruction.StrongestContactMetaData Currently not useful. 0-31 0-7 Op_code
8-15 SHUTTLE_TYPE
16-23 CONTACT_TIER
24-31 CONTACTED
32-63 Unused
4 TraderInstruction.StrongestContactSignalData Currently not useful. 0-31 0-7 Op_code
8-23 WATTS_TO_RESOLVE
24-39 LIFETIME
32-63 Unused
5 TraderInstruction.WriteTraderBuyData The dish will write out trader buy metadatas from the starting address WRITE_INDEX, and write WRITE_COUNT continuous addresses total.
If an item contains child items, then it will be expaned inplace.
E.g.: <BuyPayload><BuyPayload><BuyChildPayload><BuyPayload>.
See Buy/Sell Payloads, Buy/Sell Child Payloads.
0-31 0-7 Op_code
8-15 WRITE_INDEX
16-23 WRITE_COUNT
24-63 Unused
6 TraderInstruction.WriteTraderSellData The dish will write out trader sell metadatas from the starting address WRITE_INDEX, and write WRITE_COUNT continuous addresses total.
If an item contains child items, then it will be expaned inplace.
E.g.: <SellPayload><SellPayload><SellChildPayload><SellPayload>.
See Buy/Sell Payloads, Buy/Sell Child Payloads.
0-31 0-7 Op_code
8-15 WRITE_INDEX
16-23 WRITE_COUNT
24-63 Unused
7 TraderInstruction.TraderBuyThingData Currently not useful, if wrote to stack, will be cleared per tick. 0-31 0-7 Op_code
8-15 QUANTITY
16-47 PREFAB_HASH
48-63 Unused
8 TraderInstruction.TraderBuyThingChildData Currently not useful, only Op_code will be used in the output of TraderInstruction.WriteTraderBuyData. 0-31 0-7 Op_code
8-15 QUANTITY
16-47 PREFAB_HASH
48-63 Unused
9 TraderInstruction.TraderBuyGasData Currently not useful. 0-31 0-7 Op_code
8-15 QUANTITY
16-47 GAS_TYPES_BITFLAG
48-63 Unused
10 TraderInstruction.TraderSellThingData Currently not useful, if wrote to stack, will be cleared per tick. 0-31 0-7 Op_code
8-15 QUANTITY
16-47 PREFAB_HASH
48-63 Unused
11 TraderInstruction.TraderSellGasData Currently not useful. 0-31 0-7 Op_code
8-15 QUANTITY
16-47 GAS_TYPES_BIGFLAG
48-63 Unused
12 TraderInstruction.TraderSellThingChildData Currently not useful, only Op_code will be used in the output of TraderInstruction.WriteTraderSellData. 0-31 0-7 Op_code
8-15 QUANTITY
16-47 PREFAB_HASH
48-63 Unused
13 TraderInstruction.FilterPrefabHashEquals todo 0-31 0-7 Op_code
8-39 PREFAB_HASH
40-63 Unused
14 TraderInstruction.FilterPrefabHashNotEquals todo 0-31 0-7 Op_code
8-39 PREFAB_HASH
40-63 Unused
15 TraderInstruction.FilterSortingClassCompare todo 0-31 0-7 Op_code
8-15 CONDITION_OPERATION
16-31 SORTING_CLASS
32-63 Unused
16 TraderInstruction.FilterQuantityCompare todo 0-31 0-7 Op_code
8-15 CONDITION_OPERATION
16-31 QUANTITY
32-63 Unused
17 TraderInstruction.FilterGasContains todo 0-31 0-7 Op_code
8-39 GAS_TYPES_BITFLAG
40-63 Unused
18 TraderInstruction.FilterGasNotContains todo 0-31 0-7 Op_code
8-39 GAS_TYPES_BITFLAG
40-63 Unused

Metadata Payloads

Since Metadata has 3 addresses, so it's referenced here as a 24 bytes(192 bits) payload.

BitsOffset 191-168 167-136 135-128 127-96 95-88 87-80 79-72 71-64 63-40 39-16 15-8 7-0
Contents N/A ContactTypeID Constant: 2. N/A Contacted
0: false
1: true
Contact Tier:
0: Close
1: Medium
2: Far
Shuttle Type:
0:None
1: Small(3x3)
2: SmallGas(3x3)
3: Medium(5x5)
4: MediumGas(5x5)
5: Large(6x6)
6: LargeGas(6x6)
7: MediumPlane(7x7, runway:15)
8: LargePlane(9x9, runway:20)
Constant: 3. N/A LifeTime WattsToResolve Constant: 4.

Buy/Sell Payloads

Buy/Sell Payloads are 1 address each, so it's referenced here as a 16 bytes(128 bit) payload.

BitsOffset 63-48 47-16 15-8 7-0
Contents N/A PrefabHash/GasTypeBitFlag Quantity
This value is truncated so it won't be greater than 255 although the trader's Request/Stock is more than 255.
OpCode
Which OpCode requested this data.

Buy/Sell Child Payloads

Buy/Sell Payloads are 1 address each, so it's referenced here as a 8 bytes(64 bit) payload.

BitsOffset 63-48 47-16 15-8 7-0
Contents N/A PrefabHash/GasTypeBitFlag ChildCount
Counts how many instances of this item appeared as a child item.
Beware it's not quantity, it's just a prefab type count.
OpCode
If this data is requested by TraderInstruction.WriteTraderBuyData, then it's value is the OpCode of TraderInstruction.TraderBuyThingChildData.
If this data is requested by TraderInstruction.WriteTraderSellData, then it's value is the OpCode of TraderInstruction.TraderSellThingChildData.

Gas Type BitFlags

If the BitFlag equals 0, it's undefined. If the bit at specific offset is 1, it means the gas contains that component.

BitsOffset 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Contents PollutedWater LiquidHydrogen Hydrogen LiquidNitrousOxide LiquidPollutant LiquidCarbonDioxide Steam LiquidVolatiles LiquidOxygen LiquidNitrogen NitrousOxide Water Pollutant Volatiles CarbonDioxide Nitrogen Oxygen

Special Gas:

  1. Bit 0,1 both set to 1, which is Air.
  2. Bit 0,3 both set to 1, is which Fuel.