-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added "shrub with bee hive" furniture #35323
Added "shrub with bee hive" furniture #35323
Conversation
i imagine when foraging shrubs and accidently disturb a bee nest, if i didn't run away i would get around 20-30 points of pain. and maybe + small point of poison too. |
Maybe reduce the chance to disturb a nest if the player has a high enough survival skill? I'd imagine people with enough survival experience would know where bees are more likely to make nest and avoid those places when foraging. |
Not the bees! I can see a future trait "bee allergy" that would apply strong poison. |
Done. |
Does armor protect against the field? |
Yes, high environment values of armor prevent applying the effect. |
Doesn't that make weird case where a clean suit protects you but not kevlar gear? |
Cut protection > 1 is enough to completely protect the affected body part.
Ok, bees will select up to 8 random body parts in one turn and try to sting you in selected body parts. Made it so game checks for cut armor protection before stinging. Value of 1+ is enough to completely protect affected body part. |
Does it take armor coverage into account? |
|
This isn't flavor, this is just a completely random chance to screw the player with no way to prevent other than not using a basic game mechanic. I am vehemently against this. |
Could this perhaps evolve into a bee-keeping mechanic with a risk/reward thing , instead of a rng chance to say "HAH got you" with bees in the bush. How many bees make their hives in shrubs anyway? idk.... |
How these bees didn't mutate into giant ones? |
It would be better if it added a |
You are exaggerating a lot. |
I was absolutely unaware of hornets that made their nest in that old stump, and they literally said "HAH got you" when I came near to it. I don't see a reason some other unfortunate survivor couldn't fall into the same situation ingame.
I'm not against this idea, but I'm not interested in implementing it. |
Not every one. Some time ago there were tons of small animals (insects, amphibians, mammals etc) in the game, especially on the swamps. They were eventually removed from the game, but not because they mutated into their giant variants. It was rather a technical reason. They even still exist in game files, in obsolete form, in |
I'm not against the idea, but I'm not interested in implementing it. |
I see.
It could be added to long-term issue queue, at very least. |
src/iexamine.cpp
Outdated
// Survival skill reduces the chance | ||
if( one_in( 100 + 5 * p.get_skill_level( skill_survival ) ) && | ||
season_of_year( calendar::turn ) != WINTER ) { | ||
add_msg( m_bad, _( "You disturbed bees nest in the %s!" ), g->m.tername( examp ) ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add_msg( m_bad, _( "You disturbed bees nest in the %s!" ), g->m.tername( examp ) ); | |
add_msg( m_bad, _( "You disturbed a bees nest in the %s!" ), g->m.tername( examp ) ); |
I've walked a lot through the wildernesses of Texas and New England, sometimes poking at bushes and digging for random things, and never once did I suddenly discover a hive without spotting the bees well in advance. Same with wasps and hornets: the only time I've spotted their nests before I saw one of the insects was when all the insects were dead. As a new type of terrain, "shrub with bee hive" or "tree with bee hive" makes a lot of sense. As something that a survivor can encounter without a lot of warning, it doesn't make any sense. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please no sudden bee hives. Turn them into a terrain that players can spot in a distance and that other creatures can interact with.
Well. If there are bee hives, could player harvest honey from them as well, at least? |
Has #7862 been fixed yet? |
Nope. |
Updated title of PR and OP. |
Maybe make it less likely to get stung if the player has Insect Pheromones mutation? |
I guess that could be done in subsequent PRs (if this gets merged, of course). |
data/json/regional_map_settings.json
Outdated
@@ -58,7 +58,8 @@ | |||
"f_dandelion": 8, | |||
"f_boulder_small": 1, | |||
"f_boulder_medium": 0.6666, | |||
"f_boulder_large": 0.3333 | |||
"f_boulder_large": 0.3333, | |||
"f_shrub_bee_hive": 0.4166 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think gameplay-significant beehives are more common than large rocks, either. This should probably be around 0.1 or lower.
There's no reason to not have them spawn in forests, you just need a reasonably low spawn number.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, that's a definite improvement.
Um... Just to be clear, there's a massive difference between the behaviour of bees and hornets. For a bee, a sting is a last resort, a kamikaze attack. Wasps tend to sting when they're annoyed. Hornets are just evil and sting anything that moves. These bees shouldn't be attacking you just for getting close to them or their nest, to the best of my knowledge they do this when their under attack. My point is, as these are modeled on a hornet attack you suffered, please do call them hornets. If I hadn't read this PR I wouldn't expect bees in a nest I'd discovered to be attacking me. I'd assume they'd be relaxed about me unless I'd put a foot in their nest. Otherwise, I suggest having a chance between spawning a nest and a broken nest, based on survival skill. Harvesting from it should rely on survival skill too, maybe, but... I don't know how that would work. Some research is needed there. |
@Funguss |
This reverts commit 4b261b5.
beekeeping when? |
@esotericist |
Summary
SUMMARY: Features "Added "shrub with bee hive" furniture."
Purpose of change
Add to flavor/atmosphere of the game. Bees already exist in game files, but used only as the Granade explosion effect in Crazy Cataclysm mod. Decided to add them to vanilla game.
Describe the solution
Added a new furniture type which "emits" bees. Added a new emit type for bees spawning. Added this new shrub to regional settings. Had to spawn it only in the fields as they spawns way too frequent in forests in my testing.
Bee hives can yield 0..4 honeycombs and 0..4 waxes on examining or smashing.
Bees will roll a one-in-2 check to chase player every turn, if player is within 10 tiles range.
Also fixed a bug which allowed bees to travel through walls and other impenetrable terrains.
Describe alternatives you've considered
None.
Testing
Strolled around a bit, waited until I encounter new shrub with bee hive, ran away from them as fast as I could.
Additional context
Bees are implemented as a field, not as a monster, so they can't be harmed or shooed away by firing at them, smashing them, or shouting at them. Viable options are to run away, dive underwater, or use a flamethrower.
Bees' "Stung" effect could deal a tremendous amount of pain in few moments (with natural decrease to speed and other bad consequences), but otherwise it is mostly harmless.
Bees unfortunately doesn't wander around if no player (or any other creature) is within their range, they just stay in one place for ever.
Based on real events which happened to me this summer.
I went into a grove right next to our community beach and decided to change clothes after the swimming. I noticed an old stump on which I put my stuff. Too bad I didn't notice that hornets chose this stump as a home for their nest. Somehow I disturbed them, and almost immediately they start attacking me. In a few moments I was stung about dozen times - and I was actively running from them while they were stinging me. Boy, that was painful! I'm lucky I don't have an allergy for wasps poison, otherwise I might not be writing this text right now.