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

Hunger #93

Open
andrtechno opened this issue May 25, 2022 · 11 comments
Open

Hunger #93

andrtechno opened this issue May 25, 2022 · 11 comments

Comments

@andrtechno
Copy link

Is it normal when I have a Hunger 0/100 then I'm full?

@andrtechno
Copy link
Author

Time reduces Hunger And eating Food also reduces Hunger something is wrong here

@Admin-Yukiko
Copy link
Contributor

I will look into it when I have time.

@Admin-Yukiko
Copy link
Contributor

Admin-Yukiko commented Jun 5, 2022

I am doing some modifications to the hunger system. I never liked the "negative logic" where a value of 0 meant the player was not hungry and a value of 10 meant the player was starving. To me, it should be reversed. So, that's what I am doing. Also, hunger will affect stamina regen rate. This rewrite will involve multiple scripts.

@andrtechno
Copy link
Author

I agree with you

@Admin-Yukiko
Copy link
Contributor

The new hunger system is in. Please read the commit notes for more info.

@andrtechno
Copy link
Author

oh need to remove the props yourself %RegenRates%

noticed a typo "HungerPID" "HungeerPID" duble "ee"
and "print" in text command ".hunger" I think it needs to be removed

@Admin-Yukiko
Copy link
Contributor

Fixed the typo and removed the Print().

@andrtechno
Copy link
Author

SkillCheck()

pass_chance -= CInt( hunger_value + CDbl( hunger_value * CDbl( hunger / 10 )));

I think this formula needs to be revised. @Admin-Yukiko

@Admin-Yukiko Admin-Yukiko reopened this Jun 22, 2022
@Admin-Yukiko
Copy link
Contributor

Admin-Yukiko commented Jun 22, 2022

What do you suggest? I am open to any help when it comes to these types of formulae. :) @andrtechno

@andrtechno
Copy link
Author

andrtechno commented Jun 22, 2022

it doesn't matter if the character is full or hungry
pass_chance does not decrease

@Admin-Yukiko
Copy link
Contributor

Strange. It should. I'll look into it when I am not tired. :)
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants