81 Commits

Author SHA1 Message Date
e39cf3eecc add kill counters to units (limiter) 2022-07-25 23:27:04 +00:00
b0eb494660 add kill counter field to weapons and increment it when a client kills a monster 2022-07-25 23:23:26 +00:00
098b1a79e7 remove old item manager code 2022-07-25 22:10:53 +00:00
3e907c6066 bank itemstate stuff 2022-07-25 22:03:12 +00:00
2aa8dae9b2 entitygateway stuff should take &BankName not BankName 2022-07-25 22:03:12 +00:00
8057b82dc5 the start of a long process of replacing ItemManager 2022-07-25 22:03:11 +00:00
726a6a92a2 add character_id to ItemNote::PlayerDrop 2022-07-25 22:03:11 +00:00
f2e7795b54 fix kill count applying logic for later when we need to unseal things
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-06-18 15:19:40 +00:00
b2f3dc9f50 lol maybe if we actually apply modifiers the tests will stop failing
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-16 00:48:53 +00:00
2d5b6c5c01 actually add and use AddKill modifier and remove dead code 2022-06-13 23:24:38 +00:00
e3991f5d41 fix warnings from rebase 2022-05-23 15:01:26 +00:00
ca44dcf689 andy vs. clippy round 5 2022-05-22 19:22:55 +00:00
e82fe779fc don't actually need this stuff 2022-05-22 19:22:53 +00:00
527cf50b9d add kill counters to units (limiter) 2022-05-22 19:21:56 +00:00
9025458ee8 add kill counter field to weapons and increment it when a client kills a monster 2022-05-22 19:20:18 +00:00
ea4c085dfd satiate the clip's hunger for properness
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-12-29 15:46:22 -07:00
8b776a5906 ok turns out walletfull is a real thing
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-12-29 15:22:03 -07:00
c015acb653 Merge branch 'master' into shop_sell
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2021-12-29 00:11:29 -07:00
a6e50555de appease the clip
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-12-28 01:37:24 -07:00
22f630f562 properly set item_id after a trade serverside
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-12-28 01:08:44 -07: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
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
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
b3b6dad6ad trades! 2021-12-10 13:24:59 -07:00
3865caba8d refcell room id counter 2021-12-10 13:19:22 -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
8a29a75397 remove TODO 2021-10-14 00:17:36 -06:00
70a6764360 make these a bit more public for tests 2021-09-27 23:46:03 -06:00
0d30df8da6 start of trading 2021-07-30 23:19:47 -06: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
78c0ffda04 andy vs. clippy round 1 2021-06-21 02:17:55 +00:00
10aca8c7ec wow i should have pushed much smaller chunks more often oops. shop selling added, shop buying quantity bug fixed(?) added lots of todos 2021-06-21 02:17:54 +00:00
1b506e014f clean up last of normal warnings 2021-06-18 20:38:29 -06:00
3457996afd lint src/ship/items/* 2021-06-18 16:09:35 -06:00
bbe22a305a properly handle an error that doesn't even occur at the moment
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-18 02:11:52 -06:00
f4fae162f0 tekking! 2020-12-03 15:04:48 -07:00
c437c3da5b split this into individual/individual_mut 2020-12-02 22:51:36 -07:00
4b78a110f0 anyhow the rest of the itemmanager 2020-11-16 21:55:24 -07:00
a3cc29b68f use anyhow for itemmanager 2020-11-16 21:50:10 -07:00
f7c6be48b2 don't try and say an item was picked up that the client doesn't know about 2020-11-16 21:50:10 -07:00
9b05e60ca6 add todo for cheating 2020-11-16 21:02:11 -04:00
55c393b7a8 move the tech level adjustment to prevent underflow for new FOs. let characters use tech disks 2020-11-16 20:46:52 -04:00
6e2fab31f0 e q u i p r e f a c t o r 2020-11-09 16:47:19 -07:00