Prototype/PlayerPort: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (tile -> entity)
(1.1.51: Prototype/EntityWithOwner added)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
{{Prototype parent|Prototype/EntityWithOwner}}
[[File:playerport_entity.png|thumb|200px|right|A player port tile as seen in the [[map editor]].]]When a character dies, this entity will immediately respawn the character at the entities location, so there is no respawn time. If there are multiple player ports in the world, the character will respawn at the nearest player port to their death location.
[[File:playerport_entity.png|thumb|200px|right|A player port tile as seen in the [[map editor]].]]When a character dies, this entity will immediately respawn the character at the entities location, so there is no respawn time. If there are multiple player ports in the world, the character will respawn at the nearest player port to their death location.


Line 5: Line 5:


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


{{Prototype property|animation|[[Types/Animation|Animation]]}}
{{Prototype property|animation|[[Types/Animation|Animation]]}}

Revision as of 19:27, 21 January 2022

Template:Prototype parent

A player port tile as seen in the map editor.

When a character dies, this entity will immediately respawn the character at the entities location, so there is no respawn time. If there are multiple player ports in the world, the character will respawn at the nearest player port to their death location.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithOwner.

Template:Prototype property