Crypto City
034b4ae644
speed up script search and command execution
2025-08-25 14:20:21 +00:00
Crypto City
553c08d86f
add predefined "macros" to scripts for well known values (item ids)
2025-08-25 14:20:20 +00:00
Crypto City
775e85a856
mushrooms now grow on empty flags
...
anyone can pick them
2025-08-25 14:20:20 +00:00
Crypto City
a12f5fefd9
functional_tests: decrease peak memory usage a bit
2025-08-16 20:23:31 +00:00
Crypto City
a01c2f6554
scripts can now be replaced
...
The replacement will be used when starting a new script, but already
started scripts will continue using the old one till finished
This will hopefully allow fixing small bugs as well as allow adding
more stuff to background scripts that are meant to supervise overall
game stuff like triggering events etc
2025-08-16 20:23:31 +00:00
Crypto City
d3cd7d1efc
more work on script inputs
...
prevent duplicate input targets with different bounds
the game now checks format and bounds in realtime
2025-08-16 20:23:31 +00:00
Crypto City
35b7b1ef49
rename crest to banner
2025-08-16 20:23:31 +00:00
Crypto City
eb5c33f13a
add owner gold script operand
2025-08-10 20:28:46 +00:00
Crypto City
3aa1994a03
add numeric and string inputs to scripts
2025-08-10 20:28:46 +00:00
Crypto City
1c9075daf5
avatars can now select model and pronouns
...
though there is still only one model for now
also various tweaks and improvements to the avatar selection ui
2025-08-08 17:35:15 +00:00
Crypto City
3a3a91a115
cc: fix build on arch
2025-08-08 17:35:14 +00:00
Crypto City
0039a83930
core_tests: more leeway in future timestamp check
...
turns out initializing the chain with new game data takes a bit
more time that we'd want
2025-08-08 17:35:14 +00:00
Crypto City
7703164a0e
tick scripts must have exactly one state
2025-08-08 17:35:14 +00:00
Crypto City
50bd50e066
functional_tests: print info needed to restart from existing chain
2025-08-08 17:35:14 +00:00
Crypto City
e72dbb7130
functional_tests: bump startup timeout from 20s to 30s
2025-08-08 17:35:14 +00:00
Crypto City
7d337db5e2
get_cc_scripts RPC now takes a set of types to return
...
an empty set (default) returns all types
2025-08-08 17:35:14 +00:00
Crypto City
89a427c494
add pickled vegetables food item
...
not used yet
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
c57e94bf76
functional_tests: add a bit more to the "all script features" test
2025-08-08 17:35:13 +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
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
3cc605dd06
functional_tests: add child scripts to the script group test
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
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
9e4582216c
ensure players can't start background/tick scripts
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
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
Crypto City
f8dfe3d4c1
fix bad blocks due to pseudo random command effects
2025-08-01 07:02:21 +00:00
Crypto City
ad354a018c
tick scripts
...
run at every tick for every non-game player
2025-08-01 07:02:21 +00:00
Crypto City
bbc8c290c7
functional_tests: do not skip functional tests for missing deepdiff
2025-08-01 07:02:21 +00:00
Crypto City
c9e7de0ac3
functional_tests: fix random failure to replenish food
2025-08-01 07:02:21 +00:00
Crypto City
da27e762da
functional_tests: more robust role bonus test
2025-08-01 07:02:20 +00:00
Crypto City
a47504746f
split attributes into base and bonus
...
bonus (given by scripts) can be negative, and the sum of base
and bonus can also be negative, including in scripts
2025-08-01 07:02:20 +00:00
Crypto City
29ad321c71
characters now have health and must eat to sustain health
2025-08-01 07:02:20 +00:00
Crypto City
a0a8c0285d
mayors can now set a city welcome message
2025-08-01 07:02:19 +00:00
Crypto City
669e990811
prestige now has some hysteresis
...
more so on the way up
2025-08-01 07:02:18 +00:00
Crypto City
d7797a8ee9
scripts can now award temporary prestige bonuses
2025-08-01 07:02:18 +00:00
Crypto City
c10b1c63b6
p2p: quick connect mode when we're not connected
2025-08-01 07:02:18 +00:00
Crypto City
8fa82a3903
new appoint_new_head command
2025-08-01 07:02:17 +00:00
Crypto City
a65d1438b5
add change_crest command
2025-08-01 07:02:17 +00:00
Crypto City
d75bedc5c6
use 6th decile instead of median for block size algorithm
...
this should avoid the block size never growing under pressure
if the totality of PoW hash rate is from a single pool which
only mines empty blocks
2025-08-01 07:02:17 +00:00
Crypto City
1c1dfb119a
add new retire command and add profile to ancestor data
2025-08-01 07:02:16 +00:00
Crypto City
c12e1841ed
rename die to retire, add retire script command, more retirement work
2025-08-01 07:02:16 +00:00
Crypto City
0e7bb6db8d
add dead boolean to account data, RPC, player screen, etc
2025-08-01 07:02:15 +00:00