Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
component:inventory_slots [2018/09/27 02:59]
payonel
component:inventory_slots [2018/09/27 03:02] (current)
payonel
Line 23: Line 23:
 ===External View of a Robot Inventory=== ===External View of a Robot Inventory===
  
-Slot indexes of a robot'​s inventory to an outside observer will be offset by 4. To an outside observer, slots 1 through 4 refer to slots in the robot toolbelt. The first slot of the main inventory is slot 1 from inside the robot (internal view), but is thus slot 5 to an outside observer. Yes, this can be confusing at first. This design choice was made so that, to an outside observer, [slot 1] always indicated the first tool item regardless of the robot inventory size, and [slot 5] was always the first.+Slot indexes of a robot'​s inventory to an outside observer will be offset by 4. To an outside observer, slots 1 through 4 refer to slots in the robot toolbelt. The first slot of the main inventory is slot 1 from inside the robot (internal view), but is thus slot 5 to an outside observer. Yes, this can be confusing at first. This design choice was made so that, to an outside observer, [slot 1] always indicated the first toolbelt slot regardless of the robot inventory size, and [slot 5] was always the first main inventory slot.
  
 The robot inventory, again to an external observer, is sided inventory. The robot will not share all its inventory to all sides. Slot indexes __do not__ change to these different sides. Slot 1, therefore, always refers to the first toolbelt slot, even when inaccessible to a side. The robot inventory, again to an external observer, is sided inventory. The robot will not share all its inventory to all sides. Slot indexes __do not__ change to these different sides. Slot 1, therefore, always refers to the first toolbelt slot, even when inaccessible to a side.
  
 * From its left side it share nothing. * From its left side it share nothing.
-* From its right sideit shares only its toolbelt slots (1-5) +* From its right side it shares only its toolbelt slots (1-5) 
-* From all other sidesit shares only its main inventory slots (5-n)+* From all other sides it shares only its main inventory slots (5-n)