Skip to content
Snippets Groups Projects
Commit 2972b2e2 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

v slave market

parent 6256957c
No related branches found
No related tags found
1 merge request!7611Markets to JS
......@@ -146,7 +146,6 @@ App.UI.buySlaves = function() {
App.UI.specificMarket({
market: store.marketType,
slaveMarket: 0,
slaveMarketLimit: 0,
newSlaves: [],
numArcology: 1
});
......
......@@ -17,16 +17,19 @@ App.UI.market = function() {
return span;
};
App.UI.specificMarket = function({market, slaveMarket, slaveMarketLimit, newSlaves = [], numArcology} = {}) {
App.UI.specificMarket = function({market, slaveMarket, newSlaves = [], numArcology} = {}) {
const el = new DocumentFragment();
// Temp
V.newSlaves = newSlaves;
// Sidebar
V.nextButton = "Back";
V.nextLink = "Buy Slaves";
V.returnTo = "Buy Slaves";
V.encyclopedia = "Kidnapped Slaves";
// Multi-Purchase Support
if (V.newSlaves.length > 0) {
if (newSlaves.length > 0) {
V.nextButton = "Continue";
V.nextLink = "Bulk Slave Intro";
V.returnTo = "Main";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment