Skip to content

Commit f67f99f

Browse files
committed
Add wild sarsaparilla
1 parent 5ef743e commit f67f99f

File tree

6 files changed

+109
-14
lines changed

6 files changed

+109
-14
lines changed

data/json/furniture_and_terrain/furniture-flora.json

Lines changed: 52 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -312,18 +312,41 @@
312312
"harvest_by_season": [ { "seasons": [ "summer", "autumn" ], "id": "mustard_harv" } ],
313313
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
314314
},
315+
{
316+
"type": "furniture",
317+
"id": "f_wild_sarsaparilla",
318+
"name": "wild sarsaparilla",
319+
"description": "A small, flowering plant known as 'Aralia nudicaulis'. It is colored in vibrant shades of orange and red in autumn, making it easy to spot.",
320+
"symbol": ",",
321+
"looks_like": "f_lily",
322+
"color": [ "brown_green", "green", "red", "brown" ],
323+
"move_cost_mod": 1,
324+
"coverage": 20,
325+
"required_str": -1,
326+
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "DIGGABLE", "FLAT", "THIN_OBSTACLE", "SHRUB" ],
327+
"examine_action": "harvest_furn_nectar",
328+
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "wild_sarsaparilla_harv" } ],
329+
"bash": {
330+
"str_min": 2,
331+
"str_max": 6,
332+
"sound": "crunch.",
333+
"sound_fail": "whish.",
334+
"items": [ { "item": "withered", "prob": 50, "count": [ 1, 2 ] }, { "item": "twig", "prob": 50 } ]
335+
}
336+
},
315337
{
316338
"type": "furniture",
317339
"id": "f_wintergreen",
318340
"name": "wintergreen",
319341
"description": "A small shrub native to North America. The leaves, which remain green even in winter, are valued for medicinal purposes. It produces edible and sweet berries, too!",
320342
"symbol": ",",
321343
"looks_like": "f_mutpoppy",
322-
"color": [ "brown_green", "green", "green", "green" ],
344+
"//": "green all year long",
345+
"color": "green",
323346
"move_cost_mod": 1,
324347
"coverage": 20,
325348
"required_str": -1,
326-
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "DIGGABLE", "FLAT", "THIN_OBSTACLE", "SHRUB" ],
349+
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "DIGGABLE", "FLAT", "THIN_OBSTACLE", "FLOWER" ],
327350
"examine_action": "harvest_furn_nectar",
328351
"harvest_by_season": [ { "seasons": [ "autumn", "winter" ], "id": "wintergreen_harv" } ],
329352
"bash": {
@@ -341,7 +364,7 @@
341364
"description": "An invasive species originating from Japan. The stem looks like it might contain some water.",
342365
"symbol": ",",
343366
"looks_like": "f_cattails",
344-
"color": [ "brown_green", "green", "green", "green" ],
367+
"color": [ "brown_green", "green", "green", "brown" ],
345368
"move_cost_mod": 3,
346369
"coverage": 70,
347370
"required_str": -1,
@@ -353,7 +376,7 @@
353376
"str_max": 6,
354377
"sound": "crunch.",
355378
"sound_fail": "whish.",
356-
"items": [ { "item": "withered", "prob": 50, "count": [ 1, 2 ] } ]
379+
"items": [ { "item": "withered", "prob": 50, "count": [ 1, 2 ] }, { "item": "leaves", "count": [ 2, 4 ] } ]
357380
}
358381
},
359382
{
@@ -374,7 +397,11 @@
374397
"str_max": 180,
375398
"sound": "crunch!",
376399
"sound_fail": "whack!",
377-
"items": [ { "item": "stick_long", "count": [ 2, 3 ] }, { "item": "splinter", "count": [ 5, 10 ] } ]
400+
"items": [
401+
{ "item": "stick_long", "count": [ 2, 3 ] },
402+
{ "item": "splinter", "count": [ 5, 10 ] },
403+
{ "item": "leaves", "count": [ 5, 8 ] }
404+
]
378405
}
379406
},
380407
{
@@ -395,7 +422,11 @@
395422
"str_max": 180,
396423
"sound": "crunch!",
397424
"sound_fail": "whack!",
398-
"items": [ { "item": "stick_long", "count": [ 3, 6 ] }, { "item": "splinter", "count": [ 8, 16 ] } ]
425+
"items": [
426+
{ "item": "stick_long", "count": [ 3, 6 ] },
427+
{ "item": "splinter", "count": [ 8, 16 ] },
428+
{ "item": "leaves", "count": [ 7, 10 ] }
429+
]
399430
}
400431
},
401432
{
@@ -415,7 +446,11 @@
415446
"str_max": 180,
416447
"sound": "crunch!",
417448
"sound_fail": "whack!",
418-
"items": [ { "item": "stick_long", "count": [ 3, 6 ] }, { "item": "splinter", "count": [ 8, 16 ] } ]
449+
"items": [
450+
{ "item": "stick_long", "count": [ 3, 6 ] },
451+
{ "item": "splinter", "count": [ 8, 16 ] },
452+
{ "item": "leaves", "count": [ 7, 10 ] }
453+
]
419454
}
420455
},
421456
{
@@ -435,7 +470,11 @@
435470
"str_max": 180,
436471
"sound": "crunch!",
437472
"sound_fail": "whack!",
438-
"items": [ { "item": "stick_long", "count": [ 3, 6 ] }, { "item": "splinter", "count": [ 8, 16 ] } ]
473+
"items": [
474+
{ "item": "stick_long", "count": [ 3, 6 ] },
475+
{ "item": "splinter", "count": [ 8, 16 ] },
476+
{ "item": "leaves", "count": [ 7, 10 ] }
477+
]
439478
}
440479
},
441480
{
@@ -455,7 +494,11 @@
455494
"str_max": 180,
456495
"sound": "crunch!",
457496
"sound_fail": "whack!",
458-
"items": [ { "item": "stick_long", "count": [ 3, 6 ] }, { "item": "splinter", "count": [ 8, 16 ] } ]
497+
"items": [
498+
{ "item": "stick_long", "count": [ 3, 6 ] },
499+
{ "item": "splinter", "count": [ 8, 16 ] },
500+
{ "item": "leaves", "count": [ 7, 10 ] }
501+
]
459502
}
460503
}
461504
]

