Prototype/LogisticRobot: Difference between revisions
(|optional=true) |
(Updated styling of prototype doc migration note) |
||
(3 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/LogisticRobotPrototype.html https://lua-api.factorio.com/latest/prototypes/LogisticRobotPrototype.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/RobotWithLogisticInterface}} | {{Prototype parent|Prototype/RobotWithLogisticInterface}} | ||
A [[logistic robot]]. | A [[logistic robot]]. | ||
Line 8: | Line 14: | ||
{{Prototype property|idle_with_cargo|[[Types/RotatedAnimation|RotatedAnimation]]|optional=true}} | {{Prototype property|idle_with_cargo|[[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|in_motion_with_cargo|[[Types/RotatedAnimation|RotatedAnimation]]|optional=true}} | {{Prototype property|in_motion_with_cargo|[[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_with_cargo|[[Types/RotatedAnimation|RotatedAnimation]]|optional=true}} | {{Prototype property|shadow_idle_with_cargo|[[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|shadow_in_motion_with_cargo|[[Types/RotatedAnimation|RotatedAnimation]]|optional=true}} | {{Prototype property|shadow_in_motion_with_cargo|[[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. | |||
== Mandatory values == | == Mandatory values == | ||
Logistic robots must have a collision box size of zero. | Logistic robots must have a collision box size of zero. |
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/LogisticRobotPrototype.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 » Prototype/LogisticRobot
Optional properties
This prototype inherits all the properties from Prototype/RobotWithLogisticInterface.
idle_with_cargo
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_with_cargo
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_with_cargo
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_with_cargo
Type: RotatedAnimation
Only the first frame of the animation is drawn. This means that the graphics for the in_motion state cannot be animated.
Mandatory values
Logistic robots must have a collision box size of zero.