Commit Graph

12351 Commits

Author SHA1 Message Date
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
Crypto City
fe7d6566d6 blockchain_import: fix typo 2020-11-22 23:25:49 +00:00
Crypto City
182863edc9 blob deduplication for scripts 2020-11-22 23:25:49 +00:00
Crypto City
3f71a7f3a3 WIP - wallet2: check imported multisig curve points are in main subgroup 2020-11-22 23:25:49 +00:00
Crypto City
a1e5a056cd cc: decrease military influence 2020-11-22 23:25:49 +00:00
Crypto City
16157bea87 remove JSON scripts, keep only custom format 2020-11-22 23:25:49 +00:00
Crypto City
60a6a6bf5c cc: add player operand, change "discovered by player" to "disdcoverer" 2020-11-22 23:25:49 +00:00
Crypto City
d1b06977dd cc: add ternary expression operand to scripts 2020-11-22 23:25:49 +00:00
Crypto City
7bad65991c cc: every script state can now have actions 2020-11-22 23:25:49 +00:00
Crypto City
628c459c87 game: fix cancelling set global variable screen preventing further use 2020-11-22 23:25:49 +00:00
Crypto City
f6498b3f05 db_lmdb: set last service height to current height on construction 2020-11-22 23:25:49 +00:00
Crypto City
7ccfa9a3ed script overrides
Strings and locals can be set to be parameterized
2020-11-22 23:25:49 +00:00
Crypto City
6fefb08447 cc: tweak mountaineer badge thresholds and express them in meters 2020-11-22 23:25:49 +00:00
Crypto City
e263542943 game: view script source button, and confirmation for new scripts 2020-11-22 23:25:49 +00:00
Crypto City
0898e11996 use CC_NO_EXTERNAL_DEPS on all urho3d/boost dependencies 2020-11-22 23:25:49 +00:00
Crypto City
80195fb627 functional_tests: fix functional tests 2020-11-22 23:25:49 +00:00
Crypto City
7ef0b0a422 fix off by one between command dry run and block verification 2020-11-22 23:25:49 +00:00
Crypto City
4449bbc0a4 db_lmdb: remove leftover debug trace 2020-11-22 15:27:07 +00:00
Crypto City
4dd1ed8458 wallet: add carve runestone command RPC 2020-11-22 15:27:07 +00:00
Crypto City
f1076b279f cc: a few script fixes, and remove not (simplifies grammar) 2020-11-22 15:27:07 +00:00
Crypto City
9ff58f684f scripts can now be attached to runestones 2020-11-22 15:27:07 +00:00
Crypto City
36d7937143 cc: fix scripts comments 2020-11-22 15:27:07 +00:00
Crypto City
a9c3979936 add a load_script function, which detects and loads the right format 2020-11-22 15:27:07 +00:00
Crypto City
d9b8b6dc84 weed out zero entries in a few maps (budget, inventory, attributes) 2020-11-22 15:27:07 +00:00
Crypto City
b530681553 python-rpc: add a state to get a database's state in a dict 2020-11-22 15:27:07 +00:00
Crypto City
dde3bf4c4a functional_tests: fix typo in item count retrieval 2020-11-22 15:27:07 +00:00
Crypto City
15a65eeb3f cc: add account data lookup, previously lost somehow 2020-11-22 15:27:07 +00:00
Crypto City
8368ca212e daemon: add special event in cc_get_city output 2020-11-22 15:27:07 +00:00
Crypto City
70420b9b4b daemon: display merged mined flag in print_bc 2020-11-22 15:27:07 +00:00
Crypto City
dc8f5c7d16 game: only show materials we have the backing items for 2020-11-22 15:27:07 +00:00
Crypto City
8c40728115 change firefighting to service when appropriate 2020-11-22 15:27:07 +00:00
Crypto City
04f467def6 runestones
Currently only a player written message
2020-11-22 15:27:07 +00:00
Crypto City
abc6e85063 cc: add public keyword to scripts 2020-11-22 15:27:07 +00:00
Crypto City
6be6793027 rpc: fix mortgaged flag typo 2020-11-22 15:27:07 +00:00
Crypto City
b28e610444 README: add flex/bison dependencies 2020-11-22 15:27:07 +00:00
Crypto City
36cb7e47f5 wallet2: fix loading a bad game account taking a block to recover 2020-11-22 15:27:07 +00:00
Crypto City
d994c57ddd db_lmdb: remove obsolete code 2020-11-22 15:27:07 +00:00