Skip to content

Commit

Permalink
Add: Nanotrasen Food vendor & Refactor fancy food (#1539)
Browse files Browse the repository at this point in the history
<!-- Пишите **НИЖЕ** заголовков и **ВЫШЕ** комментариев, иначе что то
может пойти не так. -->
<!-- Вы можете прочитать Contributing.MD, если хотите узнать больше. -->

## Что этот PR делает
- Добавляет новый вендор "Nanotrasen Food" - специализированный автомат
поставляемый самой Нанотрейзен для своих самых дорогих сотрудников.
Преимущественно нужно для Центкома (поскольку овербаффнутая еда), но
можно добавлять и в какие-нибудь руинки.
- Добавлена возможность распаковки еды на Z, поскольку все обертки
снимаются на эту кнопку и кликать Альтом интуитивно становится
непонятно.
- На Центкоме [починил свет на
мостике](https://github.com/user-attachments/assets/9d448461-3989-468a-8bb1-3afe513e004b)
(ну это так, бонусом).
- Рефактор (дай бог) fancy фуда.

## Почему это хорошо для игры
Хоть что-то новое для Центкомовцев, вместо молока вульп.

## Изображения изменений

(заскринил не в лучший момент, там анимация с логотипом и бургерами)

![image](https://github.com/user-attachments/assets/10131583-2d6f-489f-8ff1-2bf4c0a1d050)

## Тестирование
Проверял в игре.

## Changelog

:cl:
add: Добавлен новый автомат "Nanotrasen Food" - специализированный
автомат поставляемый самой Нанотрейзен для своих самых дорогих
сотрудников. На данный момент установлены на Центкоме, но в будущем
могут появиться где-то ещё.
/:cl:

<!-- Оба :cl:'а должны быть на месте, что-бы чейнджлог работал! Вы
можете написать свой ник справа от первого :cl:, если хотите. Иначе
будет использован ваш ник на ГитХабе. -->
<!-- Вы можете использовать несколько записей с одинаковым префиксом
(Они используются только для иконки в игре) и удалить ненужные. Помните,
что чейнджлог должен быть понятен обычным игроком. -->
<!-- Если чейнджлог не влияет на игроков(например, это рефактор), вы
можете исключить всю секцию. -->

---------

Co-authored-by: Aylong <[email protected]>
  • Loading branch information
dj-34 and AyIong committed Sep 23, 2024
1 parent 46ccc4a commit 03f75d5
Show file tree
Hide file tree
Showing 10 changed files with 272 additions and 62 deletions.
59 changes: 35 additions & 24 deletions _maps/map_files220/generic/centcomm.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@
/turf/simulated/floor/wood/oak,
/area/syndicate_mothership/infteam)
"aAE" = (
/obj/machinery/economy/vending/chinese,
/obj/machinery/economy/vending/nt_food/free,
/turf/simulated/floor/mineral/plastitanium,
/area/centcom/ss220/general)
"aBb" = (
Expand Down Expand Up @@ -1730,9 +1730,7 @@
/turf/simulated/floor/indestructible/transparent_floor,
/area/shuttle/syndicate)
"bgR" = (
/obj/structure/closet/crate/secure/bin{
color = "36373a"
},
/obj/structure/closet/crate/secure/bin,
/turf/simulated/floor/plasteel/dark{
icon_state = "darkyellowalt"
},
Expand Down Expand Up @@ -2098,7 +2096,7 @@
/obj/effect/turf_decal/tile/neutral/full{
color = "#000000"
},
/turf/simulated/floor/wood/fancy/cherry,
/turf/simulated/floor/wood/parquet,
/area/centcom/ss220/admin2)
"bpw" = (
/obj/machinery/computer/shuttle/syndicate{
Expand Down Expand Up @@ -4750,7 +4748,7 @@
"cXK" = (
/obj/structure/lattice,
/obj/effect/light_emitter/colored{
light_color = "#FFFFF";
light_color = "#FFFFFF";
light_power = 10;
light_range = 5
},
Expand Down Expand Up @@ -4813,7 +4811,7 @@
"cYX" = (
/obj/structure/marker_beacon/spotlight/jade,
/obj/effect/light_emitter/colored{
light_color = "#FFFFF";
light_color = "#FFFFFF";
light_power = 10;
light_range = 5
},
Expand Down Expand Up @@ -5829,7 +5827,7 @@
/turf/simulated/floor/wood/parquet/tile,
/area/centcom/ss220/bar)
"dBb" = (
/obj/machinery/economy/vending/cigarette/free,
/obj/machinery/economy/vending/nt_food/free,
/turf/simulated/floor/plasteel/dark{
icon_state = "darkbluealt"
},
Expand Down Expand Up @@ -6322,6 +6320,7 @@
/area/shuttle/siberia)
"dOx" = (
/obj/structure/marker_beacon/spotlight/jade,
/obj/structure/light_fake/spot,
/turf/simulated/floor/plasteel/dark,
/area/centcom/ss220/command)
"dON" = (
Expand Down Expand Up @@ -10227,7 +10226,7 @@
/area/centcom/ss220/admin2)
"gcj" = (
/obj/effect/light_emitter/colored{
light_color = "#FFFFF";
light_color = "#FFFFFF";
light_power = 10;
light_range = 5
},
Expand Down Expand Up @@ -12776,9 +12775,7 @@
/turf/simulated/floor/mineral/plastitanium/red,
/area/shuttle/syndicate)
"hFD" = (
/obj/structure/closet/crate/secure/bin{
color = "36373a"
},
/obj/structure/closet/crate/secure/bin,
/turf/simulated/floor/plasteel/dark,
/area/centcom/ss220/admin3)
"hFE" = (
Expand Down Expand Up @@ -15078,7 +15075,7 @@
/turf/simulated/floor/mineral/titanium,
/area/shuttle/syndicate)
"iRb" = (
/obj/machinery/economy/vending/chinese/free,
/obj/machinery/economy/vending/nt_food/free,
/obj/structure/sign/poster/official/high_class_martini{
pixel_y = 32
},
Expand Down Expand Up @@ -16744,8 +16741,8 @@
"jXb" = (
/obj/structure/light_fake/spot,
/obj/structure/closet/crate/secure/bin{
anchored = 1;
color = "#996633"
color = "#36373a";
anchored = 1
},
/turf/simulated/floor/plasteel/dark{
dir = 6;
Expand Down Expand Up @@ -17488,7 +17485,7 @@
/turf/simulated/floor/wood/fancy/cherry,
/area/centcom/ss220/admin2)
"kwP" = (
/obj/machinery/economy/vending/chinese/free,
/obj/machinery/economy/vending/cigarette/free,
/turf/simulated/floor/plasteel/dark{
dir = 6;
icon_state = "darkbluealt"
Expand Down Expand Up @@ -18302,7 +18299,7 @@
"kQG" = (
/obj/structure/marker_beacon/spotlight/jade,
/obj/effect/light_emitter/colored{
light_color = "#FFFFF";
light_color = "#FFFFFF";
light_power = 10;
light_range = 5
},
Expand Down Expand Up @@ -22901,6 +22898,16 @@
icon_state = "darkredalt"
},
/area/centcom/ss220/jail)
"nEQ" = (
/obj/effect/light_emitter/colored{
light_color = "#FFFFFF";
light_power = 10;
light_range = 5
},
/turf/simulated/floor/plasteel/dark{
icon_state = "dark_large"
},
/area/centcom/ss220/command)
"nEU" = (
/obj/structure/sink/directional/west,
/turf/simulated/floor/carpet/black,
Expand Down Expand Up @@ -23479,7 +23486,7 @@
/turf/simulated/floor/carpet/black,
/area/syndicate_mothership/jail)
"nVy" = (
/obj/machinery/economy/vending/snack/free,
/obj/machinery/economy/vending/nt_food/free,
/obj/structure/light_fake/spot{
dir = 8
},
Expand All @@ -23503,7 +23510,7 @@
"nWa" = (
/obj/structure/marker_beacon/spotlight/jade,
/obj/effect/light_emitter/colored{
light_color = "#FFFFF";
light_color = "#FFFFFF";
light_power = 10;
light_range = 5
},
Expand Down Expand Up @@ -23888,7 +23895,9 @@
},
/obj/effect/turf_decal/stripes/red/box,
/obj/effect/light_emitter/colored{
light_color = "white"
light_color = "#FFFFFF";
light_power = 10;
light_range = 5
},
/turf/simulated/floor/plasteel/dark{
dir = 8;
Expand Down Expand Up @@ -25357,7 +25366,7 @@
/obj/effect/turf_decal/tile/neutral/full{
color = "#000000"
},
/turf/simulated/floor/wood/fancy/cherry,
/turf/simulated/floor/wood/parquet,
/area/centcom/ss220/admin2)
"pcg" = (
/obj/structure/chair/sofa,
Expand Down Expand Up @@ -32329,7 +32338,7 @@
},
/area/syndicate_mothership/elite_squad)
"tiF" = (
/obj/machinery/economy/vending/snack/free,
/obj/machinery/economy/vending/nt_food/free,
/turf/simulated/floor/plasteel/dark,
/area/centcom/ss220/admin3)
"tjz" = (
Expand Down Expand Up @@ -36593,7 +36602,9 @@
},
/obj/effect/turf_decal/stripes/red/box,
/obj/effect/light_emitter/colored{
light_color = "white"
light_color = "#FFFFFF";
light_power = 10;
light_range = 5
},
/turf/simulated/floor/plasteel/dark{
dir = 8;
Expand Down Expand Up @@ -59202,7 +59213,7 @@ siO
xwO
shq
rmd
shq
nEQ
shq
shq
shq
Expand Down
33 changes: 33 additions & 0 deletions modular_ss220/food_and_drinks/code/drinks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -792,3 +792,36 @@
drink_name = "Citrus Beer"
drink_desc = "Обычное пиво оранжевого оттенка, пахнет апельсинами."
taste_description = "кисленькое пиво"

// MARK: NT Food Drinks
/obj/item/reagent_containers/drinks/cans/nt_iced_black_tea
name = "iced black tea"
desc = "Холодный чёрный чай, натуральный и полезный."
icon = 'modular_ss220/food_and_drinks/icons/drinks.dmi'
icon_state = "tea_bottle_grey"
item_state = "beer"
list_reagents = list("icetea" = 30)

/obj/item/reagent_containers/drinks/cans/nt_iced_green_tea
name = "iced green tea"
desc = "Холодный зелёный чай, натуральный и полезный."
icon = 'modular_ss220/food_and_drinks/icons/drinks.dmi'
icon_state = "tea_bottle"
item_state = "beer"
list_reagents = list("icetea" = 30)

/obj/item/reagent_containers/drinks/cans/nt_iced_mint_tea
name = "iced mint tea"
desc = "Освежающий холодный чай с листьями мяты."
icon = 'modular_ss220/food_and_drinks/icons/drinks.dmi'
icon_state = "tea_bottle_blue"
item_state = "beer"
list_reagents = list("icetea" = 30)

/obj/item/reagent_containers/drinks/cans/nt_iced_berry_tea
name = "iced berry tea"
desc = "Холодный чай с натуральными ягодами без сахара."
icon = 'modular_ss220/food_and_drinks/icons/drinks.dmi'
icon_state = "tea_bottle_pink"
item_state = "beer"
list_reagents = list("icetea" = 30)
Loading

0 comments on commit 03f75d5

Please sign in to comment.