Skip to content

Commit

Permalink
Adds third w-corp type
Browse files Browse the repository at this point in the history
peccatulums (lady of the lake boss)
  • Loading branch information
Litberries committed Dec 4, 2023
1 parent d398e40 commit 3de2e63
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 1 deletion.
65 changes: 65 additions & 0 deletions ModularTegustation/tegu_items/wcorp/enemies.dm
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,71 @@ GLOBAL_VAR_INIT(wcorp_boss_spawn, FALSE)
else
spawntype = /mob/living/simple_animal/hostile/lovetown/slumberer

if("peccatulum")
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_gluttony
switch(GLOB.combat_counter)

//Mostly gluttony, with a lil sloth
if(1 to 2)
switch(rand(1,100))
if(50 to 85)
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_gluttony
if(85 to 100)
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_sloth


//i dont know what the fuck im doing
if(3 to 5)
switch(rand(1,100))
if(10 to 55)
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_sloth
if(55 to 100)
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_gloom


//25% Slasher / 25% Stabber / 20% Slammer / 15% Shambler / 15% Slumberer but for peccs I guess???
if(6 to 12)
switch(rand(1, 100))
if(15 to 40)
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_gluttony
if(40 to 65)
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_sloth
if(65 to 85)
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_gloom
if(85 to 100)
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_pride


//100% one Abomination, rest 20% Slashers / 20% Stabbers / 60% Suicidals
if(13 to 14)
if(!GLOB.wcorp_boss_spawn)
GLOB.wcorp_boss_spawn = TRUE
spawntype = /mob/living/simple_animal/hostile/ordeal/white_lake_corrosion
else
switch(rand(1,100))
if(60 to 80)
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_pride
if(80 to 100)
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_gloom
else
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_gluttony

//20% Slasher / 20% Stabber / 20% Slammer / 20% Shambler / 20% Slumberer
if(15 to INFINITY)
switch(rand(1, 100))
if(20 to 30)
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_lust
if(30 to 60)
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_gloom
if(60 to 80)
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_wrath
if(80 to 100)
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_pride
else
spawntype = /mob/living/simple_animal/hostile/ordeal/sin_gluttony



var/mob/living/simple_animal/hostile/H = new spawntype(get_turf(src))
H.can_patrol = TRUE
H.patrol_cooldown_time = 10 SECONDS
Expand Down
4 changes: 3 additions & 1 deletion code/game/gamemodes/management/event/combat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ GLOBAL_VAR_INIT(wcorp_enemy_faction, "") //decides which faction WCorp will be u
addtimer(CALLBACK(src, .proc/counterincrease), 3 MINUTES)
to_chat(world, "<span class='userdanger'>Players will be victorius 20 minutes.</span>")

switch(rand(1,2))
switch(rand(1,3))
if(1)
GLOB.wcorp_enemy_faction = "lovetown"
if(2)
GLOB.wcorp_enemy_faction = "gcorp"
if(3)
GLOB.wcorp_enemy_faction = "peccatulum"

/datum/game_mode/combat/proc/loseround()
SSticker.force_ending = 1
Expand Down

0 comments on commit 3de2e63

Please sign in to comment.