82ef5ba2ea
RIP ItemLocation
...
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
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
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
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
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
7ae8976c10
i t e m r e f a c t o r
2020-11-05 16:36:39 -07:00
72141ace2c
remove unneeded warnings
2020-11-01 18:06:00 -07:00
e8fd37e32d
save_item -> change_item, impl for postgres
2020-11-01 18:06:00 -07:00
34cf660cbd
dont make new inventory
2020-11-01 19:54:50 -04:00
51240a31e3
rename test file
2020-10-31 23:11:46 -03:00
6d4f5ae8f6
enumerate after filtering and add test
2020-10-31 23:11:45 -03:00
andy
45d9b82598
sort items packets and dont equip multiple items in main it's confusing
2020-10-31 23:11:45 -03:00
ad612615c7
rebases are hard
2020-10-30 21:27:00 -06:00
cae89cd2ac
get_items_by_character takes character id not character entity
2020-10-30 21:25:29 -06:00
b3e0674ca5
fix more tests + fix warnings
2020-10-30 21:25:27 -06:00
2351b31125
entitygateway uses results for its functions now
2020-10-30 21:23:59 -06:00
f3e7599975
some comments and tests
2020-10-26 23:15:04 -03:00
e256423dfa
remove comments and don't be canadian
2020-10-26 23:15:04 -03:00
790668f6f7
add unit armour slots. equip the unit into the right slot and save correctly
2020-10-26 23:15:03 -03:00
555171d11d
server unequips units now. formatting and cleanup unuseds. fix merge conflict
2020-10-26 23:14:06 -03:00
6c33c7ec9b
dont delete items when unequipping
2020-10-26 23:05:25 -03:00
48abf4533f
player can (un)equip things now
2020-10-26 23:05:25 -03:00
a148d96adc
slots need to be updated when an item leaves inventory
2020-10-07 19:24:46 -06:00
cebb6a5f31
handle case where items are removed from shop after buying
2020-09-27 20:30:37 -06:00
d08db622e2
shops!
2020-09-27 18:16:27 -06:00
acd4e57d1d
implement rest of mag cells
2020-09-07 21:14:17 -06:00
d567c50216
mag cells
2020-09-07 08:02:12 -06:00
ebdd4b28de
actually this makes more sense
2020-09-05 22:06:39 -06:00
50c5699f34
handle mags changing owners
2020-09-02 22:28:21 -06:00
2dde4d5716
mag feeding
2020-08-31 23:46:15 -06:00
4187e93455
withdraw from bank
2020-07-29 08:34:19 -06:00
1867fee78b
add bank depositing
2020-07-29 08:34:19 -06:00
755ff575cc
probably trying too hard
2020-07-29 08:34:19 -06:00
da693b9c3c
add default bank item. dont crash if dropping all meseta. rename area to map_area and change from u32 to u16
2020-07-25 15:17:18 -03:00
1474c91dcd
fix warnings
2020-07-19 14:50:52 -06:00
344cfc6dc4
i t e m r e f a c t o r
...
also some bank functionality
2020-07-19 14:14:07 -06:00