User Tools

Site Tools



Mapcraft - Fantasy map designer

WorldGen - SciFi universe generator

Mapcraft Web - Web based fantasy map designer

All code for the project is released under the GPL, and is copyright Samuel Penn.

The text on this wiki is dual licensed CC-BY-SA and GPL.

You can contact the author at


This is an old revision of the document!


Part of the WorldGen system needs to simulate trade within the universe. The type of trade is governed by the Resources available, however the agents performing the trading are ships.

Trade flow is modelled as individual ships, and each one is tracked as it moves between systems. This gives rich information on what the current state of things are (e.g., which ships are in a given star system, which may be useful from an RPG perspective), and also a history of what has gone before.

Events are logged from the point of view of agents.

SpacePorts can track events within a system, and how well things are tracked depend on the following:

Target Event
5 Taking off from the planet.
10 Landing on the planet.
10 Entering orbit.
20 Jumping out.
30 Jumping in.

Knowing jump distance: +5/parsec

Knowing jump destination: +10/parsec

The spaceport makes a check to notice events, based on the following. The port size governs the attribute, the tech level governs the skill.

Port PER
E 1
D 3
C 5
B 7
A 9
Tech Skill
1-2 0
3-4 1
5-6 2
7 3
+1 +1
worldgen/simulation.1246360161.txt.gz · Last modified: 2015/02/04 22:39 (external edit)