Skip to content

Commit

Permalink
Фикс цен на новые миссии
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCat15352 committed Jan 14, 2025
1 parent 7998536 commit 4c54f4f
Showing 1 changed file with 85 additions and 1 deletion.
86 changes: 85 additions & 1 deletion mod_celadon/economy/code/missions/acquire_mission.dm
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@ Acquire: Anomaly
value = num_wanted * value + 500
return ..()


/obj/item/storage/box/anomaly/ComponentInitialize()
. = ..()
var/datum/component/storage/STR = GetComponent(/datum/component/storage)
STR.max_combined_w_class = WEIGHT_CLASS_NORMAL
STR.max_w_class = WEIGHT_CLASS_NORMAL
STR.max_items = 10


// /datum/mission/acquire/anomaly/New(...)
// var/group = pick(list(
// "Cybersun Industries",
Expand Down Expand Up @@ -242,6 +251,74 @@ Acquire: Anomaly
value = num_wanted * value + 500
return ..()

/datum/mission/acquire/bounty
name = "Hunt down Frontiersmen Dogtags"
desc = "CLIP has assigned us to offer out bounties to hunt down Frontiersman cells and turn in their dogtags. We'll reward you well."
weight = 4
value = 3000
duration = 100 MINUTES
dur_mod_range = 0.2
container_type = /obj/item/storage/toolbox/bounty/hunt
objective_type = /obj/item/clothing/neck/dogtag/frontier
num_wanted = 3

/datum/mission/acquire/bounty/New(...)
num_wanted = rand(num_wanted, num_wanted + 2)
// value += num_wanted*100
value = num_wanted * value + 500
return ..()

/datum/mission/acquire/bounty/ramzi
name = "Hunt down Ramzi Clique Dogtags"
desc = "Gezena has assigned us to offer out bounties to hunt down Ramzi Clique outfits and turn in their dogtags. We'll reward you well."
weight = 3
value = 4000
duration = 120 MINUTES
dur_mod_range = 0.1
container_type = /obj/item/storage/toolbox/bounty/hunt
objective_type = /obj/item/clothing/neck/dogtag/ramzi
num_wanted = 3

/datum/mission/acquire/bounty/ramzi/New(...)
num_wanted = rand(num_wanted, num_wanted + 2)
// value += num_wanted*100
value = num_wanted * value + 500
return ..()

/datum/mission/acquire/salvage
name = "Deliver Protolathe"
desc = "The Nanotrasen Corporation is contracting out to have scientific equipment returned. Looking for a rare circuitboard (R&D Console, Protolathe, Circuit Imprinter) of any type."
weight = 2
value = 4000
duration = 120 MINUTES
dur_mod_range = 0.3
container_type = /obj/item/storage/toolbox/bounty/salvage
objective_type = /obj/item/circuitboard/machine/protolathe
num_wanted = 1

/datum/mission/acquire/salvage/New(...)
num_wanted = rand(num_wanted, num_wanted + 2)
// value += num_wanted*100
value = num_wanted * value + 500
return ..()

/datum/mission/acquire/salvage/console
name = "Deliver R&D Console"
desc = "The Nanotrasen Corporation is contracting out to have scientific equipment returned. Looking for a rare circuitboard (R&D Console, Protolathe, Circuit Imprinter) of any type."
weight = 3
value = 2500
duration = 120 MINUTES
dur_mod_range = 0.3
container_type = /obj/item/storage/toolbox/bounty/salvage
objective_type = /obj/item/circuitboard/computer/rdconsole
num_wanted = 1

/datum/mission/acquire/salvage/console/New(...)
num_wanted = rand(num_wanted, num_wanted + 2)
// value += num_wanted*100
value = num_wanted * value + 500
return ..()

/*
Acquire: Fishing
*/
Expand Down Expand Up @@ -352,6 +429,13 @@ Acquire: Anomaly
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
foldable = null

/obj/item/storage/box/true_love/ComponentInitialize()
. = ..()
var/datum/component/storage/STR = GetComponent(/datum/component/storage)
STR.max_combined_w_class = WEIGHT_CLASS_NORMAL
STR.max_w_class = WEIGHT_CLASS_NORMAL
STR.max_items = 5

// /obj/item/storage/box/true_love/ComponentInitialize()
// . = ..()
// var/datum/component/storage/STR = GetComponent(/datum/component/storage)
Expand All @@ -370,7 +454,7 @@ Acquire: Anomaly
/obj/item/storage/fish_case/mission/big/ComponentInitialize()
. = ..()
var/datum/component/storage/STR = GetComponent(/datum/component/storage)
STR.max_items = 3
STR.max_items = 6

// /obj/item/storage/box/anomaly
// name = "anomaly case"
Expand Down

0 comments on commit 4c54f4f

Please sign in to comment.