Notes, Roman numerals.

This commit is contained in:
Simon Forman 2024-04-14 10:16:39 -07:00
parent 41860ace77
commit 157a0b8c60
2 changed files with 36 additions and 11 deletions

View File

@ -172,4 +172,35 @@ seems dramatic.
The first and second options are easy to implement, the tooltip needs
positioning logic. Let's exercise the notebook...
Sat Apr 13 22:58:12 PDT 2024
We assume that each stellar system has all the energy and protons they
need so they can transmute elements. The products of a stellar system
are "spices", biomolecules, which require planets to have life, and art
which requires sentient life.
So a planet has, let's say, a bio-capacity, the maximum life it can
sustain (for whatever factors, temp etc.) and the basic mechanic is to
seed lifeless planets with life (using fast cheap robot probes/drones)
and then collect and trade spices.
Because acceleration is so expensive, we have "gates" that throw and
catch ships for sentient beings to travel. That way the ships don't have
to carry mass to eject for delta-vee or fuel to eject it, and I imagine
that dust and such is swept out of the regular routes.
But it's expensive to build a gate and you have to bootstrap.
So you start with a home system, two seeder drones, and one
ship-of-the-line for defense and you know, to have a ship.
You send out the drones to explore and bootstrap your local economy, fly
your other ship around to do...? Fun side quests? Allocate build power
to:
- more build power
- seed drones
- ships
- ?

View File

@ -121,19 +121,13 @@ def how_many_planets():
return n
def generate_planets_for_star(c, star_id):
n = how_many_planets()
if n < 1:
return
for ordo in range(1, n + 1):
for ordo in range(1, how_many_planets() + 1):
c.execute('insert into planets(ordo, star) values (?, ?)', (ordo, star_id))
ROMAN_NUMBERS = [
None,
'I', 'II', 'III', 'IV', 'V',
'VI', 'VII', 'VIII', 'IX', 'X',
'XI', 'XII', 'XIII', 'XIV', 'XV',
'XVI', 'XVII', 'XVIII', 'XIX', 'XX',
'XXI', 'XXII', 'XXIII', 'XXIV', 'XXV',
'XXVI', 'XXVII', 'XXVIII', 'XXIX',
None, # no zero, but this aligns entries and their indicies
'I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X',
'XI', 'XII', 'XIII', 'XIV', 'XV', 'XVI', 'XVII', 'XVIII', 'XIX', 'XX',
'XXI', 'XXII', 'XXIII', 'XXIV', 'XXV', 'XXVI', 'XXVII', 'XXVIII', 'XXIX',
]