Skip to main content

Wings (Power Type)

Grants the holder a pair of Icarus wings without them having to wear the item: flapping flight with a stamina bar that drains as you fly and refills on the ground.

Every field except wings_type defaults to whatever Icarus itself uses for that pair of wings, so a minimal power behaves exactly like the item.

Type ID: apoli:wings

note

This type needs Icarus and doesn't exist without it.

Fields

FieldTypeDefaultDescription
wings_typeIdentifier or Item StackrequiredThe wings to grant. An item ID is enough, and the object form lets you set components for a custom look.
staminaFloatthe wings' ownThe maximum stamina. Higher means longer flight before you have to land.
wings_speedFloatthe wings' ownHow hard a flap pushes you.
exhaustion_amountFloatthe wings' ownThe hunger exhaustion added per flap.
armor_slowsBooleanthe wings' ownWhether wearing armour slows flight.
max_slowed_multiplierFloatthe wings' ownHow much armour can slow you, when armor_slows is on.
max_height_above_worldIntegerthe wings' ownHow far above the build limit you can climb.

Examples

{
  "type": "apoli:wings",
  "wings_type": "icarus:feathered_wings"
}

These plain feathered wings behave exactly as the item does.

{
  "type": "apoli:wings",
  "wings_type": "icarus:phantom_membrane_wings",
  "stamina": 40.0,
  "wings_speed": 1.4,
  "armor_slows": false
}

This pair is tuned for an origin built around flight, with more stamina, more speed and no slowdown from armour.

{
  "type": "apoli:wings",
  "wings_type": "icarus:feathered_wings",
  "condition": {
    "type": "apoli:resource",
    "resource": "mypack:updraft",
    "comparison": ">",
    "compare_to": 0
  }
}

These wings only work while the mypack:updraft resource holds out, so flight becomes an ability to spend instead of a permanent one.