Lubed Viscerators (#10668)

This commit is contained in:
Geeves
2020-12-05 13:49:06 +02:00
committed by GitHub
parent 131ad8a522
commit d86edb45f6
6 changed files with 73 additions and 51 deletions

View File

@@ -10,6 +10,12 @@
path = /obj/item/grenade/spawnergrenade/manhacks
desc = "A grenade that deploys five viscerator combat drones. Deadly in numbers, will not attack you or your allies."
/datum/uplink_item/item/grenades/lubed_manhack
name = "Lubed Viscerator Delivery Grenade"
item_cost = 8
path = /obj/item/grenade/spawnergrenade/manhacks/lubed
desc = "A grenade that deploys five lubed viscerator combat drones. Deadly in numbers, will not attack you or your allies. Works best when killed."
/datum/uplink_item/item/grenades/anti_photon
name = "5xPhoton Disruption Grenades"
item_cost = 2

View File

@@ -47,6 +47,9 @@
origin_tech = list(TECH_MATERIAL = 3, TECH_MAGNET = 4, TECH_ILLEGAL = 4)
flash = FALSE
/obj/item/grenade/spawnergrenade/manhacks/lubed
spawner_type = /mob/living/simple_animal/hostile/viscerator/lube
/obj/item/grenade/spawnergrenade/spesscarp
name = "carp delivery grenade"
spawner_type = /mob/living/simple_animal/hostile/carp

View File

@@ -135,54 +135,4 @@
speed = 0
/mob/living/simple_animal/hostile/syndicate/ranged/space/Allow_Spacemove(var/check_drift = 0)
return
/mob/living/simple_animal/hostile/viscerator
name = "viscerator"
desc = "A small, twin-bladed machine capable of inflicting very deadly lacerations."
icon = 'icons/mob/npc/aibots.dmi'
icon_state = "viscerator_attack"
icon_living = "viscerator_attack"
pass_flags = PASSTABLE
health = 15
maxHealth = 15
melee_damage_lower = 10
melee_damage_upper = 15
density = 0
attacktext = "cut"
attack_sound = 'sound/weapons/bladeslice.ogg'
blood_overlay_icon = null
faction = "syndicate"
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
tameable = FALSE
flying = TRUE
attack_emote = "buzzes at"
/mob/living/simple_animal/hostile/viscerator/death()
..(null,"is smashed into pieces!")
var/T = get_turf(src)
new /obj/effect/gibspawner/robot(T)
spark(T, 3, alldirs)
qdel(src)
/mob/living/simple_animal/hostile/viscerator/proc/wakeup()
stance = HOSTILE_STANCE_IDLE
/mob/living/simple_animal/hostile/viscerator/emp_act(severity)
LoseTarget()
stance = HOSTILE_STANCE_TIRED
addtimer(CALLBACK(src, .proc/wakeup), 150)
if(severity == 1.0)
apply_damage(5)
return

View File

@@ -0,0 +1,56 @@
/mob/living/simple_animal/hostile/viscerator
name = "viscerator"
desc = "A small, twin-bladed machine capable of inflicting very deadly lacerations."
icon = 'icons/mob/npc/aibots.dmi'
icon_state = "viscerator_attack"
icon_living = "viscerator_attack"
pass_flags = PASSTABLE
health = 15
maxHealth = 15
melee_damage_lower = 10
melee_damage_upper = 15
density = 0
attacktext = "cut"
attack_sound = 'sound/weapons/bladeslice.ogg'
blood_overlay_icon = null
faction = "syndicate"
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
tameable = FALSE
flying = TRUE
attack_emote = "buzzes at"
/mob/living/simple_animal/hostile/viscerator/death()
..(null,"is smashed into pieces!")
var/T = get_turf(src)
new /obj/effect/gibspawner/robot(T)
spark(T, 3, alldirs)
qdel(src)
/mob/living/simple_animal/hostile/viscerator/proc/wakeup()
stance = HOSTILE_STANCE_IDLE
/mob/living/simple_animal/hostile/viscerator/emp_act(severity)
LoseTarget()
stance = HOSTILE_STANCE_TIRED
addtimer(CALLBACK(src, .proc/wakeup), 150)
if(severity == 1.0)
apply_damage(5)
/mob/living/simple_animal/hostile/viscerator/lube/Initialize()
. = ..()
create_reagents(30)
reagents.add_reagent(/datum/reagent/lube, 30)
/mob/living/simple_animal/hostile/viscerator/lube/death()
reagents.splash(get_turf(src), 30)
..()