Skip to content
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

Alterations to blood loss effect #13458

Closed
wants to merge 2 commits into from

Conversation

Projects
None yet
2 participants
@chaosvolt
Copy link
Contributor

commented Aug 31, 2015

This is...very fucking likely to break spectacularly. Currently attempting to implement blood loss as a fatal effect via addition of a body part for it, which the blood loss effect damaging that part instead
of the bleeding body part.

Will need to see what else will be required to work past the inevitable commit failures.

Chaosvolt
Alterations to blood loss effect
This is...very fucking likely to break spectacularly. Currently
attempting to implement blood loss as a fatal effect via addition of a
body part for it, which the blood loss effect damaging that part instead
of the bleeding body part.

Will need to see what else will be required to work past the inevitable
commit failures.
@chaosvolt

This comment has been minimized.

Copy link
Contributor Author

commented Aug 31, 2015

Hmm. And now the endless waiting to see if it'll be failed or not. Weird, bot's being slow I guess.

Though I'd be willing to bet it'll be a fail.

@chaosvolt

This comment has been minimized.

Copy link
Contributor Author

commented Aug 31, 2015

There we go. It was inevitable. Now to see what I fucked up.

EDIT: Likely forgot to add required changes to game.h, possibly player.h as well.

EDIT 2: Sometimes I hate being back home. Fucking satellite net, hindering my ability to actually checkout the stupid branch.

Chaosvolt
Removed ability to view blood level in debug
1. Both errors were on that. Onward to the next inevitable failure.
@@ -18,6 +18,7 @@ enum body_part : int {
bp_leg_r,
bp_foot_l,
bp_foot_r,
bp_blood,

This comment has been minimized.

Copy link
@Coolthulhu

Coolthulhu Aug 31, 2015

Contributor

Blood as a body part is more trouble than it's worth.

You could implement it as a separate value, like oxygen.

@chaosvolt

This comment has been minimized.

Copy link
Contributor Author

commented Aug 31, 2015

Hmm. Well...scheisse. We'd need to rework the bleed effect and such though, right?

@Coolthulhu

This comment has been minimized.

Copy link
Contributor

commented Aug 31, 2015

You could just hardcode it to remove blood, in player::hardcoded_effects.

Believe me, it is worth it in the long run, otherwise you'll be catching cases like "frostbite (blood)", "bite (blood)", wet blood and "hits you in the blood" for a while.

@chaosvolt

This comment has been minimized.

Copy link
Contributor Author

commented Aug 31, 2015

Hmm. If blood can also be set to restore over time via the same mechanism as natural healing? Will also have to see how to change the bleeding effect from damaging a given part to reducing the value directly.

@chaosvolt

This comment has been minimized.

Copy link
Contributor Author

commented Aug 31, 2015

Well. Github client is currently frozen up staring at an uncommited change (that I didn't do, seeing as it seems to be claiming an alteration to the Polish translation file) for a branch that was merged ages ago. Oh hey, did you know it's a few good hours into monday over here? I sure do.

At this point I'm sorely tempted to close this PR, and leave the work to someone else.

@chaosvolt chaosvolt closed this Aug 31, 2015

@chaosvolt chaosvolt deleted the chaosvolt:blood-loss-concept branch Aug 31, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.