Skip to content

Commit

Permalink
Merge pull request #30 from Constellado/protien
Browse files Browse the repository at this point in the history
Adds protein powder.
  • Loading branch information
Ossa88 authored Jan 14, 2025
2 parents e7aa651 + 12a3e94 commit ffc7054
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 0 deletions.
44 changes: 44 additions & 0 deletions modular_pentest/modules/protein_powder/code/protein_powder.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/obj/item/reagent_containers/food/drinks/protein_container
name = "Protein Powder"
desc = "A container of protein powder. This one has a soy protein content. It advertises that it is a protein concentrate."
icon = 'modular_pentest/modules/protein_powder/icons/containers.dmi'
icon_state = "protein_white"
drop_sound = 'sound/items/handling/drinkglass_drop.ogg'
pickup_sound = 'sound/items/handling/device_pickup.ogg'
w_class = WEIGHT_CLASS_NORMAL
spillable = FALSE
list_reagents = list(/datum/reagent/consumable/nutriment = 30, /datum/reagent/consumable/nutriment/vitamin = 10, /datum/reagent/consumable/nutriment/protein = 40, /datum/reagent/consumable/nutriment/peptides = 20)
volume = 100
isGlass = FALSE

/obj/item/reagent_containers/food/drinks/protein_container/donk
name = "Large Donk Co. Protein Powder container"
desc = "A large container of protein powder. This one is created by Donk Co. It has a high whey protein content. It advertises that it is a protein isolate."
icon_state = "protein_large"
list_reagents = list(/datum/reagent/consumable/nutriment/vitamin = 5, /datum/reagent/consumable/nutriment/protein = 90, /datum/reagent/consumable/nutriment/peptides = 5)

/obj/item/reagent_containers/food/drinks/protein_container/small
name = "Protein Powder"
desc = "A small container of protein powder. It advertises that it is a protein concentrate."
icon_state = "protein"
w_class = WEIGHT_CLASS_SMALL
list_reagents = list(/datum/reagent/consumable/nutriment = 5, /datum/reagent/consumable/nutriment/vitamin = 5, /datum/reagent/consumable/nutriment/protein = 25, /datum/reagent/consumable/nutriment/peptides = 10)
volume = 50

/datum/reagent/consumable/nutriment/protein
name = "Protein"
description = "It's full of protein."
nutriment_factor = 10 * REAGENTS_METABOLISM
color = "#997634"
taste_description = "power"

/datum/supply_pack/food/protein
name = "Protein Powder Crate"
desc = "A whole crateful of protein powder!"
cost = 300
contains = list(/obj/item/reagent_containers/food/drinks/protein_container/small,
/obj/item/reagent_containers/food/drinks/protein_container/small,
/obj/item/reagent_containers/food/drinks/protein_container/donk,
/obj/item/reagent_containers/food/drinks/protein_container)
crate_name = "protein powder crate"
crate_type = /obj/structure/closet/crate
Binary file not shown.
35 changes: 35 additions & 0 deletions modular_pentest/modules/protein_powder/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!-- This should be copy-pasted into the root of your module folder as readme.md -->

https://github.com/PentestSS13/Pentest/pull/30

## Protein Powder

Module ID: PROTEIN_POWDER

### Description:

Adds protein powder!

### Shiptest Proc/File Changes:

- N/A

### Modular Overrides:

- N/A

### Defines:

- N/A

### Map additions
- N/A

### Included files that are not contained in this module:
- N/A


### Credits:

Constellado - code, two sprites
MTandi - small protein powder sprite
1 change: 1 addition & 0 deletions shiptest.dme
Original file line number Diff line number Diff line change
Expand Up @@ -3616,6 +3616,7 @@
#include "modular_pentest\modules\pi_items\code\loadout_selfrelated.dm"
#include "modular_pentest\modules\pi_items\code\outfits.dm"
#include "modular_pentest\modules\pi_items\code\plushes.dm"
#include "modular_pentest\modules\protein_powder\code\protein_powder.dm"
#include "modular_pentest\modules\serenity_clothes\code\turf.dm"
#include "modular_pentest\modules\serenity_clothes\code\worn.dm"
#include "modular_pentest\modules\shotshells\code\converter.dm"
Expand Down

0 comments on commit ffc7054

Please sign in to comment.