-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from Constellado/protien
Adds protein powder.
- Loading branch information
Showing
4 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
modular_pentest/modules/protein_powder/code/protein_powder.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters