-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds pike burrow structure * Minor fixes * Processing + Cooldown fixes * Tweaks * More tweaks Added infestation exo event, AI targeting tweaks * Chemical tweaks, adds new painkiller using grauel * Blood color helper * Replaces pike burrow's process with recursive(?) proc call * Actually uses pike burrow's attack delay var * Fix * Tweaks the ISC bunker Fixes the type of heart of the hive, adds a pike burrow, other minor stuff * Runtime fix * Some balance, lurker code * Tiny fix
- Loading branch information
1 parent
4feecb6
commit d883ffc
Showing
34 changed files
with
442 additions
and
79 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
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
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
82 changes: 82 additions & 0 deletions
82
code/modules/mob/living/simple_animal/hostile/infestation/lurker.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,82 @@ | ||
// High ranged damage, Medium health, Low mobility. | ||
// Recommended strategy is to rush it, as its melee damage is subpar and has no armor penetration. | ||
/mob/living/simple_animal/hostile/infestation/lurker | ||
name = "lurker" | ||
desc = "A spider-like creature with multiple spikes protruding from its \"legs\"." | ||
icon = 'icons/mob/simple_animal/abominable_infestation/48x48.dmi' | ||
// !!!! I am not a very good spriter, please update it later !!!! | ||
icon_state = "eviscerator" | ||
icon_living = "eviscerator" | ||
icon_dead = "eviscerator_dead" | ||
mob_size = MOB_MEDIUM | ||
movement_cooldown = 5 | ||
|
||
natural_weapon = /obj/item/natural_weapon/claws/abomination_lurker | ||
|
||
base_attack_cooldown = 1 SECONDS | ||
ranged_attack_cooldown = 3 SECONDS | ||
|
||
special_attack_min_range = 2 | ||
special_attack_max_range = 6 | ||
special_attack_cooldown = 2 SECONDS | ||
|
||
health = 400 | ||
maxHealth = 400 | ||
|
||
meat_type = /obj/item/reagent_containers/food/snacks/abominationmeat | ||
meat_amount = 6 | ||
skin_material = MATERIAL_SKIN_CHITIN | ||
skin_amount = 4 | ||
bone_material = MATERIAL_BONE_CARTILAGE | ||
bone_amount = 10 | ||
|
||
ai_holder_type = /datum/ai_holder/simple_animal/infestation/lurker | ||
say_list_type = /datum/say_list/infestation_lurker | ||
death_sounds = list('sound/simple_mob/abominable_infestation/lurker/death.ogg') | ||
|
||
var/spike_damage = 35 | ||
/// Sleep time between each new spike | ||
var/spike_delay = 1.5 | ||
|
||
/obj/item/natural_weapon/claws/abomination_lurker | ||
force = 10 | ||
armor_penetration = 10 | ||
hitsound = 'sound/simple_mob/abominable_infestation/eviscerator/attack.ogg' | ||
|
||
/datum/say_list/infestation_lurker | ||
emote_hear = list("gurgles") | ||
|
||
emote_hear_sounds = list( | ||
'sound/simple_mob/abominable_infestation/lurker/ambient_1.ogg', | ||
) | ||
|
||
/datum/ai_holder/simple_animal/infestation/lurker | ||
returns_home = FALSE | ||
home_low_priority = TRUE | ||
speak_chance = 2 | ||
wander = TRUE | ||
base_wander_delay = 15 | ||
|
||
/datum/ai_holder/simple_animal/infestation/lurker/closest_distance(atom/movable/AM) | ||
return holder.special_attack_min_range | ||
|
||
/datum/ai_holder/simple_animal/infestation/lurker/max_range(atom/movable/AM) | ||
return holder.special_attack_max_range | ||
|
||
/mob/living/simple_animal/hostile/infestation/lurker/do_special_attack(atom/A) | ||
set waitfor = FALSE | ||
set_AI_busy(TRUE) | ||
face_atom(A) | ||
|
||
var/list/attack_line = getline(get_step(src, get_dir(src, A)), A) | ||
for(var/turf/T in attack_line) | ||
sleep(spike_delay) | ||
SpikeTurf(T) | ||
|
||
set_AI_busy(FALSE) | ||
|
||
/mob/living/simple_animal/hostile/infestation/lurker/proc/SpikeTurf(turf/T) | ||
if(QDELETED(src)) | ||
return FALSE | ||
|
||
new /obj/effect/temp_visual/infestation_spike(T, get_dir(src, T), spike_damage) |
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
2 changes: 2 additions & 0 deletions
2
code/modules/mob/living/simple_animal/hostile/infestation/spitter.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
Oops, something went wrong.