Skip to content

Commit

Permalink
Lor13 Boss Raids. (#1594)
Browse files Browse the repository at this point in the history
* raids

* a

* gcorp
  • Loading branch information
TaculoTaculo authored Nov 1, 2023
1 parent fca3529 commit c2c64fe
Showing 1 changed file with 34 additions and 8 deletions.
42 changes: 34 additions & 8 deletions code/controllers/subsystem/city_events.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ SUBSYSTEM_DEF(cityevents)
var/list/total_events = list()
var/list/distortions_available = list()
var/helpful_events = list("chickens", "money", "tresmetal", "hppens", "sppens")
var/harmful_events = list("drones", "beaks", "shrimp")
var/ordeal_events = list("sweepers", "scouts", "bots")
var/harmful_events = list("drones", "beaks", "shrimps", "lovetowneasy", "lovetownhard")
var/ordeal_events = list("sweepers", "scouts", "bots", "gbugs", "gcorporals")
var/neutral_events = list("swag")
var/boss_events = list("sweeper", "lovetown", "factory", "gcorp")
var/list/generated = list() //Which ckeys have generated stats
var/wavetime //How many waves have spawned? each wave increases the # of enemies by about 5%. One wave is every 5 minutes

Expand Down Expand Up @@ -69,11 +70,11 @@ SUBSYSTEM_DEF(cityevents)
//Events
/datum/controller/subsystem/cityevents/proc/Event()
addtimer(CALLBACK(src, .proc/Event), 5 MINUTES)
var/chosen_event = pick(total_events)
var/chosen_event
if(wavetime == 10 && wavetime !=0) //after 50 minutes
Boss()
wavetime+=1
return
chosen_event = Boss()
else
chosen_event = pick(total_events)

switch (chosen_event)
if("sweepers")
Expand All @@ -82,14 +83,24 @@ SUBSYSTEM_DEF(cityevents)
spawnatlandmark(/mob/living/simple_animal/hostile/ordeal/indigo_dawn, 40)
if("bots")
spawnatlandmark(/mob/living/simple_animal/hostile/ordeal/green_bot, 10)
if("gbugs")
spawnatlandmark(/mob/living/simple_animal/hostile/ordeal/steel_dawn, 30)
if("gcorporals")
spawnatlandmark(/mob/living/simple_animal/hostile/ordeal/steel_dawn/steel_noon, 10)

//Harmful events
if("shrimp")
if("shrimps")
spawnatlandmark(/mob/living/simple_animal/hostile/shrimp, 20)
if("beaks")
spawnatlandmark(/mob/living/simple_animal/hostile/ordeal/bigBirdEye, 10)
if("drones")
spawnatlandmark(/mob/living/simple_animal/hostile/kcorp/drone, -10)//extremely low chance
if("lovetowneasy")
spawnatlandmark(pick(/mob/living/simple_animal/hostile/lovetown/slasher,
/mob/living/simple_animal/hostile/lovetown/stabber), 25)
if("lovetownhard")
spawnatlandmark(pick(/mob/living/simple_animal/hostile/lovetown/shambler,
/mob/living/simple_animal/hostile/lovetown/slumberer), 5)

//Good events
if("chickens")
Expand Down Expand Up @@ -130,9 +141,24 @@ SUBSYSTEM_DEF(cityevents)
/datum/controller/subsystem/cityevents/proc/Boss()
minor_announce("Warning, large hostile detected. Suppression required.", "Local Activity Alert:", TRUE)
var/T = pick(spawners)
var/chosen_boss = pick(boss_events)
var/chosen_event
new /obj/effect/bloodpool(get_turf(T))
sleep(10)
new /mob/living/simple_animal/hostile/ordeal/indigo_dusk/red (get_turf(T))
switch(chosen_boss)
if ("lovetown")
new /mob/living/simple_animal/hostile/lovetown/abomination (get_turf(T))
chosen_event = "lovetowneasy"
if ("sweeper")
new /mob/living/simple_animal/hostile/ordeal/indigo_dusk/red (get_turf(T))
chosen_event = "scouts"
if ("factory")
new /mob/living/simple_animal/hostile/ordeal/green_dusk (get_turf(T))
chosen_event = "bots"
if ("gcorp")
new /mob/living/simple_animal/hostile/ordeal/steel_dusk (get_turf(T))
chosen_event = "gbugs"
return chosen_event

//Distortions
/datum/controller/subsystem/cityevents/proc/Distort()
Expand Down

0 comments on commit c2c64fe

Please sign in to comment.