Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upSeasonal forage #8420
Conversation
Reaper42
added some commits
Jul 26, 2014
This comment has been minimized.
This comment has been minimized.
|
Bird eggs are laid in spring and my guess is that reptile eggs is the same case. I like the idea of seasonal foraging, but balancing seems off. |
KA101
reviewed
Aug 3, 2014
| add_msg(m_good, _("You found a nest with some eggs!")); | ||
| if (!one_in(4)) { | ||
| m.spawn_item(u.posx, u.posy, "egg_bird", rng(2, 5), 0, calendar::turn); | ||
| m.spawn_item(u.posx, u.posy, "egg_bird", rng(1, 2), 0, calendar::turn); |
This comment has been minimized.
This comment has been minimized.
KA101
Aug 3, 2014
Contributor
Eggs are tough to get to in the foraging check, underbrush is only forage-able once per underbrush, and eggs not only are eggs nutritious food and useful for cooking, but late-game mutagen crafting requires eggs in quantity.
Reducing the amount dropped may be realistic, but then requires unrealistic effort on the player's part. I'm gonna ask you to revert this reduction, and the one in lizard eggs. Thanks.
This comment has been minimized.
This comment has been minimized.
KA101
reviewed
Aug 3, 2014
| @@ -983,6 +983,9 @@ void iexamine::fswitch(player *p, map *m, int examx, int examy) | |||
| } | |||
|
|
|||
| void iexamine::flower_poppy(player *p, map *m, int examx, int examy) { | |||
| if (calendar::turn.get_season() == WINTER) { | |||
| add_msg(m_info, _("This frower is dead. You can't get it.")); | |||
This comment has been minimized.
This comment has been minimized.
KA101
Aug 3, 2014
Contributor
"flower"
Apart from the typo, heartily approved. It's gonna be hell on Proboscis folks, but that's a downside of being an insect.
This comment has been minimized.
This comment has been minimized.
|
Looks great! |
This comment has been minimized.
This comment has been minimized.
No. Yes.
2% with 4 Survival and 8 PER. 50 forage acts give 2-4 (4-10) eggs. 10 eggs give 300 nutrition after cooking. 300 nutrition - one day ration. 50 forage acts is ~30 minutes of game time. Balance is dead, you right.
5% with if character not blind. |
This comment has been minimized.
This comment has been minimized.
|
Starting character can get survival skill to 2 reasonably fast, lets say his PER is 8. Chance of finding something in underbrush for such player is currently 4 + 0 + 5 = 9% or 1 in 10 foraging action yield something. This might be too high. After change, it is 1 + 0 / 3 = 1% or 1 in 100 foraging action yield something (IMO crazy) I would go with formula if (veggy_chance < (u.skillLevel("survival") + (u.per_cur - 8) + 3)) For character with SURV 10, percentages go 25% (current formula), 5% (Reaper formula), 13% (my formula) |
This comment has been minimized.
This comment has been minimized.
|
Bird eggs are laid in spring - I meant in real live, I got it that in your PR it is all but winter. Your percentages are for successful forage action, but for eggs, it is 1/6 of that. Rest is wild vegetable. |
KA101
self-assigned this
Aug 3, 2014
This comment has been minimized.
This comment has been minimized.
When you calc it i play and do 50 forage acts and find 2 (5) eggs. SURV skill raise to 2, per - 12 (+1% bonus)
You think it easy to find any eggs in forest? 100 forage checks = 100 turns = 10 minutes. Find 2-5 eggs in 10 minutes is very well for city worm.
Yes, if you talk about summer/autumn
SURV 4 = 5% SURV 4; PER 12 = 9% |
This comment has been minimized.
This comment has been minimized.
|
Small sample for any meaningful statistics. But you do not need statistic in this case as mathematic formula is simple. Also, it is not only question of how hard it is to forage. But if it is viable option against other alternatives. If you go overboard with the nerf, everyone will just say FF (f*ck forest) and go loot the city as much better food source. Another question is how much fun is it? It may be true, that you can sustain yourself if you will forage 100 underbushes per day, but it would be extremely boring to do so. |
This comment has been minimized.
This comment has been minimized.
|
I think some breaks from reality are important, especially since we've recently made weather a bit of a pain at game start. As for the formula, agreed that we're not making hardmode the default, so +1 to +3 (down from the current +5) makes sense. Let the folks have some chance to survive and make their time worthwhile. In short, I like the seasonal-lockouts, but making the base formula harder seems like a nontrivial change and one that we ought to discuss separately. (I'd prefer to make it a difficulty option, but option-growth tends to be a contentious issue of itself.) To that end: I'm pulling this for mergetest, but reverting the formula change in the process. Apologies for not noticing & mentioning it earlier, Reaper; feel free to propose reducing it in a separate PR. |
This comment has been minimized.
This comment has been minimized.
|
Agree. No reason to keep seasonal foraging, which is change for the better, out just because of balancing debate we can have in separate PR. |
This comment has been minimized.
This comment has been minimized.
Automated forage? And so what? SUR + (PRE - 8 ) + 3 and merge? It not important for me, i just flaming. |
This comment has been minimized.
This comment has been minimized.
I'm not sure whether that's angry, unhappy, or shrug and leaving it. Would appreciate some clarification, as "I just flaming" could mean a few different things. |
This comment has been minimized.
This comment has been minimized.
|
Flaming != gabbing? |
This comment has been minimized.
This comment has been minimized.
|
"Flaming" as speech/writing, so far as I know, is "attacking/insulting/complaining". It's a negative sort of speech. Once this gets merged--I've gotta verify BevapDin's rework too--then yeah, change it to +3 and file a PR. I'll likely support you as initial testing on +5 garnered eggs without too much trouble. Right now, I've got it, no worries, you're gonna get in. (There was a check that was && when it should have been ||, but that was trivial to fix once I detected it.) |
This comment has been minimized.
This comment has been minimized.
|
(!one_in(6) && (calendar::turn.get_season() == SUMMER || calendar::turn.get_season() == AUTUMN)) There is all ok. |
This comment has been minimized.
This comment has been minimized.
|
Uh, sorry, fixed in the merge. Thanks though.
|
This comment has been minimized.
This comment has been minimized.
|
Closing because of the Git traffic-jam causing it to think it's not merged. Apologies for the confusion: this made it into mainline. |
KA101
closed this
Aug 4, 2014
This comment has been minimized.
This comment has been minimized.
|
Ok. |
This comment has been minimized.
This comment has been minimized.
|
@KA101 Veggy formula that got in divides SURV by 2 instead of multiplying it by 2. Is that intentional? |
This comment has been minimized.
This comment has been minimized.
|
Nope. File a PR if you're not getting enough forage. |
This comment has been minimized.
This comment has been minimized.
|
I will make balancing PR - with charts and stuff and link It here. |
This comment has been minimized.
This comment has been minimized.
|
Ok, yeah, do that. |
This comment has been minimized.
This comment has been minimized.
|
Proposed change PR |
Reaper42 commentedAug 3, 2014
Apples can get only autumn, berries - summer, mushrooms - summer/autumn, eggs, flowers - all seasons but winter.
All wild food can take only from apple tree/shrubs.
Much less food from forage (eggs/wild vegs.)