928 Commits

Author SHA1 Message Date
919d509c3a move bank code out of state 2022-07-25 16:42:22 +00:00
be5c3ff633 move floor code out of state 2022-07-25 16:42:22 +00:00
3babc6f4bd move inventory code out of state 2022-07-25 16:42:22 +00:00
8f72c6074b move ItemStateAction to its own file 2022-07-25 16:42:21 +00:00
2771f5692a missed a thing 2022-07-25 16:42:21 +00:00
fae1ffe55b appease clippy, the tyrant 2022-07-25 16:42:21 +00:00
5976030970 remove old item manager code 2022-07-25 16:42:21 +00:00
9c878ed484 refactor tekking 2022-07-25 16:42:21 +00:00
b0b34b6616 add postgres trade stuff 2022-07-25 16:42:21 +00:00
ff072ca026 enemy drop refactor 2022-07-25 16:42:21 +00:00
2775f81cc9 fix some meseta-taking things 2022-07-25 16:42:21 +00:00
5f4325429e trade refactor 2022-07-25 16:42:21 +00:00
6bacdd4fe3 selling items 2022-07-25 16:42:21 +00:00
eb9fdb485b buy items from shop 2022-07-25 16:42:21 +00:00
d3d8d766b8 magstuff 2022-07-25 16:42:21 +00:00
5be796cb5c clean these functions up a bit 2022-07-25 16:42:21 +00:00
4e88f684c5 bare minimum item usage stuff 2022-07-25 16:42:21 +00:00
657dabca27 fix item pickup tests 2022-07-25 16:42:21 +00:00
6306120692 spacing 2022-07-25 16:42:21 +00:00
95195d07e4 sort inventory 2022-07-25 16:42:21 +00:00
b473af7680 I am dumb 2022-07-25 16:42:20 +00:00
cf09433df2 equipping! 2022-07-25 16:42:20 +00:00
7807cf2b27 spacing 2022-07-25 16:42:20 +00:00
03df819a04 bank itemstate stuff 2022-07-25 16:42:18 +00:00
4ccdf579bd make inmemorytransaction actually work 2022-07-25 16:41:07 +00:00
94c50c011d entitygateway stuff should take &BankName not BankName 2022-07-25 16:41:07 +00:00
bd35481c28 the start of a long process of replacing ItemManager 2022-07-25 16:41:07 +00:00
1f7086396e wtf happened here 2022-07-25 16:41:07 +00:00
646f75d00d move partial drops over to item_state 2022-07-25 16:41:07 +00:00
9a2d1945af I was wondering why nightly a week ago was letting me get away with this 2022-07-25 16:41:06 +00:00
bd6b8effcd reorder function 2022-07-25 16:41:06 +00:00
8c403f0d0e missed fixing these 2022-07-25 16:41:06 +00:00
810d8269af move drop item over to item_state 2022-07-25 16:41:06 +00:00
acdf960d4b add/move stuff around for itemstate 2022-07-25 16:41:06 +00:00
b8de2ea8e6 add item_state to ShipState 2022-07-25 16:41:06 +00:00
1eae3795af add character_id to ItemNote::PlayerDrop 2022-07-25 16:41:06 +00:00
eac0a31056 cool I can simplify this now 2022-07-25 16:41:06 +00:00
5d6f9deb59 mostly appease clippy 2022-07-25 16:41:06 +00:00
da0c75fa39 cleanup 2022-07-25 16:41:06 +00:00
916bb31671 move item state action functions to new file 2022-07-25 16:41:06 +00:00
e58aff7042 remove boxes from ItemStateAction structs to remove need for static lifetimes 2022-07-25 16:41:06 +00:00
3d51b3ee57 don't need static for with_transaction 2022-07-25 16:41:06 +00:00
da066a3445 move EntityGatewayTransaction to end of file 2022-07-25 16:41:06 +00:00
7aa4a6394f cleanup 2022-07-25 16:41:06 +00:00
bdfcb5c0ad redundant bit of code 2022-07-25 16:41:06 +00:00
3c8a35de83 remove unused use 2022-07-25 16:41:06 +00:00
e337852d72 initial ItemState 2022-07-25 16:41:06 +00:00
bc702375d2 redo this cause entitygateway isnt Clone anymore 2022-07-25 16:41:06 +00:00
cbb5c1fffd add transactions! 2022-07-25 16:41:06 +00:00
a2e78014ee make all entitygateway functions take &mut self, move postgres functions to separate function for future use 2022-07-25 16:41:06 +00:00