mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
@@ -152,3 +152,11 @@
|
||||
required_count = 2
|
||||
random_count = 1
|
||||
wanted_types = list(/obj/machinery/power/port_gen/pacman)
|
||||
|
||||
/datum/bounty/item/engineer/crossbow
|
||||
name = "Powered Crossbow"
|
||||
description = "Mictlanian Democratic Forces require weaponry to assist the TCFL in quelling the unrest following peaceful takeover, please ship us some powered crossbows."
|
||||
reward_low = 5000
|
||||
reward_high = 7500
|
||||
required_count = 2
|
||||
wanted_types = list(/obj/item/gun/launcher/crossbow)
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
/datum/bounty/New()
|
||||
if(reward_low > 0 && reward_high > reward_low)
|
||||
reward = round(rand(reward_low, reward_high), 100)
|
||||
reward = round(rand(reward_low, reward_high), 100)
|
||||
description = replacetext(description, "%DOCKNAME",current_map.dock_name)
|
||||
description = replacetext(description, "%DOCKSHORT",current_map.dock_short)
|
||||
description = replacetext(description, "%BOSSNAME",current_map.boss_name)
|
||||
@@ -166,41 +166,40 @@
|
||||
|
||||
// Called lazily at startup to populate bounties_list with random bounties.
|
||||
/datum/controller/subsystem/cargo/proc/setupBounties()
|
||||
|
||||
var/list/assistant_bounties = subtypesof(/datum/bounty/item/assistant)
|
||||
for(var/i = 0; i < BOUNTY_NUM_HIGH; i++)
|
||||
CHECK_TICK
|
||||
var/datum/bounty/subtype = pick(subtypesof(/datum/bounty/item/assistant))
|
||||
var/datum/bounty/subtype = pick(assistant_bounties)
|
||||
try_add_bounty(new subtype)
|
||||
|
||||
var/list/robotics_and_science_bounties = subtypesof(/datum/bounty/item/bot) + subtypesof(/datum/bounty/item/science)
|
||||
for(var/i = 0; i < BOUNTY_NUM_HIGH; i++)
|
||||
CHECK_TICK
|
||||
var/list/subtypes = subtypesof(/datum/bounty/item/bot)
|
||||
subtypes += subtypesof(/datum/bounty/item/science)
|
||||
var/datum/bounty/subtype = pick(subtypes)
|
||||
var/datum/bounty/subtype = pick(robotics_and_science_bounties)
|
||||
try_add_bounty(new subtype)
|
||||
|
||||
var/list/chef_bounties = subtypesof(/datum/bounty/item/chef)
|
||||
for(var/i = 0; i < BOUNTY_NUM_MED; i++)
|
||||
CHECK_TICK
|
||||
var/datum/bounty/subtype = pick(subtypesof(/datum/bounty/item/chef))
|
||||
var/datum/bounty/subtype = pick(chef_bounties)
|
||||
try_add_bounty(new subtype)
|
||||
|
||||
for(var/i = 0; i < BOUNTY_NUM_MED; i++)
|
||||
var/list/hydroponics_bounties = subtypesof(/datum/bounty/item/hydroponicist)
|
||||
for(var/i = 0; i < BOUNTY_NUM_MED; i++)
|
||||
CHECK_TICK
|
||||
var/datum/bounty/subtype = pick(subtypesof(/datum/bounty/item/hydroponicist))
|
||||
var/datum/bounty/subtype = pick(hydroponics_bounties)
|
||||
try_add_bounty(new subtype)
|
||||
|
||||
var/list/security_and_engineering_bounties = subtypesof(/datum/bounty/item/security) + subtypesof(/datum/bounty/item/engineer)
|
||||
for(var/i = 0; i < BOUNTY_NUM_HIGH; i++)
|
||||
CHECK_TICK
|
||||
var/list/subtypes = subtypesof(/datum/bounty/item/security)
|
||||
subtypes += subtypesof(/datum/bounty/item/engineer)
|
||||
var/datum/bounty/subtype = pick(subtypes)
|
||||
var/datum/bounty/subtype = pick(security_and_engineering_bounties)
|
||||
try_add_bounty(new subtype)
|
||||
|
||||
var/list/prototype_weapon_and_slime_bounties = subtypesof(/datum/bounty/weapon_prototype) + subtypesof(/datum/bounty/item/slime)
|
||||
for(var/i = 0; i < BOUNTY_NUM_LOW; i++)
|
||||
CHECK_TICK
|
||||
var/list/subtypes = subtypesof(/datum/bounty/weapon_prototype)
|
||||
subtypes += subtypesof(/datum/bounty/item/slime)
|
||||
var/datum/bounty/subtype = pick(subtypes)
|
||||
var/datum/bounty/subtype = pick(prototype_weapon_and_slime_bounties)
|
||||
try_add_bounty(new subtype)
|
||||
|
||||
//add one of each reagent, then another one picked at random
|
||||
|
||||
Reference in New Issue
Block a user