Commit Graph

263 Commits

Author SHA1 Message Date
Crypto City
a4ebcd00a9 functional_tests: fix comment 2022-09-05 10:02:13 +00:00
Crypto City
e861c7fd9d constrain tax break zones within 25k tiles of center or other ones 2022-09-05 10:02:13 +00:00
Crypto City
ea0c11ced3 food salting, as an agricultural building service 2022-09-05 10:02:13 +00:00
Crypto City
b5bd3204c8 pearl diving, as a fishery service 2022-09-04 16:20:51 +00:00
Crypto City
78a23790d7 there can now be more than once special event in a city at once 2022-09-02 20:14:41 +00:00
Crypto City
efa9e03de8 account for gold in items assigned to flags 2022-09-02 20:14:41 +00:00
Crypto City
2d4da34bc0 functional_tests: fix demolish tests 2022-09-02 20:14:41 +00:00
Crypto City
bf53f14fd8 custom items can now have per role bonuses 2022-09-02 20:14:41 +00:00
Crypto City
1f636fbf8e change tax break zone mechanics
There can be multiple tax break zones, unlocked at increasing
city levels, but they are fixed once set.
This will prevent mayorial bait and switch abuse.
2022-08-31 11:48:49 +00:00
Crypto City
02e6ba170f functional_tests: add message tests 2022-08-23 05:20:29 +00:00
Crypto City
088538c160 Merge remote-tracking branch 'origin/master' into HEAD
b6a029f222

Multisig functional test broken
2022-08-08 17:44:32 +00:00
Crypto City
eec63d353a store city level in db, avoid max_level crutch 2022-08-08 14:38:47 +00:00
Crypto City
f9790980b4 new special event: merchant ship, selling items on the market 2022-08-04 15:57:39 +00:00
Crypto City
070a4d46da remove the --debug-allow-gm-commands-from-account option
allow usage of an alternate game account key pair for tests instead
2022-08-04 15:57:39 +00:00
Crypto City
4252824ad0 functional_tests: piggy back on first building to prevent random events
since they can break tests which do not expect them
2022-08-04 08:36:32 +00:00
Crypto City
aaf24f1338 allow seting more than one global variable at once, for atomicity 2022-08-04 08:36:32 +00:00
Crypto City
6bfc447544 custom items may now have a prestige bonus
only the game account can add prestige bonuses
2022-08-04 08:36:31 +00:00
Crypto City
6c4a31509a new "tax break zone" city specialization 2022-08-04 08:36:31 +00:00
Crypto City
c004280dc7 user textures can now tile independently horizontally and vertically 2022-08-02 06:19:05 +00:00
Crypto City
4552e18249 somewhat better looking terrain 2022-08-02 06:19:04 +00:00
Crypto City
1b5c033f6e cc: fix consuming items with gold in scripts 2022-08-02 06:19:04 +00:00
Crypto City
09251d7be6 include script owner in start_script_command
so we know when the game should requets a snapshot
2022-08-02 06:19:04 +00:00
Crypto City
98c62f0645 functional_tests: add user texture tests 2022-08-02 06:19:03 +00:00
Crypto City
8d7e78a7fa functional_tests: check event balances for game, foreclosure and treasuries 2022-08-02 06:19:03 +00:00
Crypto City
1ded69f8b1 scripts can now create items if set up this way at definition time 2022-08-02 06:19:03 +00:00
Crypto City
1582492535 allow creating more items if that was setup on item definition 2022-08-02 06:19:03 +00:00
Crypto City
ffbc1d3ae1 compress script blobs with zstd
- we don't really care if they're slow to compress
- we care about compression for blockchain usage (and max tx size)
2022-07-23 15:46:20 +00:00
Crypto City
aa48b3cdfb functional_tests: fix fire test being upset by a fire in another city 2022-07-23 15:46:20 +00:00
Crypto City
74c2683f62 functional_tests: a bit more leeway when checking for derelict buildings 2022-07-23 15:46:19 +00:00
Crypto City
588ce075b4 functional_tests: fix nonce search bug 2022-07-23 15:46:19 +00:00
Crypto City
403c31c31e functional_tests: test fishing in another city's fishing grounds 2022-07-23 15:46:19 +00:00
Crypto City
aae749b0eb tune down fishing grounds recovery 2022-07-23 15:46:19 +00:00
Crypto City
b6d94f9fbf more generic special event overrides for tests 2022-07-23 15:46:19 +00:00
Crypto City
774f8430ce drop runestone price to one quarter gold 2022-07-23 15:46:18 +00:00
Crypto City
0ddeaa3992 add RPC and functional tests for edit_player_profile 2022-07-23 15:46:18 +00:00
Crypto City
f36b5f77db functional_tests: add tests for naming places 2022-07-23 15:46:18 +00:00
Crypto City
ea035a18be functional_tests: fire can last longer now 2022-07-23 15:46:18 +00:00
Crypto City
32314a1dc4 scripts can now award event badges 2022-07-23 15:46:18 +00:00
Crypto City
e141fbf27d functional_tests: more info when a bug in ownership is detected 2022-07-04 21:15:34 +00:00
Crypto City
1a48b87d14 functional_tests: add whisper tests 2022-07-04 21:15:34 +00:00
Crypto City
d48966a82c improved fishing mechanics 2022-07-04 21:15:34 +00:00
Crypto City
6e0044f5e6 functional_tests: make fire test more stable 2022-07-04 21:15:34 +00:00
Crypto City
9c09582b7f cc: forbid giving to oneself 2022-07-04 21:15:33 +00:00
Crypto City
734f2cc524 only active buildings can fish, sow and harvest 2022-07-04 21:15:33 +00:00
Crypto City
ffc4e2198f buildings' econonic power can now be upgraded
for 150% of the incremental cost
2022-07-04 21:15:33 +00:00
Crypto City
636d8b7a84 more intricate shoreline 2022-07-04 21:15:33 +00:00
Crypto City
ce6016306d add fish, fishing and fisheries 2022-07-04 21:15:33 +00:00
Crypto City
fb48c2e73e add procedures to scripts 2022-06-28 16:49:49 +00:00
Crypto City
73824c40f1 fix */+- precedence in scripts 2022-06-28 16:49:49 +00:00
Crypto City
9ffb213012 background scripts, tied to the game account 2022-06-28 16:49:49 +00:00