mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-11 16:14:08 +01:00
Adds a bloodwriting ability to the revenant, that functions like an innate red crayon (#5116)
## About The Pull Request Adds a free ability to the revenant, which allows them to write messages and draw runes as if they had a crayon. clicking the ability button opens the crayon menu, and clicking around allows the revenant to draw what was selected ## Why It's Good For The Game Encourages roleplay with revenants and gives them something to do if they can't get their hands on enough corpses ## Proof Of Testing <details> <summary>Screenshots/Videos</summary> <img width="1848" height="1354" alt="image" src="https://github.com/user-attachments/assets/379d1bfa-3c18-4574-b51c-6359168e9f3c" /> </details> ## Changelog 🆑 add: Added a bloodwriting ability to the revenant that works like a built-in crayon /🆑 --------- Co-authored-by: tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com> Co-authored-by: Alexis <catmc8565@gmail.com>
This commit is contained in:
@@ -73,6 +73,7 @@
|
||||
/datum/action/cooldown/spell/aoe/revenant/malfunction,
|
||||
/datum/action/cooldown/spell/aoe/revenant/overload,
|
||||
/datum/action/cooldown/spell/list_target/telepathy/revenant,
|
||||
/datum/action/cooldown/spell/pointed/revenant/bloodwriting, //BUBBER ADDITION
|
||||
)
|
||||
|
||||
/// The resource, and health, of revenants.
|
||||
@@ -202,6 +203,10 @@
|
||||
relay_to_list_and_observers(rendered, GLOB.revenant_relay_mobs, src)
|
||||
|
||||
/mob/living/basic/revenant/ClickOn(atom/A, params) //revenants can't interact with the world directly, so we gotta do some wacky override stuff
|
||||
//BUBBER ADDITION START
|
||||
if(check_click_intercept(params,A) || HAS_TRAIT(src, TRAIT_NO_TRANSFORM))
|
||||
return
|
||||
//BUBBER ADDITION END
|
||||
var/list/modifiers = params2list(params)
|
||||
if(LAZYACCESS(modifiers, SHIFT_CLICK))
|
||||
ShiftClickOn(A)
|
||||
|
||||
Reference in New Issue
Block a user