Skip to content

Commit

Permalink
Average smaller bite sizes, changed volume of chewing
Browse files Browse the repository at this point in the history
  • Loading branch information
caligari87 committed Jun 29, 2018
1 parent 3dacdfe commit 6a1ed81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hdscav_zscript/hunger/messkit.zsc
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ class HDScav_MessKit : HDWoundFixer {
invoker.tracker = HDScav_HungerTracker(FindInventory("HDScav_HungerTracker", false));
if(invoker.bitesize > 0) {
//Chew
int chunk = random(5,10);
A_PlaySound("weapons/pocket", CHAN_AUTO, frandom(0.25, 0.4));
A_PlaySound("misc/fragroll", CHAN_AUTO, frandom(0.25, 0.5));
int chunk = random(1,10) ;
A_PlaySound("weapons/pocket", CHAN_AUTO, frandom(0.25, 0.6));
A_PlaySound("misc/fragroll", CHAN_AUTO, frandom(0.25, 0.7));
invoker.mealSize -= clamp(chunk, 0, invoker.biteSize);
invoker.tracker.calories += clamp(chunk, 0, invoker.biteSize);
invoker.biteSize -= clamp(chunk, 0, invoker.biteSize);
Expand Down

0 comments on commit 6a1ed81

Please sign in to comment.