Commit Graph

16333 Commits

Author SHA1 Message Date
Crypto City
c614dafb69 game: fix duplicate "joined the game" news entries 2025-08-08 17:35:14 +00:00
Crypto City
5b7bebb9fd game: crests can now be added as user texture
also improve the crest designer while there, with new stripe
styles and new symbol
2025-08-08 17:35:14 +00:00
Crypto City
b2ecc4ca44 game: do not show spectator overlay when a wallet is loading 2025-08-08 17:35:14 +00:00
Crypto City
bcd7bf863e game: improve start wizard using queued commands 2025-08-08 17:35:14 +00:00
Crypto City
367f9dc3a3 game: report errors when replacing scripts 2025-08-08 17:35:14 +00:00
Crypto City
6f08a4bd02 game: reload chat after changing ignore settings 2025-08-08 17:35:14 +00:00
Crypto City
b5adb017fb the daemon now does all the string substitutions
this makes the scripts more versatile and removes slight
(and some not so slight) differenes in processing

ignore processing is obviously still made in the game
2025-08-08 17:35:14 +00:00
Crypto City
09e4c8a9cd move game_util::print_money to cc::print_money
so it may be used in the daemon too
2025-08-08 17:35:13 +00:00
Crypto City
c57e94bf76 functional_tests: add a bit more to the "all script features" test 2025-08-08 17:35:13 +00:00
Crypto City
6830df4912 db_lmdb: check same script type when replacing 2025-08-01 07:02:26 +00:00
Crypto City
9559410791 cc: omit "progressed through..." events for tick/background scripts 2025-08-01 07:02:25 +00:00
Crypto City
414991c54e cc: avoid printing "empty" data when saving scripts 2025-08-01 07:02:25 +00:00
Crypto City
4e2bc1814b rpc: fix max_resolved_blob_size serialization in cc_get_script_data 2025-08-01 07:02:25 +00:00
Crypto City
a80e634992 functional_tests: check script states are properly saved/restored
also allow more daemon side access to locals and overrides
in string ouput (titles, logs and storyline events)
2025-08-01 07:02:25 +00:00
Crypto City
5c091d551a game: show relevant background/tick script transitions on snapshot load 2025-08-01 07:02:25 +00:00
Crypto City
873d7d590e game: make snapshot requests warnings less obtrusive 2025-08-01 07:02:25 +00:00
Crypto City
ecea9c8729 cc: fix health change log message for negative values 2025-08-01 07:02:25 +00:00
Crypto City
f28923d6a6 game: fix crash failing to load an image in a script 2025-08-01 07:02:25 +00:00
Crypto City
a88f54f3d4 game: fix overlaid buttons in script screen after making a choice 2025-08-01 07:02:25 +00:00
Crypto City
5485487f2f game: change script html links from script-choice:// to script-choice: 2025-08-01 07:02:25 +00:00
Crypto City
48c29d2236 db_lmdb: catch error decompressing script blob 2025-08-01 07:02:25 +00:00
Crypto City
0e7a93e49b cc: fix loading of scripts with 32 byte blobbable data 2025-08-01 07:02:24 +00:00
Crypto City
aa9b161137 improved debug script replacement functionality 2025-08-01 07:02:24 +00:00
Crypto City
8d05dbd459 game: allow debug script replacement on an env var 2025-08-01 07:02:24 +00:00
Crypto City
282ab6515d game: fix script enable/disable and replace functionality 2025-08-01 07:02:24 +00:00
Crypto City
566c98edcd improve script group handling
script groups now have their own script type
the game script widget now supports groups more than one deep
also allow accessing the scripts screen without an account
2025-08-01 07:02:24 +00:00
Crypto City
5d6cd299b1 rpc: fix script group/desc parameter order mixup 2025-08-01 07:02:24 +00:00
Crypto City
1446a3d230 daemon: new cc_dump_script command, add verbose flag to cc_scripts command 2025-08-01 07:02:24 +00:00
Crypto City
3cc605dd06 functional_tests: add child scripts to the script group test 2025-08-01 07:02:24 +00:00
Crypto City
06959389cf cc: do not make special events effects depend on one another 2025-08-01 07:02:24 +00:00
Crypto City
1a0d081c15 functional_tests: harden tests against random special events 2025-08-01 07:02:24 +00:00
Crypto City
df68a34618 functional_tests: fix replenishing food in a snowstorm 2025-08-01 07:02:24 +00:00
Crypto City
c85ed875c3 cc: fix stray + in script dumps from binary 2025-08-01 07:02:23 +00:00
Crypto City
b980ccd0f5 game: add a help button to the ignore screen 2025-08-01 07:02:23 +00:00
Crypto City
1b2b41fe29 cc: merchant ships special event can't be started by a script 2025-08-01 07:02:23 +00:00
Crypto City
7c422a5846 prevent possible bad blocks due to random effects in game update
typically, a snowstorm starting
2025-08-01 07:02:23 +00:00
Crypto City
bfd715d1ba game: add start wizard screen
guides the user through creating a wallet, a game
account and mining if needed
2025-08-01 07:02:23 +00:00
Crypto City
89284d0c8f game: intro tweaks 2025-08-01 07:02:23 +00:00
Crypto City
9e4582216c ensure players can't start background/tick scripts 2025-08-01 07:02:23 +00:00
Crypto City
0e27031967 db_lmdb: fix wrong background script states being read from the db 2025-08-01 07:02:23 +00:00
Crypto City
743a551c80 game: optionally display house and id in account list screen 2025-08-01 07:02:23 +00:00
Crypto City
246fe5f4b4 functional_tests: test scripts ending without user input 2025-08-01 07:02:23 +00:00
Crypto City
1a3307ab97 add script type to replace ad hoc flags 2025-08-01 07:02:23 +00:00
Crypto City
c4e29c691b cc: bump merchant special event min time
for more fairness towards players who don't check in daily
2025-08-01 07:02:22 +00:00
Crypto City
6f76acc8ad make a type for the huge script info tuple 2025-08-01 07:02:22 +00:00
Crypto City
e88836ef0d rename destroy items to consume items 2025-08-01 07:02:22 +00:00
Crypto City
6d53dc521b prestige bonuses can now be negative 2025-08-01 07:02:22 +00:00
Crypto City
bd66ec3c9e cc: prestige hit at the start of a head head of house 2025-08-01 07:02:22 +00:00
Crypto City
21d89b5c3d functional_tests: fix functional tests 2025-08-01 07:02:21 +00:00
Crypto City
38bf88f578 tweak some wording 2025-08-01 07:02:21 +00:00