From 95e2b5c7261424ce3dc2e23c83fbfb36c6a6ae3c Mon Sep 17 00:00:00 2001 From: Sharkmare <34294231+Sharkmare@users.noreply.github.com> Date: Fri, 29 Mar 2019 12:43:20 +0100 Subject: [PATCH] Guns with Legs I'll make sprites for these at some point and randomize what sprites they have. --- .../living/simple_animal/aliens/gunwithleg.dm | 106 ++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 code/modules/mob/living/simple_animal/aliens/gunwithleg.dm diff --git a/code/modules/mob/living/simple_animal/aliens/gunwithleg.dm b/code/modules/mob/living/simple_animal/aliens/gunwithleg.dm new file mode 100644 index 0000000000..e1f6cbd9ac --- /dev/null +++ b/code/modules/mob/living/simple_animal/aliens/gunwithleg.dm @@ -0,0 +1,106 @@ +//LEgs with guns +#define LASERS_TO_KILL *30 //how many default lasers are needed to kill them. + +//EVIL GUN +/mob/living/simple_animal/hostile/legun + name = "Legged gun" + desc = "A true weapon." + icon = 'icons/mob/hivebot.dmi' + icon_state = "basic" + icon_living = "basic" + icon_dead = "basic" + + faction = "gun" + intelligence_level = SA_ROBOTIC + maxHealth = 1 LASERS_TO_KILL + health = 1 LASERS_TO_KILL + speed = 7 + + ranged = 1 + + melee_damage_lower = 15 + melee_damage_upper = 15 + + attacktext = list("bludgeoned") + projectilesound = 'sound/weapons/Gunshot.ogg' + projectiletype = /obj/item/projectile/bullet/hivebot + + min_oxy = 0 + max_oxy = 0 + min_tox = 0 + max_tox = 0 + min_co2 = 0 + max_co2 = 0 + min_n2 = 0 + max_n2 = 0 + minbodytemp = 0 + + cooperative = TRUE + firing_lines = TRUE + investigates = TRUE + run_at_them = FALSE //VOREStation Edit + + speak_chance = 1 + speak = list( + "Resuming task: Protect area.", + "No threats found.", + "Error: No targets found." + ) + emote_hear = list("hums ominously", "whirrs softly", "grinds a gear") + emote_see = list("looks around the area", "turns from side to side") + say_understood = list("Affirmative.", "Positive.") + say_cannot = list("Denied.", "Negative.") + say_maybe_target = list("Possible threat detected. Investigating.", "Motion detected.", "Investigating.") + say_got_target = list("Threat detected.", "New task: Remove threat.", "Threat removal engaged.", "Engaging target.") + +//GOODBOY GUN +/mob/living/simple_animal/hostile/legun_goodboy + name = "Legged gun" + desc = "A true weapon." + icon = 'icons/mob/hivebot.dmi' + icon_state = "basic" + icon_living = "basic" + icon_dead = "basic" + + faction = "Station" + intelligence_level = SA_ROBOTIC + maxHealth = 1 LASERS_TO_KILL + health = 1 LASERS_TO_KILL + speed = 7 + + ranged = 1 + + melee_damage_lower = 15 + melee_damage_upper = 15 + + attacktext = list("bludgeoned") + projectilesound = 'sound/weapons/Gunshot.ogg' + projectiletype = /obj/item/projectile/bullet/hivebot + + min_oxy = 0 + max_oxy = 0 + min_tox = 0 + max_tox = 0 + min_co2 = 0 + max_co2 = 0 + min_n2 = 0 + max_n2 = 0 + minbodytemp = 0 + + cooperative = TRUE + firing_lines = TRUE + investigates = TRUE + run_at_them = FALSE //VOREStation Edit + + speak_chance = 1 + speak = list( + "Resuming task: Protect area.", + "No threats found.", + "Error: No targets found." + ) + emote_hear = list("hums ominously", "whirrs softly", "grinds a gear") + emote_see = list("looks around the area", "turns from side to side") + say_understood = list("Affirmative.", "Positive.") + say_cannot = list("Denied.", "Negative.") + say_maybe_target = list("Possible threat detected. Investigating.", "Motion detected.", "Investigating.") + say_got_target = list("Threat detected.", "New task: Remove threat.", "Threat removal engaged.", "Engaging target.")