Outpost: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 64: | Line 64: | ||
border-top: none; | border-top: none; | ||
} | } | ||
/* ===== FOR-SALE TABLE ===== */ | |||
.output-row { | |||
display: flex; | |||
font-size: 13px; | |||
color: #9fb0c3; | |||
padding: 4px 0; | |||
border-top: 1px solid #1a222b; | |||
} | |||
.output-row.output-header { | |||
font-weight: 700; | |||
color: #e6edf3; | |||
} | |||
.col-name { flex: 1; padding-right: 8px; } | |||
.col-cost { flex: 1; text-align: right; } | |||
.mw-tab-content { | .mw-tab-content { | ||
display: none; | display: none; | ||
| Line 111: | Line 125: | ||
title: "Deadsville", | title: "Deadsville", | ||
lines: [ | lines: [ | ||
"<b>Location:</b> 6006, -5524", | "<b>Location:</b> 6006, -5524", | ||
"<b>Story:</b> James and Hannah Garland, a pioneering couple, discovered this haven untouched by Stardust while journeying from Meyer's Market. The decided to settle there, naming the sanctuary Deadsville. Together, they constructed fortifications, cultivated the land, and welcomed wandering survivors, establishing a modest post-apocalyptic waypoint.", | "<b>Story:</b> James and Hannah Garland, a pioneering couple, discovered this haven untouched by Stardust while journeying from Meyer's Market. The decided to settle there, naming the sanctuary Deadsville. Together, they constructed fortifications, cultivated the land, and welcomed wandering survivors, establishing a modest post-apocalyptic waypoint." | ||
], | |||
"Healing Syringe: 60EL (5 Weekly)", | forSale: [ | ||
"Wheat: 20EL (3 Daily)", | { name: "Healing Syringe", cost: "60EL (5 Weekly)" }, | ||
"Roasted Vegetables: 110EL (2 Daily)", | { name: "Wheat", cost: "20EL (3 Daily)" }, | ||
"Roasted Meat: 110EL (2 Daily)", | { name: "Roasted Vegetables", cost: "110EL (2 Daily)" }, | ||
"1/1 Logging Beaver: 2000EL", | { name: "Roasted Meat", cost: "110EL (2 Daily)" }, | ||
"Mini Reflect Sight: 1000EL", | { name: "1/1 Logging Beaver", cost: "2000EL" }, | ||
"Basic Suppressor: 1000EL", | { name: "Mini Reflect Sight", cost: "1000EL" }, | ||
"Compact Flashlight: 1000EL", | { name: "Basic Suppressor", cost: "1000EL" }, | ||
"Formula Fashion Mannequin: 1000EL", | { name: "Compact Flashlight", cost: "1000EL" }, | ||
"Formula Passcode Lock: 1000EL", | { name: "Formula Fashion Mannequin", cost: "1000EL" }, | ||
"Formula Reward Crate: 1000EL", | { name: "Formula Passcode Lock", cost: "1000EL" }, | ||
"Formula Normal Work Chair: 1000EL", | { name: "Formula Reward Crate", cost: "1000EL" }, | ||
"Formula Folk Guitar: 1000EL", | { name: "Formula Normal Work Chair", cost: "1000EL" }, | ||
"Formula Clue Log: 1000EL", | { name: "Formula Folk Guitar", cost: "1000EL" }, | ||
"Formula American Low Cabinet: 2000EL", | { name: "Formula Clue Log", cost: "1000EL" }, | ||
"Formula Pot Plant 1: 2000EL", | { name: "Formula American Low Cabinet", cost: "2000EL" }, | ||
"Scarlet Dragon Set: 50 Lightforge Medal", | { name: "Formula Pot Plant 1", cost: "2000EL" }, | ||
"Namecard Ace Investigator: 20 Lightforge Medal", | { name: "Scarlet Dragon Set", cost: "50 Lightforge Medal" }, | ||
"Namecard Theme Ace Investigator: 15 Lightforge Medal", | { name: "Namecard Ace Investigator", cost: "20 Lightforge Medal" }, | ||
"Avatar Ace Investigator: 15 Lightforge Medal", | { name: "Namecard Theme Ace Investigator", cost: "15 Lightforge Medal" }, | ||
"Pistol Body V: 1 Old Currency (1 Weekly)", | { name: "Avatar Ace Investigator", cost: "15 Lightforge Medal" }, | ||
"Shotgun Body V: 1 Old Currency (1 Weekly)", | { name: "Pistol Body V", cost: "1 Old Currency (1 Weekly)" }, | ||
"Medium-Caliber Weapon Body V: 1 Old Currency (3 Weekly)", | { name: "Shotgun Body V", cost: "1 Old Currency (1 Weekly)" }, | ||
"Sniper Rifle Body V: 1 Old Currency (1 Weekly)", | { name: "Medium-Caliber Weapon Body V", cost: "1 Old Currency (3 Weekly)" }, | ||
"Protective Lining V: 1 Old Currency (2 Weekly)", | { name: "Sniper Rifle Body V", cost: "1 Old Currency (1 Weekly)" }, | ||
"Limb Lining V: 1 Old Currency (2 Weekly)", | { name: "Protective Lining V", cost: "1 Old Currency (2 Weekly)" }, | ||
"Bulletproof Lining V: 1 Old Currency (2 Weekly)", | { name: "Limb Lining V", cost: "1 Old Currency (2 Weekly)" }, | ||
"Recipe: Whimsical Drink (Gold): 1 Old Currency", | { name: "Bulletproof Lining V", cost: "1 Old Currency (2 Weekly)" }, | ||
"Recipe: Whimsical Drink (Purple): 1 Old Currency", | { name: "Recipe: Whimsical Drink (Gold)", cost: "1 Old Currency" }, | ||
"Recipe: Crumbly Bread: 1 Old Currency", | { name: "Recipe: Whimsical Drink (Purple)", cost: "1 Old Currency" }, | ||
"Recipe: Stargazy Pie: 1 Old Currency", | { name: "Recipe: Crumbly Bread", cost: "1 Old Currency" }, | ||
"Recipe: Stardust Pumpkin Salad: 1 Old Currency", | { name: "Recipe: Stargazy Pie", cost: "1 Old Currency" }, | ||
"Recipe: Mixed Fried Hotdog: 1 Old Currency", | { name: "Recipe: Stardust Pumpkin Salad", cost: "1 Old Currency" }, | ||
"Recipe: Signature Ice Brew: 1 Old Currency", | { name: "Recipe: Mixed Fried Hotdog", cost: "1 Old Currency" }, | ||
"Recipe: French Fries: 1 Old Currency", | { name: "Recipe: Signature Ice Brew", cost: "1 Old Currency" }, | ||
"Recipe: Stardust Ratatouille: 1 Old Currency", | { name: "Recipe: French Fries", cost: "1 Old Currency" }, | ||
"Recipe: Bone-in Deviation Sausage: 1 Old Currency", | { name: "Recipe: Stardust Ratatouille", cost: "1 Old Currency" }, | ||
"Recipe: Assorted Canned Fruit: 1 Old Currency", | { name: "Recipe: Bone-in Deviation Sausage", cost: "1 Old Currency" }, | ||
"Recipe: Canned Meat: 1 Old Currency", | { name: "Recipe: Assorted Canned Fruit", cost: "1 Old Currency" }, | ||
"Recipe: Stardust Raspberry Shaved Ice: 1 Old Currency", | { name: "Recipe: Canned Meat", cost: "1 Old Currency" }, | ||
"Recipe: Fat-Burning Juice: 1 Old Currency", | { name: "Recipe: Stardust Raspberry Shaved Ice", cost: "1 Old Currency" }, | ||
"Recipe: Fish & Chips: 1 Old Currency", | { name: "Recipe: Fat-Burning Juice", cost: "1 Old Currency" }, | ||
"Recipe: Borscht Deluxe: 1 Old Currency", | { name: "Recipe: Fish & Chips", cost: "1 Old Currency" }, | ||
"Recipe: Seafood and Meat Platter: 1 Old Currency", | { name: "Recipe: Borscht Deluxe", cost: "1 Old Currency" }, | ||
"Recipe: Preserved Deviated Chops: 1 Old Currency", | { name: "Recipe: Seafood and Meat Platter", cost: "1 Old Currency" }, | ||
"Recipe: Ice Tea: 1 Old Currency", | { name: "Recipe: Preserved Deviated Chops", cost: "1 Old Currency" }, | ||
"Recipe: Stardust Italian Soup Can: 1 Old Currency", | { name: "Recipe: Ice Tea", cost: "1 Old Currency" }, | ||
"Recipe: Shellfish Meat: 1 Old Currency", | { name: "Recipe: Stardust Italian Soup Can", cost: "1 Old Currency" }, | ||
"Recipe: Honey Glazed Pizza: 1 Old Currency", | { name: "Recipe: Shellfish Meat", cost: "1 Old Currency" }, | ||
"Recipe: Safety Sandwich: 1 Old Currency", | { name: "Recipe: Honey Glazed Pizza", cost: "1 Old Currency" }, | ||
"Recipe: Stargazy Pizza: 1 Old Currency", | { name: "Recipe: Safety Sandwich", cost: "1 Old Currency" }, | ||
"Recipe: Butter Matsutake Mushrooms: 1 Old Currency", | { name: "Recipe: Stargazy Pizza", cost: "1 Old Currency" }, | ||
"Recipe: Popcorn: 1 Old Currency", | { name: "Recipe: Butter Matsutake Mushrooms", cost: "1 Old Currency" }, | ||
"Recipe: Ginger Poppers: 1 Old Currency", | { name: "Recipe: Popcorn", cost: "1 Old Currency" }, | ||
"Recipe: Flaming Eggtart: 1 Old Currency", | { name: "Recipe: Ginger Poppers", cost: "1 Old Currency" }, | ||
"Recipe: Hearty Meat Stew: 1 Old Currency", | { name: "Recipe: Flaming Eggtart", cost: "1 Old Currency" }, | ||
"Recipe: Ginger Drop: 1 Old Currency", | { name: "Recipe: Hearty Meat Stew", cost: "1 Old Currency" }, | ||
"Recipe: Sparkling Pumpkin Soup: 1 Old Currency", | { name: "Recipe: Ginger Drop", cost: "1 Old Currency" }, | ||
"Recipe: Canned Minty Meat: 1 Old Currency", | { name: "Recipe: Sparkling Pumpkin Soup", cost: "1 Old Currency" }, | ||
"Recipe: Canned Spicy Rabbit Dices: 1 Old Currency", | { name: "Recipe: Canned Minty Meat", cost: "1 Old Currency" }, | ||
"Recipe: Stardust Tea: 1 Old Currency", | { name: "Recipe: Canned Spicy Rabbit Dices", cost: "1 Old Currency" }, | ||
"Recipe: Stardust Mushroom Soup: 1 Old Currency", | { name: "Recipe: Stardust Tea", cost: "1 Old Currency" }, | ||
"Rescue Bot: 1 Old Currency" | { name: "Recipe: Stardust Mushroom Soup", cost: "1 Old Currency" }, | ||
{ name: "Rescue Bot", cost: "1 Old Currency" } | |||
] | ] | ||
} | } | ||
| Line 194: | Line 208: | ||
} | } | ||
const item = data[val]; | const item = data[val]; | ||
let html = `<div class="output-title">${item.title}</div>`; | |||
if (item.lines && item.lines.length) { | |||
item.lines.map(line => `<div class="output-line">${line}</div>`).join(""); | html += item.lines.map(line => `<div class="output-line">${line}</div>`).join(""); | ||
} | |||
if (item.forSale && item.forSale.length) { | |||
html += `<div class="output-line" style="text-align:center;"><b>What's For Sale:</b></div>`; | |||
html += `<div class="output-row output-header"><div class="col-name">Name</div><div class="col-cost">Cost</div></div>`; | |||
html += item.forSale.map(s => `<div class="output-row"><div class="col-name">${s.name}</div><div class="col-cost">${s.cost}</div></div>`).join(""); | |||
} | |||
output.innerHTML = html; | |||
output.style.display = "block"; | output.style.display = "block"; | ||
}; | }; | ||