Started islands and items.
This commit is contained in:
parent
3719e69ba3
commit
914168459c
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
|
@ -7,7 +7,8 @@ G.map = []; // List of island objects, generated/loaded and saved at game start,
|
||||||
G.inventory = [];
|
G.inventory = [];
|
||||||
G.stats = {
|
G.stats = {
|
||||||
money: 100,
|
money: 100,
|
||||||
inventory: 5, // Maximum number of different things the inventory can hold.
|
inventory: 3, // Maximum number of different things the inventory can hold.
|
||||||
|
hold: 20, // Maximum number of each individual kind of thing in the inventory.
|
||||||
speed: 1,
|
speed: 1,
|
||||||
hull: 1,
|
hull: 1,
|
||||||
popularity: 0,
|
popularity: 0,
|
||||||
|
@ -15,5 +16,7 @@ G.stats = {
|
||||||
crew: 1,
|
crew: 1,
|
||||||
energy: 10
|
energy: 10
|
||||||
}
|
}
|
||||||
|
G.itemSheet = new Image();
|
||||||
|
G.itemSheet.src = "images/items_sheet.png";
|
||||||
|
|
||||||
function loadGameManager () {}
|
function loadGameManager () {}
|
||||||
|
|
|
@ -1 +1,6 @@
|
||||||
function islandPrefab() {}
|
function islandPrefab() {}
|
||||||
|
|
||||||
|
var pr_island = OS.P.Add("Island", {
|
||||||
|
solid: true,
|
||||||
|
imageSrc: "images/island.png"
|
||||||
|
});
|
||||||
|
|
Loading…
Reference in New Issue