data/json/harvest.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@
2929
"type": "harvest",
3030
"entries": [ { "drop": "carrot_wild" } ]
3131
},
32+
{
33+
"id": "wild_sarsaparilla_harv",
34+
"type": "harvest",
35+
"entries": [ { "drop": "wild_sarsaparilla_root" } ]
36+
},
3237
{
3338
"id": "salsify_seed_harv",
3439
"type": "harvest",

data/json/items/comestibles/drink.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,24 @@
8989
"flags": [ "EATEN_HOT", "NO_AUTO_CONSUME" ],
9090
"fun": 10
9191
},
92+
{
93+
"type": "COMESTIBLE",
94+
"id": "tea_wild_sarsaparilla",
95+
"name": { "str_sp": "wild sarsaparilla tea" },
96+
"copy-from": "tea",
97+
"color": "red",
98+
"spoils_in": "10 days",
99+
"stim": 4,
100+
"fatigue_mod": 5,
101+
"quench": 30,
102+
"healthy": 1,
103+
"calories": 4,
104+
"description": "Some wild sarsaparilla root steeped in boiling water. Energizing.",
105+
"price": 100,
106+
"price_postapoc": 25,
107+
"fun": 1,
108+
"flags": [ "EATEN_HOT", "NO_AUTO_CONSUME" ]
109+
},
92110
{
93111
"type": "COMESTIBLE",
94112
"id": "bee_balm_tea",

data/json/items/comestibles/raw_veggy.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,21 @@
3838
"price": 0,
3939
"price_postapoc": 0
4040
},
41+
{
42+
"type": "COMESTIBLE",
43+
"id": "wild_sarsaparilla_root",
44+
"name": { "str": "wild sarsaparilla root" },
45+
"weight": "50 g",
46+
"volume": "80 ml",
47+
"color": "brown",
48+
"calories": 40,
49+
"spoils_in": "20 days",
50+
"description": "This aromatic rhizome can be eaten as is in an emergency, but it is much better used for making beverages. Its taste is pleasant but it is also tough and stringy.",
51+
"symbol": ",",
52+
"flags": [ "RAW" ],
53+
"vitamins": [ [ "calcium", 10 ], [ "iron", 8 ] ],
54+
"fun": -3
55+
},
4156
{
4257
"type": "COMESTIBLE",
4358
"id": "broccoli",

data/json/recipes/food/drinks.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,21 @@
2020
"qualities": [ { "id": "BOIL", "level": 1 }, { "id": "CUT", "level": 1 } ],
2121
"tools": [ [ [ "water_boiling_heat", 8, "LIST" ] ] ],
2222
"components": [ [ [ "water", 1 ], [ "water_clean", 1 ] ], [ [ "willowbark", 1 ] ] ]
23+
},
24+
{
25+
"type": "recipe",
26+
"result": "tea_wild_sarsaparilla",
27+
"activity_level": "NO_EXERCISE",
28+
"category": "CC_FOOD",
29+
"subcategory": "CSC_FOOD_DRINKS",
30+
"skill_used": "cooking",
31+
"skills_required": [ "survival", 3 ],
32+
"difficulty": 4,
33+
"time": "12 m",
34+
"batch_time_factors": [ 80, 4 ],
35+
"autolearn": true,
36+
"qualities": [ { "id": "BOIL", "level": 1 }, { "id": "CUT", "level": 1 } ],
37+
"tools": [ [ [ "water_boiling_heat", 8, "LIST" ] ] ],
38+
"components": [ [ [ "water", 1 ], [ "water_clean", 1 ] ], [ [ "wild_sarsaparilla_root", 1 ] ] ]
2339
}
2440
]

