More changes to menuing, added a basic inventory
system
This commit is contained in:
parent
f732586c24
commit
6ca88b7c6f
4 changed files with 90 additions and 12 deletions
|
|
@ -50,7 +50,15 @@ var isSick = false;
|
|||
var sickPoints = 0; // If you accumulate 50 sick points you lose
|
||||
var sickSeverity = 0; // 3 levls, starting at 1
|
||||
|
||||
var inventory = []; // Max of 5 items
|
||||
//Player inventory
|
||||
//Record all items in the player's inventory as objects with a name, item category, value, and boolean properties. Example below.
|
||||
//{name: "example", category: "testItems", value: 300, use: true, eat: false, drop: true, equip: true}
|
||||
var inventory = [
|
||||
//Supplies
|
||||
[],
|
||||
//Equipment
|
||||
[]
|
||||
];
|
||||
|
||||
var lootTables = [[],[],[],[],[]] // Only small things like food and ammo, 5 Loot tables per scavenge score, 3 items in each, first is best
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue