看板 Little-Games 關於我們 聯絡資訊
※ 引述《meblessme (老窮病懶臭廢肥宅)》之銘言: 動物全部的順序是 貓鼬-孔雀-變色龍-海狸-火烈鳥-水獺-企鵝-蛇-海龜-貘-鱷魚-猴子-海豹-袋鼠-食蟻獸- 鷹-霍加皮-鴕鳥-羚羊-斑馬-禿鷲-狼-捷豹-熊-河馬-老虎-長頸鹿-鯊魚-犀牛-猩猩-獅子- 大象-熊貓-海豚-殺人鯨 以下是控制碼 複製後 貼到控制台(Chrome是f12) 的console(可以直接按ctrl+v貼上) 可以十倍加速遊戲 IZ.loop = setInterval( function() { // charge interest on debt every ten seconds. Also, save IZ.Zoo.interestCounter++; if (IZ.Zoo.interestCounter === 10) { IZ.Zoo.interestCounter = 0; var interest = Math.pow((IZ.Zoo.debt), IZ.Zoo.interestRate); IZ.Zoo.debt = interest; IZ.updateMoney(); localStorage['IZIIGameSave'] = btoa(JSON.stringify(IZ.Zoo)); } // let visitors in IZ.Zoo.visitorsCounter++; if (IZ.Zoo.visitorsCounter >= IZ.Zoo.visitorsTime && IZ.Zoo.visitorsTotal > 0) { var species = 0; for (i=0; i<IZ.Zoo.animals.length; i++) { if (IZ.Zoo.animals[i].own > 0) { species++; } } IZ.Zoo.visitorsCounter = 0; IZ.Zoo.money += (IZ.Zoo.visitorsTotal * species); IZ.updateMoney(); if (IZ.Zoo.visitorsLog === 0) { log = "<strong>* 你的动物园迎来第1位访客!</strong>"; IZ.addToLog(log); IZ.Zoo.visitorsLog = 1; } } var id; var slot; var next; // display new animals over time IZ.Zoo.time++; for (var i=IZ.Zoo.speciesShown; i<IZ.Zoo.animals.length; i++) { if (IZ.Zoo.time >= IZ.animals[i].wait) { id = IZ.Zoo.animals[i].id; slot = "animal" + id; IZ.Zoo.speciesShown = i + 1; document.getElementById(slot).style.display = "inherit"; slot = "br" + id; document.getElementById(slot).style.display = "inline-block"; slot = "dr" + id; document.getElementById(slot).style.display = "inline-block"; slot = "bs" + id; document.getElementById(slot).style.display = "inline-block"; slot = "en" + id; document.getElementById(slot).style.display = "inline-block"; var log = "* <strong>你发现了" + IZ.animals[i].plural + "!</strong> " + IZ.animals[i].quote; IZ.addToLog(log); } } for (var i=0; i<IZ.Zoo.animals.length; i++) { if (IZ.Zoo.time >= IZ.animals[i].wait) { next = IZ.animals[i+1].wait - IZ.Zoo.time; if (IZ.Zoo.speciesShown < 35) { var time = IZ.Zoo.timeSecs; time = time.toString().replace(/B(?=(d{3})+(?!d))/g, ","); var price = IZ.numToString(IZ.Zoo.timePrice); document.getElementById("buyTime").innerHTML = '<div id="buyTime" onclick="IZ.buyTime()"><h3>减少等待时间' + time + '秒,需要$' + price + '</h3></div>' next = next.toString().replace(/B(?=(d{3})+(?!d))/g, ","); document.getElementById("next").innerHTML = '<h2>新物种在' + next + '秒后出现</h2>'; } else { document.getElementById("next").innerHTML = '<h2>你已经发现了 所有的物种!</h2>'; document.getElementById("buyTime").innerHTML = ''; } } } // births and deaths for (var i=0; i<IZ.Zoo.animals.length; i++) { if (IZ.Zoo.animals[i].own >= IZ.Zoo.animals[i].maxPop) { IZ.Zoo.animals[i].own = IZ.Zoo.animals[i].maxPop; var id = "own" + i; IZ.updatePopulation(i); document.getElementById(id).style.color = "#f00"; } var idOwn = "own" + i; var newborn = 0; var dead = 0; document.getElementById(idOwn).style.color = "#000"; if (IZ.Zoo.animals[i].own > 1 && IZ.Zoo.animals[i].own < IZ.Zoo.animals[i].maxPop) { rnd = Math.random() * (IZ.Zoo.animals[i].own + (IZ.Zoo.animals[i].birthRate)); if (rnd <= IZ.Zoo.animals[i].own) { newborn = 1; IZ.Zoo.animals[i].own++; } if (newborn === 1) { if (IZ.Zoo.animals[i].own >= IZ.Zoo.animals[i].maxPop) { IZ.Zoo.animals[i].own = IZ.Zoo.animals[i].maxPop; document.getElementById(idOwn).style.color = "#f00"; } else { document.getElementById(idOwn).style.color = "#484"; } IZ.Zoo.total++; IZ.Zoo.animals[i].born++; } rnd = Math.random() * (IZ.Zoo.animals[i].own * 2 + (IZ.Zoo.animals[i].deathRate)); if (rnd <= IZ.Zoo.animals[i].own) { dead = 1; IZ.Zoo.animals[i].own--; } if (dead === 1) { document.getElementById(idOwn).style.color = "#a44"; IZ.Zoo.total--; IZ.Zoo.animals[i].dead++; } } IZ.updatePopulation(i); IZ.updateBirthRate(i); IZ.updateDeathRate(i); IZ.updateTooltip(i); if (IZ.Zoo.animals[i].own === IZ.Zoo.animals[i].maxPop) { var fine = Math.random() * 100000; if (Math.floor(fine) === 12345) { IZ.getFined(); } } } // offers if (IZ.Zoo.offerNext === 0) { var random = Math.round(Math.random() * 111); IZ.Zoo.offerNext = IZ.Zoo.time + 111 + random; } if (IZ.Zoo.time >= IZ.Zoo.offerNext && IZ.Zoo.offerActive === 0) { if (IZ.Zoo.animals[0].own === 0 || IZ.Zoo.animals[1].own === 0) { IZ.Zoo.offerNext = 0; } else { //create offer for (i=IZ.Zoo.animals.length-1; i>0; i--) { if (IZ.Zoo.animals[i].own > 0) { var getSpecies = i; var giveSpecies = i-1; break; } } var getNumber = Math.ceil(Math.random() * 10); if (IZ.Zoo.animals[giveSpecies].own >= 10) { var giveNumber = Math.ceil(Math.random() * 10); } else { var giveNumber = Math.ceil(Math.random() * IZ.Zoo.animals[giveSpecies].own); } IZ.Zoo.offerGiveSpecies = giveSpecies; IZ.Zoo.offerGiveNumber = giveNumber; IZ.Zoo.offerGetSpecies = getSpecies; IZ.Zoo.offerGetNumber = getNumber; document.getElementById("offer").innerHTML = '<h2>用' + getNumber + ' ' + IZ.animals[getSpecies].plural + '<br>交换<br>' + giveNumber + ' ' + IZ.animals[giveSpecies].plural + '</h2>'; document.getElementById("offerContainer").style.display = "inline"; IZ.Zoo.offerActive = 1; } } document.getElementById("animalsTitle").innerHTML = "<h2>动物 (" + IZ.Zoo.total + ")</h2>"; document.getElementById("badgesTitle").innerHTML = "<h2>成就 (" + IZ.Zoo.badges.length + ") <span style='font-size:10px'>(点击更新 )</span></h2>"; for (var i=0; i<IZ.Zoo.animals.length; i++) { if (IZ.Zoo.animals[i].own > IZ.Zoo.animals[i].maxOwn) { IZ.Zoo.animals[i].maxOwn = IZ.Zoo.animals[i].own; } } if (IZ.Zoo.total > IZ.Zoo.maxTotal) { IZ.Zoo.maxTotal = IZ.Zoo.total; } }, 100); -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.64.180.10 ※ 文章網址: http://www.ptt.cc/bbs/Little-Games/M.1413244685.A.C41.html ※ 編輯: meblessme (61.64.180.10), 10/14/2014 08:12:30
evachicken : 這個控制碼好像只適用漢化版 tinyurl.com/lqu6msl 10/14 14:06
evachicken : 不好意思我搞錯了 英文版也適用 10/14 14:13
meblessme : 開十倍速 出門放個6-7個小時回來 罰款罰到 負債 10/14 15:58
meblessme : Xe+27 動物全賣了也才e+24 而且負債過高不能買動物 10/14 15:58
meblessme : ....就差兩種動物而已 居然前功盡棄 10/14 15:59
sarej : 英文版的要怎麼用呢? 10/14 16:17
meblessme : 如果照我的作法作行不通的話 把中文改成英文應該就 10/14 16:38
meblessme : 可以貼了吧 10/14 16:38
austin751229: 負債? 不是一開始那幾十塊 還是這遊戲要不斷借錢 10/14 17:25
austin751229: 靠賣動物的錢 到買企鵝都還能撐住 10/14 17:27
meblessme : 在超過十五位數之前 貸款可以讓你提早 買到動物 10/14 17:41
meblessme : 其中最好的是用來提昇動物價值 提昇完把動物賣掉 10/14 17:42
meblessme : 賺差價 不過15位數之後 貸款是不夠用的 連零頭都不 10/14 17:42
meblessme : 夠 10/14 17:42
meblessme : 我負債是因為動物數量太多(定義模糊中)被罰款 10/14 17:43
meblessme : 而且十倍速 會同時加快十倍收利息的速度 所以... 10/14 17:45
suyuan : 不應該把動物全賣了..至少留一些繁殖 10/14 17:45
suyuan : 我有升級遊客,所以光是遊客給的錢就遠超過利息 10/14 17:45
meblessme : 當然阿 我是罰到已經破產 還不能買新動物了.... 10/14 17:45
meblessme : 一開始是這樣啦 但超過8-9位數後 遊客連零頭都算不 10/14 17:47
meblessme : 上喔 放一整天 還不如賣個100隻當前最高等動物 10/14 17:47
meblessme : 不 掛一整天可能一隻都買不起 但升級費用卻貴的要死 10/14 17:48
suyuan : 每秒鐘30,500,896,393遊客...這是地球嗎? 10/14 17:48
suyuan : 最後能夠升級的都升完了只好去擴建 enclosure 10/14 17:49
meblessme : 應該說 當你時間間隔 減少到剩1秒以後 ... 10/14 17:49
meblessme : 會發現遊客錢真的太少 10/14 17:50
suyuan : 遊客還蠻划得來的說..放著他就會自動加錢 10/14 17:50
meblessme : 嗯 可是我獸欄都升到100級 上限50萬 10/14 17:50
suyuan : 像是動物數量會隨著增加而伴隨著死亡率增加 10/14 17:50
suyuan : 等動物數量超過一定值之後,就很難繼續增加了 10/14 17:51
meblessme : 但明明動物還沒累積破20萬 就會被開罰... 10/14 17:51
suyuan : 這時候人又不在電腦旁邊可以賣,其實很浪費 10/14 17:51
meblessme : 超過15種動物以後 錢都是靠新動物在賺的啦 10/14 17:52
suyuan : 我的獸欄升級到60000級一樣被罰 10/14 17:52
suyuan : 可以存放180,081,009,200動物..一樣被罰款 10/14 17:53
suyuan : 其實獸欄根本不需要那麼大,因為死亡率一直上升 10/14 17:54
meblessme : 哇 10/14 17:54
suyuan : 所以到大約超過6000隻之後,就增加很慢了 10/14 17:54
meblessme : ....瞭解 只是100級獸欄有成就 10/14 17:55
suyuan : 死亡率超過三成,就會發現數字增加很慢 10/14 17:55
meblessme : 更大的 太貴太不划算 也不知道下個成就要多少 沒買 10/14 17:56
suyuan : 最後一個是1000獸藍 10/14 17:58
meblessme : 這我沒辦法了 我也不會改程式 ... 10/14 18:00
suyuan : 死亡率只能升級20級,是這個遊戲最大的敗筆... 10/14 18:00
suyuan : 除了獸藍以外都升級到20,遊戲就結束了 10/14 18:01
suyuan : 我也不會改程式,我是用你教的 reset大法 10/14 18:02
suyuan : 一開始就有高出生率 10/14 18:02
suyuan : 大概玩2天就到頂了 10/14 18:03
meblessme : 還好啦 2天到頂 已經比很多放置遊戲久了 10/14 18:10
wolves0117 : 第一次玩放置玩到睡著...沒有很吸引我... 10/14 18:14
meblessme : 我是喜歡遊戲中的動物畫面啦 10/14 18:17
meblessme : ..不對阿 出生率最多也不過100% 程式碼也就十倍 10/14 18:21
meblessme : 這樣要賺到60000級的錢 很困難 也很難很快完成吧 10/14 18:23
meblessme : 請問貓鼬 60000級獸欄要多少錢阿 10/14 18:23
suyuan : meerkat很便宜 60013級的價格是 10/14 19:57
suyuan : 1,211,494,960,700.11 10/14 19:58
suyuan : 只是不想繼續點下去了..手酸 10/14 19:58
suyuan : 賺錢很容易..我都先升級 get higher prices 10/14 19:59
suyuan : 然後賣一賣,繼續升級 prices 10/14 20:00
suyuan : 然後就錢就會增加很快 10/14 20:00
meblessme : 沒想到6萬級才這麼便宜啊 謝謝,辛苦了 10/14 20:33
meblessme : 嗯本來就是這樣賺的 10/14 20:33
greedwave : 為什麼貼上出現這串? 10/15 01:35
greedwave : SyntaxError: Unexpected token ILLEGAL 10/15 01:35