Prototype/RobotWithLogisticInterface: Difference between revisions
(included abstract in description) |
(Noted that idle and in motion states only draw the first frame) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
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|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| | {{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 11:17, 16 May 2022
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