andy
1af69800ed
add new arg for new_user_character and fix tests. add keyboard config tests. fix and clean up warnings in test files
3 years ago
andy
d04fd87837
error handling. tests!
3 years ago
andy
a6662d4d5f
andy vs clippy round 7
3 years ago
andy
906132802d
random formatting
3 years ago
andy
761e20e374
add quest_group for displaying regular or govt quests
3 years ago
andy
d2f2675a45
load quests on room create based on room mode
3 years ago
andy
bb2b62fdc9
andy vs. clippy round 6
3 years ago
andy
7102ee7e6d
formatting
3 years ago
andy
b3e7d2b4b5
characters can save kbm/gamepad configs
3 years ago
andy
0b8aef3b8c
start setting up keyboard config stuff
4 years ago
jake
51d706fc65
clippy demands more
3 years ago
jake
ea4c085dfd
satiate the clip's hunger for properness
3 years ago
jake
8b776a5906
ok turns out walletfull is a real thing
3 years ago
jake
a6e50555de
appease the clip
3 years ago
jake
22f630f562
properly set item_id after a trade serverside
3 years ago
andy
27a6c9a136
creating rooms with difficulties is bad for selling tests?
3 years ago
andy
7c85199e4c
andy vs. clippy round 3
3 years ago
andy
fef3b94732
cleanup
3 years ago
andy
cd8ebc23a0
imagine being level 0
3 years ago
andy
f29b59507a
don't expect people to remember null in Rust
3 years ago
andy
bb5d157439
missing nuls is too advanced for the client?
3 years ago
andy
dacbf1eea3
add level requirements for rooms and update tests
4 years ago
jake
81916d1f57
TRADING JUST IN TIME TO BARELY MISS XMAS
3 years ago
jake
ecf1f23c6c
fix tests
3 years ago
jake
9c34baeb26
meseta refactor
3 years ago
jake
72d72801e1
trade meseta
3 years ago
jake
3a10de502a
tell other players you don't have meseta when you drop it
3 years ago
jake
872794e45f
improve error messages
3 years ago
jake
6bd341cd01
check inventory has enough space to accept traded items
3 years ago
jake
6d2753d082
improve error display a bit
3 years ago
jake
3b7dcd0295
remove printlns
3 years ago
jake
b3b6dad6ad
trades!
3 years ago
jake
5d410f88f3
PartialEq LocalClientId u8
3 years ago
jake
3865caba8d
refcell room id counter
3 years ago
jake
d85ada945e
add some functions to Inventory
3 years ago
jake
82ef5ba2ea
RIP ItemLocation
fun while it lasted
ItemLocation ceased to be the canonical place to store an item's
location. replaced with ItemNote which basically covers the actual use
case but without the enforcing of a location.
3 years ago
jake
b80f30ef9d
initial actual trading logic
3 years ago
jake
98260308e8
stray spaces
3 years ago
jake
8e82d6c4b4
convert item pickup to new itemtransaction model
3 years ago
jake
d80d0fb01d
add some functions to Inventory
3 years ago
jake
ac423fa6ba
change trade structure in clientstate
3 years ago
jake
8a29a75397
remove TODO
3 years ago
jake
296d1cc0ea
InventoryItem::{stacked, mag}
3 years ago
jake
dbb1105741
cleanup
3 years ago
jake
21df9a9340
itemtransaction action takes boxed value
3 years ago
jake
42eb875f8f
split create_item into individual and stacked variants
3 years ago
jake
b374b63cba
nth(0) -> next()
3 years ago
jake
70a6764360
make these a bit more public for tests
3 years ago
jake
143ed7ed78
add ItemTransaction struct as begining of item refactor v3
3 years ago
andy
e18eebb5e9
change armor shop item structs to handle non-0 dfp/evp for selling
3 years ago