Commit Graph

14177 Commits

Author SHA1 Message Date
Crypto City
17f4e63baf daemon: add cc_scripts and cc_script_variables daemon commands 2022-06-28 16:49:49 +00:00
Crypto City
beef16dd19 fix line numbers in scripts where multiline strings are used 2022-06-28 16:49:49 +00:00
Crypto City
a8f9d9e14e tb: allow relative font sizes with <size> in edit fields 2022-06-28 16:49:49 +00:00
Crypto City
a530e93341 game: better handling of mouse between 3D view and UI 2022-06-28 16:49:49 +00:00
Crypto City
31e5ad49fa game: print script id in script list for the game account
helps with managing scripts
2022-06-28 16:49:49 +00:00
Crypto City
17348a6a32 game: improve variable replacement in scripts 2022-06-28 16:49:49 +00:00
Crypto City
f831633de4 game: allow more variable substitutions in script strings 2022-06-28 16:49:49 +00:00
Crypto City
8e6714e54a game: do not send a command to set a variable to its current value 2022-06-28 16:49:49 +00:00
Crypto City
2f27497111 db_lmdb: fix setting to 0 a script variable that's already unset 2022-06-28 16:49:49 +00:00
Crypto City
d787ede306 add log action to scripts
for debugging help
2022-06-28 16:49:49 +00:00
Crypto City
c8654eb73b make override integer values 64 bit 2022-06-28 16:49:49 +00:00
Crypto City
87bf592ea4 game: allow multiple override levels
eg, ${${foo}}
2022-06-28 16:49:49 +00:00
Crypto City
26d4914710 fix double blob replacement in scripts 2022-06-28 16:49:49 +00:00
Crypto City
af0b093a3f cc: ensure an exception in command check/execute/revert fails it 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
Crypto City
78a42233fd cc: remove unused variable 2022-06-28 16:49:49 +00:00
Crypto City
f654ba68ec fix snow storm enable condition check 2022-06-28 16:49:49 +00:00
Crypto City
6b2211365a fix player id op when dumping script 2022-06-28 16:49:49 +00:00
Crypto City
5474600c6a make if in scripts more generic, and allow an else branch too 2022-06-28 16:49:49 +00:00
Crypto City
867e9b359f remove restricted items hack 2022-06-28 16:49:49 +00:00
Crypto City
aec4aede5e allow mulitple enabled statements in choice, they are an OR condition 2022-06-28 16:49:49 +00:00
Crypto City
5b80d3a076 game: add storyline events to news also when triggered at script start 2022-06-28 16:49:49 +00:00
Crypto City
ca27a104bd add per choice script reserves
This will allow script options to scale with player balances
2022-06-28 16:49:49 +00:00
Crypto City
0317a1eddd add division and modulo to scripts 2022-06-28 16:49:49 +00:00
Crypto City
43515cfd5e add animal design for the newbie coins 2022-06-28 16:49:49 +00:00
Crypto City
7ac4e219ae keep game account prestige at 0
it'll likely have large amounts of gold coins to distribute,
so would get a prestige boost which isn't fair to players
2022-06-28 16:49:49 +00:00
Crypto City
61b81b5d4e Revert "scripts can now mint event coins"
This reverts commit 14ae96ca39233a88b191c9803864260bd226e5d8.
2022-06-28 16:49:49 +00:00
Crypto City
d4fbf59fe2 scripts can now mint event coins 2022-06-28 16:49:49 +00:00
Crypto City
857fb10ae2 Revert "game: replace terrain material"
This reverts commit acc876cc9a.
2022-06-28 16:49:49 +00:00
Crypto City
7d9172ceba Revert "game: terrain material patch"
This reverts commit 21a7c0ab85.
2022-06-28 16:49:49 +00:00
Crypto City
10ad9c0733 do not give the rarest newbie coins to redeemed accounts 2022-06-28 16:49:49 +00:00
Crypto City
0ba526c764 game: show city coins separately from other coins 2022-06-28 16:49:49 +00:00
Crypto City
d85d5012eb newbie coins - each new player gets a random one
collecting all the set gives a prestige boost
2022-06-28 16:49:48 +00:00
Crypto City
fc5196f84a ensure the right amount of gold is set in new event coins record 2022-05-18 06:36:26 +00:00
Crypto City
a591cbee2c prevent snowstorms in the first year
mainly to avoid them messing with tests :)
2022-05-18 06:36:26 +00:00
Crypto City
1bf09dfa66 tests: fix tests 2022-05-18 06:36:26 +00:00
21a7c0ab85 game: terrain material patch 2022-05-14 06:50:30 +00:00
acc876cc9a game: replace terrain material 2022-05-14 06:50:29 +00:00
Crypto City
60023908aa procsky: resize render target from 256 to 1024 for starry sky 2022-05-14 06:50:20 +00:00
84108efb8c game: better colorLUT effect 2022-05-09 15:36:16 +00:00
d44ea96fca game: More stable env/sun colors 2022-05-09 15:35:56 +00:00
29b7bcdfcd game: add Texture sources to credits 2022-05-09 15:35:38 +00:00
96f7ca8ca2 game: replace RuneStone Rune texture 2022-05-09 15:35:33 +00:00
224c08e7e0 game: add GraniteGrassPath material 2022-05-09 15:35:19 +00:00
efcf1492fd game: add Berries material 2022-05-09 15:34:12 +00:00
b863862143 game: add Flowers_Pink material 2022-05-09 15:34:12 +00:00
317ab73835 game: add Flowers_Yellow material 2022-05-09 15:34:12 +00:00
be3697481b game: replace Leaves_Yellow material 2022-05-09 15:33:53 +00:00
a85b11d47b game: replace Leaves_Red material 2022-05-09 15:32:22 +00:00
0bd67a04f5 game: replace Leaves_Grey material 2022-05-09 15:32:22 +00:00