Crypto City
c42899adc9
unit_tests: fix missing parameter in flag_t ctor
2019-12-13 01:30:28 +00:00
Crypto City
075119b46b
unit_tests: fix overread in influence calculation
2019-12-13 01:28:54 +00:00
Crypto City
c9c91ccb08
cc: add staff (extra payments per building count)
...
to incentivize richer people towards larger buildings rather
than many small ones
2019-12-13 01:28:54 +00:00
Crypto City
341ed8ed53
rejig repair a bit
...
Repair is now 0 before anything is built, and goes to 100% when
building. This makes it easier when building anew after a building
got destroyed due to decay
2019-12-13 01:28:54 +00:00
Crypto City
836b362159
fix reverting buy_land after trading flags
2019-12-13 01:28:21 +00:00
Crypto City
210882c66f
remove tile data and set repair to 0 for derelict buildings
2019-12-13 01:26:54 +00:00
Crypto City
475ff2dcdb
unit_tests: fix cc unit tests build
2019-12-13 01:26:54 +00:00
Crypto City
84106cbcbe
allow 50-1000 economic level (in steps of 50)
2019-12-13 01:21:44 +00:00
Crypto City
7c2f33c660
game: display "buildable" zone around generators
2019-12-13 01:21:44 +00:00
Crypto City
e484e3eda8
unit_tests: fix tests
2019-12-13 01:21:44 +00:00
Crypto City
d9176ad644
add repair command and UI
2019-12-13 01:21:44 +00:00
Crypto City
e6b2da4bb9
generators basics
2019-12-13 01:21:44 +00:00
Crypto City
3fb509b796
more work in influence
2019-12-13 01:21:44 +00:00
Crypto City
455c859823
new command to assign items to a flag
2019-12-13 01:21:44 +00:00
Crypto City
445d59c650
city support in game update command
2019-12-13 01:21:04 +00:00
Crypto City
7b26b94e56
make shares 64 bit
2019-12-13 01:21:04 +00:00
Crypto City
346f3e9791
game update
2019-12-13 01:21:04 +00:00
Crypto City
96bbe1857c
keep land if a building decays to 0
2019-12-13 01:20:38 +00:00
Crypto City
6e8c42868d
more work on influence
2019-12-13 01:20:38 +00:00
Crypto City
13f61e7e16
some work on potential
2019-12-13 01:20:38 +00:00
Crypto City
1795477cdd
replace monetary cost by labour cost in building
2019-12-13 01:20:37 +00:00
Crypto City
9b9aed1c56
make blocks and labour items
2019-12-13 01:20:37 +00:00
Crypto City
29a7b2f954
more work on building settings
2019-12-13 01:20:37 +00:00
Crypto City
fb318fbf16
building settings
2019-12-13 01:20:37 +00:00
Crypto City
2bdb7be38c
add role flag field
2019-12-13 01:20:37 +00:00
Crypto City
4e1b8e14b9
add cc influence building blocks
2019-12-13 01:20:37 +00:00
Crypto City
70179de428
potential maps
2019-12-13 01:20:37 +00:00
Crypto City
8a9b3f0e66
more work on game update
2019-12-13 01:20:37 +00:00
Crypto City
3b318b5bf4
more work on trade command
2019-12-13 01:20:37 +00:00
Crypto City
1248fc2dc7
more work on trade command
2019-12-13 01:20:37 +00:00
Crypto City
33c36e8d8b
fix up tests after recent changes
2019-12-13 01:18:57 +00:00
Crypto City
257c6279fc
make create_account not a cc_command_base_t subclass
2019-12-13 01:18:57 +00:00
Crypto City
b791566140
trade command, and command overhaul it required
2019-12-13 01:18:19 +00:00
Crypto City
b188f4636d
more work on game update command
2019-12-13 01:14:17 +00:00
Crypto City
634e477278
"game" command, for consensus driven changes
2019-12-13 01:12:39 +00:00
Crypto City
98533616d3
add a repair field to flag
2019-12-13 01:12:39 +00:00
Crypto City
9dbb2c2f02
save support for magica models
2019-12-13 01:12:39 +00:00
Crypto City
5d74ba6159
don't accept "short" build commands
...
It'll increase tx size a bit, but is safer
2019-12-13 01:12:39 +00:00
Crypto City
26b36eb282
union/difference selection
2019-12-13 01:12:39 +00:00
Crypto City
fe57281088
fix unit tests
2019-12-13 01:12:39 +00:00
Crypto City
822d3796a1
buying blocks in game
2019-12-13 01:12:39 +00:00
Crypto City
2369d280dd
buy_blocks command
2019-12-13 01:10:16 +00:00
Crypto City
392e0fc84b
some more build tests, and adjust build cost curve
2019-12-13 01:10:16 +00:00
Crypto City
917dcd5485
build command
2019-12-13 01:10:16 +00:00
Crypto City
20a2108f94
fix buy land unit test
2019-12-13 01:09:15 +00:00
Crypto City
7b6648b77c
buy_land core tests
2019-12-13 01:09:15 +00:00
Crypto City
647734e59b
remove address book payment_id left after rebase
2019-12-13 01:08:07 +00:00
Crypto City
24f9900670
cleaner code to handle command specific code
...
also add the start of a cc consensus rules class
2019-12-13 01:08:07 +00:00
Crypto City
b8df9f7adb
even more unit tests
2019-12-13 01:07:45 +00:00
Crypto City
9ba3a6e427
more unit tests
2019-12-13 01:07:45 +00:00
Crypto City
aaf0f5098a
remove now obsolete view public key, abortive subaddress support, etc
2019-12-13 01:07:45 +00:00
Crypto City
0a36d2a12b
unit tests
2019-12-13 01:07:03 +00:00