Adding the one of a kind feature gamma has

However, this is contained tot his one pile, not across all piles
Also optional
This commit is contained in:
Sharkmare
2021-01-21 08:24:34 +01:00
committed by GitHub
parent 5857cfdbdd
commit 8f95cb6125

View File

@@ -24,6 +24,9 @@
/obj/item/weapon/storage/pill_bottle/zoom = 2,
/obj/item/weapon/storage/pill_bottle/paracetamol = 1,
) //override pick list gamma
var/gammaunique = 1
Initialize()
..()
@@ -47,8 +50,10 @@
return ..()
produce_gamma_item()
if(prob(overridechancegamma))
if(prob(overridechancegamma && gammaunique!=2)
var/path = pick(gammapicks)
var/obj/item/I = new path()
if(gammaunique!=0)
gammaunique++
return I
return ..()
return ..()