You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LOGIC.md
+30
Original file line number
Diff line number
Diff line change
@@ -15,3 +15,33 @@ Commands that simply read data from the system will return the data immediately.
15
15
The original bnt performed system updates server side by executing the scheduler via cron. The plan for bnt2 is to still use cron (or a cron-like service) to add a system update commands to the queue - which would then be executed by the queue runner.
16
16
This again removes the threat of some race conditions and also allows for dealing with the possibility of heavy system load.
17
17
18
+
## Ship numbers
19
+
20
+
- hull: is the size of the hull dictating cargo capacity but also target size
21
+
- engines: motive forces for the ship aids in both defensive and offensive capabilities as well.
22
+
- power: provides energy for engines, weapons, shields and cloak - too low and these dependent systems will suffer and perform at a degraded level
23
+
- computer: enhances offensive capabilities and sensor analysis
24
+
- sensors: provides scanning information and potentially sees past adversarial cloaks
- shields: regenerative defensive system - regenerates between combat sessions
27
+
- armour: ablative defensive system - must be repaired to restore damage
28
+
- cloak: a system that hides the ship from others
29
+
30
+
## Planet numbers
31
+
32
+
- planets with no player_id are unowned and can be claimed by players
33
+
- shields and weapons are similar to the values for ships but can be much larger (in theory)
34
+
- commodity quantities, production facilities are stored in the production table
35
+
36
+
### Combat
37
+
38
+
- offensive and defensive are both a function of computer, engines, hull, sensors and cloak
39
+
- offensive is modified by weapons
40
+
- defensive is modified by shields and armour
41
+
- damage inflicted is a direct function of weapons, modified by computer and sensors.
42
+
- damage sustained is opponent's inflicted damage, modified by shields and armour.
43
+
- damage is applied first to shields and then to armour.
44
+
- if armour is reduced to zero, the ship is destroyed.
45
+
- when a ship is destroyed, if the fleet's cargo capacity is reduced below the current cargo carried, random cargo is jettisoned until the capacity limit is met.
46
+
- jettisoned cargo may be salvaged by the attacker
47
+
- if there are defender aligned fleets or planets in the same sector as the combat - they join as defenders in the combat.
0 commit comments