Vǫrðr Forge Steam page

Characters and Gameplay

Loot Per Enemy

What an enemy leaves behind when it falls is chosen per enemy type, on Edit > Project Settings > ENEMIES > Loot. An enemy type can have a list of drops, a Drop Stock, both, or neither.

The Loot page. The type Foe has two drops.
The Loot page. The type Foe has two drops.

The drop list

  1. Pick the enemy Type at the top.
  2. Press Add Drop. A Drop 1 group appears.
  3. Choose the Item from the project's items.
  4. Set Chance (percent), Min and Max.
Item
Any item of the project. See Items and Equipment.
Chance
How often this drop falls, from 0 to 100 percent. Each drop rolls by itself.
Min, Max
How many fall when it does. The count is rolled between the two.
Remove
Takes the drop off the list.

A type with a list drops exactly what its list says. No gear is rolled for it.

A type with no list says No drops: the ladder's roll, and takes its loot from the loot ladder below. Projects made before the list existed drop what they always did.

Drop Stock

A Drop Stock is a fixed bag: every item in it falls, every time, unless you give its row a chance. Edit Drop Stock opens the picker for the picked type.

The Drop Stock of the type Foe.
The Drop Stock of the type Foe.

Pick an item on the left and press >> to put it in the stock; << takes the picked one out. Coin dropped is money that falls with it. Done goes back to the Loot page.

Each row of the stock has a percent box left of its count, 100% when it is new. Click it and type the chance that row falls, from 0 to 100; an empty box is 100. Each row rolls once at each death, by itself, and when it falls its whole count falls. Where a page lists the stock (the Loot page, a placed enemy's or a villager's Properties), a row with a chance shows it after the item: Wolf Pelt x2 50%.

A type's stock is the file assets/data/drops/<Type>.vfa; a row with a chance under 100 has a chance field. A placed enemy with a tag of its own drops the stock named for its tag instead. Villagers have a Drop Stock too; see Killable Characters.

Gold

Every fallen enemy also drops coin: a few coins times its tier's coin number on the ladder. A tier whose coin is 0 drops none. Gold picture chooses the picture the coin wears on the ground, from the project's currencies.

The loot ladder

The ladder is what a type with no list drops. It has three numbers for each tier (Regular, Elite, Legendary, Mythical and Boss):

gear
The percent chance that gear falls at all.
count
How many pieces fall when it does.
coin
The coin multiplier.

Two switches sit above it:

Gear drops
Off: no gear is rolled for any enemy. Enemies leave their own lists, their Drop Stock and their coin. A new project starts with it off.
Rarity
Off: nothing is rolled and no rarity names or colours are shown anywhere in the project; drops are exactly what is listed. On: the ladder's gear comes from The Loot Forge.

In play

When an enemy falls, its coin, the drops that passed their chance and its Drop Stock land on the ground where it stood. Walk over them to pick them up.

A calm character struck down (Killable Characters) drops its own Drop Stock and also its type's drop list from this page, each row by its chance.

The files

assets/data/enemies.vfa holds each type's list, one drop field per drop: the item's id, the chance, the least and the most.

comp kind Foe -1 -
field drop wolf_pelt 100 1 1
field drop healing_draught 50 1 2

A Drop Stock row with a chance:

comp drop wolf_pelt -1 -
field qty 2
field chance 50

game.vdc holds the two switches, geardrops on|off and rarity on|off.