This repository was archived by the owner on May 22, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 457
fixes some amtag bugs #19032
Merged
Merged
fixes some amtag bugs #19032
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
f754bce
new
tattax afbb00f
2
tattax d18dbcb
e²
tattax a7e4908
e³
tattax a65f56d
e£
tattax 69ba321
glang
tattax 1100645
e¢
tattax f708110
e¬
tattax fa8158b
e
tattax 43a4a11
e12
tattax File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| /// Heretic signals | ||
|
|
||
| /// From /obj/item/melee/touch_attack/mansus_fist/on_mob_hit : (mob/living/source, mob/living/target) | ||
| #define COMSIG_HERETIC_MANSUS_GRASP_ATTACK "mansus_grasp_attack" | ||
| /// Default behavior is to use the hand, so return this to blocks the mansus fist from being consumed after use. | ||
| #define COMPONENT_BLOCK_HAND_USE (1<<0) | ||
| /// From /obj/item/melee/touch_attack/mansus_fist/afterattack_secondary : (mob/living/source, atom/target) | ||
| #define COMSIG_HERETIC_MANSUS_GRASP_ATTACK_SECONDARY "mansus_grasp_attack_secondary" | ||
| /// Default behavior is to continue attack chain and do nothing else, so return this to use up the hand after use. | ||
| #define COMPONENT_USE_HAND (1<<0) | ||
|
|
||
| /// From /obj/item/melee/sickly_blade/afterattack (with proximity) : (mob/living/source, mob/living/target) | ||
| #define COMSIG_HERETIC_BLADE_ATTACK "blade_attack" | ||
| /// From /obj/item/melee/sickly_blade/afterattack (without proximity) : (mob/living/source, mob/living/target) | ||
| #define COMSIG_HERETIC_RANGED_BLADE_ATTACK "ranged_blade_attack" |
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -31,19 +31,37 @@ | |
| #define LIBCALL call_ext | ||
| #endif | ||
|
|
||
| // So we want to have compile time guarantees these procs exist on local type, unfortunately 515 killed the .proc/procname syntax so we have to use nameof() | ||
| // So we want to have compile time guarantees these methods exist on local type, unfortunately 515 killed the .proc/procname and .verb/verbname syntax so we have to use nameof() | ||
| // For the record: GLOBAL_VERB_REF would be useless as verbs can't be global. | ||
|
|
||
| #if DM_VERSION < 515 | ||
|
|
||
| /// Call by name proc reference, checks if the proc exists on this type or as a global proc | ||
| #define PROC_REF(X) (.proc/##X) | ||
| /// Call by name verb references, checks if the verb exists on either this type or as a global verb. | ||
| #define VERB_REF(X) (.verb/##X) | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. needed for 515 but wasn't ported before |
||
|
|
||
| /// Call by name proc reference, checks if the proc exists on given type or as a global proc | ||
| #define TYPE_PROC_REF(TYPE, X) (##TYPE.proc/##X) | ||
| /// Call by name verb reference, checks if the verb exists on either the given type or as a global verb | ||
| #define TYPE_VERB_REF(TYPE, X) (##TYPE.verb/##X) | ||
|
|
||
| /// Call by name proc reference, checks if the proc is existing global proc | ||
| #define GLOBAL_PROC_REF(X) (/proc/##X) | ||
|
|
||
| #else | ||
| /// Call by name proc reference, checks if the proc exists on this type or as a global proc | ||
|
|
||
| /// Call by name proc references, checks if the proc exists on either this type or as a global proc. | ||
| #define PROC_REF(X) (nameof(.proc/##X)) | ||
| /// Call by name proc reference, checks if the proc exists on given type or as a global proc | ||
| /// Call by name verb references, checks if the verb exists on either this type or as a global verb. | ||
| #define VERB_REF(X) (nameof(.verb/##X)) | ||
|
|
||
| /// Call by name proc reference, checks if the proc exists on either the given type or as a global proc | ||
| #define TYPE_PROC_REF(TYPE, X) (nameof(##TYPE.proc/##X)) | ||
| /// Call by name proc reference, checks if the proc is existing global proc | ||
| /// Call by name verb reference, checks if the verb exists on either the given type or as a global verb | ||
| #define TYPE_VERB_REF(TYPE, X) (nameof(##TYPE.verb/##X)) | ||
|
|
||
| /// Call by name proc reference, checks if the proc is an existing global proc | ||
| #define GLOBAL_PROC_REF(X) (/proc/##X) | ||
|
|
||
| #endif | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -8,19 +8,6 @@ | |
| return FALSE | ||
| return ..() | ||
|
|
||
| /datum/action/item_action/clock/toggle_visor | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove this in favor of the cooldown one |
||
| name = "Create Judicial Marker" | ||
| desc = "Allows you to create a stunning Judicial Marker at any location in view. Click again to disable." | ||
|
|
||
| /datum/action/item_action/clock/toggle_visor/IsAvailable(feedback = FALSE) | ||
| if(!is_servant_of_ratvar(owner)) | ||
| return FALSE | ||
| if(istype(target, /obj/item/clothing/glasses/judicial_visor)) | ||
| var/obj/item/clothing/glasses/judicial_visor/visor = target | ||
| if(visor.recharging) | ||
| return FALSE | ||
| return ..() | ||
|
|
||
| /datum/action/item_action/clock/hierophant | ||
| name = "Hierophant Network" | ||
| desc = "Lets you discreetly talk with all other servants. Nearby listeners can hear you whispering, so make sure to do this privately." | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moves mood up since we cleaned space