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

New Cargo Missions (Pirate Bounties, Salvage) #3327

Merged
merged 24 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
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
20 changes: 20 additions & 0 deletions code/game/objects/items/storage/toolbox.dm
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,26 @@
STR.max_combined_w_class = 4
STR.max_items = 2

/obj/item/storage/toolbox/bounty/hunt
name = "dogtag case"
desc = "Store pirate dogtags in here."

/obj/item/storage/toolbox/bounty/hunt/ComponentInitialize()
. = ..()
var/datum/component/storage/STR = GetComponent(/datum/component/storage)
STR.max_combined_w_class = 6
STR.max_items = 3

/obj/item/storage/toolbox/bounty/salvage
name = "research case"
desc = "Store salvaged science equipment in here."

/obj/item/storage/toolbox/bounty/salvage/ComponentInitialize()
. = ..()
var/datum/component/storage/STR = GetComponent(/datum/component/storage)
STR.max_combined_w_class = 2
STR.max_items = 1

//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
17 changes: 17 additions & 0 deletions code/modules/clothing/neck/_neck.dm
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,23 @@
tagname = stripped_input(user, "Would you like to change the name on the tag?", "Name your new pet", "Spot", MAX_NAME_LEN)
name = "[initial(name)] - [tagname]"

/obj/item/clothing/neck/dogtag
name = "dogtag"
desc = "A nondescript dogtag."
icon = 'icons/obj/clothing/neck.dmi'
icon_state = "dogtag"
resistance_flags = FIRE_PROOF
w_class = WEIGHT_CLASS_SMALL
slot_flags = ITEM_SLOT_NECK | ITEM_SLOT_POCKETS

/obj/item/clothing/neck/dogtag/frontier
name = "frontiersman dogtag"
desc = "A dogtag marked with the name and rank of a Frontiersmen pirate. You could turn this in to an outpost console contract for money."

/obj/item/clothing/neck/dogtag/ramzi
name = "ramzi clique dogtag"
desc = "A dogtag marked with the name and rank of a Ramzi Clique pirate. You could turn this in to an outpost console contract for money."

//////////////
//DOPE BLING//
//////////////
Expand Down
1 change: 1 addition & 0 deletions code/modules/mob/living/simple_animal/corpse.dm
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
shoes = /obj/item/clothing/shoes/jackboots
head = /obj/item/clothing/head/beret/sec/frontier
gloves = /obj/item/clothing/gloves/color/black
neck = /obj/item/clothing/neck/dogtag/frontier

/obj/effect/mob_spawn/human/corpse/frontier/ranged
outfit = /datum/outfit/frontier
Expand Down
14 changes: 9 additions & 5 deletions code/modules/mob/living/simple_animal/hostile/human/syndicate.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
icon_living = "syndicate"
speak_chance = 0
stat_attack = HARD_CRIT
loot = list(/obj/effect/mob_spawn/human/corpse/syndicatesoldier)
loot = list(/obj/effect/mob_spawn/human/corpse/syndicatesoldier, /obj/item/clothing/neck/dogtag/ramzi)
atmos_requirements = list("min_oxy" = 5, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 1, "min_co2" = 0, "max_co2" = 5, "min_n2" = 0, "max_n2" = 0)
maxbodytemp = 400
unsuitable_atmos_damage = 15
faction = list(FACTION_ANTAG_SYNDICATE)
Expand All @@ -31,6 +32,7 @@
minbodytemp = 0
maxbodytemp = 1000
speed = 1
loot = list(/obj/item/clothing/neck/dogtag/ramzi)
armor_base = /obj/item/clothing/suit/space/hardsuit/syndi/ramzi

/mob/living/simple_animal/hostile/human/syndicate/space/Initialize()
Expand All @@ -49,7 +51,7 @@
melee_damage_upper = 15
icon_state = "syndicate_knife"
icon_living = "syndicate_knife"
loot = list(/obj/effect/gibspawner/human)
loot = list(/obj/effect/gibspawner/human, /obj/item/clothing/neck/dogtag/ramzi)
attack_verb_continuous = "slashes"
attack_verb_simple = "slash"
attack_sound = 'sound/weapons/bladeslice.ogg'
Expand All @@ -75,6 +77,8 @@
icon_state = "syndicate_stormtrooper_knife"
icon_living = "syndicate_stormtrooper_knife"
name = "Ramzi Clique Stormtrooper"
maxHealth = 250
health = 250
projectile_deflect_chance = 50
armor_base = /obj/item/clothing/suit/space/hardsuit/syndi

Expand All @@ -90,7 +94,7 @@
light_color = COLOR_SOFT_RED
status_flags = 0
var/obj/effect/light_emitter/red_energy_sword/sord
projectile_deflect_chance = 50
projectile_deflect_chance = 25

