444 Commits

Author SHA1 Message Date
cd8ebc23a0 imagine being level 0 2021-12-27 19:32:14 +00:00
f29b59507a don't expect people to remember null in Rust 2021-12-27 19:32:14 +00:00
bb5d157439 missing nuls is too advanced for the client? 2021-12-27 19:32:14 +00:00
dacbf1eea3 add level requirements for rooms and update tests 2021-12-27 19:32:14 +00:00
81916d1f57 TRADING JUST IN TIME TO BARELY MISS XMAS
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-12-27 00:48:42 -07:00
ecf1f23c6c fix tests
Some checks failed
continuous-integration/drone/push Build is failing
2021-12-27 00:43:25 -07:00
9c34baeb26 meseta refactor
Some checks failed
continuous-integration/drone/push Build is failing
2021-12-26 23:31:12 -07:00
72d72801e1 trade meseta
Some checks failed
continuous-integration/drone/push Build is failing
2021-12-12 22:55:08 -07:00
3a10de502a tell other players you don't have meseta when you drop it
Some checks failed
continuous-integration/drone/push Build is failing
2021-12-12 22:33:58 -07:00
872794e45f improve error messages
Some checks failed
continuous-integration/drone/push Build is failing
2021-12-12 15:55:59 -07:00
6bd341cd01 check inventory has enough space to accept traded items 2021-12-12 15:55:24 -07:00
6d2753d082 improve error display a bit
Some checks failed
continuous-integration/drone/push Build is failing
2021-12-10 23:41:17 -07:00
3b7dcd0295 remove printlns 2021-12-10 13:43:11 -07:00
b3b6dad6ad trades! 2021-12-10 13:24:59 -07:00
5d410f88f3 PartialEq LocalClientId u8 2021-12-10 13:20:20 -07:00
3865caba8d refcell room id counter 2021-12-10 13:19:22 -07:00
d85ada945e add some functions to Inventory 2021-12-10 13:16:18 -07:00
82ef5ba2ea RIP ItemLocation
Some checks failed
continuous-integration/drone/push Build is failing
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.
2021-11-12 10:42:33 -07:00
b80f30ef9d initial actual trading logic
Some checks failed
continuous-integration/drone/push Build is failing
2021-10-15 12:17:37 -06:00
98260308e8 stray spaces 2021-10-14 00:30:53 -06:00
8e82d6c4b4 convert item pickup to new itemtransaction model
Some checks failed
continuous-integration/drone/push Build is failing
2021-10-14 00:28:31 -06:00
d80d0fb01d add some functions to Inventory 2021-10-14 00:22:23 -06:00
ac423fa6ba change trade structure in clientstate 2021-10-14 00:20:19 -06:00
8a29a75397 remove TODO 2021-10-14 00:17:36 -06:00
296d1cc0ea InventoryItem::{stacked, mag} 2021-10-13 23:58:32 -06:00
dbb1105741 cleanup 2021-10-13 23:57:38 -06:00
21df9a9340 itemtransaction action takes boxed value
Some checks failed
continuous-integration/drone/push Build is failing
2021-10-13 23:56:42 -06:00
42eb875f8f split create_item into individual and stacked variants 2021-10-09 01:33:40 -06:00
a2566c8bc7 Merge pull request 'room_join_requirements' (#49) from room_join_requirements into master
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #49
Reviewed-by: jake <jake@sharnoth.com>
2021-09-30 21:55:50 -04:00
b374b63cba nth(0) -> next() 2021-09-27 23:47:19 -06:00
70a6764360 make these a bit more public for tests 2021-09-27 23:46:03 -06:00
143ed7ed78 add ItemTransaction struct as begining of item refactor v3 2021-09-27 23:07:21 -06:00
e18eebb5e9 change armor shop item structs to handle non-0 dfp/evp for selling 2021-08-04 02:37:16 +00:00
8acbb91416 don't need these anymore 2021-08-04 02:37:16 +00:00
0d30df8da6 start of trading 2021-07-30 23:19:47 -06:00
b60463eaa0 appease the clip
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-07-31 02:21:15 +00:00
66d882d336 cleanup todos
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-07-31 02:07:41 +00:00
61e7e8b39f add impl From<> for shops. get_sell_price returns Result now. 2021-07-31 01:28:30 +00:00
899527d3e7 basic test
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-07-26 01:21:29 +00:00
00cff46077 oops forgot to delete this
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-24 01:34:26 +00:00
3faca14883 andy vs. clippy round 4 and some cleanup
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-24 01:32:58 +00:00
7a1a20db53 imagine reading the warning message wrongly. not me 2021-07-24 00:42:14 +00:00
e578d9bad5 imagine adding useless code 2021-07-23 02:57:53 +00:00
b8534eb520 push slime clones 2021-07-23 01:48:20 +00:00
309b97cbc2 clean up and set rare monster appear rate to 1/512 2021-07-23 01:45:02 +00:00
5c49ded823 add best quest. add rare monsters to quests. dont use the same seed for random numbers if you want different results 2021-07-20 00:37:54 +00:00
14e14639c8 more testing/debugging. align monster appearance between client and server. 2021-07-19 03:49:37 +00:00
39660f0cb8 load rare monster config file each time a room is created 2021-07-18 18:40:10 +00:00
080e939e56 differentiate between player loading quest and server preloading all quests 2021-07-12 19:32:16 +00:00
f5946013a1 rare monster appear config files. init rare monster appear table stuff 2021-07-12 02:24:31 +00:00