Adds native chilly peppers to icebox flora. (#53544)

Now, icebox has a native plant that can be picked on the surface level, where the sunlight reaches highest, and rarely seen underground, and provides you chilly peppers. Traditionally a chili pepper mutation, the theme was close enough that I felt it'd be a good fit for the map, and helps break up the monotony of the map being ice, rock, and more ice with some harvest able flora.
This commit is contained in:
ArcaneMusic
2020-09-11 01:16:07 +01:00
committed by GitHub
parent 51e2361ad0
commit 224b87e55d
3 changed files with 22 additions and 3 deletions
+20 -1
View File
@@ -22,10 +22,11 @@
var/base_icon
var/regrowth_time_low = 8 MINUTES
var/regrowth_time_high = 16 MINUTES
var/number_of_variants = 4
/obj/structure/flora/ash/Initialize()
. = ..()
base_icon = "[icon_state][rand(1, 4)]"
base_icon = "[icon_state][rand(1, number_of_variants)]"
icon_state = base_icon
/obj/structure/flora/ash/proc/harvest(user)
@@ -146,6 +147,24 @@
// min dmg 3, max dmg 6, prob(70)
AddComponent(/datum/component/caltrop, 3, 6, 70)
///Snow flora to exist on icebox.
/obj/structure/flora/ash/chilly
icon_state = "chilly_pepper"
name = "springy grassy fruit"
desc = "A number of bright, springy blue fruiting plants. They seem to be unconcerned with the hardy, cold environment."
harvested_name = "springy grass"
harvested_desc = "A bunch of springy, bouncy fruiting grass, all picked. Or maybe they were never fruiting at all?"
harvest = /obj/item/reagent_containers/food/snacks/grown/icepepper
needs_sharp_harvest = FALSE
harvest_amount_high = 3
harvest_time = 15
harvest_message_low = "You pluck a single, curved fruit."
harvest_message_med = "You pluck a number of curved fruit."
harvest_message_high = "You pluck quite a lot of curved fruit."
regrowth_time_low = 2400
regrowth_time_high = 5500
number_of_variants = 2
//SNACKS
/obj/item/reagent_containers/food/snacks/grown/ash_flora