Hi
This commit is contained in:
parent
6e476dcf14
commit
0dfc20e470
4 changed files with 78 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ module.exports = {
|
|||
calcLocation,
|
||||
}
|
||||
|
||||
function eatfood() {
|
||||
function eatFood() {
|
||||
if (variables.food == 0) {
|
||||
variables.health - 3*variables.travelSpeed
|
||||
} else if (variables.isSick == true) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue