here we go again (#2456)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
/datum/objective_item
|
||||
var/name = "A silly bike horn! Honk!"
|
||||
var/targetitem = /obj/item/weapon/bikehorn //typepath of the objective item
|
||||
var/targetitem = /obj/item/bikehorn //typepath of the objective item
|
||||
var/difficulty = 9001 //vaguely how hard it is to do this objective
|
||||
var/list/excludefromjob = list() //If you don't want a job to get a certain objective (no captain stealing his own medal, etcetc)
|
||||
var/list/altitems = list() //Items which can serve as an alternative to the objective (darn you blueprints)
|
||||
@@ -13,25 +13,25 @@
|
||||
|
||||
/datum/objective_item/steal/caplaser
|
||||
name = "the captain's antique laser gun."
|
||||
targetitem = /obj/item/weapon/gun/energy/laser/captain
|
||||
targetitem = /obj/item/gun/energy/laser/captain
|
||||
difficulty = 5
|
||||
excludefromjob = list("Captain")
|
||||
|
||||
/datum/objective_item/steal/hoslaser
|
||||
name = "the head of security's personal laser gun."
|
||||
targetitem = /obj/item/weapon/gun/energy/e_gun/hos
|
||||
targetitem = /obj/item/gun/energy/e_gun/hos
|
||||
difficulty = 10
|
||||
excludefromjob = list("Head Of Security")
|
||||
|
||||
/datum/objective_item/steal/handtele
|
||||
name = "a hand teleporter."
|
||||
targetitem = /obj/item/weapon/hand_tele
|
||||
targetitem = /obj/item/hand_tele
|
||||
difficulty = 5
|
||||
excludefromjob = list("Captain")
|
||||
|
||||
/datum/objective_item/steal/jetpack
|
||||
name = "the Captain's jetpack."
|
||||
targetitem = /obj/item/weapon/tank/jetpack/oxygen/captain
|
||||
targetitem = /obj/item/tank/jetpack/oxygen/captain
|
||||
difficulty = 5
|
||||
excludefromjob = list("Captain")
|
||||
|
||||
@@ -49,13 +49,13 @@
|
||||
|
||||
/datum/objective_item/steal/hypo
|
||||
name = "the hypospray."
|
||||
targetitem = /obj/item/weapon/reagent_containers/hypospray/CMO
|
||||
targetitem = /obj/item/reagent_containers/hypospray/CMO
|
||||
difficulty = 5
|
||||
excludefromjob = list("Chief Medical Officer")
|
||||
|
||||
/datum/objective_item/steal/nukedisc
|
||||
name = "the nuclear authentication disk."
|
||||
targetitem = /obj/item/weapon/disk/nuclear
|
||||
targetitem = /obj/item/disk/nuclear
|
||||
difficulty = 5
|
||||
excludefromjob = list("Captain")
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
difficulty = 15
|
||||
|
||||
/datum/objective_item/steal/nuke_core/New()
|
||||
special_equipment += /obj/item/weapon/storage/box/syndie_kit/nuke
|
||||
special_equipment += /obj/item/storage/box/syndie_kit/nuke
|
||||
..()
|
||||
|
||||
/datum/objective_item/steal/supermatter
|
||||
@@ -91,17 +91,17 @@
|
||||
difficulty = 15
|
||||
|
||||
/datum/objective_item/steal/supermatter/New()
|
||||
special_equipment += /obj/item/weapon/storage/box/syndie_kit/supermatter
|
||||
special_equipment += /obj/item/storage/box/syndie_kit/supermatter
|
||||
..()
|
||||
|
||||
//Items with special checks!
|
||||
/datum/objective_item/steal/plasma
|
||||
name = "28 moles of plasma (full tank)."
|
||||
targetitem = /obj/item/weapon/tank
|
||||
targetitem = /obj/item/tank
|
||||
difficulty = 3
|
||||
excludefromjob = list("Chief Engineer","Research Director","Station Engineer","Scientist","Atmospheric Technician")
|
||||
|
||||
/datum/objective_item/steal/plasma/check_special_completion(obj/item/weapon/tank/T)
|
||||
/datum/objective_item/steal/plasma/check_special_completion(obj/item/tank/T)
|
||||
var/target_amount = text2num(name)
|
||||
var/found_amount = 0
|
||||
found_amount += T.air_contents.gases["plasma"] ? T.air_contents.gases["plasma"][MOLES] : 0
|
||||
@@ -124,13 +124,13 @@
|
||||
targetitem = /obj/item/areaeditor/blueprints
|
||||
difficulty = 10
|
||||
excludefromjob = list("Chief Engineer")
|
||||
altitems = list(/obj/item/weapon/photo)
|
||||
altitems = list(/obj/item/photo)
|
||||
|
||||
/datum/objective_item/steal/blueprints/check_special_completion(obj/item/I)
|
||||
if(istype(I, /obj/item/areaeditor/blueprints))
|
||||
return 1
|
||||
if(istype(I, /obj/item/weapon/photo))
|
||||
var/obj/item/weapon/photo/P = I
|
||||
if(istype(I, /obj/item/photo))
|
||||
var/obj/item/photo/P = I
|
||||
if(P.blueprints) //if the blueprints are in frame
|
||||
return 1
|
||||
return 0
|
||||
@@ -160,27 +160,27 @@
|
||||
//Old ninja objectives.
|
||||
/datum/objective_item/special/pinpointer
|
||||
name = "the captain's pinpointer."
|
||||
targetitem = /obj/item/weapon/pinpointer
|
||||
targetitem = /obj/item/pinpointer
|
||||
difficulty = 10
|
||||
|
||||
/datum/objective_item/special/aegun
|
||||
name = "an advanced energy gun."
|
||||
targetitem = /obj/item/weapon/gun/energy/e_gun/nuclear
|
||||
targetitem = /obj/item/gun/energy/e_gun/nuclear
|
||||
difficulty = 10
|
||||
|
||||
/datum/objective_item/special/ddrill
|
||||
name = "a diamond drill."
|
||||
targetitem = /obj/item/weapon/pickaxe/drill/diamonddrill
|
||||
targetitem = /obj/item/pickaxe/drill/diamonddrill
|
||||
difficulty = 10
|
||||
|
||||
/datum/objective_item/special/boh
|
||||
name = "a bag of holding."
|
||||
targetitem = /obj/item/weapon/storage/backpack/holding
|
||||
targetitem = /obj/item/storage/backpack/holding
|
||||
difficulty = 10
|
||||
|
||||
/datum/objective_item/special/hypercell
|
||||
name = "a hyper-capacity power cell."
|
||||
targetitem = /obj/item/weapon/stock_parts/cell/hyper
|
||||
targetitem = /obj/item/stock_parts/cell/hyper
|
||||
difficulty = 5
|
||||
|
||||
/datum/objective_item/special/laserpointer
|
||||
@@ -190,7 +190,7 @@
|
||||
|
||||
/datum/objective_item/special/corgimeat
|
||||
name = "a piece of corgi meat."
|
||||
targetitem = /obj/item/weapon/reagent_containers/food/snacks/meat/slab/corgi
|
||||
targetitem = /obj/item/reagent_containers/food/snacks/meat/slab/corgi
|
||||
difficulty = 5
|
||||
|
||||
//Stack objectives get their own subtype
|
||||
|
||||
Reference in New Issue
Block a user