952 Commits

Author SHA1 Message Date
7ac68d13bb actually add and use AddKill modifier and remove dead code
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-07-25 23:47:32 +00:00
6a7d6ffdf2 remove 3rd attr for killcounter weapons and fix tests 2022-07-25 23:42:32 +00:00
a5a21d0968 killcounters, redbox mode, failing unseal test, and random debug strings 2022-07-25 23:37:15 +00:00
3eeee323a9 andy vs. clippy round 5 2022-07-25 23:28:40 +00:00
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
13017084ee put proper error strings on this struct 2022-07-25 22:10:57 +00:00
cb00ce67c6 split actions into actions+tasks 2022-07-25 22:10:57 +00:00
7d5c4e0165 move bank code out of state 2022-07-25 22:10:56 +00:00
317f236f7c move floor code out of state 2022-07-25 22:10:56 +00:00
bd692b8449 move inventory code out of state 2022-07-25 22:10:56 +00:00
bc104e4408 move ItemStateAction to its own file 2022-07-25 22:10:56 +00:00
d8842d6de7 missed a thing 2022-07-25 22:10:55 +00:00
01f575c0d9 appease clippy, the tyrant 2022-07-25 22:10:55 +00:00
098b1a79e7 remove old item manager code 2022-07-25 22:10:53 +00:00
d1d48cae3b refactor tekking 2022-07-25 22:06:44 +00:00
ce41c7423e add postgres trade stuff 2022-07-25 22:06:44 +00:00
8655082e9e enemy drop refactor 2022-07-25 22:06:43 +00:00
07fd5955a8 fix some meseta-taking things 2022-07-25 22:06:43 +00:00
547b5255eb trade refactor 2022-07-25 22:06:41 +00:00
fad0ccc856 selling items 2022-07-25 22:06:23 +00:00
ad7572b726 buy items from shop 2022-07-25 22:05:54 +00:00
73a93c0957 magstuff 2022-07-25 22:03:12 +00:00
e61901d0ea clean these functions up a bit 2022-07-25 22:03:12 +00:00
193fcf470e bare minimum item usage stuff 2022-07-25 22:03:12 +00:00
4a077c30f1 fix item pickup tests 2022-07-25 22:03:12 +00:00
3f57d244ae spacing 2022-07-25 22:03:12 +00:00
938668074b sort inventory 2022-07-25 22:03:12 +00:00
883370db39 I am dumb 2022-07-25 22:03:12 +00:00
e1e898705e equipping! 2022-07-25 22:03:12 +00:00
8e105b31f2 spacing 2022-07-25 22:03:12 +00:00
3e907c6066 bank itemstate stuff 2022-07-25 22:03:12 +00:00
9bef112d34 make inmemorytransaction actually work 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
d6e368f055 wtf happened here 2022-07-25 22:03:11 +00:00
c7fdd5e58b move partial drops over to item_state 2022-07-25 22:03:11 +00:00
573e1ff60b I was wondering why nightly a week ago was letting me get away with this 2022-07-25 22:03:11 +00:00
8b51f5e45d reorder function 2022-07-25 22:03:11 +00:00
007d73e07f missed fixing these 2022-07-25 22:03:11 +00:00
29f6c9bcac move drop item over to item_state 2022-07-25 22:03:11 +00:00
9d8eecfd5d add/move stuff around for itemstate 2022-07-25 22:03:11 +00:00
867aa3537e add item_state to ShipState 2022-07-25 22:03:11 +00:00
726a6a92a2 add character_id to ItemNote::PlayerDrop 2022-07-25 22:03:11 +00:00
9c95bd8295 cool I can simplify this now 2022-07-25 22:03:11 +00:00
a764fe9835 mostly appease clippy 2022-07-25 22:03:11 +00:00
46af418adb cleanup 2022-07-25 22:03:11 +00:00
92d231cd22 move item state action functions to new file 2022-07-25 22:03:10 +00:00
c713445884 remove boxes from ItemStateAction structs to remove need for static lifetimes 2022-07-25 22:03:10 +00:00
f7d802aa58 don't need static for with_transaction 2022-07-25 22:03:10 +00:00