Commit Graph

11919 Commits

Author SHA1 Message Date
Crypto City
55fe24377a game: add %C (city name) to script control codes 2020-11-29 23:38:02 +00:00
Crypto City
1db6b89794 cc: add unary predicates for item types to scripts 2020-11-29 23:38:02 +00:00
Crypto City
6eb067af06 cc: add not script operator 2020-11-29 23:38:02 +00:00
Crypto City
97a152b5e7 game: add a border around script rows 2020-11-29 23:38:02 +00:00
Crypto City
adb94dbedb game: do not busy RPC for the current runestone when there is none 2020-11-29 23:38:02 +00:00
Crypto City
b71e877698 game: fix removing a runestone with overrides 2020-11-29 23:38:02 +00:00
Crypto City
a32818b297 cc: make a few operand parameters operands themselves 2020-11-29 23:38:02 +00:00
Crypto City
565995e127 cc: add owner item inventory operands 2020-11-29 23:38:02 +00:00
Crypto City
a4e8d12f68 cc: reserves can be configured, and items types/count are operands 2020-11-29 23:38:02 +00:00
Crypto City
9eea9901f8 cc: count coins/gems in reserves for prestige 2020-11-29 23:38:02 +00:00
Crypto City
00f71f75c7 game: replace VariantMapVector with Vector of VariantMap 2020-11-29 23:38:02 +00:00
Crypto City
4cc456225e game: initialize script configuration screen with existing configuration 2020-11-29 23:38:02 +00:00
Crypto City
e709969c39 cc: check script actions refer to valid items 2020-11-29 23:38:02 +00:00
Crypto City
ca89bc433f game: fix redundant height info in building settings screen 2020-11-29 23:38:02 +00:00
Crypto City
5db151d830 tx_pool: remove stuck orders on a schedule 2020-11-29 23:38:02 +00:00
Crypto City
171858da4c cc: balance changes 2020-11-29 23:38:02 +00:00
Crypto City
e21f521283 functional_tests: fix occasional failure due to firewood burning 2020-11-26 19:48:41 +00:00
Crypto City
1d4273c31e add prestige ranking and bonus from subsidy
also fix a couple bugs in coin collection scoring
2020-11-26 19:48:41 +00:00
Crypto City
9d24044370 rpc: add a cc_get_stats RPC 2020-11-22 23:25:50 +00:00
Crypto City
4efbc970f0 tb: fix enter/space not triggering buttons 2020-11-22 23:25:50 +00:00
Crypto City
981286b060 tb: fix leftover turquoise box on some edit fields 2020-11-22 23:25:50 +00:00
Crypto City
accda4481e functional_tests: add test for the total amount of gold 2020-11-22 23:25:50 +00:00
Crypto City
cf6a626937 auction creation and bidding, auction flags on mortgage default 2020-11-22 23:25:50 +00:00
Crypto City
dd434d46d4 functional_tests: only mine past the coin minting window if necessary 2020-11-22 23:25:50 +00:00
Crypto City
4ba0fe2080 functional_tests: fix occasional discovery test failure 2020-11-22 23:25:50 +00:00
Crypto City
95fc22b372 cc: add missing event when giving a flag 2020-11-22 23:25:50 +00:00
Crypto City
d726c70317 cc: remove duplicate check in give command 2020-11-22 23:25:50 +00:00
Crypto City
fd025cc295 cc: check all referenced states exist 2020-11-22 23:25:50 +00:00
Crypto City
203ecd44d6 functional_tests: expand script test 2020-11-22 23:25:50 +00:00
Crypto City
70420f0c3d cc: fix missing != condition 2020-11-22 23:25:50 +00:00
Crypto City
3c62823105 python-rpc: fix blob hash recording when there are no blobs 2020-11-22 23:25:50 +00:00
Crypto City
e6e0be698d game: print running script name on window title 2020-11-22 23:25:50 +00:00
Crypto City
d8362d78eb fix script command revert 2020-11-22 23:25:50 +00:00
Crypto City
d5ebfbc092 blockchain: fix random seed when popping commands 2020-11-22 23:25:50 +00:00
Crypto City
91d09e545e More script work, especially with blob deduplication 2020-11-22 23:25:50 +00:00
Crypto City
b2b89c6d00 cc: fix init actions indent in generated code 2020-11-22 23:25:50 +00:00
Crypto City
12f8afbff5 cc: add random script operand 2020-11-22 23:25:50 +00:00
Crypto City
562396990f cc: fix string overrides being lost on script choice revert 2020-11-22 23:25:50 +00:00
Crypto City
6ecd8bf054 fix multiple changes to the same variable in scripts 2020-11-22 23:25:50 +00:00
Crypto City
551b339226 game: fix crash cycling through buildings 2020-11-22 23:25:50 +00:00
Crypto City
21c1cac492 game: mention the 70% threshold in the repair dialog 2020-11-22 23:25:50 +00:00
Crypto City
1def4cd6da cc: fix roadworks discoveries not giving expected bonuses 2020-11-22 23:25:50 +00:00
Crypto City
d7996c99cf game: fix integer overflow in payout estimation 2020-11-22 23:25:50 +00:00
Crypto City
49b4385eae cc: more accurate payout determination 2020-11-22 23:25:50 +00:00
Crypto City
ba682aa23f game: link local script variables to widget ids 2020-11-22 23:25:50 +00:00
Crypto City
fb02b0b0de cc: add a temperature calculation cache
since it queries a largeish number of database entries
2020-11-22 23:25:50 +00:00
Crypto City
ca1d37ba7d cc: add temperature to script operands 2020-11-22 23:25:50 +00:00
Crypto City
0197fc9abd game: do not show custom items with 0 supply in the trade screen 2020-11-22 23:25:50 +00:00
Crypto City
7c82e82247 make a function to check for restricted command types 2020-11-22 23:25:49 +00:00
Crypto City
fc43e99043 db_tests: new tests to test low level LMDB blockchain calls 2020-11-22 23:25:49 +00:00