ソースを参照

All resource types are incremented now, not just food

tags/v0.0.1
Fen Dweller 7年前
コミット
936705bdf4
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: E80B35A6F11C3656
1個のファイルの変更3行の追加1行の削除
  1. +3
    -1
      gorge.js

+ 3
- 1
gorge.js ファイルの表示

@@ -94,7 +94,9 @@ function updateProductivity() {
}

function addResources(delta) {
resources.food += currentProductivity["food"] * delta / 1000;
for (const [resource, amount] of Object.entries(currentProductivity)) {
resources[resource] += amount * delta / 1000;
}
}

function displayResources() {


読み込み中…
キャンセル
保存