it compiles now, ready for testmerge probs
This commit is contained in:
@@ -1042,10 +1042,12 @@ GLOBAL_LIST_EMPTY(cult_contraband)
|
|||||||
|
|
||||||
/datum/objective/hoard/collector/find_target()
|
/datum/objective/hoard/collector/find_target()
|
||||||
var/obj/item/I
|
var/obj/item/I
|
||||||
|
var/I_type
|
||||||
if(prob(50))
|
if(prob(50))
|
||||||
I = new pick_and_take(GLOB.traitor_contraband) // always unique unless it's run out, in which case we refill it anyway
|
I_type = pick_n_take(GLOB.traitor_contraband) // always unique unless it's run out, in which case we refill it anyway
|
||||||
else
|
else
|
||||||
I = new pick_and_take(GLOB.cult_contraband)
|
I_type = pick_n_take(GLOB.cult_contraband)
|
||||||
|
I = new I_type
|
||||||
I.forceMove(get_turf(owner))
|
I.forceMove(get_turf(owner))
|
||||||
if(ishuman(owner))
|
if(ishuman(owner))
|
||||||
var/mob/living/carbon/human/H = owner
|
var/mob/living/carbon/human/H = owner
|
||||||
|
|||||||
Reference in New Issue
Block a user