Files
S.P.L.U.R.T-Station-13/code/modules/events/high_priority_bounty.dm
SandPoot 54641ce201 send
2023-01-23 20:44:28 -03:00

23 lines
730 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
category = EVENT_CATEGORY_BUREAUCRATIC
description = "Creates bounties that are three times original worth."
/datum/round_event/high_priority_bounty/announce(fake)
priority_announce("Central Command has issued a high-priority cargo bounty. Details have been sent to all bounty consoles.", "Nanotrasen 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