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() { ...@@ -146,7 +146,6 @@ App.UI.buySlaves = function() {
App.UI.specificMarket({ App.UI.specificMarket({
market: store.marketType, market: store.marketType,
slaveMarket: 0, slaveMarket: 0,
slaveMarketLimit: 0,
newSlaves: [], newSlaves: [],
numArcology: 1 numArcology: 1
}); });
......
...@@ -17,16 +17,19 @@ App.UI.market = function() { ...@@ -17,16 +17,19 @@ App.UI.market = function() {
return span; return span;
}; };
App.UI.specificMarket = function({market, slaveMarket, slaveMarketLimit, newSlaves = [], numArcology} = {}) { App.UI.specificMarket = function({market, slaveMarket, newSlaves = [], numArcology} = {}) {
const el = new DocumentFragment(); const el = new DocumentFragment();
// Temp
V.newSlaves = newSlaves;
// Sidebar // Sidebar
V.nextButton = "Back"; V.nextButton = "Back";
V.nextLink = "Buy Slaves"; V.nextLink = "Buy Slaves";
V.returnTo = "Buy Slaves"; V.returnTo = "Buy Slaves";
V.encyclopedia = "Kidnapped Slaves"; V.encyclopedia = "Kidnapped Slaves";
// Multi-Purchase Support // Multi-Purchase Support
if (V.newSlaves.length > 0) { if (newSlaves.length > 0) {
V.nextButton = "Continue"; V.nextButton = "Continue";
V.nextLink = "Bulk Slave Intro"; V.nextLink = "Bulk Slave Intro";
V.returnTo = "Main"; 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