data/json/regional_map_settings.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,7 @@
9292
"t_tree_mulberry": 10,
9393
"t_tree_juniper": 5
9494
},
95-
"t_region_tree_forest": {
96-
"t_region_tree_forest_dense": 2,
97-
"t_region_tree_forest_other": 1
98-
},
95+
"t_region_tree_forest": { "t_region_tree_forest_dense": 2, "t_region_tree_forest_other": 1 },
9996
"t_region_tree": {
10097
"t_tree": 128,
10198
"t_tree_young": 128,
@@ -226,6 +223,7 @@
226223
"f_region_forest": {
227224
"f_burdock": 20,
228225
"f_bluebell": 6,
226+
"f_wild_sarsaparilla": 6,
229227
"f_lily": 5,
230228
"f_chamomile": 5,
231229
"f_japanese_knotweed": 3,
@@ -235,7 +233,7 @@
235233
"f_mutpoppy": 1,
236234
"f_wintergreen": 1
237235
},
238-
"f_region_forest_dense": { "f_burdock": 20, "f_bluebell": 8, "f_lily": 5, "f_salsify": 3, "f_wintergreen": 2 },
236+
"f_region_forest_dense": { "f_burdock": 20, "f_bluebell": 8, "f_lily": 5, "f_wild_sarsaparilla": 4, "f_salsify": 3, "f_wintergreen": 2 },
239237
"f_region_forest_water": { "f_burdock": 4, "f_japanese_knotweed": 2, "f_lily": 1 },
240238
"f_region_water_plant": { "f_cattails": 15, "f_lilypad": 1, "f_lotus": 5 }
241239
}

0 commit comments

Comments
 (0)