Prototype/RobotWithLogisticInterface: Difference between revisions
Jump to navigation
Jump to search
(|optional=true) |
(1.1.37: destroy_action added) |
||
Line 24: | Line 24: | ||
{{Prototype property|shadow_in_motion|[[Types/RotatedAnimation|RotatedAnimation]]|optional=true}} | {{Prototype property|shadow_in_motion|[[Types/RotatedAnimation|RotatedAnimation]]|optional=true}} | ||
{{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}} |
Revision as of 18:49, 11 August 2021
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
in_motion
Type: RotatedAnimation
shadow_idle
Type: RotatedAnimation
shadow_in_motion
Type: RotatedAnimation
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