/mob/living/simple_animal/hostile/human/syndicate/melee/sword/Initialize()
. = ..()
Expand Down Expand Up @@ -144,13 +148,13 @@
icon_living = "syndicate_pistol"
casingtype = /obj/item/ammo_casing/c10mm
projectilesound = 'sound/weapons/gun/pistol/shot.ogg'
loot = list(/obj/effect/gibspawner/human)
loot = list(/obj/effect/gibspawner/human, /obj/item/clothing/neck/dogtag/ramzi)
dodging = FALSE
rapid_melee = 1

/mob/living/simple_animal/hostile/human/syndicate/ranged/infiltrator //shuttle loan event
projectilesound = 'sound/weapons/gun/smg/shot_suppressed.ogg'
loot = list(/obj/effect/mob_spawn/human/corpse/syndicatesoldier)
loot = list(/obj/effect/mob_spawn/human/corpse/syndicatesoldier, /obj/item/clothing/neck/dogtag/ramzi)

/mob/living/simple_animal/hostile/human/syndicate/ranged/space
icon_state = "syndicate_space_pistol"
Expand Down
74 changes: 47 additions & 27 deletions code/modules/overmap/missions/acquire_mission.dm
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@

/datum/mission/acquire/true_love/strange_crystal
name = "Strange crystal needed (urgent!!!)"
value = 1000
value = 4000
weight = 1
objective_type = /obj/item/strange_crystal

Expand Down Expand Up @@ -172,40 +172,16 @@ Acquire: Anomaly
value = 1300
objective_type = /mob/living/simple_animal/hostile/asteroid/hivelord/legion

/datum/mission/acquire/creature/ice_whelp
name = "Capture an ice whelp"
desc = "I require a live ice whelp for research purposes. Trap one within the given \
Lifeform Containment Unit and return it to me and you will be paid handsomely."
value = 1700
weight = 2
objective_type = /mob/living/simple_animal/hostile/asteroid/ice_whelp

/datum/mission/acquire/creature/migo
name = "Capture a live mi-go"
desc = "I require a live mi-go for research purposes. Trap one within the given \
Lifeform Containment Unit and return it to me and you will be paid handsomely."
value = 1050
value = 1300
weight = 2
objective_type = /mob/living/simple_animal/hostile/netherworld/migo/asteroid

/datum/mission/acquire/creature/floorbot
name = "Detain a malfunctioning floorbot"
desc = "I require a functional abandoned floorbot for \"research\" purposes. Trap one within \
the given Lifeform Containment Unit and return it to me and you will be paid handsomely."
value = 1450
weight = 1
objective_type = /mob/living/simple_animal/bot/floorbot/rockplanet

/datum/mission/acquire/creature/firebot
name = "Detain a malfunctioning firebot"
desc = "I require a functional abandoned firebot for \"research\" purposes. Trap one within \
the given Lifeform Containment Unit and return it to me and you will be paid handsomely."
value = 1450
weight = 1
objective_type = /mob/living/simple_animal/bot/firebot/rockplanet

/*
Acquire: Landmines
Acquire: Salvage
*/

/datum/mission/acquire/landmine
Expand All @@ -219,6 +195,50 @@ Acquire: Anomaly
objective_type = /obj/item/mine/pressure/explosive
num_wanted = 2

/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/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/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/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

/*
Acquire: Fishing
*/
Expand Down
8 changes: 0 additions & 8 deletions code/modules/research/designs/comp_board_designs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,6 @@
category = list("Computer Boards")
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE | DEPARTMENTAL_FLAG_CARGO

/datum/design/board/rdconsole
name = "Computer Design (R&D Console)"
desc = "Allows for the construction of circuit boards used to build a new R&D console."
id = "rdconsole"
build_path = /obj/item/circuitboard/computer/rdconsole
category = list("Computer Boards")
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE

MarkSuckerberg marked this conversation as resolved.
Show resolved Hide resolved
/datum/design/board/bounty
name = "Computer Design (Bounty Console)"
desc = "Allows for the construction of circuit boards used to build a Bounty Console."
Expand Down
2 changes: 1 addition & 1 deletion code/modules/research/techweb/all_nodes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// Cargo Stuff
"c-reader", "desttagger", "salestagger", "handlabel", "packagewrap",
// Research Stuff
"destructive_analyzer", "experimentor", "rdconsole", "rdserver", "design_disk", "tech_disk", "mechfab",
"destructive_analyzer", "experimentor", "rdserver", "design_disk", "tech_disk", "mechfab",
// Miscellaneous Stufff
"paystand", "space_heater", "bucket", "plastic_knife", "plastic_fork", "plastic_spoon", "fax",
// Security Stuff
Expand Down
Binary file modified icons/obj/clothing/neck.dmi
Binary file not shown.
Loading