Supermarket
- What is Supermarket?
Supermarket is a simple supermarket management simulation game.
The game is [open source on GitHub](https://github.com/kerrishaus/supermarket).
- How to play
The objective of the game is maintain a positive reputation for your supermarket(s).
As customers visit your supermarket, there are several factors that will influence your supermarket's reputation. These factors range from the time it takes for their total trip, to the amount of stock for any given item.
- Containers
Containers are tiles that store items, so that living entities can take them.
- SodaMachine
- TomatoStand
- Max: 3 - Interval: 3
- Save Format
This page details the current save format for the game only. Previous save formats are not recorded here.
The format consumed by the game is JavaScript spec JSON, but this page also provides ObjGen format JSON for easy modification.
This is the initial game save, in JSON. ``` {
"version":1,
"shop":{
"type":1,
"money":25,
"maxCustomers":20,
"timeUntilNextCustomer":14,
"timeSinceLastCustomer":0,
"minTimeUntilNextCustomer":7,
"maxTimeUntilNextCustomer":20,
"lifeSales":0,
"lifeCustomers":0,
"lifeReputation":0,
"tiles":[
{
"type":"tomatoStand",
"position":{
"x":0,
"y":0,
"z":0
},
"amount":0
},
{
"type":"recycleBin",
"position":{
"x":-9,
"y":9,
"z":0
},
"amount":0
}
],
"customers":[
{
"reputation":0,
"position":{
"x":0,
"y":0,
"z":0
},
"rotation":{
"x":0,
"y":0,
"z":0
},
"carriedItems":[
{
"type":"tomato"
}
],
"actions":[
{
"name":"",
"type":"",
"amount":0,
"container":0,
"position":{
"x":0,
"y":0,
"z":0
}
}
]
}
],
"employees":[
{
"position":{
"x":0,
"y":0,
"z":0.5
},
"rotation":{
"x":0,
"y":0,
"z":0
},
"carriedItems":[
{
"type":"tomato"
}
],
"actions":[
{
}
]
}
]
},
"player":{
"position":{
"x":0,
"y":0,
"z":0.5
},
"rotation":{
"x":0,
"y":0,
"z":0
},
"carriedItems":[
{
"type":"tomato",
"position":{
"x":0,
"y":0,
"z":0
}
}
]
}
} ```