Skip to content

Commit

Permalink
Fixed bracketing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
caligari87 committed Jun 20, 2018
1 parent 9a374ed commit ea2df9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zscript.zsc
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ class HDScav_HungerTracker : CustomInventory {
if(calories >= 500 && calories < 1000) { statusMessage = "Your stomach grumbles. "; }
else if(calories >= 0 && calories < 500) { statusMessage = "Your stomach aches. "; }
//Fatigue status message
if(minfatigue >= 15 && minfatigue < 20) { statusMessage = statusMessage.."You feel weak. ";
if(minfatigue >= 20) { statusMessage = statusMessage.."You're getting shaky. ";
if(minfatigue >= 15 && minfatigue < 20) { statusMessage = statusMessage.."You feel weak. "; }
if(minfatigue >= 20) { statusMessage = statusMessage.."You're getting shaky. "; }
//Last meal messages
int mealdelta = (lastmeal - calories);
if(mealdelta >= 500 && mealdelta <1000) { statusMessage = statusMessage.."Time for another meal?"; }
Expand Down

0 comments on commit ea2df9d

Please sign in to comment.