mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 04:17:33 +01:00
d1671f7038
changes: - rscdel: "Removes 'Assembled Solar Panels' bounty from bounty pool and updates the 'Solar Assemblies or Trackers' with its old description referencing the phoron scarcity."
44 lines
1.5 KiB
Plaintext
44 lines
1.5 KiB
Plaintext
/datum/bounty/more_bounties
|
|
name = "More Bounties"
|
|
description = "Complete enough bounties and %BOSSSHORT will issue new ones!"
|
|
reward = 3 // number of bounties
|
|
var/required_bounties = 5
|
|
|
|
/datum/bounty/more_bounties/can_claim()
|
|
return ..() && SScargo.completed_bounty_count() >= required_bounties
|
|
|
|
/datum/bounty/more_bounties/completion_string()
|
|
return "[min(required_bounties, SScargo.completed_bounty_count())]/[required_bounties] Bounties"
|
|
|
|
/datum/bounty/more_bounties/reward_string()
|
|
return "Up to [reward] new bounties"
|
|
|
|
/datum/bounty/more_bounties/claim()
|
|
if(can_claim())
|
|
claimed = TRUE
|
|
for(var/i = 0; i < reward; ++i)
|
|
SScargo.try_add_bounty(SScargo.random_bounty())
|
|
|
|
//Part of the Horizon's operations is to secure phoron, so high priority.
|
|
|
|
/datum/bounty/item/phoron_sheet
|
|
name = "Phoron Sheets"
|
|
description = "Shipment of Phoron is considered to be a key part of the SCCV Horizon's operations. This bounty should always be prioritized."
|
|
reward_low = 2000
|
|
reward_high = 4000
|
|
required_count = 40
|
|
random_count = 10
|
|
wanted_types = list(/obj/item/stack/material/phoron)
|
|
high_priority = TRUE
|
|
|
|
/datum/bounty/item/phoron_sheet/New()
|
|
..()
|
|
required_count = round(required_count, 10)
|
|
//Overwrite the normal price randomization because the random_count is so high. There would be absolutely nuts price fluctuation.
|
|
reward = round(rand(reward_low, reward_high), 100)
|
|
|
|
/datum/bounty/item/phoron_sheet/ship(var/obj/item/stack/material/phoron/O)
|
|
if(!applies_to(O))
|
|
return
|
|
shipped_count += O.amount
|