This commit is contained in:
Paul Liverman III 2019-03-07 13:18:26 -08:00
commit ac9af23765
4 changed files with 235 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.lua

View File

@ -0,0 +1,2 @@
Sabotaged Equipment
Water Leak: lose 1o per turn until ???

69
notes.txt Normal file
View File

@ -0,0 +1,69 @@
Cards are always a choice.
Resources
- fuel F (commonly required to escape things? used to make energy)
- energy (0-4) E (essentially ship health?)
- organic o (used to sustain life support)
- catalyst C (can be used to repair equipment?)
- structure S (both as a resource and ship health, as things that damage you take away structure)
Draw cards, choose to play or discard.
Most cards have a positive with a negative chance or a negative with a positive chance.
- Some may be required to play, or have alternate negatives depending on discard or play.
Some cards only have a positive, but require resources to use.
When a location card is drawn, it has effects that last until the next location card is drawn? Or an immediate effect.
- Lose 1 organic when moving to a new location? (How about 1E,1o,1F)
Equipment can be constructed and lost..?
What should cards do? Fuck with resources? Fuck with future cards?
Scanner: Always can see the name of the next card. Requires 3 structure, 2 catalyst, 1 energy.
Fuel Cell: 2S,3C,5F Allows you to use 5F to gain 1E.
Ion Drive: Allows you to use energy instead of fuel?
Black Hole: Requires 5F to avoid.
Red Dwarf: Can scoop 2F? May cause damage (loss of structure).
(white dwarf, blue giant, main sequence yellow star, brown dwarf, gas giant, hot Jupiter,
cold Jupiter, ringed asteroid, comet, diamond planet, carbon star, neutron star)
- Gaseous bodies should allow collection of 1F when discarded, but have riskier options?
Solar Panels: Gain 1E at any star type card.
Hydrogen: Gain 1F, 5% chance of losing half your fuel.
Lithium: Catalyst
Uranium: 12F, 5% chance of losing half of O or C or S.
Deep Space Radio: Always see the next location name?
- or warning for alien encounter?
Hull Breach: Lose 2S or one equipment?
Clone Bay: Allows survival of character death.
Hostile Planet: ?
Crash Landing: ?
Platinum: Catalyst
Palladium: Catalyst
Carbon: Organic
Sulfur: Organic
Structures: Iron, Cobalt(?), Titanium, Copper, Aluminium
Alien Relic
Magnometer
Spectrometer: doubles next collection of a resource?
Nuclear Reactor
Buggy Software: disables random equipment OR destroys half of random resource
Gamma Ray Burst
Radioactive Planet
Water World: source of organics?
Desert Planet
Gyroscope
Jungle Planet
Dustball Planet
Frozen Planetoid
Abandoned Space Station
Alien Shipyard
Dyson Swarm
Solar Sail
Alien Probe
Hyperdrive?
Deflector Shield
Advanced Landing System (eliminates negatives from rocky worlds' resource collection)
Pebblebed Reactor (use other types from Aurora)
Cloaking Device (waves negatives from alien encounters?)
Shields that reduce damage? Or divert damage to energy?
Different reactors or whatever can produce energy at different rates.
Themed expansions? Firefly, Borg, Star Trek, Star Wars, BSG

163
src/main.moon Normal file
View File

@ -0,0 +1,163 @@
-- default left is "Discard"
{
{
title: "Scanner"
description: "Costs 1 energy per location. Always see the title of the next card."
right: {
"Build", structure: -3, catalyst: -2
move: (ship) -> ship.energy -= 1
}
type: "equipment"
}
{
title: "Fuel Cell"
description: "Uses 2 fuel to create 1 energy when you have less than 2 energy and more than 2 fuel."
right: {
"Build", structure: -2, catalyst: -3
dt: (ship) ->
if ship.energy < 2 and ship.fuel > 2
ship.energy += 1
ship.fuel -= 2
}
type: "equipment"
}
{
title: "Ion Drive"
description: "Ship can use 2 energy instead of 1 fuel when traveling."
right: {
"Build", structure: -1, catalyst: -4
move: (ship) ->
if ship.fuel < 2 -- no secondary check on purpose
ship.energy -= 2
ship.fuel += 1
}
type: "equipment"
}
{
title: "Black Hole"
description: "A black void. You might be able to siphon energy from the swirling trail of light and material falling into its event horizon."
left: { "Retreat to Safe Distance", fuel: -1 }
right: {
"Siphon Energy", fuel: -2, energy: 3
once: (ship) -> ship.fuel -= 3 if ship.random! < 0.2
}
type: "location"
subtype: "stellar remnant"
}
{
title: "Solar Panels"
description: "Gain 1 energy per star location."
right: {
"Build", structure: -4, catalyst: -2
move: (ship) -> ship.energy += 1 if ship.locationType == "star"
}
type: "equipment"
}
{
title: "Red Dwarf"
description: "The smallest, coolest, longest-lived stars in the galaxy. You might be able to even siphon a little fuel from them."
right: {
"Siphon Energy", energy: -1
once: (ship) -> ship.irradiate(2) if ship.random! < 0.1
}
type: "location"
subtype: "star"
}
{
title: "Ablative Shielding"
description: "This will protect you from the next encounter with a source of radiation."
right: { "Build", structure: -1, organic: -2 }
type: "equipment"
subtype: "radiation"
}
{
title: "Brown Dwarf"
description: "A failed star. You might be able to recover something from the upper atmosphere."
right: {
"Search", fuel: -1
once: (ship) ->
ship.structure += 1 if ship.random! < 0.2
ship.organic += ship.random(1, 2) if ship.random! < 0.2
ship.fuel += ship.random(1, 2) if ship.random! < 0.2
ship.energy -= 1 if ship.random! < 0.2
}
type: "location"
subtype: "stellar remnant"
}
{
title: "Neutron Star"
description: "The dying core of a massive star. You may be able to scoop material from the surrounding space."
right: {
"Search", fuel: -2
once: (ship) ->
ship.structure += ship.random(1, 2) if ship.random! < 0.2
ship.catalyst += ship.random(1, 2) if ship.random! < 0.2
ship.organic += ship.random(1, 2) if ship.random! < 0.2
ship.energy -= 1 if ship.random! < 0.2
}
type: "location"
subtype: "star"
}
{
title: "Hydrogen"
description: "You detect fuel in the nearby space."
right: {
"Scoop Fuel", energy: -2
once: (ship) -> ship.fuel += ship.random(2,5) if ship.random! < 0.8
}
type: "resource"
}
{
title: "Lithium"
description: "A useful catalyst. Dangerous in water."
left: "Leave It"
right: { "Scoop Catalyst", catalyst: 2 }
type: "resource"
}
{
title: "Uranium"
description: "An effective - yet dangerous - source of fuel."
left: "Leave It"
right: {
"Attempt Recovery", fuel: 6
once: (ship) -> ship.irradiate(2) if ship.random! < 0.2
}
type: "resource"
subtype: "radiation"
}
{
title: "Deep Space Telescope"
description: "Always see the next location type."
right: { "Build", structure: -3, energy: -3 }
type: "equipment"
}
{
title: "Hull Breach"
description: "Something went wrong and part of the ship has been depressurized."
immediate: { structure: -3 }
left: {
"Repair Slowly", organic: -2
}
right: {
"Repair Quickly", energy: -1
once: (ship) ->
ship.structure += 1 if ship.random! < 0.1
ship.structure -= 1 if ship.random! < 0.2
ship.energy -= 1 if ship.random! < 0.1
}
type: "event"
}
{
title: "Clone Bay"
description: "Continue in a new body after death."
right: {
"Build", structure: -1, organic: -3, energy: -2
}
type: "equipment"
subtype: "organic"
}
{
title: "Crash Landing"
description: "Attempt to"
}
}