Commit Graph

14856 Commits

Author SHA1 Message Date
Crypto City
d9b6eb4de0 add Hephaestos badge - amount of gold smelted 2022-08-02 06:19:04 +00:00
Crypto City
6389b496cb add scribe badge - number of runestones carved 2022-08-02 06:19:04 +00:00
Crypto City
9e62d7283c add additional size restrictions to terrain features
islands must have at least 1024 tiles above sand level
sand banks must have at least 256 tiles above water level
lakes must have at least 10000 tiles below water level
plains must be at least 512x512
peaks must be at least 64x64
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
578cd3f8dd cc: remove unneeded code and add some checks to DXT1 load/save code 2022-08-02 06:19:04 +00:00
Crypto City
cd4445e0f4 game: use a boost visitor to determine when a snapshot is needed 2022-08-02 06:19:04 +00:00
Crypto City
4ed25cfd19 game: process add_city_specialization and increase_attribute commands 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
8eb0a091a6 properly account events for town treasuries too 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
3a4d483795 db_lmdb: ensure reserves are removed from account data when empty 2022-08-02 06:19:03 +00:00
Crypto City
f220615b93 prevent editing items in the collectible coins group 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
24c0d1aeeb game: add missing URHO3D_OBJECT and TBOBJECT_SUBCLASS macros 2022-07-23 15:46:21 +00:00
Crypto City
839395112a add a simple-shaded-area style
to be used by scripts writing on image backgrounds
2022-07-23 15:46:20 +00:00
Crypto City
2a236e888b fix "0" skin settings, they should be 0 (integer) 2022-07-23 15:46:20 +00:00
Crypto City
419375ec5f tb: allow placing precisely widgets relatively to their parent 2022-07-23 15:46:20 +00:00
Crypto City
749d313dca game: allow replacing a script's blobs from the game in debug mode 2022-07-23 15:46:20 +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
a490fa53cc rename far bool, seems an old MSDOS thing is reaching through time 2022-07-23 15:46:20 +00:00
Crypto City
94951e0493 script_analyzer: print blobs at the end 2022-07-23 15:46:20 +00:00
Crypto City
832296d943 allow adding images as blobs in UI definitions inside scripts 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
4bfe2a87eb game: add a debug hook to print tb errors 2022-07-23 15:46:20 +00:00
Crypto City
e9cfc349ad add a wallet getter for cc_get_blob 2022-07-23 15:46:20 +00:00
Crypto City
cd89727a96 fix @hex not loading the source file in scripts 2022-07-23 15:46:20 +00:00
Crypto City
a8696ae640 game: hide matching widgets in UI for choices which are disabled 2022-07-23 15:46:20 +00:00
Crypto City
da1d710045 game: fix deep walk through widget tree 2022-07-23 15:46:20 +00:00
Crypto City
7eb7189f25 fix a few filenames with wrongly escaped characters 2022-07-23 15:46:20 +00:00
Crypto City
9bf09f8131 game: give an alternative to badge suggestion 2022-07-23 15:46:20 +00:00
Crypto City
cc4469d556 fix typo in name_place event 2022-07-23 15:46:20 +00:00
Crypto City
870c87cbb5 game: fix badge suggestion if current score isn't within base/target 2022-07-23 15:46:20 +00:00
Crypto City
46d22ceb89 allow texture creators to set the tile span 2022-07-23 15:46:20 +00:00
Crypto City
72af3a1788 manual: point out newbie coins are not mintable 2022-07-23 15:46:20 +00:00
Crypto City
c0db6cf1e1 game: add research and fishing to what can I do screen 2022-07-23 15:46:20 +00:00
Crypto City
7fe74ac4a9 game: reword some text in what can i do screen 2022-07-23 15:46:20 +00:00
Crypto City
b48f995f21 game: mention "What can I do?" in the first tutorial 2022-07-23 15:46:20 +00:00
Crypto City
6e23b9dc9c add content matched icons to what can I do screen 2022-07-23 15:46:20 +00:00
Crypto City
df4f9c0168 add scarcest resource to what can i do screen 2022-07-23 15:46:20 +00:00
Crypto City
efdf112f30 game: factor out building resource delta accounting 2022-07-23 15:46:20 +00:00
Crypto City
5d0c0f1e33 game: add a "What can I do ?" screen
it gives you ideas based on current game state
2022-07-23 15:46:20 +00:00
Crypto City
acb57cbcbb game: fix accounting replacing a block with another variant of the same block 2022-07-23 15:46:20 +00:00
Crypto City
ba195a47ae game: add a tip about what to do with badges to increase level 2022-07-23 15:46:20 +00:00
Crypto City
714c596706 game: fix enter in "go to location" screen not going to location 2022-07-23 15:46:20 +00:00
Crypto City
94359fdf01 game: cleaner gemstones screen 2022-07-23 15:46:20 +00:00
Crypto City
79dd5c05c7 game: add discoveries to news 2022-07-23 15:46:20 +00:00
Crypto City
74a3dd463d rpc: add a comment for the string corresponding to an encoded text 2022-07-23 15:46:20 +00:00
Crypto City
e8f8e309f4 python-rpc: add missing filter_news parameter to cc_get_game_events 2022-07-23 15:46:20 +00:00
Crypto City
dc2ffb9903 game: rotate the material selection screen
There are more variants than materials and screens are usually
wider than tall
2022-07-23 15:46:20 +00:00