Published
Edited
Aug 12, 2019
Importers
5 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
cards = [{
title: 'Debris',
color: 'red',
type: 'EVENT',
icon: 'lorc/striking-balls',
text: {cost: ['event'], effect: 'Deal 1 damage to your spaceship.'}
}, {
title: 'Force Field',
color: 'red',
type: 'TECH',
icon: 'lorc/bubble-field',
text: {cost: ['red'], effect: 'Add 1 shield point to target spaceship. *(Shield points are lost if damaged.)*'}
}, {
title: 'Single Event Effect',
color: 'blue',
type: 'EVENT',
icon: 'lorc/lightning-arc',
text: {cost: ['event'], effect: 'Discard a card.'}
}, {
title: 'Radiation Hardening',
color: 'blue',
type: 'EVENT',
icon: 'lorc/processor',
text: {cost: ['blue'], effect: `Increase your hand size by one card for the remainder of the expedition.
Exhaust.`}
}, {
title: 'Stressful Cohabitation',
color: 'cyan',
type: 'EVENT',
icon: 'delapouite/confrontation',
text: {cost: ['event'], effect: `Each player stuns a member of their crew.`}
}, {
title: 'Joint Workforce',
color: 'cyan',
type: 'TECH',
icon: 'delapouite/shaking-hands',
text: {cost: ['cyan'], effect: `Each player adds a robot to their crew.

Take another action.`}
}, {
title: 'Meteor',
color: 'yellow',
type: 'EVENT',
icon: 'lorc/fragmented-meteor',
text: {cost: ['event'], effect: 'Deal 2 damage to target structure you own in standby.'}
}, {
title: 'Meteorite',
color: 'yellow',
type: 'LOCATION',
icon: 'lorc/rock',
text: {cost: ['yellow'], effect: `Add 2 materia.

${reminder['location']}`}
}, {
title: 'Tidal Anomaly',
color: 'blue',
type: 'EVENT',
icon: 'lorc/moon',
text: {cost: ['event'], effect: 'Increase all FTL jump costs by 1 materia.'}
}, {
title: 'Tidal Calendar',
color: 'blue',
type: 'VIRTUAL TECH',
icon: 'lord-berandas/diagram',
text: {cost: ['blue'], effect: `Reduce your FTL jump cost to 1 materia.

Exhaust.`}
}, {
title: 'Habitable Zone',
color: 'white',
type: 'LOCATION',
icon: 'delapouite/river',
text: {cost: ['white'], effect: `Explore, then take another action.

${reminder['location']}`}
}, {
title: 'Materia Deposit',
color: 'white',
type: 'LOCATION',
icon: 'lorc/crystal-growth',
text: {cost: ['white','white'], effect: `Add 3 materia.

Exhaust.

${reminder['location']}`}
}, {
title: 'Embargo Station',
color: 'white',
type: 'HOSTILE SPACESHIP',
icon: 'delapouite/defense-satellite',
text: {effect: `No spaceship can leave the planet.`},
hp: 2
}, {
title: 'Missile Launcher',
color: 'red',
type: 'STRUCTURE',
icon: 'delapouite/rocket-thruster',
text: {cost: ['red'], effect: `This card starts the expedition in standby.

Deal 1 damage to target spaceship.`},
hp: 1
}, {
title: 'Ground Ground Missile',
color: 'red',
type: 'TECH',
icon: 'lorc/rocket',
text: {cost: ['red'], effect: `Deal 2 damage to target structure in standby.

Exhaust.`}
}, {
title: 'Hivorians Carrier',
color: 'green',
type: 'HOSTILE SPACESHIP - VIRUS',
icon: 'lorc/gooey-daemon',
text: {effect: `Whenever a player explores, that player shuffles a *Hivorian Virus* card into their deck.`},
hp: 2
}, {
title: 'Hivorian Virus',
color: 'green',
type: 'EVENT - VIRUS',
icon: 'lorc/gooey-molecule',
text: {cost: ['event'], effect: `Stun target crew member you control.

Add a copy of this card to your standby pile.`}
}, {
title: 'Hivorian Vaccine',
color: 'green',
type: 'TECH',
icon: 'lorc/syringe',
text: {cost: ['green','white'], effect: `Remove all VIRUS cards from target player's hand, deck and standby pile.

Deal 1 damage to target VIRUS spaceship, if any.`}
}, {
title: 'Outpost',
color: 'red',
type: 'STRUCTURE',
icon: 'delapouite/barracks',
text: {cost: ['red'], effect: `Add a soldier to your crew.`},
hp: 2
}, {
title: 'Biodome',
color: 'green',
type: 'STRUCTURE',
icon: 'delapouite/habitat-dome',
text: {cost: ['green'], effect: `Add a stunned crew member of any type of your choice to your crew.`},
hp: 2
}, {
title: 'Robot Factory',
color: 'yellow',
type: 'STRUCTURE',
icon: 'delapouite/factory-arm',
text: {cost: ['yellow','materia'], effect: `Add 2 robots to your crew.`},
hp: 1
}, {
title: 'Pyromaniac Aliens',
color: 'white',
type: 'HOSTILE SPACESHIP',
icon: 'lorc/pyromaniac',
text: {effect: `Whenever a player explores, that player shuffles a *Fire* card into their deck.`},
hp: 2
}, {
title: 'Fire',
color: 'yellow',
type: 'EVENT - HEAT',
icon: 'lorc/small-fire',
text: {cost: ['event'], effect: `If you have no structures in standby, remove this card.

Deal 1 damage to target structure you own in standby.`}
}, {
title: 'Heat Shield',
color: 'yellow',
type: 'TECH',
icon: 'lorc/metal-scales',
text: {cost: ['yellow','materia'], effect: `Grant *Heatproof* to target spaceship or structure in standby.

*(Damage dealt by HEAT cards to cards having Heatproof is reduced by 1.)*`}
}, {
title: 'Eureka',
color: 'blue',
type: 'TECH',
icon: 'lorc/light-bulb',
text: {cost: ['blue'], effect: `Play target card having a danger mark on it either from your hand or from the planet queue.

Exhaust.`}
}, {
title: 'Dangerous Passage',
color: 'white',
type: 'LOCATION',
icon: 'delapouite/cave-entrance',
text: {cost: ['white'], effect: `Add 2 materia.

Explore. *(You don't get another action after exploring.)*

${reminder['location']}`}
}]
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
colors = ({
red: {name: 'red', main: '#e54545', dark: '#7f1212', fg: '#e0b4b4', bg: '#683333'},
green: {name: 'green', main: '#73d216', dark: '#3a6a0c', fg: '#c8d9c8', bg: '#2c4230'},
blue: {name: 'blue', main: '#325bc1', dark: '#182b5a', fg: '#cacbda', bg: '#3d3e5a'},
cyan: {name: 'cyan', main: '#60d9c6', dark: '#1f707a', fg: '#cbdbdb', bg: '#2f4747'},
purple: {name: 'purple', main: '#a35c9b', dark: '#703f6a', fg: '#d2bed0', bg: '#5e465b'},
yellow: {name: 'yellow', main: '#febb00', dark: '#a76000', fg: '#f4dec0', bg: '#634d1c'},
white: {name: 'white', main: 'none', dark: '#4f4f4f', fg: '#d8d8d8', bg: '#4f4f4f'}
})
Insert cell
Insert cell
symbols = {
var index = {}
var meeples = await Promise.all(colors_array.map(color => game_icon('delapouite/meeple', {fill: color.main, stroke: color.dark, 'stroke-width': 30, background: 'none', w: 35, h: 35}) ))
colors_array.forEach((color, i) => {
index[color.name] = meeples[i].outerHTML
})
var event = await game_icon('lorc/hazard-sign', {fill: 'black', stroke: 'none', background: 'none', w: 35, h: 35})
index['event'] = event.outerHTML
var destroyed = await game_icon('sbed/cancel', {fill: 'black', stroke: 'none', background: 'none', w: 35, h: 35})
index['destroyed'] = destroyed.outerHTML
var materia = await game_icon('skoll/diamonds', {fill: 'white', stroke: '#666', 'stroke-width': 50, background: 'none', w: 35, h: 35})
index['materia'] = materia.outerHTML
return index
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
d3 = require('d3@5')
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more