Skip to content

Commit

Permalink
Blacklist spellbooks
Browse files Browse the repository at this point in the history
  • Loading branch information
imtakingabreakdontatme committed Jun 7, 2016
1 parent 54c6b0e commit dd92987
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,11 @@
var/duplicate = FALSE
var/memory_saved = FALSE
var/list/stored_items = list()
var/list/blacklist = (/obj/item/weapon/spellbook)

/obj/machinery/smartfridge/black_box/accept_check(obj/item/O)
if(O.type in blacklist)
return
if(istype(O, /obj/item))
return 1
return 0
Expand Down

0 comments on commit dd92987

Please sign in to comment.