Skip to content

Commit

Permalink
Mine Defusal Outpost Missions (#3147)
Browse files Browse the repository at this point in the history
## About The Pull Request

There's now an outpost mission to deliver defused landmines for money.
Descriptions subject to change

## Why It's Good For The Game

I imagine several organizations would definitely offer bounties to
collect leftover landmines. Cute little flavour and some more variety in
outpost missions (with some danger).

## Changelog

:cl:
add: The outpost is now offering bounties to defuse landmines to
Frontier vessels.
/:cl:

---------

Signed-off-by: rye-rice <[email protected]>
Co-authored-by: rye-rice <[email protected]>
Co-authored-by: Theos <[email protected]>
  • Loading branch information
3 people authored Jul 11, 2024
1 parent ee7283e commit c2a1d8a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
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
num_wanted = 4

/*
Acquire: Fishing
*/
Expand Down

0 comments on commit c2a1d8a

Please sign in to comment.