let's fucking NOT

This commit is contained in:
Dip
2020-11-02 06:26:01 -03:00
parent adb995f61a
commit 8916a47eac
2 changed files with 16 additions and 4 deletions
+11 -3
View File
@@ -46,6 +46,10 @@
var/progression = list() //Keep track of where people are in the story.
var/active = TRUE //Turn this to false to keep normal mob behavour
var/cached_z
var/static/blacklisted_items = typecacheof(list(
/obj/singularity,
/obj/structure/destructible/clockwork/massive,
/obj/machinery/power/supermatter_crystal))
/mob/living/simple_animal/jacq/Initialize()
..()
@@ -203,10 +207,14 @@
return
var/new_obj = pick(subtypesof(/obj))
//for(var/item in blacklist)
// if(new_obj == item)
// panic()
for(var/item in blacklisted_items)
if(is_type_in_typecache(new_obj, blacklisted_items))
new_obj = /obj/item/reagent_containers/food/snacks/special_candy
message_admins("Uh oh, someone got a blacklisted item from jacque. Giving them back their candies.")
var/reward = new new_obj(C.loc)
if(new_obj == /obj/item/reagent_containers/food/snacks/special_candy)
new new_obj(C.loc)
new new_obj(C.loc)//Giving them back their candies in case it's something from the blacklist or if the game literally rolled candies.
C.put_in_hands(reward)
visible_message("<b>[src]</b> waves her hands, magicking up a [reward] from thin air, <span class='spooky'>\"There ye are [gender], enjoy! \"</span>")
sleep(20)