mirror of
https://github.com/KabKebab/GS13.git
synced 2026-02-09 15:17:41 +00:00
21 lines
599 B
Plaintext
21 lines
599 B
Plaintext
/datum/round_event_control/high_priority_bounty
|
|
name = "High Priority Bounty"
|
|
typepath = /datum/round_event/high_priority_bounty
|
|
max_occurrences = 3
|
|
weight = 20
|
|
earliest_start = 10
|
|
|
|
/datum/round_event/high_priority_bounty/announce(fake)
|
|
priority_announce("C.C has issued a high-priority bounty. Details have been uploaded to all bounty consoles.", "GATO Bounty Program")
|
|
|
|
/datum/round_event/high_priority_bounty/start()
|
|
var/datum/bounty/B
|
|
for(var/attempts = 0; attempts < 50; ++attempts)
|
|
B = random_bounty()
|
|
if(!B)
|
|
continue
|
|
B.mark_high_priority(3)
|
|
if(try_add_bounty(B))
|
|
break
|
|
|