-
-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* tgstation/tgstation#49192 * https://github.com/tgstation/tgstation/pull/53047/files * fixerino * food_storage component * tgstation/tgstation#53316 * tgstation/tgstation#53225 * tgstation/tgstation#53574 * 515 compat * fix maps * tgstation/tgstation#69095 * bread slicing * tgstation/tgstation#71449 * fixes * finger food & edible fixes * tgstation/tgstation#66257 * FIX THIS SHIT * accidental_consumption * fix trash runtime * fixes some runtimes * microwavable * tgstation/tgstation#55150 * 515 compat * Revert "515 compat" This reverts commit 5681ca6cf6f8bcc187ceb4c263407631b461659b. * Revert "tgstation/tgstation#55150" This reverts commit aadbe1c392ade3caa4f1bcaf56abd8ea51dbd12d. * Revert "microwavable" This reverts commit 3b2f465d2cb79675e49dde08f45dcc694be29595. * fix exploit with pasta
- Loading branch information
1 parent
7ac478c
commit a3096ac
Showing
59 changed files
with
2,625 additions
and
1,424 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
@@ -1,54 +1,35 @@ | ||
#define MEAT (1<<0) | ||
#define VEGETABLES (1<<1) | ||
#define RAW (1<<2) | ||
#define JUNKFOOD (1<<3) | ||
#define GRAIN (1<<4) | ||
#define FRUIT (1<<5) | ||
#define DAIRY (1<<6) | ||
#define FRIED (1<<7) | ||
#define ALCOHOL (1<<8) | ||
#define SUGAR (1<<9) | ||
#define GROSS (1<<10) | ||
#define TOXIC (1<<11) | ||
#define PINEAPPLE (1<<12) | ||
#define BREAKFAST (1<<13) | ||
#define CLOTH (1<<14) | ||
#define GRILLED (1<<15) | ||
/*#define NUTS (1<<16) | ||
#define SEAFOOD (1<<17) | ||
#define ORANGES (1<<18) | ||
#define BUGS (1<<19)*/ | ||
#define GORE (1<<20) | ||
#define MEAT (1<<0) | ||
#define VEGETABLES (1<<1) | ||
#define RAW (1<<2) | ||
#define JUNKFOOD (1<<3) | ||
#define GRAIN (1<<4) | ||
#define FRUIT (1<<5) | ||
#define DAIRY (1<<6) | ||
#define FRIED (1<<7) | ||
#define ALCOHOL (1<<8) | ||
#define SUGAR (1<<9) | ||
#define GROSS (1<<10) | ||
#define TOXIC (1<<11) | ||
#define PINEAPPLE (1<<12) | ||
#define BREAKFAST (1<<13) | ||
#define CLOTH (1<<14) | ||
|
||
/// IC meaning (more or less) for food flags | ||
#define FOOD_FLAGS_IC list( \ | ||
"Meat", \ | ||
"Vegetables", \ | ||
"Raw food", \ | ||
"Junk food", \ | ||
"Grain", \ | ||
"Fruits", \ | ||
"Dairy products", \ | ||
"Fried food", \ | ||
"Alcohol", \ | ||
"Sugary food", \ | ||
"Gross food", \ | ||
"Toxic food", \ | ||
"Pineapples", \ | ||
"Breakfast food", \ | ||
"Clothing", \ | ||
"Nuts", \ | ||
"Seafood", \ | ||
"Oranges", \ | ||
"Bugs", \ | ||
) | ||
|
||
#define DRINK_NICE 1 | ||
#define DRINK_GOOD 2 | ||
#define DRINK_VERYGOOD 3 | ||
#define DRINK_FANTASTIC 4 | ||
#define FOOD_AMAZING 5 | ||
#define DRINK_BAD 1 | ||
#define DRINK_NICE 2 | ||
#define DRINK_GOOD 3 | ||
#define DRINK_VERYGOOD 4 | ||
#define DRINK_FANTASTIC 5 | ||
|
||
/// Food is "in a container", not in a code sense, but in a literal sense (canned foods) | ||
#define FOOD_IN_CONTAINER (1<<0) | ||
/// Finger food can be eaten while walking / running around | ||
#define FOOD_FINGER_FOOD (1<<1) | ||
|
||
#define STOP_SERVING_BREAKFAST (15 MINUTES) | ||
|
||
///Amount of reagents you start with on crafted food excluding the used parts | ||
#define CRAFTED_FOOD_BASE_REAGENT_MODIFIER 0.7 | ||
///Modifier of reagents you get when crafting food from the parts used | ||
#define CRAFTED_FOOD_INGREDIENT_REAGENT_MODIFIER 0.5 | ||
|
||
#define IS_EDIBLE(O) (O.GetComponent(/datum/component/edible)) |
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
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,3 @@ | ||
#define TOOL_PROCESSING_RESULT "result" | ||
#define TOOL_PROCESSING_AMOUNT "amount" | ||
#define TOOL_PROCESSING_TIME "time" |
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
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
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 |
---|---|---|
@@ -1,17 +1,18 @@ | ||
GLOBAL_LIST_EMPTY(string_assoc_lists) | ||
|
||
|
||
/** | ||
* Caches associative lists with non-numeric stringify-able index keys and stringify-able values (text/typepath -> text/path/number). | ||
*/ | ||
* Caches associative lists with non-numeric stringify-able index keys and stringify-able values (text/typepath -> text/path/number). | ||
*/ | ||
/datum/proc/string_assoc_list(list/values) | ||
var/list/string_id = list() | ||
for(var/val in values) | ||
string_id += "[val]_[values[val]]" | ||
string_id = string_id.Join("-") | ||
var/list/string_id = list() | ||
for(var/val in values) | ||
string_id += "[val]_[values[val]]" | ||
string_id.Join("-") | ||
|
||
. = GLOB.string_assoc_lists[string_id] | ||
. = GLOB.string_assoc_lists[string_id] | ||
|
||
if(.) | ||
return | ||
if(.) | ||
return | ||
|
||
return GLOB.string_assoc_lists[string_id] = values | ||
return GLOB.string_assoc_lists[string_id] = values |
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
Oops, something went wrong.