2016-04-04 17:10:40 -06:00
|
|
|
var Game = {};
|
|
|
|
G = Game;
|
|
|
|
|
2016-04-05 17:33:38 -06:00
|
|
|
G.player = {}; // Just a reference until G.player is created at rm_Ocean's load time.
|
|
|
|
G.oceanParticle = {}; // One ocean particle will exist at any time and move around the boat.
|
|
|
|
G.map = []; // List of island objects, generated/loaded and saved at game start, loaded on room start.
|
2016-04-06 14:41:40 -06:00
|
|
|
G.inventory = [];
|
|
|
|
G.stats = {
|
|
|
|
money: 100,
|
|
|
|
inventory: 5, // Maximum number of different things the inventory can hold.
|
|
|
|
speed: 1,
|
|
|
|
hull: 1,
|
|
|
|
popularity: 0,
|
|
|
|
haggling: 1,
|
|
|
|
crew: 1,
|
|
|
|
energy: 10
|
|
|
|
}
|
2016-04-04 17:10:40 -06:00
|
|
|
|
|
|
|
function loadGameManager () {}
|