Skip to content

Commit

Permalink
Фикс по ревью
Browse files Browse the repository at this point in the history
  • Loading branch information
msw7007 committed Oct 11, 2024
1 parent 0aa8309 commit 3fb393a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/food_and_drinks/machinery/stove.dm
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@
ingredient_amounts[ingredient.type] += 1

for(var/obj/item/ingredient_type as anything in ingredient_amounts)
examine_list += "• [ingredient_amounts[ingredient_type]] [initial(ingredient_type.name)]\s"
examine_list += "• [ingredient_amounts[ingredient_type]] [initial(ingredient_type.ru_name_nominative) || initial(ingredient_type.name)]\s"

var/unknown_volume = 0
for(var/datum/reagent/current_reagent as anything in reagents.reagent_list)
if(can_see_insides \
|| istype(current_reagent, /datum/reagent/water) \
|| istype(current_reagent, /datum/reagent/consumable) \
)
examine_list += "• [round(current_reagent.volume, 0.01)] [declension_ru(round(unknown_volume, 0.01),"юнит","юнита","юнитов")] [current_reagent]"
examine_list += "• [round(current_reagent.volume, 0.01)] [declension_ru(round(unknown_volume, 0.01),"юнит","юнита","юнитов")] [initial(current_reagent.ru_name_nominative) || initial(current_reagent.name)]"

Check failure on line 95 in code/modules/food_and_drinks/machinery/stove.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined field: "ru_name_nominative" on /datum/reagent

Check failure on line 95 in code/modules/food_and_drinks/machinery/stove.dm

View workflow job for this annotation

GitHub Actions / Run Linters

OD0404: Unknown identifier "ru_name_nominative"
else
unknown_volume += current_reagent.volume

Expand Down

0 comments on commit 3fb393a

Please sign in to comment.