Space Station Idle is a web-based idle game based on Melvor Idle, and set in the Space Station 13 universe.
This repository has not been set up well for community contribution. In addition there's very little public documentation on implementation right now...
BUT, if you want to contribute anyway, pull requests are open!
npm install
npm run serve
./deployGit.sh
! Requires admin access to the repository
./deployAws.sh
! Requires signed in AWS account, aws configure
TODO: Fill out with item items, actions, enemies, etc...
- Create and populate job data and actions in a new file under the
src/data/
folder - Add the job in the
src/data/jobs.js
file - Create and populate new item data in a new file under the
src/data/items/
folder - Add the items in the
src/data/items.js
file - Create a module for the job in a new file under the
src/state/
- Add the job module in the
src/state/store.js
file. Note that it must be added as both a module and in the initial state - Add a new content file for the job under
src/components/content/
- Add the new file in the
src/components/content/ContentWrapper.vue
file
There are multiple valid ways to make drop tables:
A) As a string with just the itemId : a single item of that type will always be dropped
item: 'iron'
B) As an object with a static count: a static number of that type will be dropped
items: {
id: 'iron',
count: 2
}
C) As an object with a range count: any number of items between that range (inclusive) will be dropped
items: {
id: 'iron',
count: [0, 5]
}
D) As multiple weighted objects in a list: the higher the weight of the item, the more likely it is to drop. The weights do not need to add up to 100. Previous count syntax is also applicable, though not required.
itemTable: [
{
id: "iron",
count: [1, 3],
weight: 6
}, {
id: "silver",
count: 2,
weight: 2
}, {
id: "gold",
weight: 1
},
{
id: null,
weight: 1
}
]
E) As multiple lists of other combinations: You can have more than one type of item drop by defining multiple item tables, each with their own chance.
itemTables: [
{
chance: 1,
item: 'iron'
},
{
chance: 0.1,
items: {
id: 'silver',
count: [0, 2]
}
},
{
chance: 0.01,
itemTable: [
{
id: 'gold',
weight: 3
},
{
id: 'titanium',
weight: 1
}
]
}
]