mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] Better borg modules (#11095)
Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
85abe91473
commit
f7e20d021e
@@ -1,7 +1,7 @@
|
||||
// checks for when items are consumed by trash/ore eater
|
||||
/obj/item/proc/on_trash_eaten(var/mob/living/user)
|
||||
SHOULD_CALL_PARENT(TRUE)
|
||||
if(is_type_in_list(src,item_vore_blacklist) && !user.adminbus_trash) //If someone has adminbus, they can eat whatever they want.
|
||||
if(is_type_in_list(src, GLOB.item_vore_blacklist) && !user.adminbus_trash) //If someone has adminbus, they can eat whatever they want.
|
||||
to_chat(user, span_warning("You are not allowed to eat this."))
|
||||
return FALSE
|
||||
if(!trash_eatable) //OOC pref. This /IS/ respected, even if adminbus_trash is enabled
|
||||
|
||||
Reference in New Issue
Block a user