Commit Graph

252 Commits

Author SHA1 Message Date
Crypto City
25cc1bf99a game: plug palette editor in import flow 2021-09-21 12:18:18 +00:00
Crypto City
18ab361e8b give spread to match command matcher 2021-09-14 19:59:41 +00:00
Crypto City
6794309459 functional_tests: ensure number of blocks to mine is integer 2021-09-01 15:12:13 +00:00
Crypto City
f309f1422c fix sync failure when popping a game update block, but only it 2021-08-21 16:11:28 +00:00
Crypto City
85319d34a8 functional_tests: improve reorg test 2021-08-21 16:11:28 +00:00
Crypto City
19b9af508f functional_tests: some more trader order book tests 2021-08-21 14:44:33 +00:00
Crypto City
83ebf8aad4 improve third party matching 2021-08-18 22:38:51 +00:00
Crypto City
9079a293d0 functional_tests: fix fire test sometimes breaking 2021-08-16 10:36:46 +00:00
Crypto City
5206ea2ec3 fix hunts conflicting with each other 2021-08-12 11:01:35 +00:00
Crypto City
b5f7cd94af functional_tests: fix firefighting test 2021-08-12 11:01:35 +00:00
Crypto City
ca01aa2221 functional_tests: add basic tests for firefighting 2021-07-23 09:10:52 +00:00
Crypto City
42f430cf08 functional_tests: test derelict buildings 2021-07-20 19:41:53 +00:00
Crypto City
21676e11be functional_tests: add tests for cc_is_invitation_used 2021-07-07 19:58:22 +00:00
Crypto City
5c29d4356c fix hunting allowing an empty building as condition 2021-07-06 20:50:44 +00:00
Crypto City
da83f01ff4 make dividend command more flexible
it can optionally distribute to unowned items only, as well as
pay per item rather than split
2021-07-06 12:52:33 +00:00
Crypto City
ea37a84d86 functional_tests: fix city spec tests failing due to too high level 2021-07-05 16:33:54 +00:00
Crypto City
bf5e9909d2 fix inventory bug with mortgages that mature while being auctioned 2021-06-24 08:50:19 +00:00
Crypto City
1928507a29 functional_tests: fix auction bid fee 2021-06-24 08:49:53 +00:00
Crypto City
449ec733d3 event badges can now have a custom design 2021-05-29 12:32:20 +00:00
Crypto City
135742961f add logging/quarrying/maintenance discoveries 2021-05-14 17:22:13 +00:00
Crypto City
8249a86017 add badge for number of cities built in 2021-04-27 18:15:30 +00:00
Crypto City
0e3a6ba8c8 functional_tests: fix python3 compatibility 2021-04-27 18:15:30 +00:00
Crypto City
907636077e functional_tests: more generous timeout for the large sync 2021-04-27 18:15:30 +00:00
Crypto City
514bec111b store better info (counterparties, all flags/items, fee) in game events
also make balance signed so we can distinguish income and expenditures,
add missing/incorrect event data
2021-04-27 18:15:30 +00:00
Crypto City
e8f35a87c8 halve block time for user friendliness in gameplay 2021-04-22 23:18:32 +00:00
Crypto City
56155d4154 functional_tests: add more tests 2021-04-16 11:15:51 +00:00
Crypto City
618388ccab items can now be auctioned 2021-04-15 11:12:21 +00:00
Crypto City
7eafb335b1 do not reuse flags, it only leads to mistakes in history 2021-04-12 13:48:34 +00:00
Crypto City
f2cf26638d invitations can now be tied to a particular recipient address 2021-04-11 10:22:59 +00:00
Crypto City
2392c7d372 functional_tests: add item ownership checks 2021-04-10 00:06:37 +00:00
Crypto City
cf9246ab08 functional_tests: fix random failure in discoveries test 2021-04-10 00:06:37 +00:00
Crypto City
f1fd56f172 functional_tests: give a bit more leeway in wood stocks 2021-04-10 00:06:37 +00:00
Crypto City
2eec2f6371 fix farming not being bothered by not having enough heating material
also fix demolishing a farm while a crop is being grown
2021-04-06 10:46:37 +00:00
Crypto City
dccf609e29 functional_tests: a mortgaged flag can't be demolished, given, traded 2021-04-04 19:42:38 +00:00
Crypto City
b5277a67ef functional_tests: more runestone tests: demolish, remove blocks 2021-04-02 22:54:56 +00:00
Crypto City
1a8055684e rpc: remove obsolete width/height in cc_demolish 2021-04-02 22:54:56 +00:00
Crypto City
6d5b0222cf add runestone carving tests 2021-04-02 22:54:56 +00:00
Crypto City
c663b3b6b6 armour plate various commands' verification code 2021-04-02 15:17:28 +00:00
Crypto City
e3b256215f functional_tests: add test for fractional amount of gold in item 2021-03-26 20:37:15 +00:00
Crypto City
6261344b9a remove mime_type from custom items, and add gold content 2021-03-25 14:37:56 +00:00
Crypto City
5b2e27b2ad functional_tests: fix accounting error 2021-03-25 13:54:24 +00:00
Crypto City
8354848ec8 custom item secondary descriptions can now be updated 2021-03-23 23:36:38 +00:00
Crypto City
20b806a964 rpc: add cc_is_custom_item_data RPC 2021-03-23 23:36:38 +00:00
Crypto City
59da6694be rpc: add a cc_get_predefined_item_info RPC 2021-03-13 19:50:44 +00:00
Crypto City
6be4416f10 functional_tests: fix occasional failure from tx misordering 2021-03-13 10:45:46 +00:00
Crypto City
afc4f6f913 new cc_get_item_ownership RPC and daemon command 2021-03-13 10:45:46 +00:00
Crypto City
b8d4836f2a add optional hash and MIME type to custom items, and add cc_item_info command 2021-03-13 10:45:46 +00:00
Crypto City
3ffe13df7d extra land tax for lots left empty for more than 10 days 2021-03-13 10:45:46 +00:00
Crypto City
49faf95c40 fix flag destruction not keeping full state 2021-02-03 16:26:08 +00:00
Crypto City
56d5455d9b functional_tests: fix some python2/python3 differences 2021-02-03 16:26:08 +00:00
Crypto City
d9e81d0c5b cc: remove obsolete transportation discoveries 2021-02-03 16:26:08 +00:00
Crypto City
a4f6efb6db add unlock levels for chat colours 2021-01-16 20:44:45 +00:00
Crypto City
e760d4b2ed cc: remove pig farming discoveries 2021-01-16 20:44:45 +00:00
Crypto City
7e87bcc711 fix functional tests 2021-01-16 20:44:45 +00:00
Crypto City
8c3d9ff405 functional_tests: fix trade tests after matchable fix 2021-01-16 20:44:45 +00:00
Crypto City
8599ef7f67 sort items before patents and gemstones 2020-12-01 12:54:08 +00:00
Crypto City
c50b571fa9 allow the game account to enable/disable scripts 2020-11-29 23:38:03 +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
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
203ecd44d6 functional_tests: expand script test 2020-11-22 23:25:50 +00:00
Crypto City
182863edc9 blob deduplication for 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
f6498b3f05 db_lmdb: set last service height to current height on construction 2020-11-22 23:25:49 +00:00
Crypto City
dde3bf4c4a functional_tests: fix typo in item count retrieval 2020-11-22 15:27:07 +00:00
Crypto City
722fabc6d3 Higher economic powers now depend on civil engineering discoveries 2020-11-22 15:27:07 +00:00
Crypto City
402d9ce769 land can now be given 2020-11-22 15:27:06 +00:00
Crypto City
cb40955cc6 new custom language for scripts 2020-11-22 15:27:06 +00:00
Crypto City
933046c95d simpler large game update test 2020-11-22 15:27:06 +00:00
Crypto City
7b290450f4 functional_tests: give the discoveries test a bit more money 2020-11-22 15:27:06 +00:00
Crypto City
8687b9773f remove remnants of obsolete resource availability 2020-11-10 18:17:43 +00:00
Crypto City
25c78c4f5e functional_tests: more leeway for discovery tests 2020-11-01 18:59:15 +00:00
Crypto City
98d4ae7c2b land cost now costs more near the city center and far away
also fix overflows in land/tax cost
2020-11-01 17:34:31 +00:00
Crypto City
fa9a377279 add player script variables 2020-11-01 17:33:55 +00:00
Crypto City
86639dcd7d functional_tests: fix discoveries test after cost increase 2020-11-01 16:47:20 +00:00
Crypto City
e349e5694e give higher level woods more heating power 2020-10-26 13:09:35 +00:00
Crypto City
f2808a6a39 more tile size optimization
Tiles are now stored as a single packed byte stream,
including in the game, and unpacked/repacked as necessary
2020-10-25 18:47:26 +00:00
Crypto City
110e1d227e functional_tests: add an item count consistency check 2020-10-17 23:30:31 +00:00
Crypto City
da5d2a429a fix a few niggles with broken assert_exception in functional tests 2020-10-17 23:30:31 +00:00
Crypto City
c6fc32a423 functional_tests: fix typo testing balances and remove dead code 2020-10-17 23:30:30 +00:00
Crypto City
29fa6c7222 wood can now be chopped into firewood 2020-10-17 23:30:30 +00:00
Crypto City
7b51ad56bc WIP - mortgages 2020-10-17 23:29:26 +00:00
Crypto City
9b291c45b3 WIP - mortgages 2020-10-17 23:29:26 +00:00
Crypto City
f7bd04fc12 remove custom item amount field, it is now redundant
since we track supply for all items
2020-10-17 23:29:26 +00:00
Crypto City
9586a32958 WIP - mortgages 2020-10-17 23:29:26 +00:00
Crypto City
b033e75db0 add more user data space to custom items 2020-10-17 23:28:43 +00:00
Crypto City
5710bb74dd WIP - scripts 2020-10-17 23:28:43 +00:00
Crypto City
cd61a1024b functional_tests: fix game update tests going out of labour 2020-10-07 00:54:17 +00:00
Crypto City
bd20a169ec functional_tests: more city and game update tests 2020-09-29 12:14:10 +00:00
Crypto City
2ed24f1918 functional_tests: fix repairing from the wrong account in farming test 2020-09-28 21:09:07 +00:00
Crypto City
81ac18db00 rewrite city cost function 2020-09-28 21:09:07 +00:00
Crypto City
31e74fba63 tests: fix a few tests after recent changes 2020-09-28 21:09:07 +00:00
Crypto City
1aba8c4743 functional_tests: fix cc_repair arguments 2020-09-24 19:29:55 +00:00
Crypto City
b7c431c15e remove cost from buy_land command 2020-09-24 19:29:55 +00:00
Crypto City
21e095ab90 fix tests after price changes 2020-09-17 02:30:44 +00:00
Crypto City
a3ce8f4290 cc: double last resort prices 2020-09-13 22:16:07 +00:00