Commit Graph

213 Commits

Author SHA1 Message Date
phil235
0ec876d9fe Refactored the item's action system. Items can now hold multiple actions.
The "set internals" button of tank items now turn green when it's used as internals.
Removed research scanner from drones (since cyborgs don't have it, it's more consistent)
Removed the ignore_madkadjust mask var.
The sechailer mask now has an adjust mask action button, so I removed the adjust verb that it was using.
The item's action are now created on item/New() instead of trying to create it every time someone picks the item up.
I split hud/action.dm, the datum/action stuff is now in the datum folder (/datum/action.dm), whereas the code for action buttons is kept in the hud folder under action_button.dm. Also I moved some /datum/action code that was in some files back into datum/action.dm where it belongs.
2016-02-23 19:37:42 +01:00
phil235
91839f5f70 Action buttons will now only update when needed instead of every Life().
The action buttons now update their icon instantly.
Fixes versions of pickup(),equipped() and dropped not calling the parent.
Fixes drone not being able to remove a defib from their storage.
You can now cycle the mime mask by clicking it in your hand.
The action buttons for hardsuit and hooded suits now only appears when you're wearing the suit.
Created two mob helper procs getBeltSlot() and getBackSlot().
Created /datum/species/proc/on_species_loss() to handle stuff when our race change, currently only used by jelly and slime race to remove their exotic blood from our reagents and to remove slime people's action buttons.
2016-02-22 00:34:59 +01:00
phil235
fd16e02cdb Fixes most (non hardsuit) helmets hiding the glasses when they shouldn't.
Fixes not seeing glasses through the riot helmet.
Fixes gas mask protruding from the abductor helmet.
Fixed radiation hood not hiding your hair, earpiece, mask.
Fixes colored justice hats not having an on-mob icon_stat.
Removed BLOCKHAIR bit from var/flags , moved it to flags_inv and renamed to HIDEHAIR
Added HIDEFACIALHAIR bitflag so certain hat/helmet can show just the beard.
Fixed human/update_inv_glasses not checking if our mask hides our glasses.
Fixed check_obscured_slots() not checking if our masj obscur our glasses.
Fixes some bits of flags_inv having the same value.
Fixes crusader hood and other headgear not hiding your identity when they should.
Fixes drone mask icon not appearing.
2016-02-14 00:03:07 +01:00
PKPenguin321
eefeb813a4 gives caps bomb armor 2016-02-07 18:21:09 -08:00
PKPenguin321
6f660075a7 bumps beret armor up 2016-02-07 18:20:01 -08:00
PKPenguin321
c920ae1f15 bumps helmet armor up 2016-02-07 18:15:42 -08:00
tkdrg
2f9cf25120 Merge pull request #15000 from KorPhaeron/hat_buffs
Buffs cakehat
2016-01-31 13:45:55 -03:00
Razharas
0826128459 Merge pull request #14698 from Firecage/absolutepathsandifs
Absolute paths and changes one liner if's/else's/else if's.
2016-01-29 03:15:12 +03:00
KorPhaeron
e3021745a1 Buffs cakehat 2016-01-28 00:51:10 -06:00
PKPenguin321
952e475808 addresses some feedback, hoopefully makes it compile
only part i'm not 100% sure about is the iscarbon, but whatever
2016-01-27 10:01:49 -08:00
PKPenguin321
cde623c4bf fixes up some helmets
i honestly do not know what i am doing any more i am just parroting what @neersighted said to do
fixes https://github.com/tgstation/-tg-station/issues/14904 maybe
2016-01-25 21:06:04 -08:00
Firecage
754491ce4c Changes relatives paths into absolute paths and makes some if()'s better 2016-01-17 01:36:56 +02:00
Lularian
f77ac2a14e tactical gear 2015-12-22 13:59:02 -06:00
Tkdrg
92240a9d95 Fixes invisible mask exploits
This code is awful and full of copy-paste and I can't be assed/can't
manage to figure out how to fix it properly so I just got the hammer and
made it always update everything whenever you toggle a helmet. Exploit's
dead at least.

Fixes #13486
2015-12-18 21:40:23 -03:00
bgobandit
a2241e0f6f Merge branch 'master' of https://github.com/tgstation/-tg-station into lizcannotwag
Conflicts:
	code/modules/client/preferences.dm
	icons/mob/head.dmi
	tgstation.dme
2015-12-17 20:12:32 -05:00
KorPhaeron
d8a37204e7 Makes burn_state use defines 2015-12-13 05:36:55 -06:00
bgobandit
5fa93e0e55 Adds the re-attachment of tails. Adds the attachment of tails to humans. Adds lizard clubs, liz o' nine tails and lizard cloche hats. 2015-12-11 19:03:09 -05:00
swankcookie
3e5e9086c0 fix 2015-12-01 21:52:35 -06:00
duncathan salt
77b841fe9b Merge pull request #13305 from KorPhaeron/hardhat
Removes relative pathing in hardhat.dm
2015-11-29 17:30:27 -06:00
KorPhaeron
dfc025db36 Missed some lines 2015-11-28 23:14:38 -06:00
KorPhaeron
5ef5a57f73 removes relative pathing 2015-11-28 23:10:14 -06:00
swankcookie
1b0bfaaef9 creates snowman head
Signed-off-by: swankcookie
2015-11-28 00:30:09 -06:00
KorPhaeron
49ad07b58c Aligns helmet properly 2015-11-27 14:28:44 -06:00
KorPhaeron
86e98947c3 Updated Templar Armour 2015-11-27 14:01:25 -06:00
KorPhaeron
79550bf8ac Updated sprites 2015-11-27 13:34:23 -06:00
KorPhaeron
c8f3ca728f Adds Knight Armour 2015-11-25 15:46:54 -06:00
bgobandit
5cdeabe0a5 Merge branch 'master' of https://github.com/tgstation/-tg-station into cakehatbugs
Conflicts:
	code/modules/clothing/head/misc_special.dm
