Prototype/RobotWithLogisticInterface: Difference between revisions
(included abstract in description) |
(Updated styling of prototype doc migration note) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/RobotWithLogisticInterfacePrototype.html https://lua-api.factorio.com/latest/prototypes/RobotWithLogisticInterfacePrototype.html] | |||
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div> | |||
{{Prototype parent|Prototype/FlyingRobot}} | {{Prototype parent|Prototype/FlyingRobot}} | ||
The common properties of logistic and construction robots represented by an abstract prototype. | The common properties of logistic and construction robots represented by an abstract prototype. | ||
Line 11: | Line 17: | ||
This prototype inherits all the properties from [[Prototype/FlyingRobot]]. | This prototype inherits all the properties from [[Prototype/FlyingRobot]]. | ||
{{Prototype property| | {{Prototype property|max_payload_size|[[Types/ItemCountType|ItemCountType]]}} | ||
{{Prototype property| | {{Prototype property|cargo_centered|[[Types/vector|vector]]}} | ||
== Optional properties == | |||
{{Prototype property| | {{Prototype property|idle|[[Types/RotatedAnimation|RotatedAnimation]]|optional=true}} | ||
Only the first frame of the animation is drawn. This means that the graphics for the idle state cannot be animated. | |||
{{Prototype property| | {{Prototype property|in_motion|[[Types/RotatedAnimation|RotatedAnimation]]|optional=true}} | ||
Only the first frame of the animation is drawn. This means that the graphics for the in_motion state cannot be animated. | |||
{{Prototype property|shadow_idle|[[Types/RotatedAnimation|RotatedAnimation]]|optional=true}} | |||
Only the first frame of the animation is drawn. This means that the graphics for the idle state cannot be animated. | |||
{{Prototype property| | {{Prototype property|shadow_in_motion|[[Types/RotatedAnimation|RotatedAnimation]]|optional=true}} | ||
Only the first frame of the animation is drawn. This means that the graphics for the in_motion state cannot be animated. | |||
= | {{Prototype property|destroy_action|[[Types/Trigger|Trigger]]|optional=true}} | ||
Applied when the robot expires (runs out of energy and [[Prototype/FlyingRobot#speed_multiplier_when_out_of_energy|speed_multiplier_when_out_of_energy]] is 0). | |||
{{Prototype property|draw_cargo|[[Types/bool|bool]]|true|optional=true}} | {{Prototype property|draw_cargo|[[Types/bool|bool]]|true|optional=true}} |
Latest revision as of 10:43, 21 September 2023
The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/RobotWithLogisticInterfacePrototype.html
This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/FlyingRobot » Prototype/RobotWithLogisticInterface
The common properties of logistic and construction robots represented by an abstract prototype.
Extensions
- Prototype/ConstructionRobot construction-robot
- Prototype/LogisticRobot logistic-robot
Mandatory properties
This prototype inherits all the properties from Prototype/FlyingRobot.
max_payload_size
Type: ItemCountType
cargo_centered
Type: vector
Optional properties
idle
Type: RotatedAnimation
Only the first frame of the animation is drawn. This means that the graphics for the idle state cannot be animated.
in_motion
Type: RotatedAnimation
Only the first frame of the animation is drawn. This means that the graphics for the in_motion state cannot be animated.
shadow_idle
Type: RotatedAnimation
Only the first frame of the animation is drawn. This means that the graphics for the idle state cannot be animated.
shadow_in_motion
Type: RotatedAnimation
Only the first frame of the animation is drawn. This means that the graphics for the in_motion state cannot be animated.
destroy_action
Type: Trigger
Applied when the robot expires (runs out of energy and speed_multiplier_when_out_of_energy is 0).
draw_cargo
Type: bool
Default: true