Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Please read the forum rules before posting.



Check if you are posting in the correct category.



The Off Topic section is not meant for discussing Cookie Clicker.

Fire pits don't help enough people

creidiekicreidieki Posts: 19Member ✭✭
According to their description, fire pits are supposed to increase health for up to 10 people each. But based on the code and experimenting, they're only helping one person each. It's possible data.js:368 should be "var leftout=me.amount/10;" or something like that; presumably you'd have to check the other numbers too.

Comments

  • OrteilOrteil Posts: 111Administrator, Game Dev Admin
    fixed in the next patch !
  • creidiekicreidieki Posts: 19Member ✭✭
    Hi, thanks for all of these prompt fixes! This one is still broken, though. I think in the line "fulfilled=Math.min(G.getRes(i).amount,leftout*objects[i][0]);" instead of "G.getRes(i).amount" (the number of fire pits) you wanted "me.amount" (the number of people).
  • OrteilOrteil Posts: 111Administrator, Game Dev Admin
    is that really what's broken ? that bit seems fine (me.amount is already in leftout), but i did notice that the next 2 lines were incorrect (objects[i][0] and [1] instead of [1] and [2]). that'll be fixed in the next patch
    thank you for all your help with the code btw
  • creidiekicreidieki Posts: 19Member ✭✭
    No problem, it's been fun to work on!

    This save should give you an easy way of testing:
    https://www.dropbox.com/s/9felkomp3ceonik/legacySave.txt?dl=0

    As you can see, there are 10,000 people, and it's at equilibrium at about 9,000 firepits. The happiness tooltip says I'm still losing happiness to "cold & darkness" at that point.

    (I suppose the other possibility is that the firepits DO work, but there's a bug with the tooltip.)

    (I'm currently waiting for my people to invent necrophagy, btw. They refuse to bury more than one corpse per day, so I can't increase population past about 10,000).
  • OrteilOrteil Posts: 111Administrator, Game Dev Admin
    silent patch uploaded just now should fix that !
  • GouchnoxGouchnox Posts: 6,350Member, Friendly, Cool, Conversationalist ✭✭✭✭✭✭
    Putting spaces before your question marks and exclamation marks? What are you, French or something? :p
    image Packs: (CC ~ MC ~ BoI ~ DNF) image
  • BrainstormBrainstorm Posts: 9,262Member ✭✭✭✭
    Gouchnox said:

    Putting spaces before your question marks and exclamation marks? What are you, French or something? :p

    maybe Indian definitely french
    "Calm your caps, bro." -Brainstorm

    the following link is the best thing that could happen to you: http://forum.dashnet.org/discussions/tagged/brainstormgame

    Currently managing a large-based forum game.. DashNet RPG! Play it now: http://forum.dashnet.org/discussion/15882/dashnet-rpg-dashnets-greatest-forum-game-of-all-time
    Dashnet RPG Pastebin: https://pastebin.com/6301gzzx
Sign In or Register to comment.