mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-24 05:26:37 +01:00
the rest
This commit is contained in:
@@ -18,6 +18,9 @@
|
||||
if(!istype(target_human) || (target_human.fatness_real < required_fatness))
|
||||
return FALSE
|
||||
|
||||
if(HAS_TRAIT(target_human, TRAIT_DOCILE))
|
||||
return FALSE //They probably already have an implant, they likely don't need this.
|
||||
|
||||
return target?.client?.prefs?.fatness_vulnerable
|
||||
|
||||
/obj/item/implant/docile/implant(mob/living/target, mob/user, silent = FALSE)
|
||||
@@ -60,6 +63,7 @@
|
||||
TRAIT_FAT_GOOD,
|
||||
TRAIT_HEAVY_SLEEPER,
|
||||
TRAIT_DOCILE,
|
||||
TRAIT_LIVESTOCK,
|
||||
TRAIT_NO_MISC,
|
||||
TRAIT_NORUNNING,
|
||||
)
|
||||
@@ -68,6 +72,8 @@
|
||||
var/stored_name = ""
|
||||
/// What name do we want to give the mob before adding the randomized number
|
||||
var/name_to_give = "Livestock"
|
||||
/// How much do we want to modifiy the productivity stats of the mob's current sex organs by?
|
||||
var/productivity_mult = 4
|
||||
|
||||
/obj/item/implant/docile/livestock/can_be_implanted_in(mob/living/target)
|
||||
. = ..()
|
||||
@@ -88,6 +94,16 @@
|
||||
target_human.real_name = new_name
|
||||
target_human.name = new_name
|
||||
|
||||
if(target_human?.getorganslot("testicles"))
|
||||
var/obj/item/organ/genital/testicles/balls = target_human?.getorganslot("testicles")
|
||||
balls.fluid_mult = balls.fluid_mult * productivity_mult
|
||||
balls.fluid_max_volume = balls.fluid_max_volume * productivity_mult
|
||||
|
||||
if(target_human?.getorganslot("breasts"))
|
||||
var/obj/item/organ/genital/breasts/boobs = target_human?.getorganslot("breasts")
|
||||
boobs.fluid_mult = boobs.fluid_mult * productivity_mult
|
||||
boobs.fluid_max_volume = boobs.fluid_max_volume * productivity_mult
|
||||
|
||||
/obj/item/implant/docile/livestock/removed(mob/living/source, silent, special)
|
||||
. = ..()
|
||||
if(!.)
|
||||
@@ -97,12 +113,22 @@
|
||||
target_human.real_name = stored_name
|
||||
target_human.name = stored_name
|
||||
|
||||
/obj/item/implantcase/docile
|
||||
name = "implant case - 'Docility'"
|
||||
desc = "A glass case containing a docility implant."
|
||||
imp_type = /obj/item/implant/docile
|
||||
if(target_human?.getorganslot("testicles"))
|
||||
var/obj/item/organ/genital/testicles/balls = target_human?.getorganslot("testicles")
|
||||
balls.fluid_mult = balls.fluid_mult / productivity_mult
|
||||
balls.fluid_max_volume = balls.fluid_max_volume / productivity_mult
|
||||
|
||||
if(target_human?.getorganslot("breasts"))
|
||||
var/obj/item/organ/genital/breasts/boobs = target_human?.getorganslot("breasts")
|
||||
boobs.fluid_mult = boobs.fluid_mult / productivity_mult
|
||||
boobs.fluid_max_volume = boobs.fluid_max_volume / productivity_mult
|
||||
|
||||
/obj/item/implantcase/docile
|
||||
name = "implant case - 'Docility'"
|
||||
desc = "A glass case containing a docility implant. Used to make those at high weights docile."
|
||||
imp_type = /obj/item/implant/docile
|
||||
|
||||
/obj/item/implantcase/docile/livestock
|
||||
name = "implant case - 'Livestock'"
|
||||
desc = "A glass case containing a livestock implant."
|
||||
desc = "A glass case containing a livestock implant. Functions similar to the docility implant, but changes the implantee's name and makes them even more helpless. cannot be combined with the docility implant."
|
||||
imp_type = /obj/item/implant/docile/livestock
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/obj/machinery/quantumpad/supply_only
|
||||
name = "supply pad"
|
||||
desc = "A modified version of the quantum pad, only able to teleport supplies and livestock."
|
||||
circuit = /obj/item/circuitboard/machine/quantumpad/supply_only
|
||||
|
||||
/obj/machinery/quantumpad/supply_only/check_mob_teleportability(mob/living/mob_to_check)
|
||||
if(istype(mob_to_check, /mob/living/simple_animal))
|
||||
return TRUE
|
||||
|
||||
return HAS_TRAIT(mob_to_check, TRAIT_LIVESTOCK)
|
||||
|
||||
/obj/item/circuitboard/machine/quantumpad/supply_only
|
||||
name = "Supply Pad (Machine Board)"
|
||||
build_path = /obj/machinery/quantumpad/supply_only
|
||||
|
||||
@@ -69,3 +69,15 @@
|
||||
credit_cost = 1500
|
||||
item_to_dispense = /obj/item/storage/box/rndboards
|
||||
initial_stock = 2
|
||||
|
||||
/datum/feeders_den_goodie/docility_implant
|
||||
name = "Docility Implant"
|
||||
credit_cost = 100
|
||||
item_to_dispense = /obj/item/implantcase/docile
|
||||
initial_stock = 5
|
||||
|
||||
/datum/feeders_den_goodie/docility_implant/livestock
|
||||
name = "Livestock Implant"
|
||||
credit_cost = 250
|
||||
item_to_dispense = /obj/item/implantcase/docile/livestock
|
||||
initial_stock = 5
|
||||
|
||||
Reference in New Issue
Block a user