Syncs maps, and a bunch of other things that no one will care about/notice/give fucks about until they break. Welcome to conflict hell. (#2460)
* fuck pubby * fuck you too ceres * ree * this is going to be a disaster isn't it * disaster * dme * -_- * tg * woops * proper sync * Welcome to conflict hell. * lets hope this fixes more things than it breaks * gdi * goddamnit
This commit is contained in:
@@ -11,6 +11,20 @@
|
||||
/datum/objective_item/proc/check_special_completion() //for objectives with special checks (is that slime extract unused? does that intellicard have an ai in it? etcetc)
|
||||
return 1
|
||||
|
||||
/datum/objective_item/proc/TargetExists()
|
||||
return TRUE
|
||||
|
||||
/datum/objective_item/steal/New()
|
||||
..()
|
||||
if(TargetExists())
|
||||
GLOB.possible_items += src
|
||||
else
|
||||
qdel(src)
|
||||
|
||||
/datum/objective_item/steal/Destroy()
|
||||
GLOB.possible_items -= src
|
||||
return ..()
|
||||
|
||||
/datum/objective_item/steal/caplaser
|
||||
name = "the captain's antique laser gun."
|
||||
targetitem = /obj/item/gun/energy/laser/captain
|
||||
@@ -94,6 +108,9 @@
|
||||
special_equipment += /obj/item/storage/box/syndie_kit/supermatter
|
||||
..()
|
||||
|
||||
/datum/objective_item/steal/supermatter/TargetExists()
|
||||
return GLOB.main_supermatter_engine != null
|
||||
|
||||
//Items with special checks!
|
||||
/datum/objective_item/steal/plasma
|
||||
name = "28 moles of plasma (full tank)."
|
||||
@@ -157,6 +174,17 @@
|
||||
targetitem = /obj/item/documents/syndicate/blue
|
||||
difficulty = 10
|
||||
|
||||
/datum/objective_item/special/New()
|
||||
..()
|
||||
if(TargetExists())
|
||||
GLOB.possible_items_special += src
|
||||
else
|
||||
qdel(src)
|
||||
|
||||
/datum/objective_item/special/Destroy()
|
||||
GLOB.possible_items_special -= src
|
||||
return ..()
|
||||
|
||||
//Old ninja objectives.
|
||||
/datum/objective_item/special/pinpointer
|
||||
name = "the captain's pinpointer."
|
||||
@@ -193,6 +221,17 @@
|
||||
targetitem = /obj/item/reagent_containers/food/snacks/meat/slab/corgi
|
||||
difficulty = 5
|
||||
|
||||
/datum/objective_item/stack/New()
|
||||
..()
|
||||
if(TargetExists())
|
||||
GLOB.possible_items_special += src
|
||||
else
|
||||
qdel(src)
|
||||
|
||||
/datum/objective_item/stack/Destroy()
|
||||
GLOB.possible_items_special -= src
|
||||
return ..()
|
||||
|
||||
//Stack objectives get their own subtype
|
||||
/datum/objective_item/stack
|
||||
name = "5 cardboard."
|
||||
|
||||
Reference in New Issue
Block a user