Items - picardrulez/textAdventure GitHub Wiki

There are three groups of items: Weapons, Armor, and Consumables. Each type has two tables, one string table hosting the name of the items, and an int table hosting the various values of the item.

Weapons

weapons[NUM_WEAPONS];
weapon_prop[weapon_prop_row][weapon_prop_col];
Weapons contain the following attributes: Item number, Max Damage, Uses, Speed, Rarity, Price.

Item ItmNum MxDmg Uses Spd Rar Prc
Sword 0 5 50 6 100 3
Iron Sword 1 11 75 4 85 7
Steel Sword 2 17 100 3 50 10
Great Sword 3 25 300 1 5 15
Axe 4 8 75 8 75 5
Iron Axe 5 15 100 6 50 9
Steel Axe 6 23 100 5 30 12
Great Axe 7 30 300 4 5 17
Hammer 8 12 100 10 50 7
Iron Hammer 9 18 150 8 25 11
Steel Hammer 10 27 200 7 10 15
Great Hammer 11 40 300 6 5 20
Dart 12 5 1 2 40 2

Armor

inv_armor[NUM_ARMOR];
armor_prop[armor_prop_row][armor_prop_col];
Armor contain the following attributes: Item number, Armor Class, Uses, Rarity, Price.

Item ItmNum AC Uses Rar Prc
Helm 0 3 50 100 5
Iron Helm 1 5 75 75 7
Steel Helm 2 7 100 50 10
Gauntlets 3 1 50 100 2
Iron Gauntlets 4 3 75 75 5
Steel Gauntlets 5 4 100 50 8
Boots 6 1 50 100 2
Riding Boots 7 1 20 75 5
Iron Boots 8 4 75 75 5
Steel Boots 9 7 100 50 7
Breast Plate 10 5 50 100 10
Iron Breast Plate 11 7 75 75 13
Steel Breast Plate 12 9 100 50 17

Consumables

inv_consum[NUM_CONSUM];
consum_prop[consum_prop_row][consum_prop_col];
Armor contain the following attributes: Item number, Health Adjusted, Magic Adjusted, Hinderence Points, Uses, Rarity, Price.

Item ItmNum HlthAdj MgcAdj HinPt Uses Rar Prc
Healing Potion 0 2 0 0 1 70 5
Greater Healing Potion 1 5 0 0 3 30 8
Magic Potion 2 0 2 0 1 70 5
Greater Magic Potion 3 0 5 0 3 30 8
Booze 4 4 0 1 1 70 1
Party Liquor Brown 5 8 0 4 10 20 10
Party Liquor Clear 6 8 0 4 10 20 10
Small Rations 7 4 0 0 1 55 1
Large Rations 8 8 0 0 1 35 5
Mushrooms 9 5 5 2 1 50 3
⚠️ **GitHub.com Fallback** ⚠️