Skip to content

Commit

Permalink
Добавление огурцов v2.0 (#13530)
Browse files Browse the repository at this point in the history
* Добавление огурцов v2.0

* перевёл семена типа дааа

* перевёл огурец в grown

* возвращаем пачке огурцов нормальное название

* козёл душит огурец лапой (перевод)

Co-authored-by: Azzy <[email protected]>

* Спрайты поменял, всё норм

* Вальтер снисходительно подарил огурцам новый спрайт[kaif]

* Меняем циферку с 3 до 1

---------

Co-authored-by: Bebezyana <[email protected]>
Co-authored-by: Azzy <[email protected]>
  • Loading branch information
3 people committed Sep 29, 2024
1 parent cea6e61 commit 9f59cb8
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 0 deletions.
18 changes: 18 additions & 0 deletions code/defines/obj/hydro.dm
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,24 @@
plant_type = 0
growthstages = 1

/obj/item/seeds/cucumberseed
name = "pack of cucumber seeds"
cases = list("семена огурцов", "семян огурцов", "семенам огурцов", "семена огурцов", "семенами огурцов", "семенах огурцов")
desc = "Эти семена вырастают в огурцы."
icon_state = "seed-cucumber"
hydroponictray_icon_path = 'icons/obj/hydroponics/growing_vegetables.dmi'
species = "cucumber"
plantname = "Cucumbers"
product_type = /obj/item/weapon/reagent_containers/food/snacks/grown/cucumber
lifespan = 30
endurance = 20
maturation = 3
production = 4
yield = 4
potency = 4
plant_type = 0
growthstages = 4

/obj/item/seeds/tobacco_space
name = "pack of space tobacco seeds"
desc = "These seeds grow into space tobacco plants."
Expand Down
1 change: 1 addition & 0 deletions code/game/machinery/vending/hydroponics.dm
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
/obj/item/seeds/bananaseed = 3,
/obj/item/seeds/berryseed = 3,
/obj/item/seeds/cabbageseed = 3,
/obj/item/seeds/cucumberseed = 3,
/obj/item/seeds/carrotseed = 3,
/obj/item/seeds/cherryseed = 3,
/obj/item/seeds/chantermycelium = 3,
Expand Down
5 changes: 5 additions & 0 deletions code/modules/cargo/exports/grown.dm
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ use it if low potency results garbage from harvested crop
cost = 15
export_types = list(/obj/item/seeds/bananaseed)

/datum/export/seed/cucumber
unit_name = "pack of cucumber seeds"
cost = 15
export_types = list(/obj/item/seeds/cucumberseed)

/datum/export/seed/rice
unit_name = "pack of rice seeds"
cost = 15
Expand Down
15 changes: 15 additions & 0 deletions code/modules/reagents/reagent_containers/food/snacks/grown.dm
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,21 @@
reagents.add_reagent("nutriment", 1+round((potency / 10), 1))
bitesize = reagents.total_volume

/obj/item/weapon/reagent_containers/food/snacks/grown/cucumber
seed_type = /obj/item/seeds/cucumberseed
name = "cucumber"
cases = list("огурец", "огурца", "огурцу", "огурец", "огурцом", "огурце")
desc = "Выглядит как слащавый огурчик."
icon_state = "cucumber"
item_state_world = "cucumber_world"
potency = 15
filling_color = "#598157"

/obj/item/weapon/reagent_containers/food/snacks/grown/cucumber/atom_init()
. = ..()
reagents.add_reagent("ethylredoxrazine", 1+round((potency / 10), 1))
bitesize = reagents.total_volume

/obj/item/weapon/reagent_containers/food/snacks/grown/berries
seed_type = /obj/item/seeds/berryseed
name = "bunch of berries"
Expand Down
Binary file modified icons/obj/hydroponics/growing_vegetables.dmi
Binary file not shown.
Binary file modified icons/obj/hydroponics/harvest.dmi
Binary file not shown.
Binary file modified icons/obj/hydroponics/hydroponics.dmi
Binary file not shown.
Binary file modified icons/obj/hydroponics/seeds.dmi
Binary file not shown.

0 comments on commit 9f59cb8

Please sign in to comment.