Solarus quests
1.6
Quest maker's reference
|
This is some fire whose sprite hurts enemies.
You can create this type of map entity only dynamically with map:create_fire(). It cannot be declared in the map data file.
Fire is typically created with an equipment item like a lamp.
Fire hurts enemies that are sensible to it. It does not hurt the hero.
Fire can also be detected by non-playing characters: this is useful to implement a torch as a generalized %NPC that interacts with fire.
Fire entities are particular map entities. Therefore, they inherit all methods from the type map entity.
See Methods of all entity types to know these methods.
None.
Events are callback methods automatically called by the engine if you define them.
Fire entities are particular map entities. Therefore, they inherit all events from the type map entity.
See Events of all entity types to know these events.
None.