Commit Graph

7 Commits

Author SHA1 Message Date
Neerti
828dacf485 Centralizes weight class definitions
A lot of new defines are now in inventory_sizes.dm, which contains;
All the size identifiers (the thing that tells the game if something is bulky, or w/e).
Storage costs for all the sizes, which are exponents of two, as previously.
A few constants for inventory size.

Also changes all storage item's capacity definitions by basing it off of how many 'normal slots' exist for it.  This allows one to change the definition for all of the defines in the file, and everything will follow along without needing to change 500 files.  In testing, I made all ITEMSIZE_COST_* defines doubled, and nothing had broke.

The benefit of doing all of this is that it makes adding new weight classes in the future much simpler, and makes knowing how much space a container has easier, as seeing ITEMSIZE_COST_NORMAL * 7 means it can hold seven normal items.
2016-09-22 00:51:51 -04:00
Datraen
beda3185eb Reverts the second mob clean up because of incomplete implementation.
This caused an error that would then cause machinery to hang on the server, and was reproduced successfully.
2016-05-04 00:24:55 -04:00
Kelenius
df5a0d7941 Mob inventory cleanup
Replaces three item removal procs with one
Adds a proc to delete an item on the mob
2016-03-24 01:23:08 +03:00
Kelenius
0c9eb8a112 Minor jar fixes 2015-04-16 17:30:01 +03:00
Kelenius
b25993e130 Updates jar sprite
Also fixes a tiny grammar mistake
2015-04-04 18:59:03 +03:00
Kelenius
4a21810b9d Finalizes jars
Adds sprites (by Ryoku)
Places one in bartender's backroom, one in kitchen, two in xenobio
Adds autolathe recipe for them
2015-03-31 17:27:46 +03:00
Kelenius
8a51470461 Adds jars
Can hold money or a single lizard/mouse/spiderling
2015-03-30 19:41:54 +03:00