Morpheox / Kraft

text-based iddle game
25 stars 22 forks source link

[Bugs] Energy retained upon prestiege & concrete mixer increasing knowledge #63

Open boozledorf opened 8 years ago

boozledorf commented 8 years ago

Maximum / current energy is not set to 0 upon reset

main.js line 58: bonus["energy"]=0; main.js line 116: maximums["energy"]=0; However, items["energy"] is never defined, so the for(key in items) loop in prestige.js (lines 131-135) never sets bonus["energy"] or maximums["energy"] back to 0, since neither are explicitly reset in prestige.js

Concrete mixer increases knowledge capacity

main.js lines 2544-2549:

concretemixer: {
    cost: {brick: 1000, plate: 200},
    scale: 1.25,
    max: {knowledge: 200},
    unlock: [".toggle_concretemixer"]
  },

Concrete mixer increases knowledge cap by 200, but this isn't mentioned in the tooltip

Morpheox commented 8 years ago

Thanks for the headsup, i will fix it next patch, you can also commit a fix if you know how to do it.