Skip to content

Commit

Permalink
Merge pull request VOREStation#16650 from Heroman3003/thanksgivingturkey
Browse files Browse the repository at this point in the history
Adds a turkey mob and reworks regular Turkey recipe
  • Loading branch information
Heroman3003 authored Nov 27, 2024
2 parents 3a77e0b + 076d944 commit 6f02034
Show file tree
Hide file tree
Showing 14 changed files with 138 additions and 3 deletions.
1 change: 1 addition & 0 deletions code/__defines/faction.dm
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
#define FACTION_SWARMER "swarmer"
#define FACTION_TEPPI "teppi"
#define FACTION_TUNNELCLOWN "tunnelclown"
#define FACTION_TURKEY "turkey"
#define FACTION_WILD_ANIMAL "wild animal"
#define FACTION_WOLFGIRL "wolfgirl"
#define FACTION_WOLFTAUR "wolftaur"
Expand Down
7 changes: 7 additions & 0 deletions code/datums/supplypacks/hydroponics.dm
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@
containername = "Chicken crate"
access = access_hydroponics

/datum/supply_pack/hydro/turkey
name = "Turkey crate"
cost = 25
containertype = /obj/structure/largecrate/animal/turkey
containername = "Turkey crate"
access = access_hydroponics

/datum/supply_pack/hydro/seeds
name = "Seeds crate"
contains = list(
Expand Down
6 changes: 6 additions & 0 deletions code/game/objects/items/trash.dm
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@
drop_sound = 'sound/items/drop/food.ogg'
pickup_sound = 'sound/items/pickup/food.ogg'

/obj/item/trash/turkeybones
name = "turkey bones"
icon_state = "turkeybones"
drop_sound = 'sound/items/drop/food.ogg'
pickup_sound = 'sound/items/pickup/food.ogg'

/obj/item/trash/pistachios
name = "pistachios packet"
icon_state = "pistachios_pack"
Expand Down
4 changes: 4 additions & 0 deletions code/game/objects/structures/crates_lockers/largecrate.dm
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@
name = "chicken crate"
starts_with = list(/mob/living/simple_mob/animal/passive/chick = 5)

/obj/structure/largecrate/animal/turkey
name = "turkey crate"
starts_with = list(/mob/living/simple_mob/vore/turkey)

/obj/structure/largecrate/animal/catslug
name = "catslug carrier"
starts_with = list(/mob/living/simple_mob/vore/alienanimals/catslug)
50 changes: 50 additions & 0 deletions code/modules/food/food/snacks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,14 @@
S.food_inserted_micros = list()
S.food_inserted_micros += F
food_inserted_micros -= F
on_slice_extra()

qdel(src)
return

/obj/item/reagent_containers/food/snacks/proc/on_slice_extra()
return

/obj/item/reagent_containers/food/snacks/MouseDrop_T(mob/living/M, mob/user)
if(!user.stat && istype(M) && (M == user) && Adjacent(M) && (M.get_effective_size(TRUE) <= 0.50) && food_can_insert_micro)
if(!food_inserted_micros)
Expand Down Expand Up @@ -3510,6 +3514,7 @@
trash = /obj/item/trash/plate
bitesize = 2

/* OLD RECIPE
/obj/item/reagent_containers/food/snacks/sliceable/turkey
name = "turkey"
desc = "Tastes like chicken."
Expand All @@ -3536,6 +3541,51 @@
icon_state = "turkey_drumstick"
trash = /obj/item/trash/plate
bitesize = 2
*/

/obj/item/reagent_containers/food/snacks/sliceable/turkey
name = "turkey"
desc = "Tastes like chicken."
icon = 'icons/obj/food.dmi'
icon_state = "roastturkey"
slice_path = /obj/item/reagent_containers/food/snacks/turkeyslice
slices_num = 6
w_class = 2
nutriment_amt = 20
nutriment_desc = list("turkey" = 20)
bitesize = 5
trash = /obj/item/trash/turkeybones
var/list/extra_product = list(/obj/item/reagent_containers/food/snacks/turkeydrumstick = 2,
/obj/item/trash/turkeybones = 1)

/obj/item/reagent_containers/food/snacks/sliceable/turkey/Initialize()
. = ..()
reagents.add_reagent("blackpepper", 1)
reagents.add_reagent("sodiumchloride", 1)
reagents.add_reagent("cookingoil", 1)

/obj/item/reagent_containers/food/snacks/sliceable/turkey/on_slice_extra()
for(var/i in extra_product)
for(var/j=1 to extra_product[i])
new i(src.loc)

/obj/item/reagent_containers/food/snacks/turkeyslice
name = "turkey'n'mash"
desc = "Turkey slices with some delicious stuffing."
icon = 'icons/obj/food.dmi'
icon_state = "roastturkeynmash"
trash = /obj/item/trash/plate
bitesize = 2

/obj/item/reagent_containers/food/snacks/turkeydrumstick
name = "turkey drumstick"
desc = "The best part!"
icon = 'icons/obj/food.dmi'
icon_state = "roastturkeydrumstick"
trash = null
nutriment_amt = 8
nutriment_desc = list("turkey" = 20)
bitesize = 2

/obj/item/reagent_containers/food/snacks/sliceable/suppermatter
name = "suppermatter"
Expand Down
10 changes: 10 additions & 0 deletions code/modules/food/food/snacks/meat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,16 @@
reagents.add_reagent("spidertoxin",6)
reagents.remove_reagent("pacid",6)

/obj/item/reagent_containers/food/snacks/rawturkey
name = "raw turkey"
desc = "Naked and hollow."
icon_state = "rawturkey"
bitesize = 2.5

/obj/item/reagent_containers/food/snacks/rawturkey/Initialize()
. = ..()
reagents.add_reagent("protein", 10)

/obj/item/reagent_containers/food/snacks/meat/fox
name = "foxmeat"
desc = "The fox doesn't say a goddamn thing, now."
Expand Down
12 changes: 12 additions & 0 deletions code/modules/food/recipes_oven.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
reagent_mix = RECIPE_REAGENT_REPLACE
result = /obj/item/reagent_containers/food/snacks/ribplate

/* OLD RECIPE
/datum/recipe/turkey
appliance = OVEN
reagents = list("sodiumchloride" = 1, "blackpepper" = 1)
Expand All @@ -41,6 +42,17 @@
/obj/item/reagent_containers/food/snacks/stuffing
)
result = /obj/item/reagent_containers/food/snacks/sliceable/turkey
*/

/datum/recipe/turkey
appliance = OVEN
fruit = list("potato" = 1)
reagents = list("sodiumchloride" = 1, "blackpepper" = 1)
items = list(
/obj/item/reagent_containers/food/snacks/rawturkey,
/obj/item/reagent_containers/food/snacks/stuffing
)
result = /obj/item/reagent_containers/food/snacks/sliceable/turkey

/datum/recipe/tofurkey
appliance = OVEN
Expand Down
4 changes: 3 additions & 1 deletion code/modules/mob/living/butchering.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/mob/living
var/meat_amount = 0 // How much meat to drop from this mob when butchered
var/obj/meat_type // The meat object to drop
var/name_the_meat = TRUE

var/gib_on_butchery = FALSE
var/butchery_drops_organs = TRUE // Do we spawn and/or drop organs when butchered?
Expand All @@ -17,7 +18,8 @@
being_butchered = TRUE
while(meat_amount > 0 && do_after(user, 0.5 SECONDS * (mob_size / 10), src))
var/obj/item/meat = new meat_type(get_turf(src))
meat.name = "[src.name] [meat.name]"
if(name_the_meat)
meat.name = "[src.name] [meat.name]"
new /obj/effect/decal/cleanable/blood/splatter(get_turf(src))
meat_amount--
being_butchered = FALSE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
icon_rest = "wah_rest"
icon = 'icons/mob/vore.dmi'

faction = FACTION_REDPANDA //stop naming stuff vaguely
faction = FACTION_REDPANDA
maxHealth = 30
health = 30

Expand Down
43 changes: 43 additions & 0 deletions code/modules/mob/living/simple_mob/subtypes/vore/turkey.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/mob/living/simple_mob/vore/turkey
name = "turkey"
desc = "A large turkey, all ready for stuffing."
tt_desc = "Meleagris gallopavo"

icon_state = "turkey"
icon_living = "turkey"
icon_dead = "turkeydead"
icon_rest = "turkeyrest"
icon = 'icons/mob/vore.dmi'

faction = FACTION_TURKEY
maxHealth = 25
health = 25

meat_amount = 1
meat_type = /obj/item/reagent_containers/food/snacks/rawturkey
name_the_meat = FALSE

response_help = "pats"
response_disarm = "gently pushes aside"
response_harm = "hits"

harm_intent_damage = 3
melee_damage_lower = 3
melee_damage_upper = 1
attacktext = list("pecked")

say_list_type = /datum/say_list/turkey
ai_holder_type = /datum/ai_holder/simple_mob/passive

allow_mind_transfer = TRUE

vore_active = 1
vore_bump_chance = 10
vore_bump_emote = "greedily leaps at"
vore_default_mode = DM_HOLD
vore_icons = SA_ICON_LIVING

/datum/say_list/turkey
speak = list("GOBBLEGOBBLE!","Gobble?","Gobblegobble...")
emote_hear = list("gobbles!")
emote_see = list("flaps its wings","pecks something on the floor","puffs up its feathers")
Binary file modified icons/mob/vore.dmi
Binary file not shown.
Binary file modified icons/obj/food.dmi
Binary file not shown.
Binary file modified icons/obj/trash.dmi
Binary file not shown.
2 changes: 1 addition & 1 deletion vorestation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -3209,7 +3209,6 @@
#include "code\modules\mob\living\simple_mob\taming.dm"
#include "code\modules\mob\living\simple_mob\subtypes\animal\animal.dm"
#include "code\modules\mob\living\simple_mob\subtypes\animal\squirrel.dm"
#include "code\modules\mob\living\simple_mob\subtypes\animal\turkeygirl.dm"
#include "code\modules\mob\living\simple_mob\subtypes\animal\alien animals\catslug.dm"
#include "code\modules\mob\living\simple_mob\subtypes\animal\alien animals\jellyfish.dm"
#include "code\modules\mob\living\simple_mob\subtypes\animal\alien animals\skeleton.dm"
Expand Down Expand Up @@ -3408,6 +3407,7 @@
#include "code\modules\mob\living\simple_mob\subtypes\vore\sonadile.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\stalker.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\succubi.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\turkey.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\vampire.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\vore.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\vore_hostile.dm"
Expand Down

0 comments on commit 6f02034

Please sign in to comment.