mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
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:
@@ -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 ..()
|
||||
|
||||
Reference in New Issue
Block a user