-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finishes off rat warren, bloodlings take more burn, the hide ability …
…didnt work and was replaced
- Loading branch information
Showing
5 changed files
with
25 additions
and
31 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
28 changes: 6 additions & 22 deletions
28
monkestation/code/modules/antagonists/bloodling/abilities/hide.dm
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,23 +1,7 @@ | ||
/datum/action/cooldown/bloodling/hide | ||
/datum/action/cooldown/sneak/bloodling | ||
name = "Hide" | ||
desc = "Allows you to hide beneath tables and certain objects." | ||
button_icon_state = "alien_hide" | ||
/// The layer we are on while hiding | ||
var/hide_layer = BULLET_HOLE_LAYER | ||
|
||
/datum/action/cooldown/bloodling/hide/Activate(atom/target) | ||
if(owner.layer == hide_layer) | ||
owner.layer = initial(owner.layer) | ||
owner.visible_message( | ||
span_notice("[owner] slowly peeks up from the ground..."), | ||
span_changeling("You stop hiding."), | ||
) | ||
|
||
else | ||
owner.layer = hide_layer | ||
owner.visible_message( | ||
span_name("[owner] scurries to the ground!"), | ||
span_changeling("You are now hiding."), | ||
) | ||
|
||
return TRUE | ||
panel = "alien" | ||
desc = "Blend into the shadows to stalk your prey." | ||
button_icon_state = "alien_sneak" | ||
background_icon_state = "bg_alien" | ||
overlay_icon_state = "bg_alien_border" |
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