Adds a variable to hats to determine how likely they are to fall off. Makes them fall off with the given probability when disarmed (some percentage of the time) or when the character falls. Space helmets, bio hoods, helmets, radiation helmets, etc, are unlikely to fall off
Conflicts:
code/game/gamemodes/cult/cult_items.dm
code/modules/clothing/clothing.dm
code/modules/clothing/head/hardhat.dm
code/modules/clothing/head/helmet.dm
code/modules/clothing/head/jobs.dm
code/modules/clothing/head/misc.dm
code/modules/clothing/head/misc_special.dm
code/modules/clothing/suits/bio.dm
code/modules/clothing/suits/utility.dm
code/modules/events/tgevents/holiday/xmas.dm
code/modules/mob/mob.dm
Everything related to clothing should now be defined in modules/clothing. I'm almost certain there's clothing code hidden elsewhere but this should be the vast majority of it finished.
Everything is set up related to the object types themselves (meaning paths.)
So all hats will be in modules/clothing/head, all gloves will be in modules/clothing/gloves, ect...
I've removed 'modules/clothing/random.dm' and 'objects/items/clothing.dm' which both seemed to just be a place where people would put stuff they were too lazy to find a proper home for.
I've also moved files that had no, or very few blocks of code into more catagorized areas.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4388 316c924e-a436-60f5-8080-3fe189b3f50e