-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Cultist pets (#80595) ## About The Pull Request cultists can now convert pets on their side. when you convert a pet, it will become much more dangerous and obedient to you, it will also gain a new dangerous AI. cultist pets will look for fellow dead cultists, and revive them by dragging them to nearby revival runes and activating it. if there is no revival runes around them then they will create their own and drag u to it. u can give them commands to follow, attack, or to create revival runes. they will also go around to crit non cultists so cultists can convert them ![pughealed](https://github.com/tgstation/tgstation/assets/138636438/8cd10a4f-2a30-40d9-b4fb-c9ff70bdcddd) they will also now feed on organs and blood for healing ## Why It's Good For The Game adds a extra layer to cult, u can now command non-sentient pets to aid you ## Changelog :cl: add: cultists can now convert pets to their side /:cl: --------- * Cultist pets * span_cultlarge > span_cult_large --------- Co-authored-by: NovaBot <[email protected]> Co-authored-by: Ben10Omintrix <[email protected]> Co-authored-by: san7890 <[email protected]> Co-authored-by: SomeRandomOwl <[email protected]>
- Loading branch information
1 parent
d2bd284
commit de3bb4c
Showing
42 changed files
with
604 additions
and
179 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
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
25 changes: 25 additions & 0 deletions
25
code/datums/ai/basic_mobs/basic_ai_behaviors/pull_target.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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/datum/ai_behavior/pull_target | ||
behavior_flags = AI_BEHAVIOR_REQUIRE_MOVEMENT | AI_BEHAVIOR_CAN_PLAN_DURING_EXECUTION | AI_BEHAVIOR_REQUIRE_REACH | ||
|
||
/datum/ai_behavior/pull_target/setup(datum/ai_controller/controller, target_key) | ||
. = ..() | ||
var/atom/target = controller.blackboard[target_key] | ||
if(QDELETED(target)) | ||
return FALSE | ||
set_movement_target(controller, target) | ||
|
||
/datum/ai_behavior/pull_target/perform(seconds_per_tick, datum/ai_controller/controller, target_key) | ||
. = ..() | ||
|
||
var/atom/movable/target = controller.blackboard[target_key] | ||
if(QDELETED(target) || target.anchored || target.pulledby) | ||
finish_action(controller, FALSE, target_key) | ||
return | ||
var/mob/living/our_mob = controller.pawn | ||
our_mob.start_pulling(target) | ||
finish_action(controller, TRUE, target_key) | ||
|
||
/datum/ai_behavior/pull_target/finish_action(datum/ai_controller/controller, succeeded, target_key) | ||
. = ..() | ||
if(!succeeded) | ||
controller.clear_blackboard_key(target_key) |
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.