Commit Graph

15 Commits

Author SHA1 Message Date
johnsonmt88@gmail.com
e9671308bf Reorganized clothing as a whole.
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
2012-08-13 02:17:14 +00:00
baloh.matevz
c948e15873 - Added UI buttons which appear only when you have certain items on you to make toggling some stuff easier and lessen the need to juggle a million items all the time.
Screenshot: (Upper left)
http://www.kamletos.si/object%20ui%20action%20buttons.png

There can be a maximum of 5 of these buttons shown at any one time.

Currently the following items have a UI button associated with them:
- Flashlights
- Hardhat
- RIG suits
- Welding masks
- Jetpacks

To add more buttons, add a button icon_state to icons/mob/screen1_action.dmi, then set the variable icon_action_button to the icon state of the icon you just added. This is all you need to do if you want the default action to be taken when the button is clicked, which is attack_self(). If you don't want the default, you can redefine the ui_action_click() proc. A call of ..() will call attack_self(), so mind when you use that.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4193 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-27 15:20:44 +00:00
ericgfwong@hotmail.com
68558e91ee Added berets to security wardrobe closets
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4146 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-23 00:28:50 +00:00
ericgfwong@hotmail.com
0f5b2f5a15 -Added Captain's Backpack & Satchel: https://dl.dropbox.com/u/831776/comdoms.png
-A few minor improvements to my own sprites

-Map changes to the Kitchen so the chef is more visible to his patrons
-Arrivals airlocks are no longer airless when shuttles dock

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4094 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-17 08:25:29 +00:00
elly1989@rocketmail.com
65ff691098 Fixed evidence bags so the items inside are now visible even when the bag is inhand (the problem was that overlays += obj uses the object's layer variable rather than the default FLOAT_LAYER. So the hud was appearing over the overlays. Fixed it by using image(obj) to take a snapshot). Changed the overlays to underlays to make them look better. Fixed issue 637 where putting objects in bags which were currently in your inventory did not remove the item from your inventory.
Replaced the obj variable var/see_face. It was used to determine whether something (namely masks/hats) hid your identity. Replaced with the HIDEFACE bitflag for var/flags_inv variable. Moved the var/flags_inv variable from atom/ to obj/item/ as only /obj/item/ can be in your inventory in the first place.

Fixed get_visible_name() so it takes into account any item on the var/head when deciding if your face is obscured. (While I'm at it, just dump a comment here if there's anything that should hide your face which doesn't and I'll add the flag.)

Removed the var/alien_egg_flag variable from mob/living/carbon/ and replaced it with the XENO_HOST bitflag for var/status_flags variable. You can now suicide whilst impregnated with a xeno (since you will chestburst even after death, that restriction is no longer necessary).

Any mob/living descendent can ghost even when not dead. However, ghosting whilst not dead results in the ghost eing unable to return to it's body for the remainder of the round. (It has a warning popup)

The suicide verb can only be used by humans when they can move and are not cuffed. These verbs will be totally replaced very soon with the 'fun' IC suicides I'm working on. Suicide is largely redundant given that anybody can ghost now, just didn't want to jump the gun in removing it.

Known Issues:
We've got var/flags_inv, var/slot_flags which could possibly be merged as they both deal with obj/items, although I'm not sure if we can fit oth into the 16-bit limit. Just something to look into.
There are bitflags GLASSESCOVERSEYES, MASKCOVERSEYES, HEADCOVERSEYES, MASKCOVERSMOUTH, HEADCOVERSMOUTH in the var/flags variable which should really be merged with or moved alongside the very similar flags in var/flags_inv. Comments next to the defines suggest as much.
You can borg dead/clientless brains but can't remove the brain fromt he borg once you realise it's a dud. >.<

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4072 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-14 21:43:54 +00:00
ericgfwong@hotmail.com
d35de12757 Another fix for hats
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4013 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-08 02:00:45 +00:00
ericgfwong@hotmail.com
de4e5b49d3 Small fix for security softcaps
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4010 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-07 21:03:38 +00:00
ericgfwong@hotmail.com
a7baf04430 -Cargo bay conveyor belts made one-way
-Readded fire door to sec checkpoint by request
-Fixed rainbow softcaps for real this time

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4007 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-07 09:31:22 +00:00
ericgfwong@hotmail.com
53b1495438 Fix for rainbow softcaps
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4006 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-07 07:13:50 +00:00
ericgfwong@hotmail.com
c7a784cf00 Oh god I'm terrible at this. Sorry.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3974 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-03 03:10:21 +00:00
ericgfwong@hotmail.com
cbe3e71410 -Added a couple of grey softcaps to the map
-Fixed grey softcaps having the wrong name

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3973 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-03 03:06:15 +00:00
ericgfwong@hotmail.com
9e8f39683f -Softcaps can now be dyed in washing machines. Thanks to Intigracy for the sprite work
-Merged cargo maintenance /area/ into mining dock (It was so small and pointless)
-A few aesthetic changes to the map

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3972 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-03 02:20:42 +00:00
johnsonmt88@gmail.com
54b9fb7d88 Fix for pumpkin hats using improper sprites when they're lit up. Fixes issue 591.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3921 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-26 02:50:32 +00:00
mport2004@gmail.com
a1cef5a079 Added a default to the uplink welcome and uses in game_mode
The Pumpkin head object once again emits light.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3898 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-23 21:03:15 +00:00
mport2004@gmail.com
c86c8e1505 Finished moving the clothes in defines over to modules.
Several head objects path changed so they are not helmets, head means can fit on your head, helmet was securities helmets, space helmets currently still helmet.
Cult restricted job list now has the sec force + cap because you can’t convert them as is.
AI removed from protected traitor jobs as malf is currently effectively out of commission.
A Protected list was added to changling.
Removed the furry mob files that were not checked.
Moved two unchecked files to unused


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3896 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-23 19:25:01 +00:00