mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Tweaks space whales (#32011)
* Tweaks space whales * Small adjustment * Checks * Lints * Apply suggestion from @CRUNCH-Borg Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com> Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> --------- Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
This commit is contained in:
co-authored by
CRUNCH
Burzah
parent
7ed6ec20c6
commit
dbd680787c
@@ -0,0 +1,14 @@
|
||||
/datum/event/carp_migration/whale
|
||||
name = "Whale Pod"
|
||||
spawned_mobs = list(
|
||||
/mob/living/basic/megafauna/space_whale)
|
||||
|
||||
/datum/event/carp_migration/whale/start()
|
||||
spawn_fish(rand(1, 3), 1, 1) // Whales are rather big and can cause good damage if angered so keeping numbers low
|
||||
spawned_mobs = list(
|
||||
/mob/living/basic/carp = 95,
|
||||
/mob/living/basic/carp/megacarp = 5)
|
||||
spawn_fish(rand(1, 4), 2, 6) // Spawn some fish for them to eat too.
|
||||
|
||||
/datum/event/carp_migration/whale/announce()
|
||||
GLOB.minor_announcement.Announce("Migration of space whales detected near [station_name()]. Please stand by.", "Lifesign Alert")
|
||||
@@ -1,7 +0,0 @@
|
||||
/datum/event/carp_migration/whale
|
||||
name = "Whale Pod"
|
||||
spawned_mobs = list(
|
||||
/mob/living/basic/megafauna/space_whale)
|
||||
|
||||
/datum/event/carp_migration/whale/start()
|
||||
spawn_fish(rand(1, 2), 1, 3) // Whales are rather big and can cause good damage if angered so keeping numbers low
|
||||
@@ -22,8 +22,9 @@
|
||||
pixel_x = -80
|
||||
pixel_y = -96
|
||||
faction = list("neutral", "whale")
|
||||
weather_immunities = list("lava","ash", "burn", "rad")
|
||||
step_type = FOOTSTEP_MOB_HEAVY
|
||||
true_spawn = FALSE
|
||||
internal_gps = /obj/item/gps/internal/space_whale
|
||||
ai_controller = /datum/ai_controller/basic_controller/space_whale
|
||||
innate_actions = list(
|
||||
/datum/action/cooldown/mob_cooldown/space_whale/charge = BB_WHALE_CHARGE_ACTION)
|
||||
@@ -57,3 +58,8 @@
|
||||
if(harbringer == attacker) // Do not commit suicide attacking yourself
|
||||
continue
|
||||
harbringer.ai_controller.insert_blackboard_key_lazylist(BB_BASIC_MOB_RETALIATE_LIST, attacker)
|
||||
|
||||
/obj/item/gps/internal/space_whale
|
||||
icon_state = null
|
||||
gpstag = "Whale Signal"
|
||||
desc = "You hear the groaning call of the space whale."
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
max_target_distance = 15
|
||||
planning_subtrees = list(
|
||||
/datum/ai_planning_subtree/target_retaliate,
|
||||
/datum/ai_planning_subtree/find_and_hunt_target/fish,
|
||||
/datum/ai_planning_subtree/find_food,
|
||||
/datum/ai_planning_subtree/simple_find_target,
|
||||
/datum/ai_planning_subtree/targeted_mob_ability/whale_offensive_spellcasting,
|
||||
/datum/ai_planning_subtree/attack_obstacle_in_path/walls,
|
||||
|
||||
Reference in New Issue
Block a user