mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-05 23:13:06 +00:00
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
// Custom garbage or whatever
|
|
|
|
/obj/item/trash/rkibble
|
|
name = "bowl of Borg-O's"
|
|
desc = "Contains every type of scrap material your robot puppy needs to grow big and strong."
|
|
icon = 'icons/mob/dogborg_vr.dmi'
|
|
icon_state = "kibble"
|
|
|
|
/obj/item/trash/attack(mob/living/M as mob, mob/living/user as mob)
|
|
if(ishuman(M))
|
|
var/mob/living/carbon/human/H = M
|
|
if(H.species.trashcan == 1)
|
|
playsound(H.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
|
user.drop_item()
|
|
forceMove(H.vore_selected)
|
|
to_chat(H, "<span class='notice'>You can taste the flavor of garbage. Wait what?</span>")
|
|
return
|
|
|
|
if(isrobot(M))
|
|
var/mob/living/silicon/robot/R = M
|
|
if(R.module.type == /obj/item/weapon/robot_module/robot/scrubpup) // You can now feed the trash borg yay.
|
|
playsound(R.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
|
user.drop_item()
|
|
forceMove(R.vore_selected)
|
|
R.visible_message("<span class='warning'>[user] feeds [R] with [src]!</span>")
|
|
return
|
|
..()
|
|
|
|
/obj/item/trash/liquidprotein
|
|
name = "\improper \"LiquidProtein\" ration"
|
|
icon = 'icons/obj/trash_vr.dmi'
|
|
icon_state = "liquidprotein"
|
|
|
|
/obj/item/trash/fancyplate
|
|
name = "dirty fancy plate"
|
|
icon = 'icons/obj/trash_vr.dmi'
|
|
icon_state = "fancyplate"
|