-
Notifications
You must be signed in to change notification settings - Fork 499
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cooking and food related examines weren't updated alongside every other examine when the new stat panel was merged. This fixes that.
- Loading branch information
Showing
3 changed files
with
13 additions
and
17 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,21 +1,17 @@ | ||
/obj/item/reagent_containers/food/snacks/examine(mob/user) | ||
if(!..(user, get_dist(user, src))) | ||
return | ||
|
||
if(cooking_description_modifier) | ||
to_chat(user, SPAN_NOTICE(cooking_description_modifier)) | ||
|
||
/obj/item/reagent_containers/food/snacks/examine(mob/user, extra_description = "") | ||
#ifdef CWJ_DEBUG | ||
to_chat(user, SPAN_NOTICE("The food's level of quality is [food_quality]")) //Visual number should only be visible when debugging | ||
extra_description += SPAN_NOTICE("\nThe food's level of quality is [food_quality]") //Visual number should only be visible when debugging | ||
#endif | ||
|
||
to_chat(user, SPAN_NOTICE(food_descriptor)) | ||
if(cooking_description_modifier) | ||
extra_description += cooking_description_modifier | ||
extra_description += food_descriptor | ||
|
||
if (bitecount==0) | ||
return | ||
extra_description += SPAN_NOTICE("\nThe [src] is unbitten.") | ||
else if (bitecount==1) | ||
to_chat(user, SPAN_NOTICE("\The [src] was bitten by someone!")) | ||
extra_description += SPAN_NOTICE("\nThe [src] was bitten by someone!") | ||
else if (bitecount<=3) | ||
to_chat(user, SPAN_NOTICE("\The [src] was bitten [bitecount] time\s!")) | ||
extra_description += SPAN_NOTICE("\nThe [src] was bitten [bitecount] time\s!") | ||
else | ||
to_chat(user, SPAN_NOTICE("\The [src] was bitten multiple times!")) | ||
extra_description += SPAN_NOTICE("\nThe [src] was bitten multiple times!") | ||
..(user, extra_description) |