forked from tgstation/tgstation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request tgstation#1138 from Absolucy/accessories-boogaloo
[PORT] Allows uniforms to have multiple accessories attached
- Loading branch information
Showing
23 changed files
with
1,021 additions
and
741 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,21 @@ | ||
// /obj/item/clothing | ||
/// (/obj/item/clothing, visor_state) - When a clothing gets it's visor toggled. | ||
#define COMSIG_CLOTHING_VISOR_TOGGLE "clothing_visor_toggle" | ||
// /obj/item/clothing | ||
/// Sent when mobs try to equip clothing on others through attacking | ||
#define COMSIG_CLOTHING_ATTACK_EQUIP "clothing_attack_equip" | ||
/// From an undersuit being adjusted: () | ||
#define COMSIG_CLOTHING_UNDER_ADJUSTED "clothing_under_adjusted" | ||
|
||
// Accessory sending to clothing | ||
/// /obj/item/clothing/accessory/successful_attach : (obj/item/clothing/under/attached_to) | ||
/// The accessory, at the point of signal sent, is in the clothing's accessory list / loc | ||
#define COMSIG_CLOTHING_ACCESSORY_ATTACHED "clothing_accessory_pinned" | ||
/// /obj/item/clothing/accessory/detach : (obj/item/clothing/under/detach_from) | ||
/// The accessory, at the point of signal sent, is no longer in the accessory list but may still be in the loc | ||
#define COMSIG_CLOTHING_ACCESSORY_DETACHED "clothing_accessory_unpinned" | ||
|
||
// To accessories themselves | ||
/// /obj/item/clothing/accessory/successful_attach : (obj/item/clothing/under/attached_to) | ||
/// The accessory, at the point of signal sent, is in the clothing's accessory list / loc | ||
#define COMSIG_ACCESSORY_ATTACHED "accessory_pinned" | ||
/// /obj/item/clothing/accessory/detach : (obj/item/clothing/under/detach_from) | ||
/// The accessory, at the point of signal sent, is no longer in the accessory list but may still be in the loc | ||
#define COMSIG_ACCESSORY_DETACHED "accessory_unpinned" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.