Voxel Game Maker

Docs Cookbook

Armor

Make an armor item (Items tab) and equip it as armor (% less damage taken).

#Without code

  1. Make an armor item (Items tab) and equip it as armor (% less damage taken).
  2. Put it in a chest or shop, or place it as a Pickup.

#Quick code

Where it goes: on a guard, Event: Player presses E.

if equipped("armor") == "" then
  popup("You'll want some armor out there.")
else
  popup("Nice " .. equipped("armor") .. "!")
end