mirror of
https://github.com/rileyjshaw/terra.git
synced 2024-11-21 04:54:23 +00:00
Change default moveLv to 0
This commit is contained in:
parent
6aed22ac53
commit
72f6091444
@ -14,7 +14,7 @@ var creatureFactory = (function () {
|
|||||||
baseCreature.prototype.sustainability = 2;
|
baseCreature.prototype.sustainability = 2;
|
||||||
// used as percentages of maxEnergy
|
// used as percentages of maxEnergy
|
||||||
baseCreature.prototype.reproduceLv = 0.70;
|
baseCreature.prototype.reproduceLv = 0.70;
|
||||||
baseCreature.prototype.moveLv = 0.20;
|
baseCreature.prototype.moveLv = 0;
|
||||||
|
|
||||||
baseCreature.prototype.boundEnergy = function() {
|
baseCreature.prototype.boundEnergy = function() {
|
||||||
if (this.energy > this.maxEnergy)
|
if (this.energy > this.maxEnergy)
|
||||||
|
2
dist/terra.js
vendored
2
dist/terra.js
vendored
@ -24,7 +24,7 @@ var creatureFactory = (function () {
|
|||||||
baseCreature.prototype.sustainability = 2;
|
baseCreature.prototype.sustainability = 2;
|
||||||
// used as percentages of maxEnergy
|
// used as percentages of maxEnergy
|
||||||
baseCreature.prototype.reproduceLv = 0.70;
|
baseCreature.prototype.reproduceLv = 0.70;
|
||||||
baseCreature.prototype.moveLv = 0.20;
|
baseCreature.prototype.moveLv = 0;
|
||||||
|
|
||||||
baseCreature.prototype.boundEnergy = function() {
|
baseCreature.prototype.boundEnergy = function() {
|
||||||
if (this.energy > this.maxEnergy)
|
if (this.energy > this.maxEnergy)
|
||||||
|
2
dist/terra.min.js
vendored
2
dist/terra.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user