mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-24 05:38:15 +01:00
Merge pull request #820 from CHOMPStationBot/upstream-merge-9288
[MIRROR] [MIRROR] Adds the Frostbelle
This commit is contained in:
@@ -235,7 +235,7 @@
|
||||
/obj/structure/flora/pottedplant/attackby(obj/item/I, mob/user)
|
||||
if(issilicon(user))
|
||||
return // Don't try to put modules in here, you're a borg. TODO: Inventory refactor to not be ass.
|
||||
|
||||
|
||||
if(stored_item)
|
||||
to_chat(user, "<span class='notice'>[I] won't fit in. There already appears to be something in here...</span>")
|
||||
return
|
||||
@@ -494,3 +494,47 @@
|
||||
|
||||
/obj/structure/flora/sif/tendrils/get_harvestable_desc()
|
||||
return "<span class='notice'>\The [src] seems to be growing over something.</span>"
|
||||
|
||||
/datum/category_item/catalogue/flora/frostbelle
|
||||
name = "Sivian Flora - Frostbelle"
|
||||
desc = "A rare plant native to Sif, with very peculiar growing requirements. Rarely seen outside of their original habitat,\
|
||||
or the homes of the wealthy, the plant's unique vein structure is actually used to carry the plant's reproductive material \
|
||||
to forming buds, the petals of which secrete the luminescent sap containing the pollen at the time of blooming. Certain \
|
||||
horticulturists have found ways of halting this process prior to the secretion of the sap, leaving the flower's petals \
|
||||
bright, at the cost of making that bud sterile."
|
||||
value = CATALOGUER_REWARD_HARD
|
||||
|
||||
/obj/structure/flora/sif/frostbelle
|
||||
name = "gnarly shrub"
|
||||
desc = "A stocky plant with fins bearing luminescent veins along its branches."
|
||||
icon_state = "grass"
|
||||
randomize_size = TRUE
|
||||
catalogue_data = list(/datum/category_item/catalogue/flora/frostbelle)
|
||||
|
||||
harvest_tool = /obj/item/weapon/material/knife
|
||||
max_harvests = 2
|
||||
min_harvests = -4
|
||||
harvest_loot = list(
|
||||
/obj/item/weapon/reagent_containers/food/snacks/frostbelle = 1
|
||||
)
|
||||
|
||||
var/variantnum = null
|
||||
|
||||
/obj/structure/flora/sif/frostbelle/Initialize()
|
||||
. = ..()
|
||||
|
||||
variantnum = rand(1,3)
|
||||
|
||||
update_icon()
|
||||
|
||||
/obj/structure/flora/sif/frostbelle/update_icon()
|
||||
..()
|
||||
|
||||
if(max_harvests > 0 && harvest_count < max_harvests)
|
||||
icon_state = "[initial(icon_state)][variantnum]"
|
||||
|
||||
else
|
||||
icon_state = initial(icon_state)
|
||||
|
||||
/obj/structure/flora/sif/frostbelle/get_harvestable_desc()
|
||||
return "<span class='notice'>\The [src] seems to be budding.</span>"
|
||||
|
||||
@@ -90,5 +90,10 @@ var/list/grass_types = list(
|
||||
icon_state = "grass_sif_dark0"
|
||||
edge_blending_priority = 5
|
||||
tree_chance = 4
|
||||
grass_chance = 0
|
||||
grass_chance = 1
|
||||
|
||||
grass_types = list(
|
||||
/obj/structure/flora/sif/frostbelle = 1,
|
||||
/obj/structure/flora/sif/eyes = 5,
|
||||
/obj/structure/flora/sif/tendrils = 30
|
||||
)
|
||||
|
||||
@@ -4039,6 +4039,40 @@
|
||||
/obj/item/weapon/reagent_containers/food/snacks/rawsunflower/Initialize()
|
||||
. = ..()
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/frostbelle
|
||||
name = "frostbelle bud"
|
||||
desc = "A frostbelle flower from Sif. Its petals shimmer with an inner light."
|
||||
icon = 'icons/obj/food_ingredients.dmi'
|
||||
icon_state = "frostbelle"
|
||||
bitesize = 1
|
||||
nutriment_amt = 1
|
||||
nutriment_desc = list("another world" = 2)
|
||||
catalogue_data = list(/datum/category_item/catalogue/flora/frostbelle)
|
||||
filling_color = "#5dadcf"
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/frostbelle/Initialize()
|
||||
. = ..()
|
||||
set_light(1, 1, "#5dadcf")
|
||||
|
||||
reagents.add_reagent("oxycodone", 1)
|
||||
reagents.add_reagent("sifsap", 5)
|
||||
reagents.add_reagent("space_drugs", 5)
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/bellefritter
|
||||
name = "frostbelle fritters"
|
||||
desc = "Frostbelles, prepared traditionally."
|
||||
icon = 'icons/obj/food_syn.dmi'
|
||||
icon_state = "bellefritter"
|
||||
filling_color = "#5dadcf"
|
||||
center_of_mass = list("x"=16, "y"=12)
|
||||
do_coating_prefix = 0
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/bellefritter/Initialize()
|
||||
. = ..()
|
||||
reagents.add_reagent("batter", 10)
|
||||
reagents.add_reagent("sugar", 5)
|
||||
bitesize = 2
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/roastedsunflower
|
||||
name = "sunflower seeds"
|
||||
desc = "Sunflower seeds!"
|
||||
|
||||
@@ -27,6 +27,11 @@
|
||||
reagent_mix = RECIPE_REAGENT_REPLACE //Simplify end product
|
||||
result = /obj/item/weapon/reagent_containers/food/snacks/risottoballs
|
||||
|
||||
/datum/recipe/bellefritter
|
||||
appliance = FRYER
|
||||
reagents = list("sugar" = 5, "batter" = 10)
|
||||
items = list(/obj/item/weapon/reagent_containers/food/snacks/frostbelle)
|
||||
result = /obj/item/weapon/reagent_containers/food/snacks/bellefritter
|
||||
|
||||
//Meaty Recipes
|
||||
//====================
|
||||
@@ -93,7 +98,7 @@
|
||||
)
|
||||
result = /obj/item/weapon/reagent_containers/food/snacks/donut/jelly
|
||||
result_quantity = 2
|
||||
|
||||
|
||||
/datum/recipe/jellydonut/poisonberry
|
||||
reagents = list("poisonberryjuice" = 5, "sugar" = 5)
|
||||
items = list(
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 7.9 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 51 KiB |
Reference in New Issue
Block a user