Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mine Defusal Outpost Missions #3147

Merged
merged 3 commits into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions code/game/objects/items/storage/toolbox.dm
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,18 @@
new /obj/item/clothing/mask/infiltrator(src)
new /obj/item/clothing/shoes/combat/sneakboots(src)

/obj/item/storage/toolbox/bounty
name = "defused explosives case"
desc = "Store defused landmines in here."
icon_state = "infiltrator_case"
item_state = "infiltrator_case"

/obj/item/storage/toolbox/bounty/ComponentInitialize()
. = ..()
var/datum/component/storage/STR = GetComponent(/datum/component/storage)
STR.max_combined_w_class = 8
STR.max_items = 4

//floorbot assembly
/obj/item/storage/toolbox/attackby(obj/item/stack/tile/plasteel/T, mob/user, params)
var/list/allowed_toolbox = list(/obj/item/storage/toolbox/emergency, //which toolboxes can be made into floorbots
Expand Down
15 changes: 15 additions & 0 deletions code/modules/overmap/missions/acquire_mission.dm
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,21 @@ Acquire: Anomaly
weight = 1
objective_type = /mob/living/simple_animal/bot/firebot/rockplanet

/*
Acquire: Landmines
*/

/datum/mission/acquire/landmine/rusted
name = "Defuse rusted landmines"
desc = "We've been issued a bounty to make the Frontier a safer place by disarming dated landmines. Mind your fingers."
weight = 6
value = 2000
duration = 80 MINUTES
dur_mod_range = 0.4
container_type = /obj/item/storage/toolbox/bounty
objective_type = /obj/item/mine/pressure/explosive/rusty
rye-rice marked this conversation as resolved.
Show resolved Hide resolved
num_wanted = 4

/*
Acquire: Fishing
*/
Expand Down
Loading