mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-08-26 22:46:47 +01:00
-Trait 1, "Hard Feet" makes your feet glass shard resistant. -Trait 2, "Trash Can" lets you dispose of snack wrappings on the go without littering or having to quest out in search of a disposal bin. -Also adds trash feeding for janiborgo in a sibling snippet for the forementioned trait. -Also added the old citadel era "robo kibble" to give the custom trash code file a first custom "trash" as well. Only in the code for now, not mechfab printable yet. -I'm gonna toss Polaris an update that makes borgs not become sparkles on 0 force item paps brb.
34 lines
1.2 KiB
Plaintext
34 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()
|
|
var/belly = H.vore_selected
|
|
var/datum/belly/selected = H.vore_organs[belly]
|
|
src.loc = H
|
|
selected.internal_contents += src
|
|
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/scrubpup) // You can now feed the trash borg yay.
|
|
playsound(R.loc,'sound/items/eatfood.ogg', rand(10,50), 1)
|
|
user.drop_item()
|
|
var/belly = R.vore_selected
|
|
var/datum/belly/selected = R.vore_organs[belly]
|
|
src.loc = R
|
|
selected.internal_contents += src // Too many hoops and obstacles to stick it into the sleeper module.
|
|
R.visible_message("<span class='warning'>[user] feeds [R] with [src]!</span>")
|
|
return
|
|
..()
|