Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 9ee215f

Browse files
authored
Adjusts Lone Op's weight increase requirements & sets a general weight for it to spawn/ (#22561)
1 parent 3009367 commit 9ee215f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

code/modules/antagonists/nukeop/equipment/nuclearbomb.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ This is here to make the tiles around the station mininuke change when it's arme
639639
if(newturf && lastlocation == newturf)
640640
if(last_disk_move < world.time - 5000 && prob((world.time - 5000 - last_disk_move)*0.0001))
641641
var/datum/round_event_control/operative/loneop = locate(/datum/round_event_control/operative) in SSevents.control
642-
if(istype(loneop) && loneop.occurrences < loneop.max_occurrences)
642+
if(istype(loneop) && (loneop.occurrences < loneop.max_occurrences) && SSticker.totalPlayers >= 25)
643643
loneop.weight += 1
644644
if(loneop.weight % 5 == 0 && SSticker.totalPlayers > 1)
645645
message_admins("[src] is stationary in [ADMIN_VERBOSEJMP(newturf)]. The weight of Lone Operative is now [loneop.weight].")

code/modules/events/operative.dm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
typepath = /datum/round_event/ghost_role/operative
44
weight = 0 //Admin only
55
max_occurrences = 1
6+
min_players = 25
67
dynamic_should_hijack = TRUE
78

89
/datum/round_event/ghost_role/operative

0 commit comments

Comments
 (0)