Prototype/Cliff: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Converted to SMW format)
Line 1: Line 1:
{{Prototype parent|Prototype/Entity}}
{{Prototype parent|Prototype/Entity}}
A [[cliff]].


== Basics ==
{{Prototype TOC|cliff}}
Prototype type: '''cliff'''
 
Extends [[Prototype/Entity]].


== Mandatory properties ==
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/Entity]].
This prototype inherits all the properties from [[Prototype/Entity]].


=== orientations ===
{{Prototype property|orientations|[[Types/table|table]] of [[Types/OrientedCliffPrototype|OrientedCliffPrototype]]}}
'''Type''': [[Types/table]] of [[Types/OrientedCliffPrototype]]
 
Table with the following members:
Table with the following members:


* west_to_east - [[Types/OrientedCliffPrototype]] - Mandatory.
* west_to_east - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* north_to_south - [[Types/OrientedCliffPrototype]] - Mandatory.
* north_to_south - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* east_to_west - [[Types/OrientedCliffPrototype]] - Mandatory.
* east_to_west - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* south_to_north - [[Types/OrientedCliffPrototype]] - Mandatory.
* south_to_north - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* west_to_north - [[Types/OrientedCliffPrototype]] - Mandatory.
* west_to_north - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* north_to_east - [[Types/OrientedCliffPrototype]] - Mandatory.
* north_to_east - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* east_to_south - [[Types/OrientedCliffPrototype]] - Mandatory.
* east_to_south - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* south_to_west - [[Types/OrientedCliffPrototype]] - Mandatory.
* south_to_west - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* west_to_south - [[Types/OrientedCliffPrototype]] - Mandatory.
* west_to_south - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* north_to_west - [[Types/OrientedCliffPrototype]] - Mandatory.
* north_to_west - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* east_to_north - [[Types/OrientedCliffPrototype]] - Mandatory.
* east_to_north - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* south_to_east - [[Types/OrientedCliffPrototype]] - Mandatory.
* south_to_east - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* west_to_none - [[Types/OrientedCliffPrototype]] - Mandatory.
* west_to_none - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* none_to_east - [[Types/OrientedCliffPrototype]] - Mandatory.
* none_to_east - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* north_to_none - [[Types/OrientedCliffPrototype]] - Mandatory.
* north_to_none - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* none_to_south - [[Types/OrientedCliffPrototype]] - Mandatory.
* none_to_south - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* east_to_none - [[Types/OrientedCliffPrototype]] - Mandatory.
* east_to_none - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* none_to_west - [[Types/OrientedCliffPrototype]] - Mandatory.
* none_to_west - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* south_to_none - [[Types/OrientedCliffPrototype]] - Mandatory.
* south_to_none - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.
* none_to_north - [[Types/OrientedCliffPrototype]] - Mandatory.
* none_to_north - [[Types/OrientedCliffPrototype|OrientedCliffPrototype]] - Mandatory.


=== grid_size ===
{{Prototype property|grid_size|[[Types/vector|vector]]}}
'''Type''': [[Types/vector]]


=== grid_offset ===
{{Prototype property|grid_offset|[[Types/vector|vector]]}}
'''Type''': [[Types/vector]]


== Optional properties ==
== Optional properties ==


=== cliff_height ===
{{Prototype property|cliff_height|[[Types/float|float]]|4|optional=true}}
'''Type''': [[Types/float]]
 
'''Default''': 4
 
=== cliff_explosive ===
'''Type''': [[Types/string]]


Name of an capsule that has a robot_action to explode cliffs.
{{Prototype property|cliff_explosive|[[Types/string|string]]|optional=true}}
Name of a capsule that has a robot_action to explode cliffs.

Revision as of 20:16, 29 July 2019

Template:Prototype parent A cliff.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/Entity.

Template:Prototype property Table with the following members:

Template:Prototype property

Template:Prototype property

Optional properties

Template:Prototype property

Template:Prototype property Name of a capsule that has a robot_action to explode cliffs.