Adds 2 neutral gimmick traits and borgo feeding.

-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.
This commit is contained in:
Verkister
2017-11-13 20:01:58 +02:00
parent 13273a87b9
commit c1f16e080e
4 changed files with 48 additions and 1 deletions

View File

@@ -0,0 +1,33 @@
// 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
..()

View File

@@ -6,6 +6,7 @@
var/hard_vore_enabled = 0 //Determines if the person has the hardvore verb or not.
var/metabolism = 0.0015
var/can_fly = 0 //Determines if the species can fly if they have wings.
var/trashcan = 0 //It's always sunny in the wrestling ring.
/datum/species/custom
name = "Custom Species"

View File

@@ -82,3 +82,15 @@
desc = "Allows you to tear off limbs & tear out internal organs."
cost = 0 //I would make this cost a point, since it has some in game value, but there are easier, less damaging ways to perform the same functions.
var_changes = list("hard_vore_enabled" = 1) //The verb is given in human.dm
/datum/trait/trashcan
name = "Trash Can"
desc = "Someone thought it'd be hilarious to eat the snack wrappings too instead of having to look for a bin or just littering like an animal."
cost = 0
var_changes = list("trashcan" = 1)
/datum/trait/hardfeet
name = "Hard Feet"
desc = "Do you feel like your nice clawed, scaled, hooved, armored, or otherwise just hella calloused feet need more freedom without the fear of glass shards?"
cost = 0
var_changes = list("flags" = NO_MINOR_CUT) //Checked the flag is only used by shard stepping.

View File

@@ -876,6 +876,7 @@
#include "code\game\objects\items\shooting_range.dm"
#include "code\game\objects\items\toys.dm"
#include "code\game\objects\items\trash.dm"
#include "code\game\objects\items\trash_vr.dm"
#include "code\game\objects\items\devices\ai_detector.dm"
#include "code\game\objects\items\devices\aicard.dm"
#include "code\game\objects\items\devices\binoculars.dm"