Skip to content

Commit

Permalink
Клокворк-Танк.
Browse files Browse the repository at this point in the history
  • Loading branch information
SmiLeYre committed Jan 8, 2024
1 parent 5a63dee commit 5d72927
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
construct_name = "clockwork tahk"
construct_desc = "<span class='neovgre_small'>It will become a <b>clocktank,</b> a well-rounded frontline combatant that can fire his gun.</span>"
creation_message = "<span class='neovgre_small bold'>Crimson fire begins to rage in the armor as it rises into the air with its armaments!</span>"
construct_type = /mob/living/simple_animal/hostile/clocktank
construct_type = /mob/living/simple_animal/hostile/clockwork/clocktank

//Cogscarab shell, used to create cogcarabs - fragile but zippy little drones that build and maintain the base.
/obj/item/clockwork/construct_chassis/cogscarab
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
quickbind = TRUE
quickbind_desc = "Creates a clockwork tank, used for frontline combat."
object_path = /obj/item/clockwork/construct_chassis/clocktank
construct_type = /mob/living/simple_animal/hostile/clocktank
construct_type = /mob/living/simple_animal/hostile/clockwork/clocktank

//Summon Neovgre: Summon a very powerful combat mech that explodes when destroyed for massive damage.
/datum/clockwork_scripture/create_object/summon_arbiter
Expand Down
4 changes: 2 additions & 2 deletions code/modules/events/portal_storm.dm
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@
boss_types = list(/mob/living/simple_animal/hostile/boss/clockcultistboss = 1)
hostile_types = list(/mob/living/simple_animal/hostile/clockcultistmelee = 8,\
/mob/living/simple_animal/hostile/clockcultistranged = 5,\
/mob/living/simple_animal/hostile/clocktank/weak = 3,\
/mob/living/simple_animal/hostile/clocktank = 2)
/mob/living/simple_animal/hostile/clockwork/clocktank/weak = 3,\
/mob/living/simple_animal/hostile/clockwork/clocktank = 2)
triggersound = 'modular_bluemoon/kovac_shitcode/sound/clock_storm.ogg'

/datum/round_event/portal_storm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
var/current_len = length(summoned_minions)
if(current_len > maximum_tanks - tanks_to_summon)
for(var/a in (maximum_tanks - tanks_to_summon) to current_len)
var/mob/living/simple_animal/hostile/clocktank/weak/S = popleft(summoned_minions)
var/mob/living/simple_animal/hostile/clockwork/clocktank/weak/S = popleft(summoned_minions)
if(!S.client)
qdel(S)
else
Expand All @@ -65,12 +65,12 @@
to_summon--

var/static/list/minions = list(
/mob/living/simple_animal/hostile/clocktank/weak)
/mob/living/simple_animal/hostile/clockwork/clocktank/weak)

var/list/directions = GLOB.cardinals.Copy()
for(var/i in 1 to to_summon)
var/minions_chosen = pick(minions)
var/mob/living/simple_animal/hostile/clocktank/weak/S = new minions_chosen (get_step(boss,pick_n_take(directions)), 1)
var/mob/living/simple_animal/hostile/clockwork/clocktank/weak/S = new minions_chosen (get_step(boss,pick_n_take(directions)), 1)
S.faction = boss.faction
RegisterSignal(S, COMSIG_PARENT_QDELETING, .proc/remove_from_list)
summoned_minions += S
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/mob/living/simple_animal/hostile/clocktank
/mob/living/simple_animal/hostile/clockwork/clocktank
name = "Clockwork Mini-Tank"
desc = "Small as a cat, as powerful as the real deal."
icon = 'modular_splurt/icons/mobs/vharmob.dmi'
Expand Down Expand Up @@ -35,7 +35,7 @@
move_to_delay = 4
loot = list(/obj/effect/gibspawner/robot)

/mob/living/simple_animal/hostile/clocktank/weak
/mob/living/simple_animal/hostile/clockwork/clocktank/weak
name = "Weakened Clockwork Mini-Tank"
desc = "Even weaker variants of the mini-tank, don't get cocky tho."
maxHealth = 30
Expand Down

0 comments on commit 5d72927

Please sign in to comment.