Ignore:
Timestamp:
07/14/15 01:00:27 (9 years ago)
Author:
Maciej Komosinski
Message:

"energ0" has been renamed to "energy0" in v4.3

Location:
experiments/frams/foraminifera/data/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • experiments/frams/foraminifera/data/scripts/foraminifera.expdef

    r411 r416  
    127127                cr.name = "Initial creature" + i;
    128128                placeCreatureRandomly(cr, 0, 0);
    129                 cr.energ0 = ExpParams.v_min_h - ExpParams.repro_thr;
    130                 cr.energy = cr.energ0;
     129                cr.energy0 = ExpParams.v_min_h - ExpParams.repro_thr;
     130                cr.energy = cr.energy0;
    131131                cr.user1 = {"vamin" : ExpParams.v_min_h, "amin": ExpParams.age_min_h};
    132132                cr.user2 = {"Va" : ExpParams.v_min_h - ExpParams.repro_thr, "gen" : 0, "growth_step" : ExpParams.growth_step, "rsize" : ExpParams.rads[0], "vinit" : ExpParams.v_min_h - ExpParams.repro_thr};
     
    366366        cr.name = "Food";
    367367        cr.idleen = 0;
    368         cr.energ0 = ExpParams.feede0;
    369         cr.energy = cr.energ0;
     368        cr.energy0 = ExpParams.feede0;
     369        cr.energy = cr.energy0;
    370370        cr.signals.add("food");
    371371
  • experiments/frams/foraminifera/data/scripts/foraminifera.inc

    r406 r416  
    8383{
    8484        var cr = Populations[0].add(geno);
    85         cr.energ0 = energy;
    86         cr.energy = cr.energ0;
     85        cr.energy0 = energy;
     86        cr.energy = cr.energy0;
    8787        setGenotype(cr, new_user1, new_user2);
    8888        placeRandomlyNotColliding(cr);
Note: See TracChangeset for help on using the changeset viewer.