mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
Adds ability for items to be whitelisted for protean blob-drop; adds that to Freyr's mask
This commit is contained in:
@@ -109,6 +109,8 @@
|
||||
|
||||
var/no_random_knockdown = FALSE //stops item from being able to randomly knock people down in combat
|
||||
|
||||
var/protean_drop_whitelist = FALSE
|
||||
|
||||
/obj/item/New()
|
||||
..()
|
||||
if(embed_chance < 0)
|
||||
|
||||
@@ -360,6 +360,8 @@ var/global/list/disallowed_protean_accessories = list(
|
||||
things_to_drop -= internal_organs //Mah sqeedily spooch
|
||||
|
||||
for(var/obj/item/I in things_to_drop) //rip hoarders
|
||||
if(I.protean_drop_whitelist)
|
||||
continue
|
||||
drop_from_inventory(I)
|
||||
|
||||
if(w_uniform && istype(w_uniform,/obj/item/clothing)) //No webbings tho. We do this after in case a suit was in the way
|
||||
|
||||
@@ -2539,6 +2539,7 @@ Departamental Swimsuits, for general use
|
||||
body_parts_covered = FACE
|
||||
flags_inv = HIDEFACE
|
||||
item_flags = FLEXIBLEMATERIAL
|
||||
protean_drop_whitelist = TRUE
|
||||
|
||||
//codeme: Perrin Kade
|
||||
/obj/item/clothing/shoes/fluff/gildedshoes_perrin
|
||||
|
||||
Reference in New Issue
Block a user