summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-04-28 23:58:15 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:16 +0200
commit05c6b647cc2c628755d03ecf3532777b65bd377b (patch)
tree045c511ba01fc2133b04fb3df2202c98c4ae1789
parent024da16265c6edd76eb53b790602ab5384d4f8ba (diff)
downloadandean-abyss-05c6b647cc2c628755d03ecf3532777b65bd377b.tar.gz
Add missing log line for free Bribe.
-rw-r--r--rules.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/rules.js b/rules.js
index b21ac8b..368875e 100644
--- a/rules.js
+++ b/rules.js
@@ -1,17 +1,9 @@
"use strict"
-// TODO: free Bribe (event 60) needs logging info
-
-// TODO: log_br after free op/special
-
// TODO: if Assault and no valid assault targets, only allow air lift to enable Assault
// TODO: can_...operation - for space = ... check them all / can_rally - check that it is dept/city etc
-// Captured Good - may not remove
-// Commandeer - may not remove
-// Contraband - if removed - cartels decide who gets it
-
const AUTOMATIC = true
const PATROL_UNDO = true
@@ -2598,6 +2590,7 @@ states.ship_limop = {
}
function end_operation() {
+ log_br()
if (game.op.ship && is_any_shipment_held()) {
push_undo()
game.state = "ship"
@@ -5686,6 +5679,7 @@ function vm_free_bribe() {
game.sa.where = game.vm.s
game.sa.targeted = 0
game.state = "bribe_space"
+ log_space(game.sa.where, "Bribe")
}
function goto_bribe() {