2015-11-15 16:30:03 -05:00
Cheridan
ff05c5323f Merge pull request #12583 from Steelpoint/Beret
[NERF/ARMOUR] Lowers Sec Beret Defence To Helmet Value
2015-10-23 08:04:56 -05:00
Steelpoint
23f4ee77ea BeretChange 2015-10-22 15:08:40 +08:00
KorPhaeron
7f6dc9555f Fixed 2015-10-14 17:21:08 -05:00
bgobandit
a634d707c2 Cake hats now properly emit light. 2015-10-14 18:02:27 -04:00
phil235
3c788fcc59 Fixes Atmos fire helmets spawning in the wardrobe closet instead of the atmos closet.
Fixes Toggle Helmet light verb on security helmet with seclite attached being usable while dead.
Fixes Lizard snout is poking through helmet
Fixes Space helmets not hiding masks and glasses (especially the large gar glasses)
Eva harsuit helmet no longer has a semi transparent part (incompatible with hiding masks and glasses, and causes lizard snout protruding from that helmet)
Made equip_to_slot() and unEquip proc more OOP at the carbon level which removes some duplicate code between monkey and human.
Readding code\modules\mob\living\carbon\brain\login.dm that someone (probably me) unchecked some time ago by mistake.
2015-10-12 21:50:59 +02:00
phil235
c4c447a8dc Fixes hotspot having two New() procs.
Fixes many machines and a few structure not having a cooldown when attacked with an item.
Fixes not being able to eat or be facehugged when wearing riot helmet with visor up.
Fixes not being able to use child of the tool type for craft recipes requiring tools.
Tablecrafting failure message now tells you what caused the failure (missing tool, missing component)
Fixes fuego plasma burrito recipe.
Fixes being able to grab cups from water cooler with telekinesis, putting the cup directly in your hand.
Fixes golem appearing with their old human name for a split second.
Some changes to make code more OOP (take_damage() proc for barricade, shieldgen, etc)
Some tweaks to light tube building code.
2015-10-08 19:50:01 +02:00
KorPhaeron
f9604f8f8a 2 minute cooldown 2015-09-30 09:23:40 -07:00
KorPhaeron
b267807d00 Var definition in wrong place 2015-09-29 20:47:26 -07:00
KorPhaeron
1b677a7cee Candycorn 2015-09-29 20:41:22 -07:00
bear1ake
f697ae90f5 removes a bunch of .0 2015-09-10 20:57:30 +09:00
c0
df7386a4ec Assemblies update 2015-09-04 11:22:37 +03:00
Jordie0608
1132344628 Rice hat by scones 2015-07-30 21:13:43 +10:00
phil235
76feff5dfa Merge branch 'master' of https://github.com/tgstation/-tg-station into HandcuffOverlayFix
Conflicts:
	code/game/objects/structures/watercloset.dm
	code/modules/clothing/head/helmet.dm
	code/modules/mob/living/carbon/carbon.dm
2015-07-20 22:37:06 +02:00
Aranclanos
b2f9be0e29 Merge pull request #10689 from tgstation/revert-10345-HoSArm
Revert "[BALANCE] HoS/ERT/DS Armour Buff | Revolver Armour Piercing"
2015-07-20 02:09:38 -03:00
WJohn
2d3c289234 Merge pull request #10642 from MMMiracles/flukeops
removes conspiracy theory
2015-07-19 13:31:54 -04:00
Cheridan
d39a2ef5db Revert "[BALANCE] HoS/ERT/DS Armour Buff | Revolver Armour Piercing" 2015-07-18 07:51:17 -05:00
Remie Richards
9394e570ae Merge pull request #10643 from KorPhaeron/soundfix
Fixes sounds cutting out halfway
2015-07-18 00:03:23 +01:00
MMMiracles
4eedf27627 Makes SWAT helmets space-proof again. 2015-07-17 14:59:47 -04:00
phil235
d72cbcaf2f - fixes handcuff overlay on monkey not showing.
- Fixes the lack of handcuff icon on the hand screen object for alien humanoids..
- fix legcuff overlay not showing on monkey.
- fixes fire overlay for monkey, aliens and cyborg, no longer looks human shaped.
- Made the regenerate_icons's subprocs at the carbon level more OOP.
2015-07-17 01:15:21 +02:00
WJohn
3537d754b3 Merge pull request #10345 from Steelpoint/HoSArm
[BALANCE] HoS/ERT/DS Armour Buff | Revolver Armour Piercing
2015-07-16 11:29:22 -04:00
MMMiracles
867b43a5a3 re-adds the black/red striped variant for fluke ops. also hunke. 2015-07-16 00:48:42 -04:00
KorPhaeron
d372bae224 I did it backwards help 2015-07-15 18:03:12 -05:00
KorPhaeron
1994070b3b Changes 2015-07-15 17:59:50 -05:00