tx · GdBmar5LDBNngKGezh1CvQkUhdmduvM9t1HhNWbUK8i 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm: -0.10400000 Waves 2023.11.12 14:29 [2840066] smart account 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm > SELF 0.00000000 Waves
{ "type": 13, "id": "GdBmar5LDBNngKGezh1CvQkUhdmduvM9t1HhNWbUK8i", "fee": 10400000, "feeAssetId": null, "timestamp": 1699788589361, "version": 2, "chainId": 84, "sender": "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm", "senderPublicKey": "EVooykMNV691Venwp1dHUTBd7KWequzUcda57Wd3LQEX", "proofs": [ "a9RNu3oBz67X8Qt1XWPpeuWjmRqwymwGyBVATBi8UQM3cwyxRifRNTunQ6Djer3ebRPPtKbS4FqCZKJv1qPXGZT" ], "script": "base64:BgLgAQgCEgMKAQgSBAoCCAESAwoBBBIAEgMKAQgSABIDCgEIEgQKAgEIEgQKAgEIEgQKAgICEgUKAwEBARIAEgQKAggIEgASABIECgICAhIAEgMKAQgSBAoCCAgSAwoBGBIECgIICBIECgIICBIFCgMICAgSBAoCCAgSBwoFAQEBAQESAwoBARIFCgMBAQgSAwoBCBIDCgEIEgASBAoCCAESBAoCCAESAwoBCBIECgIICBIDCgEIEgASABIDCgEIEgMKAQgSBgoECAEIARIAEgQKAgICEgQKAgICEgASAwoBCBIApgIACURBWU1JTExJUwCAuJkpARRrZXlMYXN0QXJiVGltZUJ5VXNlcgEEYWRkcgkArAICAhBsYXN0QXJiVGltZVVzZXJfBQRhZGRyARprZXlBY3Jlc1N0YWtlZEFtb3VudEJ5VXNlcgEEYWRkcgkArAICAhhhY3Jlc1N0YWtlZEFtb3VudEJ5VXNlcl8FBGFkZHIABlNDQUxFOACAwtcvAAx4cExldmVsU2NhbGUAgBkAD3hwTGV2ZWxSZWNpcFBvdwCgHwASbnVtUG9pbnRzT25MZXZlbFVwAAMADnJvYmJlcnlDb3N0TWluAIDC1y8AFHJvYmJlcn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CsAgICG1BheW1lbnQgYXR0YWNoZWQgc2hvdWxkIGJlIAkBCmZpeGVkUG9pbnQCBQ5ST0JPX0RVQ0tfVVNEVAAGAgUgVVNEVAQHbmV4dE51bQkBC3ZhbHVlT3JFbHNlAgkAnwgBCQEPa2V5TmV4dFJvYm9EdWNrAAAABAVieXRlegkAmgMBBQduZXh0TnVtBARuYW1lCQCsAgIJAKwCAgULUk9CT19QUkVGSVgCAS0JALICAgkA3AQBBQVieXRlegAIBAVjb2xvcgkAsgICCQDcBAEJANQWAQUFYnl0ZXoABgQFaXNzdWUJAMIIBQUEbmFtZQkArAICAjdSb2JvIER1Y2sgTkZUIGZvciBXYXZlc0xhbmRzIGdhbWUsIGJhY2tncm91bmQgY29sb3IgPSAjBQVjb2xvcgABAAAHBAdhc3NldElkCQC4CAEFBWlzc3VlCQCUCgIJAM0IAgkAzQgCCQDNCAIJAM0IAgUNcHJvbG9nQWN0aW9ucwkBDEludGVnZXJFbnRyeQIJAQ9rZXlOZXh0Um9ib0R1Y2sACQBkAgUHbmV4dE51bQABBQVpc3N1ZQkBDlNjcmlwdFRyYW5zZmVyAwgFAWkMb3JpZ2luQ2FsbGVyAAEFB2Fzc2V0SWQJAQ5TY3JpcHRUcmFuc2ZlcgMFD2Vjb25vbXlDb250cmFjdAgFA3BtdAZhbW91bnQFC3VzZHRBc3NldElkCQCUCgIJANgEAQUHYXNzZXRJZAUFY29sb3IApXAYOQ==", "height": 2840066, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CwuQiMjdhptCN94m3MrixMsibm3Chv5dhRmxkdBVrrzW Next: 7fD6oRtzNkHJ7eQCB8ea6S7EmwnthUWpPWcJ9HbSJ9S8 Diff:
Old | New | Differences | |
---|---|---|---|
174 | 174 | let LANDPREFIX = "LAND" | |
175 | 175 | ||
176 | 176 | let DUCKPREFIX = "DUCK" | |
177 | + | ||
178 | + | let ROBO_PREFIX = "ROBO" | |
177 | 179 | ||
178 | 180 | let ARTPRESALE = "PRESALE" | |
179 | 181 | ||
409 | 411 | ||
410 | 412 | let KS_ALLOW_BIG_INFRA_MERGE = false | |
411 | 413 | ||
414 | + | let KS_ALLOW_ROBO_DUCKS = true | |
415 | + | ||
412 | 416 | let DAY_MILLIS = 86400000 | |
413 | 417 | ||
414 | 418 | let chain = take(drop(this.bytes, 1), 1) | |
680 | 684 | else throw("Unknown chain") | |
681 | 685 | } | |
682 | 686 | ||
687 | + | let ROBO_DUCK_USDT = 100000 | |
688 | + | ||
683 | 689 | let S_COST_ACRES = 2500000000 | |
684 | 690 | ||
685 | 691 | let FIVEX = toBigInt(5) | |
718 | 724 | ||
719 | 725 | ||
720 | 726 | func keyOldies () = "oldiesList" | |
727 | + | ||
728 | + | ||
729 | + | func keyNextRoboDuck () = "nextRoboDuck" | |
721 | 730 | ||
722 | 731 | ||
723 | 732 | let claimModeWh = 0 | |
1758 | 1767 | ||
1759 | 1768 | ||
1760 | 1769 | func checkClaimConditions (addr,claimMode,landAssetIdIn) = { | |
1761 | - | let $ | |
1770 | + | let $t03376734306 = if ((claimMode == claimModeWh)) | |
1762 | 1771 | then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), "")) | |
1763 | 1772 | else { | |
1764 | 1773 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
1768 | 1777 | then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L")) | |
1769 | 1778 | else $Tuple2(loc[locIdxId], duckAssetId) | |
1770 | 1779 | } | |
1771 | - | let landAssetId = $ | |
1772 | - | let duckId = $ | |
1780 | + | let landAssetId = $t03376734306._1 | |
1781 | + | let duckId = $t03376734306._2 | |
1773 | 1782 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
1774 | 1783 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
1775 | 1784 | let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked")) | |
1817 | 1826 | let currentPack = getBackpack(bpKey) | |
1818 | 1827 | let currentPackRes = split(currentPack[bpIdxRes], "_") | |
1819 | 1828 | let currentWhRes = split(currentWh[whIdxRes], "_") | |
1820 | - | let $ | |
1829 | + | let $t03668037551 = if ((claimMode == claimModeWh)) | |
1821 | 1830 | then $Tuple4(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes], (parseIntValue(loft[volOccupied]) + resToClaim._2), (parseIntValue(loft[volFree]) - resToClaim._2)) | |
1822 | 1831 | else if ((claimMode == claimModeDuck)) | |
1823 | 1832 | then $Tuple4(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), parseIntValue(loft[volOccupied]), parseIntValue(loft[volFree])) | |
1826 | 1835 | let whAm = min([parseIntValue(loft[volFree]), resToClaim._2]) | |
1827 | 1836 | $Tuple4(distr._1, distr._2, (parseIntValue(loft[volOccupied]) + whAm), (parseIntValue(loft[volFree]) - whAm)) | |
1828 | 1837 | } | |
1829 | - | let whRes = $ | |
1830 | - | let bpRes = $ | |
1831 | - | let loftO = $ | |
1832 | - | let loftF = $ | |
1838 | + | let whRes = $t03668037551._1 | |
1839 | + | let bpRes = $t03668037551._2 | |
1840 | + | let loftO = $t03668037551._3 | |
1841 | + | let loftF = $t03668037551._4 | |
1833 | 1842 | $Tuple5([IntegerEntry(keyStakedTimeByAssetId(c._2), newTimestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, c._2, addr), newTimestamp)], bpKey, [currentPack[bpIdxLevel], bpRes, currentPack[bpIdxMat], currentPack[bpIdxProd]], whKey, [currentWh[whIdxLevels], whRes, currentWh[whIdxMat], currentWh[whIdxProd], makeString([loft[volLocked], toString(loftO), toString(loftF), loft[volTotal]], "_")]) | |
1834 | 1843 | } | |
1835 | 1844 | } | |
1896 | 1905 | } | |
1897 | 1906 | ||
1898 | 1907 | ||
1899 | - | func updateDuckStatsInternal (duckAssetId,deltaXP) = updateStatsInternal(keyDuckLevel(duckAssetId), keyDuckXP(duckAssetId), keyDuckFreePoints(duckAssetId), deltaXP) | |
1908 | + | func updateDuckStatsInternal (duckAssetId,deltaXP) = { | |
1909 | + | let asset = value(assetInfo(fromBase58String(duckAssetId))) | |
1910 | + | let addr = valueOrErrorMessage(getString(keyDuckIdToOwner(duckAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
1911 | + | if (if (if (KS_ALLOW_ROBO_DUCKS) | |
1912 | + | then (asset.issuer == this) | |
1913 | + | else false) | |
1914 | + | then contains(asset.name, ROBO_PREFIX) | |
1915 | + | else false) | |
1916 | + | then updateStatsInternal(keyUserLevel(addr), keyUserXP(addr), keyUserFreePoints(addr), deltaXP) | |
1917 | + | else updateStatsInternal(keyDuckLevel(duckAssetId), keyDuckXP(duckAssetId), keyDuckFreePoints(duckAssetId), deltaXP) | |
1918 | + | } | |
1900 | 1919 | ||
1901 | 1920 | ||
1902 | 1921 | func updateAccStatsInternal (addr,deltaXP) = updateStatsInternal(keyUserLevel(addr), keyUserXP(addr), keyUserFreePoints(addr), deltaXP) | |
2374 | 2393 | then throw((("NFT " + DUCKPREFIX) + " token should be attached as payment")) | |
2375 | 2394 | else { | |
2376 | 2395 | let asset = value(assetInfo(assetId)) | |
2377 | - | if (if ((asset.issuer != incubatorAddr)) | |
2396 | + | let isRobo = if (if (KS_ALLOW_ROBO_DUCKS) | |
2397 | + | then (asset.issuer == this) | |
2398 | + | else false) | |
2399 | + | then contains(asset.name, ROBO_PREFIX) | |
2400 | + | else false | |
2401 | + | if (if (if ((asset.issuer != incubatorAddr)) | |
2378 | 2402 | then (asset.issuer != breederAddr) | |
2379 | 2403 | else false) | |
2380 | - | then throw((("Unknown issuer of " + DUCKPREFIX) + " token")) | |
2381 | - | else if (!(contains(asset.name, DUCKPREFIX))) | |
2382 | - | then throw((("Only NFT " + DUCKPREFIX) + " tokens are accepted")) | |
2404 | + | then !(isRobo) | |
2405 | + | else false) | |
2406 | + | then throw((((("Unknown issuer of " + DUCKPREFIX) + " or ") + ROBO_PREFIX) + " token")) | |
2407 | + | else if (if (!(contains(asset.name, DUCKPREFIX))) | |
2408 | + | then !(isRobo) | |
2409 | + | else false) | |
2410 | + | then throw((((("Only NFT " + DUCKPREFIX) + " or ") + ROBO_PREFIX) + " tokens are accepted")) | |
2383 | 2411 | else { | |
2384 | 2412 | let assetIdStr = toBase58String(assetId) | |
2385 | 2413 | let timeKey = keyStakedTimeByAssetId(assetIdStr) | |
2494 | 2522 | let isDeliv = (newLoc[locIdxType] == "D") | |
2495 | 2523 | let eqKey = keyDuckEquipment(duckAssetId) | |
2496 | 2524 | let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,") | |
2497 | - | let $ | |
2498 | - | let newEq = $ | |
2499 | - | let shouldZeroBuffs = $ | |
2500 | - | let $ | |
2525 | + | let $t07065470751 = subtractEquipment(currentEq, f._5) | |
2526 | + | let newEq = $t07065470751._1 | |
2527 | + | let shouldZeroBuffs = $t07065470751._2 | |
2528 | + | let $t07075473866 = if (!(onMission(tournamentContract, curLocation))) | |
2501 | 2529 | then if (!(isUsualLocation(newLocation))) | |
2502 | 2530 | then cheatAttempt(curLocation, newLocation, 5) | |
2503 | 2531 | else if ((newHP > 0)) | |
2557 | 2585 | else throw("Strict value is not equal to itself.") | |
2558 | 2586 | } | |
2559 | 2587 | } | |
2560 | - | let locToSave = $ | |
2561 | - | let hpToSave = $ | |
2588 | + | let locToSave = $t07075473866._1 | |
2589 | + | let hpToSave = $t07075473866._2 | |
2562 | 2590 | $Tuple2(((([StringEntry(locKey, locToSave), StringEntry(eqKey, newEq), IntegerEntry(keyDuckHealth(duckAssetId), hpToSave)] ++ prologActions) ++ (if (shouldZeroBuffs) | |
2563 | 2591 | then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")] | |
2564 | 2592 | else nil)) ++ updateDuckStatsInternal(duckAssetId, if ((newHP > 0)) | |
2764 | 2792 | let newMat = makeString(subtractMaterials(true, mList, EXPMATERIALS), "_") | |
2765 | 2793 | let eqKey = keyDuckEquipment(duckAssetId) | |
2766 | 2794 | let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,") | |
2767 | - | let $ | |
2768 | - | let newEq = $ | |
2769 | - | let shouldZeroBuffs = $ | |
2795 | + | let $t08130681403 = subtractEquipment(currentEq, f._5) | |
2796 | + | let newEq = $t08130681403._1 | |
2797 | + | let shouldZeroBuffs = $t08130681403._2 | |
2770 | 2798 | let e = expeditionInternal(i.caller, i.transactionId) | |
2771 | 2799 | let id = e._2._1 | |
2772 | 2800 | let result = if ((0 >= f._1)) | |
3081 | 3109 | let addr = toString(i.originCaller) | |
3082 | 3110 | let virtWlgData = asAnyList(invoke(wlgContract, "checkWlgXpREADONLY", [addr], nil)) | |
3083 | 3111 | let virtWlgPoints = asInt(virtWlgData[1]) | |
3084 | - | let $ | |
3112 | + | let $t09702397413 = if ((0 >= virtWlgPoints)) | |
3085 | 3113 | then $Tuple2(0, nil) | |
3086 | 3114 | else { | |
3087 | 3115 | let deltaXP = asInt(invoke(wlgContract, "takeWlgXp", [addr], nil)) | |
3089 | 3117 | then $Tuple2(virtWlgPoints, [IntegerEntry(keyUserLevel(addr), asInt(virtWlgData[0])), IntegerEntry(keyUserXP(addr), asInt(virtWlgData[2]))]) | |
3090 | 3118 | else throw("Strict value is not equal to itself.") | |
3091 | 3119 | } | |
3092 | - | let wlgPoints = $ | |
3093 | - | let wlgActions = $ | |
3120 | + | let wlgPoints = $t09702397413._1 | |
3121 | + | let wlgActions = $t09702397413._2 | |
3094 | 3122 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
3095 | 3123 | let freeKeyAcc = keyUserFreePoints(addr) | |
3096 | 3124 | let freePointsAcc = (valueOrElse(getInteger(freeKeyAcc), 0) + wlgPoints) | |
3241 | 3269 | let curO = parseIntValue(curLoft[volOccupied]) | |
3242 | 3270 | let curF = parseIntValue(curLoft[volFree]) | |
3243 | 3271 | let newForts = split(plan, "_") | |
3244 | - | let $ | |
3245 | - | let tempProdB = $ | |
3246 | - | let tempO = $ | |
3247 | - | let tempF = $ | |
3248 | - | let $ | |
3249 | - | let newProdB = $ | |
3250 | - | let newO = $ | |
3251 | - | let newF = $ | |
3272 | + | let $t0104251104366 = fortB(currentForts, prodStrToBytes(wh[whIdxProd]), curO, curF, true, nil) | |
3273 | + | let tempProdB = $t0104251104366._1 | |
3274 | + | let tempO = $t0104251104366._2 | |
3275 | + | let tempF = $t0104251104366._3 | |
3276 | + | let $t0104369104465 = fortB(newForts, tempProdB, tempO, tempF, false, duckStats) | |
3277 | + | let newProdB = $t0104369104465._1 | |
3278 | + | let newO = $t0104369104465._2 | |
3279 | + | let newF = $t0104369104465._3 | |
3252 | 3280 | let newProdStr = bytesToProdStr(newProdB) | |
3253 | 3281 | let newLoftStr = makeString([curLoft[volLocked], toString(newO), toString(newF), curLoft[volTotal]], "_") | |
3254 | 3282 | $Tuple2(([StringEntry(fortKey, plan), StringEntry(whKey, makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], newProdStr, newLoftStr], ":"))] ++ prologActions), 0) | |
3510 | 3538 | else $Tuple2(nil, checkDelivery(duckAssetId)) | |
3511 | 3539 | ||
3512 | 3540 | ||
3541 | + | ||
3542 | + | @Callable(i) | |
3543 | + | func buyRoboDuck () = if (!(KS_ALLOW_ROBO_DUCKS)) | |
3544 | + | then throw("Feature is turned off") | |
3545 | + | else { | |
3546 | + | let prologActions = prolog(i) | |
3547 | + | if ((size(i.payments) != 1)) | |
3548 | + | then throw("Exactly one payment required") | |
3549 | + | else { | |
3550 | + | let pmt = value(i.payments[0]) | |
3551 | + | if ((pmt.assetId != usdtAssetId)) | |
3552 | + | then throw("Allowed USDT payment only!") | |
3553 | + | else if ((pmt.amount != ROBO_DUCK_USDT)) | |
3554 | + | then throw((("Payment attached should be " + fixedPoint(ROBO_DUCK_USDT, 6)) + " USDT")) | |
3555 | + | else { | |
3556 | + | let nextNum = valueOrElse(getInteger(keyNextRoboDuck()), 0) | |
3557 | + | let bytez = toBytes(nextNum) | |
3558 | + | let name = ((ROBO_PREFIX + "-") + takeRight(toBase16String(bytez), 8)) | |
3559 | + | let color = takeRight(toBase16String(sha256_16Kb(bytez)), 6) | |
3560 | + | let issue = Issue(name, ("Robo Duck NFT for WavesLands game, background color = #" + color), 1, 0, false) | |
3561 | + | let assetId = calculateAssetId(issue) | |
3562 | + | $Tuple2(((((prologActions :+ IntegerEntry(keyNextRoboDuck(), (nextNum + 1))) :+ issue) :+ ScriptTransfer(i.originCaller, 1, assetId)) :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)), $Tuple2(toBase58String(assetId), color)) | |
3563 | + | } | |
3564 | + | } | |
3565 | + | } | |
3566 | + | ||
3567 | + |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let DAYMILLIS = 86400000 | |
5 | 5 | ||
6 | 6 | func keyLastArbTimeByUser (addr) = ("lastArbTimeUser_" + addr) | |
7 | 7 | ||
8 | 8 | ||
9 | 9 | func keyAcresStakedAmountByUser (addr) = ("acresStakedAmountByUser_" + addr) | |
10 | 10 | ||
11 | 11 | ||
12 | 12 | let SCALE8 = 100000000 | |
13 | 13 | ||
14 | 14 | let xpLevelScale = 3200 | |
15 | 15 | ||
16 | 16 | let xpLevelRecipPow = 4000 | |
17 | 17 | ||
18 | 18 | let numPointsOnLevelUp = 3 | |
19 | 19 | ||
20 | 20 | let robberyCostMin = 100000000 | |
21 | 21 | ||
22 | 22 | let robberyCooldownCoeff = 400 | |
23 | 23 | ||
24 | 24 | let requirements = ["Strength", "Accuracy", "Intellect", "Endurance", "Dexterity", "Level", "Health"] | |
25 | 25 | ||
26 | 26 | let charStrength = 0 | |
27 | 27 | ||
28 | 28 | let charAccuracy = 1 | |
29 | 29 | ||
30 | 30 | let charIntellect = 2 | |
31 | 31 | ||
32 | 32 | let charEndurance = 3 | |
33 | 33 | ||
34 | 34 | let charDexterity = 4 | |
35 | 35 | ||
36 | 36 | let segBackpack = 0 | |
37 | 37 | ||
38 | 38 | let NUMSEGMENTS = 6 | |
39 | 39 | ||
40 | 40 | let NUMMAINAUX = 2 | |
41 | 41 | ||
42 | 42 | let MAXSLOTS = 2 | |
43 | 43 | ||
44 | 44 | let MAXPRODINSLOT = 30 | |
45 | 45 | ||
46 | 46 | let landRobCooldowns = [0, 600000, 900000, 43200000, 21600000] | |
47 | 47 | ||
48 | 48 | let MIN_RES_TO_ROB = 20000000 | |
49 | 49 | ||
50 | 50 | let robIdxLocked = 1 | |
51 | 51 | ||
52 | 52 | let duckIdxFree = 0 | |
53 | 53 | ||
54 | 54 | let duckIdxPreparing = 1 | |
55 | 55 | ||
56 | 56 | func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId) | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func keyDuckChars (duckAssetId) = ("duckChars_" + duckAssetId) | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func keyDuckXP (duckAssetId) = ("duckXP_" + duckAssetId) | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func keyDuckLevel (duckAssetId) = ("duckLevel_" + duckAssetId) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func keyDuckFreePoints (duckAssetId) = ("duckFreePoints_" + duckAssetId) | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func keyDuckEquipment (duckAssetId) = ("duckEquipment_" + duckAssetId) | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func keyUserXP (addr) = ("userXP_" + addr) | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func keyUserLevel (addr) = ("userLevel_" + addr) | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func keyUserFreePoints (addr) = ("userFreePoints_" + addr) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func keySavedHealth (duckAssetId) = ("savedHealth_" + duckAssetId) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func keySavedLocation (duckAssetId) = ("savedLocation_" + duckAssetId) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func keyDuckBuffs (duckAssetId) = ("duckBuffs_" + duckAssetId) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func keyLastRobberyTimeByDuck (duckAssetId) = ("lastRobberyTime_" + duckAssetId) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func keyLastRobberyCostByDuck (duckAssetId) = ("lastRobberyCost_" + duckAssetId) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func keyLandRobberyState (landAssetId) = ("landRobberyState_" + landAssetId) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func keyLandCooldownETA (landAssetId) = ("landCooldownETA_" + landAssetId) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func keyDuckRobberyState (duckAssetId) = ("duckRobberyState_" + duckAssetId) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func keyLockedLandByDuck (duckAssetId) = ("lockedLandByDuck_" + duckAssetId) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func keyDeliveryDelayByDuck (duckAssetId) = ("deliveryDelayByDuck_" + duckAssetId) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func keyUserDeliveryCount (addr) = ("userDeliveryCount_" + addr) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func keyUserLastDeliveryDay (addr) = ("userLastDeliveryDay_" + addr) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | let xpClaim = 10000 | |
120 | 120 | ||
121 | 121 | let xpSuccessFlight = 10000 | |
122 | 122 | ||
123 | 123 | let xpFailFlight = 2000 | |
124 | 124 | ||
125 | 125 | let xpCallES = 100000 | |
126 | 126 | ||
127 | 127 | let xpCustomName = 1000000 | |
128 | 128 | ||
129 | 129 | let xpNewSLand = 5000000 | |
130 | 130 | ||
131 | 131 | let xpUpgradeInfra = 10000 | |
132 | 132 | ||
133 | 133 | let xpMerge = 1000000 | |
134 | 134 | ||
135 | 135 | let xpOnboard = 1000000 | |
136 | 136 | ||
137 | 137 | let xpHeal = 10000 | |
138 | 138 | ||
139 | 139 | func levelByXP (xp) = fraction(xpLevelScale, pow(xp, 4, xpLevelRecipPow, 4, 4, DOWN), SCALE8) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func maxHealth (level) = (100 + level) | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func levelUp (currLevel,newXP) = { | |
146 | 146 | let newLevel = levelByXP(newXP) | |
147 | 147 | [newLevel, (numPointsOnLevelUp * (newLevel - currLevel))] | |
148 | 148 | } | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func getDuckStats (stakingContract,duckAssetId,buffEffect,forceBuffs) = { | |
152 | 152 | let chars = split(valueOrElse(getString(stakingContract, keyDuckChars(duckAssetId)), "0_0_0_0_0"), "_") | |
153 | 153 | let lvl = valueOrElse(getInteger(stakingContract, keyDuckLevel(duckAssetId)), 0) | |
154 | 154 | let health = valueOrElse(getInteger(stakingContract, keyDuckHealth(duckAssetId)), maxHealth(lvl)) | |
155 | 155 | let stateBuffs = split(valueOrElse(getString(stakingContract, keyDuckBuffs(duckAssetId)), "0_0_0_0_0"), "_") | |
156 | 156 | ([parseIntValue(chars[charStrength]), parseIntValue(chars[charAccuracy]), parseIntValue(chars[charIntellect]), parseIntValue(chars[charEndurance]), parseIntValue(chars[charDexterity]), lvl, health] ++ (if (forceBuffs) | |
157 | 157 | then [buffEffect, buffEffect, buffEffect, buffEffect, buffEffect] | |
158 | 158 | else [parseIntValue(stateBuffs[charStrength]), parseIntValue(stateBuffs[charAccuracy]), parseIntValue(stateBuffs[charIntellect]), parseIntValue(stateBuffs[charEndurance]), parseIntValue(stateBuffs[charDexterity])])) | |
159 | 159 | } | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func getRobberyData (stakingContract,duckAssetId) = { | |
163 | 163 | let lastRobCost = valueOrElse(getInteger(stakingContract, keyLastRobberyCostByDuck(duckAssetId)), 0) | |
164 | 164 | let lastRobTime = valueOrElse(getInteger(stakingContract, keyLastRobberyTimeByDuck(duckAssetId)), 0) | |
165 | 165 | let now = lastBlock.timestamp | |
166 | 166 | let robCost = max([robberyCostMin, (lastRobCost - (robberyCooldownCoeff * (now - lastRobTime)))]) | |
167 | 167 | let duckState = valueOrElse(getInteger(stakingContract, keyDuckRobberyState(duckAssetId)), 0) | |
168 | 168 | let lockedLand = valueOrElse(getString(stakingContract, keyLockedLandByDuck(duckAssetId)), "") | |
169 | 169 | let landETA = valueOrElse(getInteger(stakingContract, keyLandCooldownETA(lockedLand)), 0) | |
170 | 170 | $Tuple5(robCost, lastRobTime, duckState, lockedLand, landETA) | |
171 | 171 | } | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | let LANDPREFIX = "LAND" | |
175 | 175 | ||
176 | 176 | let DUCKPREFIX = "DUCK" | |
177 | + | ||
178 | + | let ROBO_PREFIX = "ROBO" | |
177 | 179 | ||
178 | 180 | let ARTPRESALE = "PRESALE" | |
179 | 181 | ||
180 | 182 | let NUMRES = 6 | |
181 | 183 | ||
182 | 184 | let MAX_LANDS_STAKED_BY_USER = 25 | |
183 | 185 | ||
184 | 186 | let DAILYRESBYPIECE = 3456000 | |
185 | 187 | ||
186 | 188 | let WHMULTIPLIER = 10000000000 | |
187 | 189 | ||
188 | 190 | let DEFAULTLOCATION = "Africa_F_Africa" | |
189 | 191 | ||
190 | 192 | let RESOURCEPRICEMIN = 39637 | |
191 | 193 | ||
192 | 194 | let ESSELLCOEF = 10 | |
193 | 195 | ||
194 | 196 | let MIN_USDT_FEE_DELIVERY = 50000 | |
195 | 197 | ||
196 | 198 | let TEN_MINUTES_MILLIS = 600000 | |
197 | 199 | ||
198 | 200 | let ALLOWED_FREE_DELIVERIES = 1 | |
199 | 201 | ||
200 | 202 | let ACRES_FOR_DELIVERY_ATTEMPT = 50000000 | |
201 | 203 | ||
202 | 204 | let prodTypes = ["First Aid Kit L1", "First Aid Kit L2", "First Aid Kit L3", "Backpack L1", "Backpack L2", "Backpack L3", "Food Ration L1", "Food Ration L2", "Food Ration L3", "Jet Pack L1", "Jet Pack L2", "Jet Pack L3", "Shield L1", "Shield L2", "Shield L3", "Mine L1", "Mine L2", "Mine L3", "Trap L1", "Trap L2", "Trap L3"] | |
203 | 205 | ||
204 | 206 | let continents = ["Americas", "Europe", "Asia", "Africa", "Oceania"] | |
205 | 207 | ||
206 | 208 | let COEFF2MAT = 10000000 | |
207 | 209 | ||
208 | 210 | let fortAllowedProds = [15, 16, 17, 18, 19, 20] | |
209 | 211 | ||
210 | 212 | let productionMatrix = ["8_8_8_17_17_42_12_0_30_0,0,0,0,0,0,0_", "8_8_8_17_17_42_24_0_60_0,0,5,2,0,0,0_", "8_8_8_17_17_42_36_0_120_0,0,10,4,0,0,0_", "8_19_19_8_27_19_26_1_20_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_52_1_40_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_78_1_80_0,0,0,0,0,0,0_001", "8_8_8_8_8_60_13_2_2_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_26_2_4_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_39_2_8_0,0,0,0,0,0,0_011", "30_30_3_17_17_3_30_3_30_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_60_3_50_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_90_3_70_0,0,0,0,0,0,0_111", "18_18_10_18_18_18_11_4_10_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_22_4_20_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_33_4_30_0,0,0,0,0,0,0_201", "4_13_22_4_35_22_23_0_50,1,0_0,0,0,0,0,0,0_", "4_13_22_4_35_22_46_0_50,1,1_0,2,5,0,0,0,0_", "4_13_22_4_35_22_69_0_50,2,1_0,5,10,0,0,0,0_", "5_25_40_5_10_15_20_1_30,1,1_0,0,0,0,0,0,0_", "5_25_40_5_10_15_40_1_30,1,2_2,1,3,0,0,0,0_", "5_25_40_5_10_15_60_1_30,1,3_5,2,8,0,0,0,0_"] | |
211 | 213 | ||
212 | 214 | let rIdxCoeff = 6 | |
213 | 215 | ||
214 | 216 | let rIdxEffect = 8 | |
215 | 217 | ||
216 | 218 | let rIdxRequirements = 9 | |
217 | 219 | ||
218 | 220 | let rIdxSlots = 10 | |
219 | 221 | ||
220 | 222 | let PRODUCTPKGSIZE = 10 | |
221 | 223 | ||
222 | 224 | let whIdxLevels = 0 | |
223 | 225 | ||
224 | 226 | let whIdxRes = 1 | |
225 | 227 | ||
226 | 228 | let whIdxMat = 2 | |
227 | 229 | ||
228 | 230 | let whIdxProd = 3 | |
229 | 231 | ||
230 | 232 | let whIdxLOFT = 4 | |
231 | 233 | ||
232 | 234 | let volLocked = 0 | |
233 | 235 | ||
234 | 236 | let volOccupied = 1 | |
235 | 237 | ||
236 | 238 | let volFree = 2 | |
237 | 239 | ||
238 | 240 | let volTotal = 3 | |
239 | 241 | ||
240 | 242 | let bpIdxLevel = 0 | |
241 | 243 | ||
242 | 244 | let bpIdxRes = 1 | |
243 | 245 | ||
244 | 246 | let bpIdxMat = 2 | |
245 | 247 | ||
246 | 248 | let bpIdxProd = 3 | |
247 | 249 | ||
248 | 250 | let locIdxContinent = 0 | |
249 | 251 | ||
250 | 252 | let locIdxType = 1 | |
251 | 253 | ||
252 | 254 | let locIdxId = 2 | |
253 | 255 | ||
254 | 256 | func keyLandAssetIdToOwner (assetId) = ("no_" + assetId) | |
255 | 257 | ||
256 | 258 | ||
257 | 259 | func keyLandAssetIdToCustomName (assetId) = ("lcna_" + assetId) | |
258 | 260 | ||
259 | 261 | ||
260 | 262 | func keyStakedTimeByAssetId (assetId) = ("st_" + assetId) | |
261 | 263 | ||
262 | 264 | ||
263 | 265 | func keyLandArtStatusByTypeAndAssetId (type,assetId) = makeString(["las", type, assetId], "_") | |
264 | 266 | ||
265 | 267 | ||
266 | 268 | func keyStakedTimeByTypeAssetIdAndOwner (nftType,assetId,ownerAddr) = ((((("sttao_" + nftType) + "_") + assetId) + "_") + ownerAddr) | |
267 | 269 | ||
268 | 270 | ||
269 | 271 | func keyWarehouseByLand (landAssetId) = ("wh_" + landAssetId) | |
270 | 272 | ||
271 | 273 | ||
272 | 274 | func keyInfraLevelByAssetId (assetId) = ("infraLevel_" + assetId) | |
273 | 275 | ||
274 | 276 | ||
275 | 277 | func keyFortificationsByLand (landAssetId) = ("fortifications_" + landAssetId) | |
276 | 278 | ||
277 | 279 | ||
278 | 280 | func keyDuckAssetIdToCustomName (assetId) = ("duckCustomNameByAssetId_" + assetId) | |
279 | 281 | ||
280 | 282 | ||
281 | 283 | func keyAddressToCustomName (addr) = ("accountCustomNameByAddr_" + addr) | |
282 | 284 | ||
283 | 285 | ||
284 | 286 | func keyAddressRefBy (addr) = ("accRefBy_" + addr) | |
285 | 287 | ||
286 | 288 | ||
287 | 289 | func keyOnboardArtActivatedOnDuck (duckAssetId) = ("onboardArtActivatedOnDuck_" + duckAssetId) | |
288 | 290 | ||
289 | 291 | ||
290 | 292 | func keyOnboardArtDuckActivatedBy (addr) = ("onboardArtActivatedDuckBy_" + addr) | |
291 | 293 | ||
292 | 294 | ||
293 | 295 | func keyAddressReferrals (addr) = ("accReferrals_" + addr) | |
294 | 296 | ||
295 | 297 | ||
296 | 298 | func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId) | |
297 | 299 | ||
298 | 300 | ||
299 | 301 | func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr) | |
300 | 302 | ||
301 | 303 | ||
302 | 304 | func keyBackpackByDuck (duckAssetId) = ("backPack_" + duckAssetId) | |
303 | 305 | ||
304 | 306 | ||
305 | 307 | func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId) | |
306 | 308 | ||
307 | 309 | ||
308 | 310 | func keyUserGwlReleaseTime (userAddr) = ("%s%s__userGwlReleaseTime__" + userAddr) | |
309 | 311 | ||
310 | 312 | ||
311 | 313 | func keyEsWarehouse () = "emergencyWarehouseProducts" | |
312 | 314 | ||
313 | 315 | ||
314 | 316 | let deliveryFundKey = "deliveryFund" | |
315 | 317 | ||
316 | 318 | let deliveryLockedKey = "deliveryLocked" | |
317 | 319 | ||
318 | 320 | let lastTourIdKey = "%s__lastTourId" | |
319 | 321 | ||
320 | 322 | func keyTourStaticDataById (tId) = ("%s%d__tourStaticData__" + toString(tId)) | |
321 | 323 | ||
322 | 324 | ||
323 | 325 | func keyTourDynamicDataById (tId) = ("%s%d__tourDynamicData__" + toString(tId)) | |
324 | 326 | ||
325 | 327 | ||
326 | 328 | func keyBestResultByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__bestResultByTourAndDuck", toString(tId), duckAssetId], "__") | |
327 | 329 | ||
328 | 330 | ||
329 | 331 | let idxStatic = 0 | |
330 | 332 | ||
331 | 333 | let idxDynamic = 1 | |
332 | 334 | ||
333 | 335 | let tStaticEnd = 6 | |
334 | 336 | ||
335 | 337 | let tDynamicStatus = 1 | |
336 | 338 | ||
337 | 339 | func getTourData (tourContract,tId) = { | |
338 | 340 | let static = split(valueOrErrorMessage(getString(tourContract, keyTourStaticDataById(tId)), (("Error reading tournament " + toString(tId)) + " data")), "__") | |
339 | 341 | let dynamic = split_4C(valueOrErrorMessage(getString(tourContract, keyTourDynamicDataById(tId)), (("Error reading tournament " + toString(tId)) + " data")), "__") | |
340 | 342 | [static, dynamic] | |
341 | 343 | } | |
342 | 344 | ||
343 | 345 | ||
344 | 346 | func isInTournament (tourContract,location) = { | |
345 | 347 | let lastId = valueOrElse(getInteger(tourContract, lastTourIdKey), 0) | |
346 | 348 | let loc = split(location, "_") | |
347 | 349 | let now = lastBlock.timestamp | |
348 | 350 | let tData = getTourData(tourContract, lastId) | |
349 | 351 | let static = tData[idxStatic] | |
350 | 352 | let dynamic = tData[idxDynamic] | |
351 | 353 | if (if (if ((loc[locIdxType] == "T")) | |
352 | 354 | then (parseIntValue(loc[locIdxContinent]) == lastId) | |
353 | 355 | else false) | |
354 | 356 | then (dynamic[tDynamicStatus] == "INPROGRESS") | |
355 | 357 | else false) | |
356 | 358 | then (parseIntValue(static[tStaticEnd]) > now) | |
357 | 359 | else false | |
358 | 360 | } | |
359 | 361 | ||
360 | 362 | ||
361 | 363 | func isInDelivery (location) = { | |
362 | 364 | let loc = split(location, "_") | |
363 | 365 | let now = lastBlock.timestamp | |
364 | 366 | let startTime = parseIntValue(loc[locIdxContinent]) | |
365 | 367 | let distance = parseIntValue(loc[locIdxId]) | |
366 | 368 | if (if ((loc[locIdxType] == "D")) | |
367 | 369 | then ((startTime + TEN_MINUTES_MILLIS) > now) | |
368 | 370 | else false) | |
369 | 371 | then (3 >= distance) | |
370 | 372 | else false | |
371 | 373 | } | |
372 | 374 | ||
373 | 375 | ||
374 | 376 | func isUsualLocation (location) = { | |
375 | 377 | let locType = split(location, "_")[locIdxType] | |
376 | 378 | if ((locType != "T")) | |
377 | 379 | then (locType != "D") | |
378 | 380 | else false | |
379 | 381 | } | |
380 | 382 | ||
381 | 383 | ||
382 | 384 | func onMission (tourContract,location) = { | |
383 | 385 | let lastId = valueOrElse(getInteger(tourContract, lastTourIdKey), 0) | |
384 | 386 | let loc = split(location, "_") | |
385 | 387 | let now = lastBlock.timestamp | |
386 | 388 | let tData = getTourData(tourContract, lastId) | |
387 | 389 | let static = tData[idxStatic] | |
388 | 390 | let dynamic = tData[idxDynamic] | |
389 | 391 | let locType = loc[locIdxType] | |
390 | 392 | if ((locType == "D")) | |
391 | 393 | then true | |
392 | 394 | else if (if (if ((loc[locIdxType] == "T")) | |
393 | 395 | then (parseIntValue(loc[locIdxContinent]) == lastId) | |
394 | 396 | else false) | |
395 | 397 | then (dynamic[tDynamicStatus] == "INPROGRESS") | |
396 | 398 | else false) | |
397 | 399 | then (parseIntValue(static[tStaticEnd]) > now) | |
398 | 400 | else false | |
399 | 401 | } | |
400 | 402 | ||
401 | 403 | ||
402 | 404 | func getRecipeMaterials (recipe) = (parseIntValue(recipe[rIdxCoeff]) * COEFF2MAT) | |
403 | 405 | ||
404 | 406 | ||
405 | 407 | func cheatAttempt (oldLoc,newLoc,cheatCase) = throw(((((("Cheat attempt: oldLoc=" + oldLoc) + ", newLoc=") + newLoc) + ", case=") + toString(cheatCase))) | |
406 | 408 | ||
407 | 409 | ||
408 | 410 | let KS_SEPARATE_PUBLIC_KEY = false | |
409 | 411 | ||
410 | 412 | let KS_ALLOW_BIG_INFRA_MERGE = false | |
411 | 413 | ||
414 | + | let KS_ALLOW_ROBO_DUCKS = true | |
415 | + | ||
412 | 416 | let DAY_MILLIS = 86400000 | |
413 | 417 | ||
414 | 418 | let chain = take(drop(this.bytes, 1), 1) | |
415 | 419 | ||
416 | 420 | let usdtAssetId = match chain { | |
417 | 421 | case _ => | |
418 | 422 | if ((base58'2W' == $match0)) | |
419 | 423 | then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
420 | 424 | else if ((base58'2T' == $match0)) | |
421 | 425 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
422 | 426 | else throw("Unknown chain") | |
423 | 427 | } | |
424 | 428 | ||
425 | 429 | let defaultRestAddressStr = match chain { | |
426 | 430 | case _ => | |
427 | 431 | if ((base58'2W' == $match0)) | |
428 | 432 | then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv" | |
429 | 433 | else if ((base58'2T' == $match0)) | |
430 | 434 | then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy" | |
431 | 435 | else throw("Unknown chain") | |
432 | 436 | } | |
433 | 437 | ||
434 | 438 | let InfraUpgradeCostS = match chain { | |
435 | 439 | case _ => | |
436 | 440 | if ((base58'2W' == $match0)) | |
437 | 441 | then 10000000000 | |
438 | 442 | else if ((base58'2T' == $match0)) | |
439 | 443 | then 100000000 | |
440 | 444 | else throw("Unknown chain") | |
441 | 445 | } | |
442 | 446 | ||
443 | 447 | let arbitrageDelay = match chain { | |
444 | 448 | case _ => | |
445 | 449 | if ((base58'2W' == $match0)) | |
446 | 450 | then DAY_MILLIS | |
447 | 451 | else if ((base58'2T' == $match0)) | |
448 | 452 | then 60000 | |
449 | 453 | else throw("Unknown chain") | |
450 | 454 | } | |
451 | 455 | ||
452 | 456 | let DELIVERY_PUNISHMENT = match chain { | |
453 | 457 | case _ => | |
454 | 458 | if ((base58'2W' == $match0)) | |
455 | 459 | then 10800000 | |
456 | 460 | else if ((base58'2T' == $match0)) | |
457 | 461 | then 900000 | |
458 | 462 | else throw("Unknown chain") | |
459 | 463 | } | |
460 | 464 | ||
461 | 465 | let SEP = "__" | |
462 | 466 | ||
463 | 467 | let MULT6 = 1000000 | |
464 | 468 | ||
465 | 469 | let MULT8 = 100000000 | |
466 | 470 | ||
467 | 471 | let SSIZE = 25 | |
468 | 472 | ||
469 | 473 | let MSIZE = 100 | |
470 | 474 | ||
471 | 475 | let LSIZE = 225 | |
472 | 476 | ||
473 | 477 | let XLSIZE = 400 | |
474 | 478 | ||
475 | 479 | let XXLSIZE = 625 | |
476 | 480 | ||
477 | 481 | let ITER6 = [0, 1, 2, 3, 4, 5] | |
478 | 482 | ||
479 | 483 | func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], "")) | |
480 | 484 | ||
481 | 485 | ||
482 | 486 | let IdxCfgStakingDapp = 1 | |
483 | 487 | ||
484 | 488 | let IdxCfgEconomyDapp = 2 | |
485 | 489 | ||
486 | 490 | let IdxCfgGovernanceDapp = 3 | |
487 | 491 | ||
488 | 492 | let IdxCfgWlgDapp = 4 | |
489 | 493 | ||
490 | 494 | let IdxCfgTournamentDapp = 7 | |
491 | 495 | ||
492 | 496 | let IdxCfgAcresDapp = 8 | |
493 | 497 | ||
494 | 498 | func keyRestCfg () = "%s__restConfig" | |
495 | 499 | ||
496 | 500 | ||
497 | 501 | func keyRestAddress () = "%s__restAddr" | |
498 | 502 | ||
499 | 503 | ||
500 | 504 | func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP) | |
501 | 505 | ||
502 | 506 | ||
503 | 507 | func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx))) | |
504 | 508 | ||
505 | 509 | ||
506 | 510 | let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr)) | |
507 | 511 | ||
508 | 512 | let restCfg = readRestCfgOrFail(restContract) | |
509 | 513 | ||
510 | 514 | let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp) | |
511 | 515 | ||
512 | 516 | let economyContract = getContractAddressOrFail(restCfg, IdxCfgEconomyDapp) | |
513 | 517 | ||
514 | 518 | let govContract = getContractAddressOrFail(restCfg, IdxCfgGovernanceDapp) | |
515 | 519 | ||
516 | 520 | let wlgContract = getContractAddressOrFail(restCfg, IdxCfgWlgDapp) | |
517 | 521 | ||
518 | 522 | let tournamentContract = getContractAddressOrFail(restCfg, IdxCfgTournamentDapp) | |
519 | 523 | ||
520 | 524 | let acresContract = getContractAddressOrFail(restCfg, IdxCfgAcresDapp) | |
521 | 525 | ||
522 | 526 | let recLandNum = 0 | |
523 | 527 | ||
524 | 528 | let recLandSize = 1 | |
525 | 529 | ||
526 | 530 | let recTerrains = 2 | |
527 | 531 | ||
528 | 532 | let recContinent = 3 | |
529 | 533 | ||
530 | 534 | let wlgAssetIdKey = "wlg_assetId" | |
531 | 535 | ||
532 | 536 | let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "WLGOLD is not issued yet") | |
533 | 537 | ||
534 | 538 | let acresAssetIdKey = "acresAssetId" | |
535 | 539 | ||
536 | 540 | let acresAssetId = valueOrErrorMessage(getBinary(acresContract, acresAssetIdKey), "ACRES is not issued yet") | |
537 | 541 | ||
538 | 542 | let randomDelay = 2 | |
539 | 543 | ||
540 | 544 | func keyCommit (address) = ("finishBlockForAddr_" + address) | |
541 | 545 | ||
542 | 546 | ||
543 | 547 | func keyResProportions () = "resTypesProportions" | |
544 | 548 | ||
545 | 549 | ||
546 | 550 | func keyResTypesByContinent (continent) = ("resTypesByContinent_" + continent) | |
547 | 551 | ||
548 | 552 | ||
549 | 553 | func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr) | |
550 | 554 | ||
551 | 555 | ||
552 | 556 | func keyStakedPiecesByOwner (ownerAddr) = ("stakedPiecesByOwner_" + ownerAddr) | |
553 | 557 | ||
554 | 558 | ||
555 | 559 | func asString (v) = match v { | |
556 | 560 | case s: String => | |
557 | 561 | s | |
558 | 562 | case _ => | |
559 | 563 | throw("fail to cast into String") | |
560 | 564 | } | |
561 | 565 | ||
562 | 566 | ||
563 | 567 | func asInt (v) = match v { | |
564 | 568 | case n: Int => | |
565 | 569 | n | |
566 | 570 | case _ => | |
567 | 571 | throw("fail to cast into Int") | |
568 | 572 | } | |
569 | 573 | ||
570 | 574 | ||
571 | 575 | func asAnyList (v) = match v { | |
572 | 576 | case l: List[Any] => | |
573 | 577 | l | |
574 | 578 | case _ => | |
575 | 579 | throw("fail to cast into List[Any]") | |
576 | 580 | } | |
577 | 581 | ||
578 | 582 | ||
579 | 583 | func asBoolean (v) = match v { | |
580 | 584 | case s: Boolean => | |
581 | 585 | s | |
582 | 586 | case _ => | |
583 | 587 | throw("fail to cast into Boolean") | |
584 | 588 | } | |
585 | 589 | ||
586 | 590 | ||
587 | 591 | func numPiecesBySize (landSize) = match landSize { | |
588 | 592 | case _ => | |
589 | 593 | if (("S" == $match0)) | |
590 | 594 | then SSIZE | |
591 | 595 | else if (("M" == $match0)) | |
592 | 596 | then MSIZE | |
593 | 597 | else if (("L" == $match0)) | |
594 | 598 | then LSIZE | |
595 | 599 | else if (("XL" == $match0)) | |
596 | 600 | then XLSIZE | |
597 | 601 | else if (("XXL" == $match0)) | |
598 | 602 | then XXLSIZE | |
599 | 603 | else throw("Unknown land size") | |
600 | 604 | } | |
601 | 605 | ||
602 | 606 | ||
603 | 607 | func isDigit (s) = isDefined(parseInt(s)) | |
604 | 608 | ||
605 | 609 | ||
606 | 610 | func keyBlocked () = "contractsBlocked" | |
607 | 611 | ||
608 | 612 | ||
609 | 613 | func keyLastTxIdByUser (addr) = ("lastTxIdByUser_" + addr) | |
610 | 614 | ||
611 | 615 | ||
612 | 616 | func fixedPoint (val,decimals) = { | |
613 | 617 | let tenPow = pow(10, 0, decimals, 0, 0, DOWN) | |
614 | 618 | let lowPart = toString((val % tenPow)) | |
615 | 619 | let zeroes = drop(toString(tenPow), (1 + size(lowPart))) | |
616 | 620 | (((toString((val / tenPow)) + ".") + zeroes) + lowPart) | |
617 | 621 | } | |
618 | 622 | ||
619 | 623 | ||
620 | 624 | func getRandomNumber (maxValue,salt,entropy) = { | |
621 | 625 | let randomHash = sha256((salt + entropy)) | |
622 | 626 | (toInt(randomHash) % maxValue) | |
623 | 627 | } | |
624 | 628 | ||
625 | 629 | ||
626 | 630 | let incubatorAddr = match chain { | |
627 | 631 | case _ => | |
628 | 632 | if ((base58'2W' == $match0)) | |
629 | 633 | then addressFromStringValue("3PEktVux2RhchSN63DsDo4b4mz4QqzKSeDv") | |
630 | 634 | else if ((base58'2T' == $match0)) | |
631 | 635 | then this | |
632 | 636 | else throw("Unknown chain") | |
633 | 637 | } | |
634 | 638 | ||
635 | 639 | let breederAddr = match chain { | |
636 | 640 | case _ => | |
637 | 641 | if ((base58'2W' == $match0)) | |
638 | 642 | then addressFromStringValue("3PDVuU45H7Eh5dmtNbnRNRStGwULA7NY6Hb") | |
639 | 643 | else if ((base58'2T' == $match0)) | |
640 | 644 | then this | |
641 | 645 | else throw("Unknown chain") | |
642 | 646 | } | |
643 | 647 | ||
644 | 648 | let pub = match chain { | |
645 | 649 | case _ => | |
646 | 650 | if ((base58'2W' == $match0)) | |
647 | 651 | then if (KS_SEPARATE_PUBLIC_KEY) | |
648 | 652 | then base58'CWsMtTZC5BjjoL4Q1ayW4Wwb1ehGACQB6DrKyPgotKfm' | |
649 | 653 | else base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD' | |
650 | 654 | else if ((base58'2T' == $match0)) | |
651 | 655 | then base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD' | |
652 | 656 | else throw("Unknown chain") | |
653 | 657 | } | |
654 | 658 | ||
655 | 659 | let EMPTY_PROD50 = base64'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==' | |
656 | 660 | ||
657 | 661 | let FIVEMINUTESMILLIS = 300000 | |
658 | 662 | ||
659 | 663 | let RENAMINGCOST = 5000000 | |
660 | 664 | ||
661 | 665 | let MAXNAMELEN = 50 | |
662 | 666 | ||
663 | 667 | let InfraUpgradeCostSUsdt = 10000000 | |
664 | 668 | ||
665 | 669 | let EXPMATERIALS = match chain { | |
666 | 670 | case _ => | |
667 | 671 | if ((base58'2W' == $match0)) | |
668 | 672 | then 252289527462 | |
669 | 673 | else if ((base58'2T' == $match0)) | |
670 | 674 | then 2522895274 | |
671 | 675 | else throw("Unknown chain") | |
672 | 676 | } | |
673 | 677 | ||
674 | 678 | let EXPUSDT = match chain { | |
675 | 679 | case _ => | |
676 | 680 | if ((base58'2W' == $match0)) | |
677 | 681 | then 250000000 | |
678 | 682 | else if ((base58'2T' == $match0)) | |
679 | 683 | then 250000000 | |
680 | 684 | else throw("Unknown chain") | |
681 | 685 | } | |
682 | 686 | ||
687 | + | let ROBO_DUCK_USDT = 100000 | |
688 | + | ||
683 | 689 | let S_COST_ACRES = 2500000000 | |
684 | 690 | ||
685 | 691 | let FIVEX = toBigInt(5) | |
686 | 692 | ||
687 | 693 | let TWENTYX = toBigInt(20) | |
688 | 694 | ||
689 | 695 | let TWENTY2X = toBigInt((20 * 20)) | |
690 | 696 | ||
691 | 697 | let TWENTY3X = toBigInt(((20 * 20) * 20)) | |
692 | 698 | ||
693 | 699 | let TWENTY4X = toBigInt((((20 * 20) * 20) * 20)) | |
694 | 700 | ||
695 | 701 | let TWENTY5X = toBigInt(((((20 * 20) * 20) * 20) * 20)) | |
696 | 702 | ||
697 | 703 | let PRESALENUMLANDS = 500 | |
698 | 704 | ||
699 | 705 | func keyNextFreeLandNum () = "nextLandNum" | |
700 | 706 | ||
701 | 707 | ||
702 | 708 | func keyLandCustomNameToAssetId (name) = ("lcn_" + name) | |
703 | 709 | ||
704 | 710 | ||
705 | 711 | func keyLandToAssetId (landNum) = ("la_" + landNum) | |
706 | 712 | ||
707 | 713 | ||
708 | 714 | func keyInfraLevelByAssetIdAndOwner (assetId,ownerAddr) = ((("ilao_" + assetId) + "_") + ownerAddr) | |
709 | 715 | ||
710 | 716 | ||
711 | 717 | func keyLandNumToOwner (landNum) = ("lo_" + landNum) | |
712 | 718 | ||
713 | 719 | ||
714 | 720 | func keyDuckCustomNameToAssetId (name) = ("duckByCustomName_" + name) | |
715 | 721 | ||
716 | 722 | ||
717 | 723 | func keyCustomNameToAddress (name) = ("accountByCustomName_" + name) | |
718 | 724 | ||
719 | 725 | ||
720 | 726 | func keyOldies () = "oldiesList" | |
727 | + | ||
728 | + | ||
729 | + | func keyNextRoboDuck () = "nextRoboDuck" | |
721 | 730 | ||
722 | 731 | ||
723 | 732 | let claimModeWh = 0 | |
724 | 733 | ||
725 | 734 | let claimModeDuck = 1 | |
726 | 735 | ||
727 | 736 | let claimModeWhThenDuck = 2 | |
728 | 737 | ||
729 | 738 | let flHealth = 0 | |
730 | 739 | ||
731 | 740 | let flTimestamp = 5 | |
732 | 741 | ||
733 | 742 | let flBonus = 6 | |
734 | 743 | ||
735 | 744 | let flProdsUsed = 7 | |
736 | 745 | ||
737 | 746 | func nftName (landNum,landSize) = ((LANDPREFIX + landNum) + landSize) | |
738 | 747 | ||
739 | 748 | ||
740 | 749 | func toVolume (amount,pkgSize) = { | |
741 | 750 | let pkgs = if ((amount >= 0)) | |
742 | 751 | then (((amount + pkgSize) - 1) / pkgSize) | |
743 | 752 | else -((((-(amount) + pkgSize) - 1) / pkgSize)) | |
744 | 753 | (pkgs * MULT8) | |
745 | 754 | } | |
746 | 755 | ||
747 | 756 | ||
748 | 757 | func distributeByWeights (total,weights) = { | |
749 | 758 | let sum = (((((weights[0] + weights[1]) + weights[2]) + weights[3]) + weights[4]) + weights[5]) | |
750 | 759 | if ((0 >= sum)) | |
751 | 760 | then throw("Zero weights sum") | |
752 | 761 | else { | |
753 | 762 | let norm6 = fraction(total, MULT6, sum) | |
754 | 763 | func normalizer (acc,elem) = (acc :+ fraction(elem, norm6, MULT6)) | |
755 | 764 | ||
756 | 765 | let $l = weights | |
757 | 766 | let $s = size($l) | |
758 | 767 | let $acc0 = nil | |
759 | 768 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
760 | 769 | then $a | |
761 | 770 | else normalizer($a, $l[$i]) | |
762 | 771 | ||
763 | 772 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
764 | 773 | then $a | |
765 | 774 | else throw("List size exceeds 6") | |
766 | 775 | ||
767 | 776 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
768 | 777 | } | |
769 | 778 | } | |
770 | 779 | ||
771 | 780 | ||
772 | 781 | func getNeededMaterials (total) = { | |
773 | 782 | let props = split(value(getString(keyResProportions())), "_") | |
774 | 783 | if ((size(props) != NUMRES)) | |
775 | 784 | then throw("Wrong proportions data") | |
776 | 785 | else { | |
777 | 786 | let r = [parseIntValue(props[0]), parseIntValue(props[1]), parseIntValue(props[2]), parseIntValue(props[3]), parseIntValue(props[4]), parseIntValue(props[5])] | |
778 | 787 | distributeByWeights(total, r) | |
779 | 788 | } | |
780 | 789 | } | |
781 | 790 | ||
782 | 791 | ||
783 | 792 | func subtractMaterials (shouldUseMat,has,totalNeed) = { | |
784 | 793 | let need = getNeededMaterials(totalNeed) | |
785 | 794 | func subtractor (acc,idx) = { | |
786 | 795 | let result = (parseIntValue(has[idx]) - need[idx]) | |
787 | 796 | if ((0 > result)) | |
788 | 797 | then throw(((((("Not enough material idx=" + toString(idx)) + ", you have ") + has[idx]) + ", but need ") + toString(need[idx]))) | |
789 | 798 | else (acc :+ toString(result)) | |
790 | 799 | } | |
791 | 800 | ||
792 | 801 | if (shouldUseMat) | |
793 | 802 | then { | |
794 | 803 | let $l = ITER6 | |
795 | 804 | let $s = size($l) | |
796 | 805 | let $acc0 = nil | |
797 | 806 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
798 | 807 | then $a | |
799 | 808 | else subtractor($a, $l[$i]) | |
800 | 809 | ||
801 | 810 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
802 | 811 | then $a | |
803 | 812 | else throw("List size exceeds 6") | |
804 | 813 | ||
805 | 814 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
806 | 815 | } | |
807 | 816 | else has | |
808 | 817 | } | |
809 | 818 | ||
810 | 819 | ||
811 | 820 | func subtractEquipment (oldEq,pUsed) = if ((pUsed == "")) | |
812 | 821 | then $Tuple2(oldEq, false) | |
813 | 822 | else { | |
814 | 823 | func subUsed (acc,idxAmt) = { | |
815 | 824 | let parts = split(idxAmt, ",") | |
816 | 825 | if ((size(parts) != 2)) | |
817 | 826 | then throw("Incorrect format, should be index,amount") | |
818 | 827 | else { | |
819 | 828 | let idx = parseIntValue(parts[0]) | |
820 | 829 | if (if ((0 > idx)) | |
821 | 830 | then true | |
822 | 831 | else (idx >= size(productionMatrix))) | |
823 | 832 | then throw("Unknown product idx") | |
824 | 833 | else { | |
825 | 834 | let amt = parseIntValue(parts[1]) | |
826 | 835 | let eqParts = split(acc._1, (parts[0] + ":")) | |
827 | 836 | if ((size(eqParts) != 2)) | |
828 | 837 | then throw((("You don't have " + prodTypes[idx]) + " equipped")) | |
829 | 838 | else { | |
830 | 839 | let tmp = eqParts[1] | |
831 | 840 | let numLen = if (isDigit(take(drop(tmp, 1), 1))) | |
832 | 841 | then 2 | |
833 | 842 | else 1 | |
834 | 843 | let curr = parseIntValue(take(tmp, numLen)) | |
835 | 844 | let tail = drop(tmp, numLen) | |
836 | 845 | let newAmt = if ((curr >= amt)) | |
837 | 846 | then (curr - amt) | |
838 | 847 | else throw(((((("You equipped " + toString(curr)) + " of ") + prodTypes[idx]) + ", but tried to use ") + toString(amt))) | |
839 | 848 | $Tuple2(((((eqParts[0] + parts[0]) + ":") + toString(newAmt)) + tail), if (acc._2) | |
840 | 849 | then true | |
841 | 850 | else if (if ((idx >= 6)) | |
842 | 851 | then (8 >= idx) | |
843 | 852 | else false) | |
844 | 853 | then (newAmt == 0) | |
845 | 854 | else false) | |
846 | 855 | } | |
847 | 856 | } | |
848 | 857 | } | |
849 | 858 | } | |
850 | 859 | ||
851 | 860 | let $l = split(pUsed, "_") | |
852 | 861 | let $s = size($l) | |
853 | 862 | let $acc0 = $Tuple2(oldEq, false) | |
854 | 863 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
855 | 864 | then $a | |
856 | 865 | else subUsed($a, $l[$i]) | |
857 | 866 | ||
858 | 867 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
859 | 868 | then $a | |
860 | 869 | else throw("List size exceeds 10") | |
861 | 870 | ||
862 | 871 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
863 | 872 | } | |
864 | 873 | ||
865 | 874 | ||
866 | 875 | func prodStrToBytes (prodStr) = { | |
867 | 876 | let pList = if ((prodStr == "")) | |
868 | 877 | then nil | |
869 | 878 | else split_4C(prodStr, "_") | |
870 | 879 | func toBV (acc,recipe) = { | |
871 | 880 | let j = (size(acc) / 8) | |
872 | 881 | let curr = if ((size(pList) > j)) | |
873 | 882 | then parseIntValue(pList[j]) | |
874 | 883 | else 0 | |
875 | 884 | (acc + toBytes(curr)) | |
876 | 885 | } | |
877 | 886 | ||
878 | 887 | let $l = productionMatrix | |
879 | 888 | let $s = size($l) | |
880 | 889 | let $acc0 = base58'' | |
881 | 890 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
882 | 891 | then $a | |
883 | 892 | else toBV($a, $l[$i]) | |
884 | 893 | ||
885 | 894 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
886 | 895 | then $a | |
887 | 896 | else throw("List size exceeds 50") | |
888 | 897 | ||
889 | 898 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
890 | 899 | } | |
891 | 900 | ||
892 | 901 | ||
893 | 902 | func bytesToProdStr (bv) = { | |
894 | 903 | func fromBV (acc,recipe) = { | |
895 | 904 | let j = size(acc) | |
896 | 905 | let b = take(drop(bv, (8 * j)), 8) | |
897 | 906 | (acc :+ toString(toInt(b))) | |
898 | 907 | } | |
899 | 908 | ||
900 | 909 | makeString_2C({ | |
901 | 910 | let $l = productionMatrix | |
902 | 911 | let $s = size($l) | |
903 | 912 | let $acc0 = nil | |
904 | 913 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
905 | 914 | then $a | |
906 | 915 | else fromBV($a, $l[$i]) | |
907 | 916 | ||
908 | 917 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
909 | 918 | then $a | |
910 | 919 | else throw("List size exceeds 50") | |
911 | 920 | ||
912 | 921 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
913 | 922 | }, "_") | |
914 | 923 | } | |
915 | 924 | ||
916 | 925 | ||
917 | 926 | func checkStatRequirements (duckStats,reqs) = { | |
918 | 927 | func check (acc,j) = { | |
919 | 928 | let buff = if ((size(duckStats) > (7 + j))) | |
920 | 929 | then duckStats[(7 + j)] | |
921 | 930 | else 0 | |
922 | 931 | if ((parseIntValue(reqs[j]) > (duckStats[j] + buff))) | |
923 | 932 | then throw(("Requirement not satisfied: " + requirements[j])) | |
924 | 933 | else true | |
925 | 934 | } | |
926 | 935 | ||
927 | 936 | let $l = [0, 1, 2, 3, 4, 5, 6] | |
928 | 937 | let $s = size($l) | |
929 | 938 | let $acc0 = false | |
930 | 939 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
931 | 940 | then $a | |
932 | 941 | else check($a, $l[$i]) | |
933 | 942 | ||
934 | 943 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
935 | 944 | then $a | |
936 | 945 | else throw("List size exceeds 7") | |
937 | 946 | ||
938 | 947 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7) | |
939 | 948 | } | |
940 | 949 | ||
941 | 950 | ||
942 | 951 | func placeProdB (idxCnt,pList,isPositive,duckStats,occupied,free) = { | |
943 | 952 | let parts = split(idxCnt, ":") | |
944 | 953 | if ((size(parts) != 2)) | |
945 | 954 | then throw("Incorrect format, should be index:amount") | |
946 | 955 | else if (if (!(isPositive)) | |
947 | 956 | then (size(parts[0]) != 2) | |
948 | 957 | else false) | |
949 | 958 | then throw("Product idx should be 2 digits, zero padded") | |
950 | 959 | else { | |
951 | 960 | let productIdx = parseIntValue(parts[0]) | |
952 | 961 | let count = parseIntValue(parts[1]) | |
953 | 962 | if (!(containsElement(fortAllowedProds, productIdx))) | |
954 | 963 | then throw((("Product '" + prodTypes[productIdx]) + "' cannot be used for land defense")) | |
955 | 964 | else if ((0 > count)) | |
956 | 965 | then throw("Count can't be negative") | |
957 | 966 | else if ((count > MAXPRODINSLOT)) | |
958 | 967 | then throw(((("Can't put more than " + toString(MAXPRODINSLOT)) + " of ") + prodTypes[productIdx])) | |
959 | 968 | else if ((count == 0)) | |
960 | 969 | then $Tuple3(pList, occupied, free) | |
961 | 970 | else { | |
962 | 971 | let head = take(pList, (8 * productIdx)) | |
963 | 972 | let curr = toInt(take(drop(pList, (8 * productIdx)), 8)) | |
964 | 973 | let tail = drop(pList, (8 * (productIdx + 1))) | |
965 | 974 | let recipe = split(productionMatrix[productIdx], "_") | |
966 | 975 | if (if (!(isPositive)) | |
967 | 976 | then (count > curr) | |
968 | 977 | else false) | |
969 | 978 | then throw(((((("You have " + toString(curr)) + " of ") + prodTypes[productIdx]) + ", but tried to use ") + toString(count))) | |
970 | 979 | else { | |
971 | 980 | let newAmt = if (if (!(isPositive)) | |
972 | 981 | then checkStatRequirements(duckStats, split(recipe[rIdxRequirements], ",")) | |
973 | 982 | else false) | |
974 | 983 | then (curr - count) | |
975 | 984 | else (curr + count) | |
976 | 985 | let deltaVol = (toVolume(newAmt, PRODUCTPKGSIZE) - toVolume(curr, PRODUCTPKGSIZE)) | |
977 | 986 | $Tuple3(((head + toBytes(newAmt)) + tail), (occupied + deltaVol), (free - deltaVol)) | |
978 | 987 | } | |
979 | 988 | } | |
980 | 989 | } | |
981 | 990 | } | |
982 | 991 | ||
983 | 992 | ||
984 | 993 | func addProdB (idxCnt,pList,isPositive,segment,mainAux,slot,duckStats) = { | |
985 | 994 | let parts = split(idxCnt, ":") | |
986 | 995 | if ((size(parts) != 2)) | |
987 | 996 | then throw("Incorrect format, should be index:amount") | |
988 | 997 | else if (if (!(isPositive)) | |
989 | 998 | then (size(parts[0]) != 2) | |
990 | 999 | else false) | |
991 | 1000 | then throw("Product idx should be 2 digits, zero padded") | |
992 | 1001 | else { | |
993 | 1002 | let productIdx = parseIntValue(parts[0]) | |
994 | 1003 | let count = parseIntValue(parts[1]) | |
995 | 1004 | if (if ((0 > productIdx)) | |
996 | 1005 | then true | |
997 | 1006 | else (productIdx >= size(productionMatrix))) | |
998 | 1007 | then throw("Unknown product idx") | |
999 | 1008 | else if ((0 > count)) | |
1000 | 1009 | then throw("Count can't be negative") | |
1001 | 1010 | else if ((count > MAXPRODINSLOT)) | |
1002 | 1011 | then throw(((("Can't put more than " + toString(MAXPRODINSLOT)) + " of ") + prodTypes[productIdx])) | |
1003 | 1012 | else if ((count == 0)) | |
1004 | 1013 | then $Tuple2(pList, false) | |
1005 | 1014 | else { | |
1006 | 1015 | let head = take(pList, (8 * productIdx)) | |
1007 | 1016 | let curr = toInt(take(drop(pList, (8 * productIdx)), 8)) | |
1008 | 1017 | let tail = drop(pList, (8 * (productIdx + 1))) | |
1009 | 1018 | let recipe = split(productionMatrix[productIdx], "_") | |
1010 | 1019 | if (if (!(isPositive)) | |
1011 | 1020 | then (count > curr) | |
1012 | 1021 | else false) | |
1013 | 1022 | then throw(((((("You have " + toString(curr)) + " of ") + prodTypes[productIdx]) + ", but tried to use ") + toString(count))) | |
1014 | 1023 | else { | |
1015 | 1024 | let isBigItem = if (if (!(isPositive)) | |
1016 | 1025 | then checkStatRequirements(duckStats, split(recipe[rIdxRequirements], ",")) | |
1017 | 1026 | else false) | |
1018 | 1027 | then { | |
1019 | 1028 | let compat = recipe[rIdxSlots] | |
1020 | 1029 | if ((compat == "")) | |
1021 | 1030 | then throw("Item cannot be equipped") | |
1022 | 1031 | else { | |
1023 | 1032 | let c = parseIntValue(compat) | |
1024 | 1033 | let cSeg = (c / 100) | |
1025 | 1034 | if ((segment != cSeg)) | |
1026 | 1035 | then throw("Segment incompatible") | |
1027 | 1036 | else { | |
1028 | 1037 | let cMainAux = ((c % 100) / 10) | |
1029 | 1038 | if ((mainAux != cMainAux)) | |
1030 | 1039 | then throw("Slot incompatible") | |
1031 | 1040 | else { | |
1032 | 1041 | let cNumSlots = (c % 10) | |
1033 | 1042 | if (if ((slot != 0)) | |
1034 | 1043 | then (cNumSlots > 1) | |
1035 | 1044 | else false) | |
1036 | 1045 | then throw("Big items should occupy slot 0") | |
1037 | 1046 | else (cNumSlots > 1) | |
1038 | 1047 | } | |
1039 | 1048 | } | |
1040 | 1049 | } | |
1041 | 1050 | } | |
1042 | 1051 | else false | |
1043 | 1052 | $Tuple2(((head + toBytes((curr + (if (isPositive) | |
1044 | 1053 | then count | |
1045 | 1054 | else -(count))))) + tail), isBigItem) | |
1046 | 1055 | } | |
1047 | 1056 | } | |
1048 | 1057 | } | |
1049 | 1058 | } | |
1050 | 1059 | ||
1051 | 1060 | ||
1052 | 1061 | func slotsGroupB (g,bpIn,isPositive,segment,mainAux,stats) = if ((g != "")) | |
1053 | 1062 | then { | |
1054 | 1063 | let slots = split(g, ",") | |
1055 | 1064 | if ((size(slots) > MAXSLOTS)) | |
1056 | 1065 | then throw("Wrong slots format") | |
1057 | 1066 | else { | |
1058 | 1067 | let s0 = slots[0] | |
1059 | 1068 | let s1 = if ((size(slots) > 1)) | |
1060 | 1069 | then slots[1] | |
1061 | 1070 | else "" | |
1062 | 1071 | if (if ((s0 == "")) | |
1063 | 1072 | then (s1 == "") | |
1064 | 1073 | else false) | |
1065 | 1074 | then bpIn | |
1066 | 1075 | else { | |
1067 | 1076 | let tmpS0 = if ((s0 != "")) | |
1068 | 1077 | then addProdB(s0, bpIn, isPositive, segment, mainAux, 0, stats) | |
1069 | 1078 | else $Tuple2(bpIn, false) | |
1070 | 1079 | if ((s1 != "")) | |
1071 | 1080 | then if (tmpS0._2) | |
1072 | 1081 | then throw("Big item already occupies slot") | |
1073 | 1082 | else addProdB(s1, tmpS0._1, isPositive, segment, mainAux, 1, stats)._1 | |
1074 | 1083 | else tmpS0._1 | |
1075 | 1084 | } | |
1076 | 1085 | } | |
1077 | 1086 | } | |
1078 | 1087 | else bpIn | |
1079 | 1088 | ||
1080 | 1089 | ||
1081 | 1090 | func dressB (segList,pBytes,isPositive,stats) = { | |
1082 | 1091 | func segment (acc,seg) = { | |
1083 | 1092 | let j = acc._1 | |
1084 | 1093 | let mainAux = split(seg, ";") | |
1085 | 1094 | if ((size(mainAux) != NUMMAINAUX)) | |
1086 | 1095 | then throw("Wrong segment format") | |
1087 | 1096 | else { | |
1088 | 1097 | let m = mainAux[0] | |
1089 | 1098 | let a = mainAux[1] | |
1090 | 1099 | if (if ((m == "")) | |
1091 | 1100 | then (a == "") | |
1092 | 1101 | else false) | |
1093 | 1102 | then $Tuple2((j + 1), acc._2) | |
1094 | 1103 | else { | |
1095 | 1104 | let tmpM = slotsGroupB(m, acc._2, isPositive, j, 0, stats) | |
1096 | 1105 | $Tuple2((j + 1), slotsGroupB(a, tmpM, isPositive, j, 1, stats)) | |
1097 | 1106 | } | |
1098 | 1107 | } | |
1099 | 1108 | } | |
1100 | 1109 | ||
1101 | 1110 | ( let $l = segList | |
1102 | 1111 | let $s = size($l) | |
1103 | 1112 | let $acc0 = $Tuple2(0, pBytes) | |
1104 | 1113 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1105 | 1114 | then $a | |
1106 | 1115 | else segment($a, $l[$i]) | |
1107 | 1116 | ||
1108 | 1117 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1109 | 1118 | then $a | |
1110 | 1119 | else throw("List size exceeds 6") | |
1111 | 1120 | ||
1112 | 1121 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6))._2 | |
1113 | 1122 | } | |
1114 | 1123 | ||
1115 | 1124 | ||
1116 | 1125 | func fortB (segList,pBytes,occupied,free,isPositive,duckStats) = if ((3 > size(segList))) | |
1117 | 1126 | then throw("At least duck, mines and traps parts are required") | |
1118 | 1127 | else { | |
1119 | 1128 | func segment (acc,seg) = { | |
1120 | 1129 | let j = acc._1 | |
1121 | 1130 | if ((j == 0)) | |
1122 | 1131 | then $Tuple4((j + 1), acc._2, acc._3, acc._4) | |
1123 | 1132 | else { | |
1124 | 1133 | let p = placeProdB(seg, acc._2, isPositive, duckStats, acc._3, acc._4) | |
1125 | 1134 | $Tuple4((j + 1), p._1, p._2, p._3) | |
1126 | 1135 | } | |
1127 | 1136 | } | |
1128 | 1137 | ||
1129 | 1138 | let t = { | |
1130 | 1139 | let $l = segList | |
1131 | 1140 | let $s = size($l) | |
1132 | 1141 | let $acc0 = $Tuple4(0, pBytes, occupied, free) | |
1133 | 1142 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1134 | 1143 | then $a | |
1135 | 1144 | else segment($a, $l[$i]) | |
1136 | 1145 | ||
1137 | 1146 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1138 | 1147 | then $a | |
1139 | 1148 | else throw("List size exceeds 10") | |
1140 | 1149 | ||
1141 | 1150 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1142 | 1151 | } | |
1143 | 1152 | $Tuple3(t._2, t._3, t._4) | |
1144 | 1153 | } | |
1145 | 1154 | ||
1146 | 1155 | ||
1147 | 1156 | func canWearCurrentEquipment (duckAssetId) = { | |
1148 | 1157 | let eqKey = keyDuckEquipment(duckAssetId) | |
1149 | 1158 | let currEq = split(valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,"), "_") | |
1150 | 1159 | let tempProdB = dressB(currEq, EMPTY_PROD50, true, nil) | |
1151 | 1160 | let segBpAux = split(currEq[segBackpack], ";")[1] | |
1152 | 1161 | let buffEffect = if ((segBpAux == "")) | |
1153 | 1162 | then 0 | |
1154 | 1163 | else { | |
1155 | 1164 | let aux0 = split(segBpAux, ",")[0] | |
1156 | 1165 | if ((aux0 == "")) | |
1157 | 1166 | then 0 | |
1158 | 1167 | else { | |
1159 | 1168 | let idxCnt = split(aux0, ":") | |
1160 | 1169 | let idx = idxCnt[0] | |
1161 | 1170 | let cnt = idxCnt[1] | |
1162 | 1171 | if (if (if (if (if ((idx == "06")) | |
1163 | 1172 | then true | |
1164 | 1173 | else (idx == "07")) | |
1165 | 1174 | then true | |
1166 | 1175 | else (idx == "08")) | |
1167 | 1176 | then (cnt != "") | |
1168 | 1177 | else false) | |
1169 | 1178 | then (parseIntValue(cnt) > 0) | |
1170 | 1179 | else false) | |
1171 | 1180 | then parseIntValue(split(productionMatrix[parseIntValue(idx)], "_")[rIdxEffect]) | |
1172 | 1181 | else 0 | |
1173 | 1182 | } | |
1174 | 1183 | } | |
1175 | 1184 | let stats = getDuckStats(this, duckAssetId, buffEffect, true) | |
1176 | 1185 | let newProdB = dressB(currEq, tempProdB, false, stats) | |
1177 | 1186 | (newProdB == newProdB) | |
1178 | 1187 | } | |
1179 | 1188 | ||
1180 | 1189 | ||
1181 | 1190 | func updateProportionsInternal (propList,terrainCounts,landSizeIndex,sign) = if ((size(propList) != NUMRES)) | |
1182 | 1191 | then throw("Wrong proportions data") | |
1183 | 1192 | else { | |
1184 | 1193 | func updater (acc,i) = { | |
1185 | 1194 | let result = (parseIntValue(propList[i]) + ((sign * terrainCounts[i]) * landSizeIndex)) | |
1186 | 1195 | if ((0 > result)) | |
1187 | 1196 | then throw(((((((("Panic! Pieces of type=" + toString(i)) + ", sign=") + toString(sign)) + ", terrainCounts[i]=") + toString(terrainCounts[i])) + ", landSizeIndex=") + toString(landSizeIndex))) | |
1188 | 1197 | else (acc :+ toString(result)) | |
1189 | 1198 | } | |
1190 | 1199 | ||
1191 | 1200 | let $l = ITER6 | |
1192 | 1201 | let $s = size($l) | |
1193 | 1202 | let $acc0 = nil | |
1194 | 1203 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1195 | 1204 | then $a | |
1196 | 1205 | else updater($a, $l[$i]) | |
1197 | 1206 | ||
1198 | 1207 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1199 | 1208 | then $a | |
1200 | 1209 | else throw("List size exceeds 6") | |
1201 | 1210 | ||
1202 | 1211 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1203 | 1212 | } | |
1204 | 1213 | ||
1205 | 1214 | ||
1206 | 1215 | func updateProportions (terrainCounts,landSizeIndex,sign) = { | |
1207 | 1216 | let propList = split(valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0"), "_") | |
1208 | 1217 | makeString(updateProportionsInternal(propList, terrainCounts, landSizeIndex, sign), "_") | |
1209 | 1218 | } | |
1210 | 1219 | ||
1211 | 1220 | ||
1212 | 1221 | func countTerrains (terrains) = [(size(split(terrains, "A")) - 1), (size(split(terrains, "B")) - 1), (size(split(terrains, "C")) - 1), (size(split(terrains, "D")) - 1), (size(split(terrains, "E")) - 1), (size(split(terrains, "F")) - 1)] | |
1213 | 1222 | ||
1214 | 1223 | ||
1215 | 1224 | func addRes (currentRes,terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = { | |
1216 | 1225 | func adder (acc,i) = { | |
1217 | 1226 | let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex) | |
1218 | 1227 | (acc :+ toString((parseIntValue(currentRes[i]) + resOfType))) | |
1219 | 1228 | } | |
1220 | 1229 | ||
1221 | 1230 | let r = { | |
1222 | 1231 | let $l = ITER6 | |
1223 | 1232 | let $s = size($l) | |
1224 | 1233 | let $acc0 = nil | |
1225 | 1234 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1226 | 1235 | then $a | |
1227 | 1236 | else adder($a, $l[$i]) | |
1228 | 1237 | ||
1229 | 1238 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1230 | 1239 | then $a | |
1231 | 1240 | else throw("List size exceeds 6") | |
1232 | 1241 | ||
1233 | 1242 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1234 | 1243 | } | |
1235 | 1244 | makeString(r, "_") | |
1236 | 1245 | } | |
1237 | 1246 | ||
1238 | 1247 | ||
1239 | 1248 | func virtClaim (terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = { | |
1240 | 1249 | func adder (acc,i) = { | |
1241 | 1250 | let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex) | |
1242 | 1251 | $Tuple2((acc._1 :+ resOfType), (acc._2 + resOfType)) | |
1243 | 1252 | } | |
1244 | 1253 | ||
1245 | 1254 | let $l = ITER6 | |
1246 | 1255 | let $s = size($l) | |
1247 | 1256 | let $acc0 = $Tuple2(nil, 0) | |
1248 | 1257 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1249 | 1258 | then $a | |
1250 | 1259 | else adder($a, $l[$i]) | |
1251 | 1260 | ||
1252 | 1261 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1253 | 1262 | then $a | |
1254 | 1263 | else throw("List size exceeds 6") | |
1255 | 1264 | ||
1256 | 1265 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1257 | 1266 | } | |
1258 | 1267 | ||
1259 | 1268 | ||
1260 | 1269 | func distributeRes (currentWhRes,currentPackRes,resToClaim,whSpaceLeft) = { | |
1261 | 1270 | let resListToClaim = resToClaim._1 | |
1262 | 1271 | let resAmToClaim = resToClaim._2 | |
1263 | 1272 | if ((resAmToClaim == 0)) | |
1264 | 1273 | then $Tuple2(makeString(currentWhRes, "_"), makeString(currentPackRes, "_")) | |
1265 | 1274 | else if ((whSpaceLeft >= resAmToClaim)) | |
1266 | 1275 | then { | |
1267 | 1276 | func addLists (acc,i) = (acc :+ toString((parseIntValue(currentWhRes[i]) + resListToClaim[i]))) | |
1268 | 1277 | ||
1269 | 1278 | let r = { | |
1270 | 1279 | let $l = ITER6 | |
1271 | 1280 | let $s = size($l) | |
1272 | 1281 | let $acc0 = nil | |
1273 | 1282 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1274 | 1283 | then $a | |
1275 | 1284 | else addLists($a, $l[$i]) | |
1276 | 1285 | ||
1277 | 1286 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1278 | 1287 | then $a | |
1279 | 1288 | else throw("List size exceeds 6") | |
1280 | 1289 | ||
1281 | 1290 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1282 | 1291 | } | |
1283 | 1292 | $Tuple2(makeString(r, "_"), makeString(currentPackRes, "_")) | |
1284 | 1293 | } | |
1285 | 1294 | else { | |
1286 | 1295 | func addPartLists (acc,i) = { | |
1287 | 1296 | let whPart = fraction(resListToClaim[i], whSpaceLeft, resAmToClaim) | |
1288 | 1297 | $Tuple2((acc._1 :+ toString((parseIntValue(currentWhRes[i]) + whPart))), (acc._2 :+ toString(((parseIntValue(currentPackRes[i]) + resListToClaim[i]) - whPart)))) | |
1289 | 1298 | } | |
1290 | 1299 | ||
1291 | 1300 | let r = { | |
1292 | 1301 | let $l = ITER6 | |
1293 | 1302 | let $s = size($l) | |
1294 | 1303 | let $acc0 = $Tuple2(nil, nil) | |
1295 | 1304 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1296 | 1305 | then $a | |
1297 | 1306 | else addPartLists($a, $l[$i]) | |
1298 | 1307 | ||
1299 | 1308 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1300 | 1309 | then $a | |
1301 | 1310 | else throw("List size exceeds 6") | |
1302 | 1311 | ||
1303 | 1312 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1304 | 1313 | } | |
1305 | 1314 | $Tuple2(makeString(r._1, "_"), makeString(r._2, "_")) | |
1306 | 1315 | } | |
1307 | 1316 | } | |
1308 | 1317 | ||
1309 | 1318 | ||
1310 | 1319 | func abs (x) = if ((x >= toBigInt(0))) | |
1311 | 1320 | then x | |
1312 | 1321 | else -(x) | |
1313 | 1322 | ||
1314 | 1323 | ||
1315 | 1324 | let freq = [[6, 9, 14, 15, 16], [5, 8, 13, 14, 15], [1, 4, 9, 10, 15], [1, 6, 7, 15, 19], [4, 7, 8, 13, 18]] | |
1316 | 1325 | ||
1317 | 1326 | func genChar (n,freqs) = { | |
1318 | 1327 | let rem = toInt((n % TWENTYX)) | |
1319 | 1328 | let letter = if ((freqs[0] > rem)) | |
1320 | 1329 | then "A" | |
1321 | 1330 | else if ((freqs[1] > rem)) | |
1322 | 1331 | then "B" | |
1323 | 1332 | else if ((freqs[2] > rem)) | |
1324 | 1333 | then "C" | |
1325 | 1334 | else if ((freqs[3] > rem)) | |
1326 | 1335 | then "D" | |
1327 | 1336 | else if ((freqs[4] > rem)) | |
1328 | 1337 | then "E" | |
1329 | 1338 | else "F" | |
1330 | 1339 | letter | |
1331 | 1340 | } | |
1332 | 1341 | ||
1333 | 1342 | ||
1334 | 1343 | func genTerrains (seed,continentIdx) = { | |
1335 | 1344 | let f = freq[continentIdx] | |
1336 | 1345 | func terrainGenerator (acc,elem) = $Tuple2((((((acc._1 + genChar(acc._2, f)) + genChar((acc._2 / TWENTYX), f)) + genChar((acc._2 / TWENTY2X), f)) + genChar((acc._2 / TWENTY3X), f)) + genChar((acc._2 / TWENTY4X), f)), (acc._2 / TWENTY5X)) | |
1337 | 1346 | ||
1338 | 1347 | let t = { | |
1339 | 1348 | let $l = [1, 2, 3, 4, 5] | |
1340 | 1349 | let $s = size($l) | |
1341 | 1350 | let $acc0 = $Tuple2("", (seed / FIVEX)) | |
1342 | 1351 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1343 | 1352 | then $a | |
1344 | 1353 | else terrainGenerator($a, $l[$i]) | |
1345 | 1354 | ||
1346 | 1355 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1347 | 1356 | then $a | |
1348 | 1357 | else throw("List size exceeds 5") | |
1349 | 1358 | ||
1350 | 1359 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) | |
1351 | 1360 | } | |
1352 | 1361 | t._1 | |
1353 | 1362 | } | |
1354 | 1363 | ||
1355 | 1364 | ||
1356 | 1365 | let PERM25 = [7, 2, 15, 19, 8, 24, 1, 21, 16, 5, 0, 22, 20, 23, 11, 4, 18, 12, 6, 10, 3, 17, 13, 9, 14] | |
1357 | 1366 | ||
1358 | 1367 | let TCHARS = ["A", "B", "C", "D", "E", "F"] | |
1359 | 1368 | ||
1360 | 1369 | func genTerrainsForMerge (sumTerrains,landSizeIndex) = { | |
1361 | 1370 | func step1 (acc,s) = { | |
1362 | 1371 | let j = acc._2 | |
1363 | 1372 | let el = parseIntValue(s) | |
1364 | 1373 | let x = if ((el == 0)) | |
1365 | 1374 | then 0 | |
1366 | 1375 | else if ((el >= (4 * landSizeIndex))) | |
1367 | 1376 | then (el / landSizeIndex) | |
1368 | 1377 | else if ((el > (3 * landSizeIndex))) | |
1369 | 1378 | then 3 | |
1370 | 1379 | else (((el - 1) / landSizeIndex) + 1) | |
1371 | 1380 | $Tuple3((acc._1 :+ x), (acc._2 + 1), (acc._3 + x)) | |
1372 | 1381 | } | |
1373 | 1382 | ||
1374 | 1383 | let t = { | |
1375 | 1384 | let $l = sumTerrains | |
1376 | 1385 | let $s = size($l) | |
1377 | 1386 | let $acc0 = $Tuple3(nil, 0, 0) | |
1378 | 1387 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1379 | 1388 | then $a | |
1380 | 1389 | else step1($a, $l[$i]) | |
1381 | 1390 | ||
1382 | 1391 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1383 | 1392 | then $a | |
1384 | 1393 | else throw("List size exceeds 6") | |
1385 | 1394 | ||
1386 | 1395 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1387 | 1396 | } | |
1388 | 1397 | let arr = t._1 | |
1389 | 1398 | let maxIdx = value(indexOf(arr, max(arr))) | |
1390 | 1399 | let delta = (t._3 - 25) | |
1391 | 1400 | func subber (acc,idx) = { | |
1392 | 1401 | let val = if ((idx == maxIdx)) | |
1393 | 1402 | then (arr[idx] - delta) | |
1394 | 1403 | else arr[idx] | |
1395 | 1404 | let zeroes = if ((val == 0)) | |
1396 | 1405 | then nil | |
1397 | 1406 | else split(drop(toString(pow(10, 0, val, 0, 0, DOWN)), 1), "") | |
1398 | 1407 | let c = TCHARS[idx] | |
1399 | 1408 | func listGen (ac,ignored) = (ac :+ c) | |
1400 | 1409 | ||
1401 | 1410 | let z = { | |
1402 | 1411 | let $l = zeroes | |
1403 | 1412 | let $s = size($l) | |
1404 | 1413 | let $acc0 = nil | |
1405 | 1414 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
1406 | 1415 | then $a | |
1407 | 1416 | else listGen($a, $l[$i]) | |
1408 | 1417 | ||
1409 | 1418 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
1410 | 1419 | then $a | |
1411 | 1420 | else throw("List size exceeds 25") | |
1412 | 1421 | ||
1413 | 1422 | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25) | |
1414 | 1423 | } | |
1415 | 1424 | (acc ++ z) | |
1416 | 1425 | } | |
1417 | 1426 | ||
1418 | 1427 | let r = { | |
1419 | 1428 | let $l = ITER6 | |
1420 | 1429 | let $s = size($l) | |
1421 | 1430 | let $acc0 = nil | |
1422 | 1431 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
1423 | 1432 | then $a | |
1424 | 1433 | else subber($a, $l[$i]) | |
1425 | 1434 | ||
1426 | 1435 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
1427 | 1436 | then $a | |
1428 | 1437 | else throw("List size exceeds 6") | |
1429 | 1438 | ||
1430 | 1439 | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1431 | 1440 | } | |
1432 | 1441 | func permut (acc,j) = (acc + r[j]) | |
1433 | 1442 | ||
1434 | 1443 | let $l = PERM25 | |
1435 | 1444 | let $s = size($l) | |
1436 | 1445 | let $acc0 = "" | |
1437 | 1446 | func $f2_1 ($a,$i) = if (($i >= $s)) | |
1438 | 1447 | then $a | |
1439 | 1448 | else permut($a, $l[$i]) | |
1440 | 1449 | ||
1441 | 1450 | func $f2_2 ($a,$i) = if (($i >= $s)) | |
1442 | 1451 | then $a | |
1443 | 1452 | else throw("List size exceeds 25") | |
1444 | 1453 | ||
1445 | 1454 | $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25) | |
1446 | 1455 | } | |
1447 | 1456 | ||
1448 | 1457 | ||
1449 | 1458 | func getBackpack (bpKey) = { | |
1450 | 1459 | let p = split(valueOrElse(getString(bpKey), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":") | |
1451 | 1460 | [toString(valueOrElse(parseInt(p[bpIdxLevel]), 0)), if ((size(split(p[bpIdxRes], "_")) == NUMRES)) | |
1452 | 1461 | then p[bpIdxRes] | |
1453 | 1462 | else "0_0_0_0_0_0", if ((size(split(p[bpIdxMat], "_")) == NUMRES)) | |
1454 | 1463 | then p[bpIdxMat] | |
1455 | 1464 | else "0_0_0_0_0_0", p[bpIdxProd]] | |
1456 | 1465 | } | |
1457 | 1466 | ||
1458 | 1467 | ||
1459 | 1468 | func getWarehouseTotalVolume (volPrefix) = { | |
1460 | 1469 | let parts = split(volPrefix, "_") | |
1461 | 1470 | ((WHMULTIPLIER * (parseIntValue(parts[1]) + 1)) * parseIntValue(parts[0])) | |
1462 | 1471 | } | |
1463 | 1472 | ||
1464 | 1473 | ||
1465 | 1474 | func getWarehouseOccupiedVol (currentWh) = { | |
1466 | 1475 | let goods = currentWh[whIdxProd] | |
1467 | 1476 | func sumResMat (acc,item) = (acc + parseIntValue(item)) | |
1468 | 1477 | ||
1469 | 1478 | func sumProd (acc,item) = { | |
1470 | 1479 | let idx = acc._1 | |
1471 | 1480 | let pkgs = (((parseIntValue(item) + PRODUCTPKGSIZE) - 1) / PRODUCTPKGSIZE) | |
1472 | 1481 | $Tuple2((idx + 1), (acc._2 + (pkgs * MULT8))) | |
1473 | 1482 | } | |
1474 | 1483 | ||
1475 | 1484 | let whResVol = { | |
1476 | 1485 | let $l = split(currentWh[whIdxRes], "_") | |
1477 | 1486 | let $s = size($l) | |
1478 | 1487 | let $acc0 = 0 | |
1479 | 1488 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1480 | 1489 | then $a | |
1481 | 1490 | else sumResMat($a, $l[$i]) | |
1482 | 1491 | ||
1483 | 1492 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1484 | 1493 | then $a | |
1485 | 1494 | else throw("List size exceeds 6") | |
1486 | 1495 | ||
1487 | 1496 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1488 | 1497 | } | |
1489 | 1498 | let whMatVol = { | |
1490 | 1499 | let $l = split(currentWh[whIdxMat], "_") | |
1491 | 1500 | let $s = size($l) | |
1492 | 1501 | let $acc0 = 0 | |
1493 | 1502 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
1494 | 1503 | then $a | |
1495 | 1504 | else sumResMat($a, $l[$i]) | |
1496 | 1505 | ||
1497 | 1506 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
1498 | 1507 | then $a | |
1499 | 1508 | else throw("List size exceeds 6") | |
1500 | 1509 | ||
1501 | 1510 | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1502 | 1511 | } | |
1503 | 1512 | let whGoodsVol = if ((goods == "")) | |
1504 | 1513 | then 0 | |
1505 | 1514 | else ( let $l = split_4C(goods, "_") | |
1506 | 1515 | let $s = size($l) | |
1507 | 1516 | let $acc0 = $Tuple2(0, 0) | |
1508 | 1517 | func $f2_1 ($a,$i) = if (($i >= $s)) | |
1509 | 1518 | then $a | |
1510 | 1519 | else sumProd($a, $l[$i]) | |
1511 | 1520 | ||
1512 | 1521 | func $f2_2 ($a,$i) = if (($i >= $s)) | |
1513 | 1522 | then $a | |
1514 | 1523 | else throw("List size exceeds 50") | |
1515 | 1524 | ||
1516 | 1525 | $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50))._2 | |
1517 | 1526 | ((whResVol + whMatVol) + whGoodsVol) | |
1518 | 1527 | } | |
1519 | 1528 | ||
1520 | 1529 | ||
1521 | 1530 | func getWarehouse (whKey,landIndex,infraLevel) = { | |
1522 | 1531 | let volPrefix = ((toString(landIndex) + "_") + toString(infraLevel)) | |
1523 | 1532 | let whTotal = getWarehouseTotalVolume(volPrefix) | |
1524 | 1533 | let whStr = valueOrElse(getString(whKey), (volPrefix + ":0_0_0_0_0_0:0_0_0_0_0_0::0")) | |
1525 | 1534 | let wh = split_4C(whStr, ":") | |
1526 | 1535 | let whOccupied = getWarehouseOccupiedVol(wh) | |
1527 | 1536 | let whLoft = if ((5 > size(wh))) | |
1528 | 1537 | then makeString(["0", toString(whOccupied), toString((whTotal - whOccupied)), toString(whTotal)], "_") | |
1529 | 1538 | else { | |
1530 | 1539 | let loft = split(wh[whIdxLOFT], "_") | |
1531 | 1540 | let whLocked = parseIntValue(loft[volLocked]) | |
1532 | 1541 | let occ = if ((size(loft) > 1)) | |
1533 | 1542 | then parseIntValue(loft[volOccupied]) | |
1534 | 1543 | else whOccupied | |
1535 | 1544 | makeString([toString(whLocked), toString(occ), toString(((whTotal - whLocked) - occ)), toString(whTotal)], "_") | |
1536 | 1545 | } | |
1537 | 1546 | [wh[whIdxLevels], if ((size(split(wh[whIdxRes], "_")) == NUMRES)) | |
1538 | 1547 | then wh[whIdxRes] | |
1539 | 1548 | else "0_0_0_0_0_0", if ((size(split(wh[whIdxMat], "_")) == NUMRES)) | |
1540 | 1549 | then wh[whIdxMat] | |
1541 | 1550 | else "0_0_0_0_0_0", wh[whIdxProd], whLoft] | |
1542 | 1551 | } | |
1543 | 1552 | ||
1544 | 1553 | ||
1545 | 1554 | func getWarehouseSpaceLeft (currentWh) = { | |
1546 | 1555 | let occupiedVol = getWarehouseOccupiedVol(currentWh) | |
1547 | 1556 | let currWhLockedVol = parseIntValue(split(currentWh[whIdxLOFT], "_")[volLocked]) | |
1548 | 1557 | ((getWarehouseTotalVolume(currentWh[whIdxLevels]) - occupiedVol) - currWhLockedVol) | |
1549 | 1558 | } | |
1550 | 1559 | ||
1551 | 1560 | ||
1552 | 1561 | func moveStuff (cargoParts,currentWh,currentPack) = if ((size(cargoParts) != 3)) | |
1553 | 1562 | then throw("cargoListStr should contain exactly 2 ':' separators") | |
1554 | 1563 | else { | |
1555 | 1564 | let resParts = split(cargoParts[0], "_") | |
1556 | 1565 | let matParts = split(cargoParts[1], "_") | |
1557 | 1566 | let prodParts = if ((cargoParts[2] == "")) | |
1558 | 1567 | then nil | |
1559 | 1568 | else split_4C(cargoParts[2], "_") | |
1560 | 1569 | if ((size(resParts) != NUMRES)) | |
1561 | 1570 | then throw("All 6 resources should be passed") | |
1562 | 1571 | else if ((size(matParts) != NUMRES)) | |
1563 | 1572 | then throw("All 6 materials should be passed") | |
1564 | 1573 | else { | |
1565 | 1574 | let whSpaceLeft = getWarehouseSpaceLeft(currentWh) | |
1566 | 1575 | let currWhRes = split(currentWh[whIdxRes], "_") | |
1567 | 1576 | let currWhMat = split(currentWh[whIdxMat], "_") | |
1568 | 1577 | let currWhProd = if ((currentWh[whIdxProd] == "")) | |
1569 | 1578 | then nil | |
1570 | 1579 | else split_4C(currentWh[whIdxProd], "_") | |
1571 | 1580 | let currentPackRes = split(currentPack[bpIdxRes], "_") | |
1572 | 1581 | let currentPackMat = split(currentPack[bpIdxMat], "_") | |
1573 | 1582 | let currentPackProd = if ((currentPack[bpIdxProd] == "")) | |
1574 | 1583 | then nil | |
1575 | 1584 | else split_4C(currentPack[bpIdxProd], "_") | |
1576 | 1585 | func mvR (acc,item) = { | |
1577 | 1586 | let i = acc._1 | |
1578 | 1587 | let am = parseIntValue(item) | |
1579 | 1588 | let whr = parseIntValue(currWhRes[i]) | |
1580 | 1589 | let bpr = parseIntValue(currentPackRes[i]) | |
1581 | 1590 | if ((am == 0)) | |
1582 | 1591 | then $Tuple4((i + 1), (acc._2 :+ currWhRes[i]), (acc._3 :+ currentPackRes[i]), acc._4) | |
1583 | 1592 | else if ((am > 0)) | |
1584 | 1593 | then if ((am > bpr)) | |
1585 | 1594 | then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpr)) + " available")) | |
1586 | 1595 | else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am)) | |
1587 | 1596 | else if ((-(am) > whr)) | |
1588 | 1597 | then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whr)) + " available")) | |
1589 | 1598 | else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am)) | |
1590 | 1599 | } | |
1591 | 1600 | ||
1592 | 1601 | let r = { | |
1593 | 1602 | let $l = resParts | |
1594 | 1603 | let $s = size($l) | |
1595 | 1604 | let $acc0 = $Tuple4(0, nil, nil, 0) | |
1596 | 1605 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1597 | 1606 | then $a | |
1598 | 1607 | else mvR($a, $l[$i]) | |
1599 | 1608 | ||
1600 | 1609 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1601 | 1610 | then $a | |
1602 | 1611 | else throw("List size exceeds 6") | |
1603 | 1612 | ||
1604 | 1613 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1605 | 1614 | } | |
1606 | 1615 | func mvM (acc,item) = { | |
1607 | 1616 | let i = acc._1 | |
1608 | 1617 | let am = parseIntValue(item) | |
1609 | 1618 | let whm = parseIntValue(currWhMat[i]) | |
1610 | 1619 | let bpm = parseIntValue(currentPackMat[i]) | |
1611 | 1620 | if ((am == 0)) | |
1612 | 1621 | then $Tuple4((i + 1), (acc._2 :+ currWhMat[i]), (acc._3 :+ currentPackMat[i]), acc._4) | |
1613 | 1622 | else if ((am > 0)) | |
1614 | 1623 | then if ((am > bpm)) | |
1615 | 1624 | then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpm)) + " available")) | |
1616 | 1625 | else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am)) | |
1617 | 1626 | else if ((-(am) > whm)) | |
1618 | 1627 | then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whm)) + " available")) | |
1619 | 1628 | else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am)) | |
1620 | 1629 | } | |
1621 | 1630 | ||
1622 | 1631 | let m = { | |
1623 | 1632 | let $l = matParts | |
1624 | 1633 | let $s = size($l) | |
1625 | 1634 | let $acc0 = $Tuple4(0, nil, nil, r._4) | |
1626 | 1635 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
1627 | 1636 | then $a | |
1628 | 1637 | else mvM($a, $l[$i]) | |
1629 | 1638 | ||
1630 | 1639 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
1631 | 1640 | then $a | |
1632 | 1641 | else throw("List size exceeds 6") | |
1633 | 1642 | ||
1634 | 1643 | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1635 | 1644 | } | |
1636 | 1645 | func mvP (acc,item) = { | |
1637 | 1646 | let i = acc._1 | |
1638 | 1647 | let am = parseIntValue(item) | |
1639 | 1648 | let whp = if ((size(currWhProd) > i)) | |
1640 | 1649 | then parseIntValue(currWhProd[i]) | |
1641 | 1650 | else 0 | |
1642 | 1651 | let bpp = if ((size(currentPackProd) > i)) | |
1643 | 1652 | then parseIntValue(currentPackProd[i]) | |
1644 | 1653 | else 0 | |
1645 | 1654 | if ((am == 0)) | |
1646 | 1655 | then $Tuple4((i + 1), (acc._2 :+ toString(whp)), (acc._3 :+ toString(bpp)), acc._4) | |
1647 | 1656 | else if ((am > 0)) | |
1648 | 1657 | then if ((am > bpp)) | |
1649 | 1658 | then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpp)) + " available")) | |
1650 | 1659 | else { | |
1651 | 1660 | let deltaVol = (toVolume((whp + am), PRODUCTPKGSIZE) - toVolume(whp, PRODUCTPKGSIZE)) | |
1652 | 1661 | $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + deltaVol)) | |
1653 | 1662 | } | |
1654 | 1663 | else if ((-(am) > whp)) | |
1655 | 1664 | then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whp)) + " available")) | |
1656 | 1665 | else { | |
1657 | 1666 | let deltaVol = (toVolume((whp + am), PRODUCTPKGSIZE) - toVolume(whp, PRODUCTPKGSIZE)) | |
1658 | 1667 | $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + deltaVol)) | |
1659 | 1668 | } | |
1660 | 1669 | } | |
1661 | 1670 | ||
1662 | 1671 | let p = if ((size(prodParts) != 0)) | |
1663 | 1672 | then { | |
1664 | 1673 | let $l = prodParts | |
1665 | 1674 | let $s = size($l) | |
1666 | 1675 | let $acc0 = $Tuple4(0, nil, nil, m._4) | |
1667 | 1676 | func $f2_1 ($a,$i) = if (($i >= $s)) | |
1668 | 1677 | then $a | |
1669 | 1678 | else mvP($a, $l[$i]) | |
1670 | 1679 | ||
1671 | 1680 | func $f2_2 ($a,$i) = if (($i >= $s)) | |
1672 | 1681 | then $a | |
1673 | 1682 | else throw("List size exceeds 50") | |
1674 | 1683 | ||
1675 | 1684 | $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
1676 | 1685 | } | |
1677 | 1686 | else $Tuple4(0, currWhProd, currentPackProd, m._4) | |
1678 | 1687 | let volSaldo = p._4 | |
1679 | 1688 | if ((volSaldo > whSpaceLeft)) | |
1680 | 1689 | then throw((((("Attempt to put total " + toString(volSaldo)) + " stuff, but only ") + toString(whSpaceLeft)) + " warehouse space left")) | |
1681 | 1690 | else $Tuple7(makeString(r._2, "_"), makeString(m._2, "_"), makeString_2C(p._2, "_"), makeString(r._3, "_"), makeString(m._3, "_"), makeString_2C(p._3, "_"), volSaldo) | |
1682 | 1691 | } | |
1683 | 1692 | } | |
1684 | 1693 | ||
1685 | 1694 | ||
1686 | 1695 | func expeditionInternal (caller,txId) = { | |
1687 | 1696 | let userAddr = toString(caller) | |
1688 | 1697 | let bigNum = abs(toBigInt(txId)) | |
1689 | 1698 | let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1)) | |
1690 | 1699 | let landNum = toString(freeNum) | |
1691 | 1700 | let continentIdx = toInt((bigNum % FIVEX)) | |
1692 | 1701 | let terrains = genTerrains(bigNum, continentIdx) | |
1693 | 1702 | let continent = continents[continentIdx] | |
1694 | 1703 | let issue = Issue(nftName(landNum, "S"), makeString([landNum, "S", terrains, continent], "_"), 1, 0, false) | |
1695 | 1704 | let assetId = calculateAssetId(issue) | |
1696 | 1705 | let id = toBase58String(assetId) | |
1697 | 1706 | $Tuple2([IntegerEntry(keyNextFreeLandNum(), (freeNum + 1)), issue, StringEntry(keyLandToAssetId(landNum), id), StringEntry(keyLandAssetIdToOwner(id), userAddr), StringEntry(keyLandNumToOwner(landNum), userAddr), IntegerEntry(keyInfraLevelByAssetId(id), 0), IntegerEntry(keyInfraLevelByAssetIdAndOwner(id, userAddr), 0), ScriptTransfer(caller, 1, assetId)], $Tuple2(id, continent)) | |
1698 | 1707 | } | |
1699 | 1708 | ||
1700 | 1709 | ||
1701 | 1710 | func flightCommon (userAddr,message,sig) = if (!(sigVerify_8Kb(message, sig, pub))) | |
1702 | 1711 | then throw("signature does not match") | |
1703 | 1712 | else { | |
1704 | 1713 | let parts = split_4C(toUtf8String(message), ";") | |
1705 | 1714 | let flightLog = split_4C(parts[0], "|") | |
1706 | 1715 | let hp = split(flightLog[flHealth], "_") | |
1707 | 1716 | let curHP = parseIntValue(hp[0]) | |
1708 | 1717 | let newHP = parseIntValue(hp[1]) | |
1709 | 1718 | let newLocTxVer = split(parts[1], ":") | |
1710 | 1719 | let newLocation = newLocTxVer[0] | |
1711 | 1720 | let time = parseIntValue(flightLog[flTimestamp]) | |
1712 | 1721 | if (if ((time > (lastBlock.timestamp + FIVEMINUTESMILLIS))) | |
1713 | 1722 | then true | |
1714 | 1723 | else ((lastBlock.timestamp - FIVEMINUTESMILLIS) > time)) | |
1715 | 1724 | then throw(((("signature outdated: logTime=" + toString(time)) + ", bcTime=") + toString(lastBlock.timestamp))) | |
1716 | 1725 | else { | |
1717 | 1726 | let txFromMsg = newLocTxVer[1] | |
1718 | 1727 | let lastTx = valueOrElse(getString(keyLastTxIdByUser(userAddr)), "") | |
1719 | 1728 | if ((lastTx != txFromMsg)) | |
1720 | 1729 | then throw(((("Tx ids don't match! In state: " + lastTx) + ", in msg: ") + txFromMsg)) | |
1721 | 1730 | else { | |
1722 | 1731 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked") | |
1723 | 1732 | let keyHealth = keyDuckHealth(duckAssetId) | |
1724 | 1733 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0)) | |
1725 | 1734 | let oldFromState = valueOrElse(getInteger(keyHealth), maxHP) | |
1726 | 1735 | if ((oldFromState != curHP)) | |
1727 | 1736 | then throw(((("oldHealth=" + toString(oldFromState)) + " from state does not match one from flight log=") + toString(curHP))) | |
1728 | 1737 | else if ((0 >= curHP)) | |
1729 | 1738 | then throw("You can't fly with zero health") | |
1730 | 1739 | else if (!(canWearCurrentEquipment(duckAssetId))) | |
1731 | 1740 | then throw("Equipment incompatible") | |
1732 | 1741 | else { | |
1733 | 1742 | let bonus = if ((size(flightLog) > flBonus)) | |
1734 | 1743 | then flightLog[flBonus] | |
1735 | 1744 | else "" | |
1736 | 1745 | let prodUsed = if ((size(flightLog) > flProdsUsed)) | |
1737 | 1746 | then flightLog[flProdsUsed] | |
1738 | 1747 | else "" | |
1739 | 1748 | let sentAmount = if (if ((newHP > 0)) | |
1740 | 1749 | then (bonus == "$") | |
1741 | 1750 | else false) | |
1742 | 1751 | then asInt(invoke(restContract, "sendUsdtPrize", [userAddr], nil)) | |
1743 | 1752 | else 0 | |
1744 | 1753 | $Tuple5(newHP, duckAssetId, sentAmount, newLocation, prodUsed) | |
1745 | 1754 | } | |
1746 | 1755 | } | |
1747 | 1756 | } | |
1748 | 1757 | } | |
1749 | 1758 | ||
1750 | 1759 | ||
1751 | 1760 | func applyBonuses (landAssetId,pieces) = { | |
1752 | 1761 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
1753 | 1762 | let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0) | |
1754 | 1763 | let add6 = (infraLevel / 6) | |
1755 | 1764 | let add7 = (infraLevel / 7) | |
1756 | 1765 | ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, ((infraLevel + add6) + (2 * add7)), 5)) + fraction(DAILYRESBYPIECE, artPieces, (pieces * 5))) | |
1757 | 1766 | } | |
1758 | 1767 | ||
1759 | 1768 | ||
1760 | 1769 | func checkClaimConditions (addr,claimMode,landAssetIdIn) = { | |
1761 | - | let $ | |
1770 | + | let $t03376734306 = if ((claimMode == claimModeWh)) | |
1762 | 1771 | then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), "")) | |
1763 | 1772 | else { | |
1764 | 1773 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
1765 | 1774 | let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION) | |
1766 | 1775 | let loc = split(value(curLocation), "_") | |
1767 | 1776 | if ((loc[locIdxType] != "L")) | |
1768 | 1777 | then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L")) | |
1769 | 1778 | else $Tuple2(loc[locIdxId], duckAssetId) | |
1770 | 1779 | } | |
1771 | - | let landAssetId = $ | |
1772 | - | let duckId = $ | |
1780 | + | let landAssetId = $t03376734306._1 | |
1781 | + | let duckId = $t03376734306._2 | |
1773 | 1782 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
1774 | 1783 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
1775 | 1784 | let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked")) | |
1776 | 1785 | let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
1777 | 1786 | if ((owner != addr)) | |
1778 | 1787 | then throw((LANDPREFIX + " is not yours")) | |
1779 | 1788 | else { | |
1780 | 1789 | let d = split(asset.description, "_") | |
1781 | 1790 | $Tuple4(duckId, landAssetId, d, savedTime) | |
1782 | 1791 | } | |
1783 | 1792 | } | |
1784 | 1793 | ||
1785 | 1794 | ||
1786 | 1795 | func claimResInternal (addr,amount,claimMode,landAssetIdIn) = if ((0 > amount)) | |
1787 | 1796 | then throw("Negative amount") | |
1788 | 1797 | else { | |
1789 | 1798 | let c = checkClaimConditions(addr, claimMode, landAssetIdIn) | |
1790 | 1799 | let landSize = c._3[recLandSize] | |
1791 | 1800 | let terrainCounts = countTerrains(c._3[recTerrains]) | |
1792 | 1801 | let deltaTime = (lastBlock.timestamp - c._4) | |
1793 | 1802 | if ((0 > deltaTime)) | |
1794 | 1803 | then throw(((("Saved timestamp is in future, saved = " + toString(c._4)) + ", current = ") + toString(lastBlock.timestamp))) | |
1795 | 1804 | else { | |
1796 | 1805 | let pieces = numPiecesBySize(landSize) | |
1797 | 1806 | let dailyProductionByPiece = applyBonuses(c._2, pieces) | |
1798 | 1807 | let availRes = fraction(deltaTime, (dailyProductionByPiece * pieces), DAYMILLIS) | |
1799 | 1808 | if ((amount > availRes)) | |
1800 | 1809 | then throw(((("Not enough resources, available = " + toString(availRes)) + ", requested = ") + toString(amount))) | |
1801 | 1810 | else { | |
1802 | 1811 | let newDeltaTime = fraction((availRes - amount), DAYMILLIS, (dailyProductionByPiece * pieces)) | |
1803 | 1812 | let newTimestamp = (lastBlock.timestamp - newDeltaTime) | |
1804 | 1813 | let landIndex = (pieces / SSIZE) | |
1805 | 1814 | let resToClaim = virtClaim(terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece) | |
1806 | 1815 | let whKey = keyWarehouseByLand(c._2) | |
1807 | 1816 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(c._2)), 0) | |
1808 | 1817 | let currentWh = getWarehouse(whKey, landIndex, infraLevel) | |
1809 | 1818 | let loft = split(currentWh[whIdxLOFT], "_") | |
1810 | 1819 | let whSpaceLeft = parseIntValue(loft[volFree]) | |
1811 | 1820 | if (if ((claimMode == claimModeWh)) | |
1812 | 1821 | then (amount > whSpaceLeft) | |
1813 | 1822 | else false) | |
1814 | 1823 | then throw((("Only " + toString(whSpaceLeft)) + " space left in warehouse")) | |
1815 | 1824 | else { | |
1816 | 1825 | let bpKey = keyBackpackByDuck(c._1) | |
1817 | 1826 | let currentPack = getBackpack(bpKey) | |
1818 | 1827 | let currentPackRes = split(currentPack[bpIdxRes], "_") | |
1819 | 1828 | let currentWhRes = split(currentWh[whIdxRes], "_") | |
1820 | - | let $ | |
1829 | + | let $t03668037551 = if ((claimMode == claimModeWh)) | |
1821 | 1830 | then $Tuple4(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes], (parseIntValue(loft[volOccupied]) + resToClaim._2), (parseIntValue(loft[volFree]) - resToClaim._2)) | |
1822 | 1831 | else if ((claimMode == claimModeDuck)) | |
1823 | 1832 | then $Tuple4(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), parseIntValue(loft[volOccupied]), parseIntValue(loft[volFree])) | |
1824 | 1833 | else { | |
1825 | 1834 | let distr = distributeRes(currentWhRes, currentPackRes, resToClaim, whSpaceLeft) | |
1826 | 1835 | let whAm = min([parseIntValue(loft[volFree]), resToClaim._2]) | |
1827 | 1836 | $Tuple4(distr._1, distr._2, (parseIntValue(loft[volOccupied]) + whAm), (parseIntValue(loft[volFree]) - whAm)) | |
1828 | 1837 | } | |
1829 | - | let whRes = $ | |
1830 | - | let bpRes = $ | |
1831 | - | let loftO = $ | |
1832 | - | let loftF = $ | |
1838 | + | let whRes = $t03668037551._1 | |
1839 | + | let bpRes = $t03668037551._2 | |
1840 | + | let loftO = $t03668037551._3 | |
1841 | + | let loftF = $t03668037551._4 | |
1833 | 1842 | $Tuple5([IntegerEntry(keyStakedTimeByAssetId(c._2), newTimestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, c._2, addr), newTimestamp)], bpKey, [currentPack[bpIdxLevel], bpRes, currentPack[bpIdxMat], currentPack[bpIdxProd]], whKey, [currentWh[whIdxLevels], whRes, currentWh[whIdxMat], currentWh[whIdxProd], makeString([loft[volLocked], toString(loftO), toString(loftF), loft[volTotal]], "_")]) | |
1834 | 1843 | } | |
1835 | 1844 | } | |
1836 | 1845 | } | |
1837 | 1846 | } | |
1838 | 1847 | ||
1839 | 1848 | ||
1840 | 1849 | func claimAll (addr,landAssetId,pieces,claimMode) = { | |
1841 | 1850 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
1842 | 1851 | let savedTime = value(getInteger(timeKey)) | |
1843 | 1852 | let availRes = (fraction((lastBlock.timestamp - savedTime), applyBonuses(landAssetId, pieces), DAYMILLIS) * pieces) | |
1844 | 1853 | claimResInternal(addr, availRes, claimMode, landAssetId) | |
1845 | 1854 | } | |
1846 | 1855 | ||
1847 | 1856 | ||
1848 | 1857 | func upInfraCommon (shouldUseMat,caller,paymentAmount,landAssetId) = { | |
1849 | 1858 | let addr = toString(caller) | |
1850 | 1859 | let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetId) | |
1851 | 1860 | let pieces = numPiecesBySize(c._3[recLandSize]) | |
1852 | 1861 | let infraKey = keyInfraLevelByAssetId(c._2) | |
1853 | 1862 | let curLevel = valueOrElse(getInteger(infraKey), 0) | |
1854 | 1863 | if (if (!(KS_ALLOW_BIG_INFRA_MERGE)) | |
1855 | 1864 | then (curLevel >= 3) | |
1856 | 1865 | else false) | |
1857 | 1866 | then throw("Currently max infrastructure level = 3") | |
1858 | 1867 | else { | |
1859 | 1868 | let maxInfra = ((sqrt(pieces, 0, 0, DOWN) / 5) + 2) | |
1860 | 1869 | let newLevel = (curLevel + 1) | |
1861 | 1870 | if (if (KS_ALLOW_BIG_INFRA_MERGE) | |
1862 | 1871 | then (newLevel > maxInfra) | |
1863 | 1872 | else false) | |
1864 | 1873 | then throw(("Currently max infrastructure level = " + toString(maxInfra))) | |
1865 | 1874 | else { | |
1866 | 1875 | let cost = fraction(InfraUpgradeCostSUsdt, (pieces * newLevel), SSIZE) | |
1867 | 1876 | if (if (!(shouldUseMat)) | |
1868 | 1877 | then (paymentAmount != cost) | |
1869 | 1878 | else false) | |
1870 | 1879 | then throw(("Payment attached should be " + toString(cost))) | |
1871 | 1880 | else { | |
1872 | 1881 | let bpKey = keyBackpackByDuck(c._1) | |
1873 | 1882 | let currentPack = getBackpack(bpKey) | |
1874 | 1883 | let mList = split(currentPack[bpIdxMat], "_") | |
1875 | 1884 | let matUsed = fraction(InfraUpgradeCostS, (pieces * newLevel), SSIZE) | |
1876 | 1885 | let newMat = makeString(subtractMaterials(shouldUseMat, mList, matUsed), "_") | |
1877 | 1886 | let claimResult = claimAll(addr, c._2, pieces, claimModeWhThenDuck) | |
1878 | 1887 | let whData = claimResult._5 | |
1879 | 1888 | let oldVol = getWarehouseTotalVolume(whData[whIdxLevels]) | |
1880 | 1889 | let newVolData = makeString([split(whData[whIdxLevels], "_")[0], toString(newLevel)], "_") | |
1881 | 1890 | let newVol = getWarehouseTotalVolume(newVolData) | |
1882 | 1891 | let loft = split(whData[whIdxLOFT], "_") | |
1883 | 1892 | let newLoftStr = makeString([loft[volLocked], loft[volOccupied], toString(((parseIntValue(loft[volFree]) + newVol) - oldVol)), toString(newVol)], "_") | |
1884 | 1893 | $Tuple3(([IntegerEntry(infraKey, newLevel), IntegerEntry(keyInfraLevelByAssetIdAndOwner(c._2, addr), newLevel), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], claimResult._3[bpIdxRes], newMat, currentPack[bpIdxProd]], ":")), StringEntry(claimResult._4, makeString([newVolData, whData[whIdxRes], whData[whIdxMat], whData[whIdxProd], newLoftStr], ":"))] ++ claimResult._1), newLevel, matUsed) | |
1885 | 1894 | } | |
1886 | 1895 | } | |
1887 | 1896 | } | |
1888 | 1897 | } | |
1889 | 1898 | ||
1890 | 1899 | ||
1891 | 1900 | func updateStatsInternal (lvlKey,xpKey,pointsKey,deltaXP) = { | |
1892 | 1901 | let xp = valueOrElse(getInteger(xpKey), 0) | |
1893 | 1902 | let newXP = (xp + deltaXP) | |
1894 | 1903 | let lvlPoints = levelUp(valueOrElse(getInteger(lvlKey), 0), newXP) | |
1895 | 1904 | $Tuple2([IntegerEntry(lvlKey, lvlPoints[0]), IntegerEntry(xpKey, newXP), IntegerEntry(pointsKey, (valueOrElse(getInteger(pointsKey), 0) + lvlPoints[1]))], newXP) | |
1896 | 1905 | } | |
1897 | 1906 | ||
1898 | 1907 | ||
1899 | - | func updateDuckStatsInternal (duckAssetId,deltaXP) = updateStatsInternal(keyDuckLevel(duckAssetId), keyDuckXP(duckAssetId), keyDuckFreePoints(duckAssetId), deltaXP) | |
1908 | + | func updateDuckStatsInternal (duckAssetId,deltaXP) = { | |
1909 | + | let asset = value(assetInfo(fromBase58String(duckAssetId))) | |
1910 | + | let addr = valueOrErrorMessage(getString(keyDuckIdToOwner(duckAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
1911 | + | if (if (if (KS_ALLOW_ROBO_DUCKS) | |
1912 | + | then (asset.issuer == this) | |
1913 | + | else false) | |
1914 | + | then contains(asset.name, ROBO_PREFIX) | |
1915 | + | else false) | |
1916 | + | then updateStatsInternal(keyUserLevel(addr), keyUserXP(addr), keyUserFreePoints(addr), deltaXP) | |
1917 | + | else updateStatsInternal(keyDuckLevel(duckAssetId), keyDuckXP(duckAssetId), keyDuckFreePoints(duckAssetId), deltaXP) | |
1918 | + | } | |
1900 | 1919 | ||
1901 | 1920 | ||
1902 | 1921 | func updateAccStatsInternal (addr,deltaXP) = updateStatsInternal(keyUserLevel(addr), keyUserXP(addr), keyUserFreePoints(addr), deltaXP) | |
1903 | 1922 | ||
1904 | 1923 | ||
1905 | 1924 | func activateOnboardArt (addr) = { | |
1906 | 1925 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
1907 | 1926 | let refByKey = keyAddressRefBy(addr) | |
1908 | 1927 | let refBy = getString(refByKey) | |
1909 | 1928 | if (!(isDefined(refBy))) | |
1910 | 1929 | then throw("You are not eligible for ONBOARD artifact") | |
1911 | 1930 | else { | |
1912 | 1931 | let artKey = keyOnboardArtDuckActivatedBy(addr) | |
1913 | 1932 | let artDuck = getString(artKey) | |
1914 | 1933 | if (isDefined(artDuck)) | |
1915 | 1934 | then throw(("You already used your ONBOARD artifact on duck " + value(artDuck))) | |
1916 | 1935 | else { | |
1917 | 1936 | let duckActivatorKey = keyOnboardArtActivatedOnDuck(duckAssetId) | |
1918 | 1937 | let duckActivator = getString(duckActivatorKey) | |
1919 | 1938 | if (isDefined(duckActivator)) | |
1920 | 1939 | then throw(((("The duck " + duckAssetId) + " already got points from ONBOARD artifact from user ") + value(duckActivator))) | |
1921 | 1940 | else ([StringEntry(artKey, duckAssetId), StringEntry(duckActivatorKey, addr)] ++ updateDuckStatsInternal(duckAssetId, xpOnboard)._1) | |
1922 | 1941 | } | |
1923 | 1942 | } | |
1924 | 1943 | } | |
1925 | 1944 | ||
1926 | 1945 | ||
1927 | 1946 | func activatePresaleArt (addr,landAssetIdIn) = { | |
1928 | 1947 | let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetIdIn) | |
1929 | 1948 | let landAssetId = c._2 | |
1930 | 1949 | let pieces = numPiecesBySize(c._3[recLandSize]) | |
1931 | 1950 | let activationKey = keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId) | |
1932 | 1951 | if ((valueOrElse(getInteger(activationKey), 0) > 0)) | |
1933 | 1952 | then throw("Presale artifact is already activated") | |
1934 | 1953 | else if ((parseIntValue(c._3[recLandNum]) > PRESALENUMLANDS)) | |
1935 | 1954 | then throw((((LANDPREFIX + " ") + landAssetId) + " is not eligible for presale artifact")) | |
1936 | 1955 | else { | |
1937 | 1956 | let claimResult = claimAll(addr, landAssetId, pieces, claimModeWhThenDuck) | |
1938 | 1957 | (((claimResult._1 :+ IntegerEntry(activationKey, pieces)) :+ StringEntry(claimResult._2, makeString(claimResult._3, ":"))) :+ StringEntry(claimResult._4, makeString(claimResult._5, ":"))) | |
1939 | 1958 | } | |
1940 | 1959 | } | |
1941 | 1960 | ||
1942 | 1961 | ||
1943 | 1962 | func checkTournament (duckAssetId) = { | |
1944 | 1963 | let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0) | |
1945 | 1964 | let curLocation = split(valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_") | |
1946 | 1965 | let now = lastBlock.timestamp | |
1947 | 1966 | let tData = getTourData(tournamentContract, lastId) | |
1948 | 1967 | let static = tData[idxStatic] | |
1949 | 1968 | let dynamic = tData[idxDynamic] | |
1950 | 1969 | if ((curLocation[locIdxType] != "T")) | |
1951 | 1970 | then false | |
1952 | 1971 | else if (if (if ((parseIntValue(curLocation[locIdxContinent]) == lastId)) | |
1953 | 1972 | then (dynamic[tDynamicStatus] == "INPROGRESS") | |
1954 | 1973 | else false) | |
1955 | 1974 | then (parseIntValue(static[tStaticEnd]) > now) | |
1956 | 1975 | else false) | |
1957 | 1976 | then throw("Your duck is taking part in the tournament") | |
1958 | 1977 | else asBoolean(invoke(this, "exitTournamentInternal", [duckAssetId], nil)) | |
1959 | 1978 | } | |
1960 | 1979 | ||
1961 | 1980 | ||
1962 | 1981 | func checkDelivery (duckAssetId) = { | |
1963 | 1982 | let curLocation = split(valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_") | |
1964 | 1983 | let now = lastBlock.timestamp | |
1965 | 1984 | if ((curLocation[locIdxType] != "D")) | |
1966 | 1985 | then false | |
1967 | 1986 | else { | |
1968 | 1987 | let startTime = parseIntValue(curLocation[locIdxContinent]) | |
1969 | 1988 | let distance = parseIntValue(curLocation[locIdxId]) | |
1970 | 1989 | if (if (((startTime + TEN_MINUTES_MILLIS) > now)) | |
1971 | 1990 | then (1 > distance) | |
1972 | 1991 | else false) | |
1973 | 1992 | then throw("Your duck is on delivery mission") | |
1974 | 1993 | else asBoolean(invoke(this, "exitDeliveryInternal", [duckAssetId], nil)) | |
1975 | 1994 | } | |
1976 | 1995 | } | |
1977 | 1996 | ||
1978 | 1997 | ||
1979 | 1998 | func exitDeliveryCommon (duckAssetId,check,newHP,score) = { | |
1980 | 1999 | let curLocation = split(valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_") | |
1981 | 2000 | let now = lastBlock.timestamp | |
1982 | 2001 | let startTime = parseIntValue(curLocation[locIdxContinent]) | |
1983 | 2002 | let distance = parseIntValue(curLocation[locIdxId]) | |
1984 | 2003 | let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(duckAssetId)), "NFT duck is orphaned") | |
1985 | 2004 | let healthKey = keyDuckHealth(duckAssetId) | |
1986 | 2005 | let curHealth = getIntegerValue(healthKey) | |
1987 | 2006 | let outcomeActions = if (if ((distance > 0)) | |
1988 | 2007 | then true | |
1989 | 2008 | else if (if (check) | |
1990 | 2009 | then (score > 0) | |
1991 | 2010 | else false) | |
1992 | 2011 | then (newHP > 0) | |
1993 | 2012 | else false) | |
1994 | 2013 | then { | |
1995 | 2014 | let reward = invoke(economyContract, "sendDeliveryReward", [owner], nil) | |
1996 | 2015 | if ((reward == reward)) | |
1997 | 2016 | then { | |
1998 | 2017 | let countKey = keyUserDeliveryCount(owner) | |
1999 | 2018 | [IntegerEntry(countKey, (valueOrElse(getInteger(countKey), 0) + 1)), IntegerEntry(keyUserLastDeliveryDay(owner), (startTime / DAYMILLIS))] | |
2000 | 2019 | } | |
2001 | 2020 | else throw("Strict value is not equal to itself.") | |
2002 | 2021 | } | |
2003 | 2022 | else if (if (if (check) | |
2004 | 2023 | then (newHP > 0) | |
2005 | 2024 | else false) | |
2006 | 2025 | then ((startTime + TEN_MINUTES_MILLIS) > now) | |
2007 | 2026 | else false) | |
2008 | 2027 | then throw("Your duck is still on delivery mission") | |
2009 | 2028 | else { | |
2010 | 2029 | let lockedTotal = valueOrElse(getInteger(economyContract, deliveryLockedKey), 0) | |
2011 | 2030 | let unlock = invoke(economyContract, "updateDeliveryLocked", [(lockedTotal - MIN_USDT_FEE_DELIVERY)], nil) | |
2012 | 2031 | if ((unlock == unlock)) | |
2013 | 2032 | then if (if (if (check) | |
2014 | 2033 | then (0 >= newHP) | |
2015 | 2034 | else false) | |
2016 | 2035 | then true | |
2017 | 2036 | else (0 >= curHealth)) | |
2018 | 2037 | then nil | |
2019 | 2038 | else [IntegerEntry(keyDeliveryDelayByDuck(duckAssetId), (startTime + DELIVERY_PUNISHMENT))] | |
2020 | 2039 | else throw("Strict value is not equal to itself.") | |
2021 | 2040 | } | |
2022 | 2041 | let savedLocation = getStringValue(keySavedLocation(duckAssetId)) | |
2023 | 2042 | $Tuple3(outcomeActions, [StringEntry(keyDuckLocation(duckAssetId), savedLocation)], savedLocation) | |
2024 | 2043 | } | |
2025 | 2044 | ||
2026 | 2045 | ||
2027 | 2046 | func mergeInternal (newLandSize,newLevel,formula,addr,landAssetIds,needMat) = { | |
2028 | 2047 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
2029 | 2048 | if (checkTournament(duckAssetId)) | |
2030 | 2049 | then throw("mergeInternal_checkTournament") | |
2031 | 2050 | else if (checkDelivery(duckAssetId)) | |
2032 | 2051 | then throw("mergeInternal_checkDelivery") | |
2033 | 2052 | else { | |
2034 | 2053 | func checkMerge (acc,landAssetId) = { | |
2035 | 2054 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
2036 | 2055 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
2037 | 2056 | let savedTime = valueOrErrorMessage(getInteger(timeKey), (("NFT " + asset.name) + " is not staked")) | |
2038 | 2057 | let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
2039 | 2058 | if ((owner != addr)) | |
2040 | 2059 | then throw((LANDPREFIX + " is not yours")) | |
2041 | 2060 | else { | |
2042 | 2061 | let d = split(asset.description, "_") | |
2043 | 2062 | let continent = d[recContinent] | |
2044 | 2063 | if (if ((acc._3 != "")) | |
2045 | 2064 | then (acc._3 != continent) | |
2046 | 2065 | else false) | |
2047 | 2066 | then throw("Lands should be on the same continent to merge") | |
2048 | 2067 | else { | |
2049 | 2068 | let landSize = d[recLandSize] | |
2050 | 2069 | let sizesIn = acc._1 | |
2051 | 2070 | let i = valueOrErrorMessage(indexOf(sizesIn, landSize), "You haven't passed all the lands needed") | |
2052 | 2071 | let sizesOut = (take(sizesIn, i) + drop(sizesIn, (i + 1))) | |
2053 | 2072 | let pieces = numPiecesBySize(landSize) | |
2054 | 2073 | let arts = (acc._2 + valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0)) | |
2055 | 2074 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
2056 | 2075 | let reqLevel = match landSize { | |
2057 | 2076 | case _ => | |
2058 | 2077 | if (("S" == $match0)) | |
2059 | 2078 | then 3 | |
2060 | 2079 | else if (("M" == $match0)) | |
2061 | 2080 | then 4 | |
2062 | 2081 | else if (("L" == $match0)) | |
2063 | 2082 | then 5 | |
2064 | 2083 | else if (("XL" == $match0)) | |
2065 | 2084 | then 6 | |
2066 | 2085 | else throw("Only S, M, L, XL can merge") | |
2067 | 2086 | } | |
2068 | 2087 | if ((infraLevel != reqLevel)) | |
2069 | 2088 | then throw("All lands should be maxed to merge") | |
2070 | 2089 | else { | |
2071 | 2090 | let landNum = d[recLandNum] | |
2072 | 2091 | let terrainCounts = countTerrains(d[recTerrains]) | |
2073 | 2092 | let deltaTime = (lastBlock.timestamp - savedTime) | |
2074 | 2093 | if ((0 > deltaTime)) | |
2075 | 2094 | then throw(((("Saved timestamp is in future, saved = " + toString(savedTime)) + ", current = ") + toString(lastBlock.timestamp))) | |
2076 | 2095 | else { | |
2077 | 2096 | let dailyProductionByPiece = applyBonuses(landAssetId, pieces) | |
2078 | 2097 | let landIndex = (pieces / SSIZE) | |
2079 | 2098 | let bpRes = addRes(split(acc._4, "_"), terrainCounts, deltaTime, landIndex, dailyProductionByPiece) | |
2080 | 2099 | let props = updateProportionsInternal(acc._6, terrainCounts, landIndex, -1) | |
2081 | 2100 | let cProps = updateProportionsInternal(acc._10, terrainCounts, landIndex, -1) | |
2082 | 2101 | let sumTerrains = updateProportionsInternal(acc._9, terrainCounts, landIndex, 1) | |
2083 | 2102 | let lands = acc._7 | |
2084 | 2103 | let idx = indexOf(lands, landAssetId) | |
2085 | 2104 | if (!(isDefined(idx))) | |
2086 | 2105 | then throw(("Your staked lands don't contain " + landAssetId)) | |
2087 | 2106 | else { | |
2088 | 2107 | let customKey = keyLandAssetIdToCustomName(landAssetId) | |
2089 | 2108 | let customName = valueOrElse(getString(customKey), "") | |
2090 | 2109 | $Tuple10(sizesOut, arts, continent, bpRes, ((((((((((((acc._5 :+ DeleteEntry(keyStakedTimeByAssetId(landAssetId))) :+ DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, addr))) :+ DeleteEntry(keyLandToAssetId(landNum))) :+ DeleteEntry(keyLandAssetIdToOwner(landAssetId))) :+ DeleteEntry(keyInfraLevelByAssetId(landAssetId))) :+ DeleteEntry(keyInfraLevelByAssetIdAndOwner(landAssetId, addr))) :+ DeleteEntry(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId))) :+ DeleteEntry(keyLandNumToOwner(landNum))) :+ DeleteEntry(keyWarehouseByLand(landAssetId))) :+ DeleteEntry(customKey)) :+ Burn(fromBase58String(landAssetId), 1)) ++ (if ((customName != "")) | |
2091 | 2110 | then [DeleteEntry(keyLandCustomNameToAssetId(customName))] | |
2092 | 2111 | else nil)), props, removeByIndex(lands, value(idx)), (acc._8 + pieces), sumTerrains, cProps) | |
2093 | 2112 | } | |
2094 | 2113 | } | |
2095 | 2114 | } | |
2096 | 2115 | } | |
2097 | 2116 | } | |
2098 | 2117 | } | |
2099 | 2118 | ||
2100 | 2119 | let bpKey = keyBackpackByDuck(duckAssetId) | |
2101 | 2120 | let currentPack = getBackpack(bpKey) | |
2102 | 2121 | let propList = split(valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0"), "_") | |
2103 | 2122 | let landsKey = keyStakedLandsByOwner(addr) | |
2104 | 2123 | let landsStr = getString(landsKey) | |
2105 | 2124 | let landsIn = if (isDefined(landsStr)) | |
2106 | 2125 | then split_51C(value(landsStr), "_") | |
2107 | 2126 | else nil | |
2108 | 2127 | let cont0 = split(value(assetInfo(fromBase58String(landAssetIds[0]))).description, "_")[recContinent] | |
2109 | 2128 | let contProps = split(valueOrElse(getString(keyResTypesByContinent(cont0)), "0_0_0_0_0_0"), "_") | |
2110 | 2129 | let r = { | |
2111 | 2130 | let $l = landAssetIds | |
2112 | 2131 | let $s = size($l) | |
2113 | 2132 | let $acc0 = $Tuple10(formula, 0, "", currentPack[bpIdxRes], nil, propList, landsIn, 0, split("0_0_0_0_0_0", "_"), contProps) | |
2114 | 2133 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
2115 | 2134 | then $a | |
2116 | 2135 | else checkMerge($a, $l[$i]) | |
2117 | 2136 | ||
2118 | 2137 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
2119 | 2138 | then $a | |
2120 | 2139 | else throw("List size exceeds 5") | |
2121 | 2140 | ||
2122 | 2141 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) | |
2123 | 2142 | } | |
2124 | 2143 | let continent = r._3 | |
2125 | 2144 | let continentIdx = valueOrErrorMessage(indexOf(continents, continent), ("Unknown continent: " + continent)) | |
2126 | 2145 | let terrains = genTerrainsForMerge(r._9, (numPiecesBySize(newLandSize) / SSIZE)) | |
2127 | 2146 | let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1)) | |
2128 | 2147 | let newLandNum = toString(freeNum) | |
2129 | 2148 | let issue = Issue(nftName(newLandNum, newLandSize), makeString([newLandNum, newLandSize, terrains, continent], "_"), 1, 0, false) | |
2130 | 2149 | let assetId = calculateAssetId(issue) | |
2131 | 2150 | let newLandAssetId = toBase58String(assetId) | |
2132 | 2151 | let newMat = makeString(subtractMaterials((needMat > 0), split(currentPack[bpIdxMat], "_"), needMat), "_") | |
2133 | 2152 | let piecesKey = keyStakedPiecesByOwner(addr) | |
2134 | 2153 | let stakedPieces = valueOrElse(getInteger(piecesKey), 0) | |
2135 | 2154 | $Tuple2((((((((((((((((r._5 :+ (if ((size(r._7) > 0)) | |
2136 | 2155 | then StringEntry(landsKey, makeString_11C(r._7, "_")) | |
2137 | 2156 | else DeleteEntry(landsKey))) :+ IntegerEntry(piecesKey, if ((r._8 > stakedPieces)) | |
2138 | 2157 | then 0 | |
2139 | 2158 | else (stakedPieces - r._8))) :+ IntegerEntry(keyNextFreeLandNum(), (freeNum + 1))) :+ issue) :+ StringEntry(keyLandToAssetId(newLandNum), newLandAssetId)) :+ StringEntry(keyLandAssetIdToOwner(newLandAssetId), addr)) :+ StringEntry(keyLandNumToOwner(newLandNum), addr)) :+ IntegerEntry(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, newLandAssetId), r._2)) :+ IntegerEntry(keyInfraLevelByAssetId(newLandAssetId), newLevel)) :+ IntegerEntry(keyInfraLevelByAssetIdAndOwner(newLandAssetId, addr), newLevel)) :+ StringEntry(bpKey, makeString([currentPack[bpIdxLevel], r._4, newMat, currentPack[bpIdxProd]], ":"))) :+ StringEntry(keyResProportions(), makeString(r._6, "_"))) :+ StringEntry(keyResTypesByContinent(continent), makeString(r._10, "_"))) :+ StringEntry(keyDuckLocation(duckAssetId), makeString([continent, "L", newLandAssetId], "_"))) :+ ScriptTransfer(addressFromStringValue(addr), 1, assetId)), newLandAssetId) | |
2140 | 2159 | } | |
2141 | 2160 | } | |
2142 | 2161 | ||
2143 | 2162 | ||
2144 | 2163 | func s2m (addr,landAssetIds) = mergeInternal("M", 3, "SSSS", addr, landAssetIds, 0) | |
2145 | 2164 | ||
2146 | 2165 | ||
2147 | 2166 | func m2l (addr,landAssetIds) = mergeInternal("L", 4, "SMM", addr, landAssetIds, (InfraUpgradeCostS * 4)) | |
2148 | 2167 | ||
2149 | 2168 | ||
2150 | 2169 | func l2xl (addr,landAssetIds) = mergeInternal("XL", 5, "SSSML", addr, landAssetIds, (InfraUpgradeCostS * 47)) | |
2151 | 2170 | ||
2152 | 2171 | ||
2153 | 2172 | func xl2xxl (addr,landAssetIds) = mergeInternal("XXL", 6, "LXL", addr, landAssetIds, (InfraUpgradeCostS * 54)) | |
2154 | 2173 | ||
2155 | 2174 | ||
2156 | 2175 | func mergeCommon (addr,landAssetIds) = match size(landAssetIds) { | |
2157 | 2176 | case _ => | |
2158 | 2177 | if ((4 == $match0)) | |
2159 | 2178 | then s2m(addr, landAssetIds) | |
2160 | 2179 | else if ((3 == $match0)) | |
2161 | 2180 | then m2l(addr, landAssetIds) | |
2162 | 2181 | else if ((5 == $match0)) | |
2163 | 2182 | then l2xl(addr, landAssetIds) | |
2164 | 2183 | else if ((2 == $match0)) | |
2165 | 2184 | then xl2xxl(addr, landAssetIds) | |
2166 | 2185 | else throw("Unknown merge") | |
2167 | 2186 | } | |
2168 | 2187 | ||
2169 | 2188 | ||
2170 | 2189 | func checkOutdatedDelivery (userAddr) = { | |
2171 | 2190 | let duck = getString(keyStakedDuckByOwner(userAddr)) | |
2172 | 2191 | if (isDefined(duck)) | |
2173 | 2192 | then { | |
2174 | 2193 | let duckAssetId = value(duck) | |
2175 | 2194 | let locKey = keyDuckLocation(duckAssetId) | |
2176 | 2195 | let loc = split(valueOrElse(getString(locKey), DEFAULTLOCATION), "_") | |
2177 | 2196 | let startTime = parseIntValue(loc[locIdxContinent]) | |
2178 | 2197 | if (if ((loc[locIdxType] != "D")) | |
2179 | 2198 | then true | |
2180 | 2199 | else ((startTime + TEN_MINUTES_MILLIS) > lastBlock.timestamp)) | |
2181 | 2200 | then nil | |
2182 | 2201 | else { | |
2183 | 2202 | let healthKey = keyDuckHealth(duckAssetId) | |
2184 | 2203 | if ((parseIntValue(loc[locIdxId]) > 0)) | |
2185 | 2204 | then { | |
2186 | 2205 | let reward = invoke(economyContract, "sendDeliveryReward", [userAddr], nil) | |
2187 | 2206 | if ((reward == reward)) | |
2188 | 2207 | then nil | |
2189 | 2208 | else throw("Strict value is not equal to itself.") | |
2190 | 2209 | } | |
2191 | 2210 | else ({ | |
2192 | 2211 | let lockedTotal = valueOrElse(getInteger(economyContract, deliveryLockedKey), 0) | |
2193 | 2212 | let unlock = invoke(economyContract, "updateDeliveryLocked", [(lockedTotal - MIN_USDT_FEE_DELIVERY)], nil) | |
2194 | 2213 | if ((unlock == unlock)) | |
2195 | 2214 | then if ((0 >= getIntegerValue(healthKey))) | |
2196 | 2215 | then nil | |
2197 | 2216 | else { | |
2198 | 2217 | let punishment = invoke(this, "saveInteger", [keyDeliveryDelayByDuck(duckAssetId), (startTime + DELIVERY_PUNISHMENT)], nil) | |
2199 | 2218 | if ((punishment == punishment)) | |
2200 | 2219 | then nil | |
2201 | 2220 | else throw("Strict value is not equal to itself.") | |
2202 | 2221 | } | |
2203 | 2222 | else throw("Strict value is not equal to itself.") | |
2204 | 2223 | } :+ StringEntry(locKey, getStringValue(keySavedLocation(duckAssetId)))) | |
2205 | 2224 | } | |
2206 | 2225 | } | |
2207 | 2226 | else nil | |
2208 | 2227 | } | |
2209 | 2228 | ||
2210 | 2229 | ||
2211 | 2230 | func prolog (i) = if (if ((i.originCaller != restContract)) | |
2212 | 2231 | then valueOrElse(getBoolean(keyBlocked()), false) | |
2213 | 2232 | else false) | |
2214 | 2233 | then throw("Contracts are under maintenance") | |
2215 | 2234 | else { | |
2216 | 2235 | let userAddr = toString(i.originCaller) | |
2217 | 2236 | (checkOutdatedDelivery(userAddr) :+ StringEntry(keyLastTxIdByUser(userAddr), toBase58String(i.transactionId))) | |
2218 | 2237 | } | |
2219 | 2238 | ||
2220 | 2239 | ||
2221 | 2240 | func prologFlight (i) = if (if ((i.originCaller != restContract)) | |
2222 | 2241 | then valueOrElse(getBoolean(keyBlocked()), false) | |
2223 | 2242 | else false) | |
2224 | 2243 | then throw("Contracts are under maintenance") | |
2225 | 2244 | else [StringEntry(keyLastTxIdByUser(toString(i.originCaller)), toBase58String(i.transactionId))] | |
2226 | 2245 | ||
2227 | 2246 | ||
2228 | 2247 | @Callable(i) | |
2229 | 2248 | func constructorV1 (restAddr) = if ((i.caller != this)) | |
2230 | 2249 | then throw("Permission denied") | |
2231 | 2250 | else [StringEntry(keyRestAddress(), restAddr)] | |
2232 | 2251 | ||
2233 | 2252 | ||
2234 | 2253 | ||
2235 | 2254 | @Callable(i) | |
2236 | 2255 | func saveInteger (key,amount) = if ((i.caller != this)) | |
2237 | 2256 | then throw("saveInteger is not public method") | |
2238 | 2257 | else [IntegerEntry(key, amount)] | |
2239 | 2258 | ||
2240 | 2259 | ||
2241 | 2260 | ||
2242 | 2261 | @Callable(i) | |
2243 | 2262 | func setBlocked (isBlocked) = if ((i.caller != this)) | |
2244 | 2263 | then throw("permission denied") | |
2245 | 2264 | else [BooleanEntry(keyBlocked(), isBlocked)] | |
2246 | 2265 | ||
2247 | 2266 | ||
2248 | 2267 | ||
2249 | 2268 | @Callable(i) | |
2250 | 2269 | func stakeLand () = { | |
2251 | 2270 | let prologActions = prolog(i) | |
2252 | 2271 | if ((size(i.payments) != 1)) | |
2253 | 2272 | then throw("Exactly one payment required") | |
2254 | 2273 | else { | |
2255 | 2274 | let pmt = value(i.payments[0]) | |
2256 | 2275 | let assetId = value(pmt.assetId) | |
2257 | 2276 | let address = toString(i.caller) | |
2258 | 2277 | if ((pmt.amount != 1)) | |
2259 | 2278 | then throw((("NFT " + LANDPREFIX) + " token should be attached as payment")) | |
2260 | 2279 | else { | |
2261 | 2280 | let asset = value(assetInfo(assetId)) | |
2262 | 2281 | if ((asset.issuer != this)) | |
2263 | 2282 | then throw("Unknown issuer of token") | |
2264 | 2283 | else if (!(contains(asset.name, LANDPREFIX))) | |
2265 | 2284 | then throw((("Only NFT " + LANDPREFIX) + " tokens are accepted")) | |
2266 | 2285 | else { | |
2267 | 2286 | let landNumSize = drop(asset.name, 4) | |
2268 | 2287 | let landNum = if (contains(landNumSize, "XXL")) | |
2269 | 2288 | then dropRight(landNumSize, 3) | |
2270 | 2289 | else if (contains(landNumSize, "XL")) | |
2271 | 2290 | then dropRight(landNumSize, 2) | |
2272 | 2291 | else dropRight(landNumSize, 1) | |
2273 | 2292 | if (!(isDefined(parseInt(landNum)))) | |
2274 | 2293 | then throw(("Cannot parse land number from " + asset.name)) | |
2275 | 2294 | else { | |
2276 | 2295 | let landAssetId = toBase58String(assetId) | |
2277 | 2296 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
2278 | 2297 | if (isDefined(getInteger(timeKey))) | |
2279 | 2298 | then throw((("NFT " + asset.name) + " is already staked")) | |
2280 | 2299 | else { | |
2281 | 2300 | let d = split(asset.description, "_") | |
2282 | 2301 | let terrainCounts = countTerrains(d[recTerrains]) | |
2283 | 2302 | let pieces = numPiecesBySize(d[recLandSize]) | |
2284 | 2303 | let landIndex = (pieces / SSIZE) | |
2285 | 2304 | let props = updateProportions(terrainCounts, landIndex, 1) | |
2286 | 2305 | let resByContKey = keyResTypesByContinent(d[recContinent]) | |
2287 | 2306 | let contProps = split(valueOrElse(getString(resByContKey), "0_0_0_0_0_0"), "_") | |
2288 | 2307 | let updatedContProps = makeString(updateProportionsInternal(contProps, terrainCounts, landIndex, 1), "_") | |
2289 | 2308 | let landsKey = keyStakedLandsByOwner(address) | |
2290 | 2309 | let landsStr = getString(landsKey) | |
2291 | 2310 | let lands = if (isDefined(landsStr)) | |
2292 | 2311 | then split_51C(value(landsStr), "_") | |
2293 | 2312 | else nil | |
2294 | 2313 | if (containsElement(lands, landAssetId)) | |
2295 | 2314 | then throw(("Your staked lands already contain " + landAssetId)) | |
2296 | 2315 | else if ((size(lands) >= MAX_LANDS_STAKED_BY_USER)) | |
2297 | 2316 | then throw((("Your already staked max (" + toString(MAX_LANDS_STAKED_BY_USER)) + ") lands")) | |
2298 | 2317 | else { | |
2299 | 2318 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
2300 | 2319 | let piecesKey = keyStakedPiecesByOwner(address) | |
2301 | 2320 | let oldPieces = valueOrElse(getInteger(piecesKey), 0) | |
2302 | 2321 | let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address], nil) | |
2303 | 2322 | $Tuple2(([IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, address), lastBlock.timestamp), StringEntry(landsKey, makeString_11C((lands :+ landAssetId), "_")), IntegerEntry(piecesKey, (oldPieces + pieces)), StringEntry(keyLandAssetIdToOwner(landAssetId), address), StringEntry(keyLandNumToOwner(landNum), address), IntegerEntry(keyInfraLevelByAssetIdAndOwner(landAssetId, address), infraLevel), StringEntry(keyResProportions(), props), StringEntry(resByContKey, updatedContProps)] ++ prologActions), wlgResult) | |
2304 | 2323 | } | |
2305 | 2324 | } | |
2306 | 2325 | } | |
2307 | 2326 | } | |
2308 | 2327 | } | |
2309 | 2328 | } | |
2310 | 2329 | } | |
2311 | 2330 | ||
2312 | 2331 | ||
2313 | 2332 | ||
2314 | 2333 | @Callable(i) | |
2315 | 2334 | func unstakeLand (landAssetIdIn) = { | |
2316 | 2335 | let prologActions = prolog(i) | |
2317 | 2336 | if ((size(i.payments) != 0)) | |
2318 | 2337 | then throw("No payments required") | |
2319 | 2338 | else { | |
2320 | 2339 | let addr = toString(i.caller) | |
2321 | 2340 | let c = checkClaimConditions(addr, claimModeDuck, landAssetIdIn) | |
2322 | 2341 | let landAssetId = c._2 | |
2323 | 2342 | let d = c._3 | |
2324 | 2343 | let landsKey = keyStakedLandsByOwner(addr) | |
2325 | 2344 | let terrainCounts = countTerrains(d[recTerrains]) | |
2326 | 2345 | let pieces = numPiecesBySize(d[recLandSize]) | |
2327 | 2346 | let landIndex = (pieces / SSIZE) | |
2328 | 2347 | let props = updateProportions(terrainCounts, landIndex, -1) | |
2329 | 2348 | let resByContKey = keyResTypesByContinent(d[recContinent]) | |
2330 | 2349 | let contProps = split(valueOrElse(getString(resByContKey), "0_0_0_0_0_0"), "_") | |
2331 | 2350 | let updatedContProps = makeString(updateProportionsInternal(contProps, terrainCounts, landIndex, -1), "_") | |
2332 | 2351 | let claimResult = claimAll(addr, landAssetId, pieces, claimModeDuck) | |
2333 | 2352 | let lands = split_51C(valueOrElse(getString(landsKey), ""), "_") | |
2334 | 2353 | let idx = indexOf(lands, landAssetId) | |
2335 | 2354 | if (!(isDefined(idx))) | |
2336 | 2355 | then throw(("Your staked lands don't contain " + landAssetId)) | |
2337 | 2356 | else { | |
2338 | 2357 | let now = lastBlock.timestamp | |
2339 | 2358 | let govReleaseTime = valueOrElse(getInteger(govContract, keyUserGwlReleaseTime(addr)), 0) | |
2340 | 2359 | if ((govReleaseTime >= now)) | |
2341 | 2360 | then throw(("Your gWL are taking part in voting, cannot unstake until " + toString(govReleaseTime))) | |
2342 | 2361 | else { | |
2343 | 2362 | let arbReleaseTime = (valueOrElse(getInteger(wlgContract, keyLastArbTimeByUser(addr)), 0) + arbitrageDelay) | |
2344 | 2363 | if ((arbReleaseTime > now)) | |
2345 | 2364 | then throw(("Your staked lands took part in arbitrage, cannot unstake until " + toString(arbReleaseTime))) | |
2346 | 2365 | else { | |
2347 | 2366 | let piecesKey = keyStakedPiecesByOwner(addr) | |
2348 | 2367 | let stakedPieces = valueOrElse(getInteger(piecesKey), 0) | |
2349 | 2368 | let newPieces = if ((pieces > stakedPieces)) | |
2350 | 2369 | then 0 | |
2351 | 2370 | else (stakedPieces - pieces) | |
2352 | 2371 | let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [addr], nil) | |
2353 | 2372 | $Tuple2(([ScriptTransfer(i.caller, 1, fromBase58String(landAssetId)), DeleteEntry(keyStakedTimeByAssetId(landAssetId)), DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, addr)), StringEntry(keyResProportions(), props), StringEntry(resByContKey, updatedContProps), StringEntry(claimResult._2, makeString(claimResult._3, ":")), if ((size(lands) > 1)) | |
2354 | 2373 | then StringEntry(landsKey, makeString_11C(removeByIndex(lands, value(idx)), "_")) | |
2355 | 2374 | else DeleteEntry(landsKey), IntegerEntry(piecesKey, newPieces)] ++ prologActions), wlgResult) | |
2356 | 2375 | } | |
2357 | 2376 | } | |
2358 | 2377 | } | |
2359 | 2378 | } | |
2360 | 2379 | } | |
2361 | 2380 | ||
2362 | 2381 | ||
2363 | 2382 | ||
2364 | 2383 | @Callable(i) | |
2365 | 2384 | func stakeDuck () = { | |
2366 | 2385 | let prologActions = prolog(i) | |
2367 | 2386 | if ((size(i.payments) != 1)) | |
2368 | 2387 | then throw("Exactly one payment required") | |
2369 | 2388 | else { | |
2370 | 2389 | let pmt = value(i.payments[0]) | |
2371 | 2390 | let assetId = value(pmt.assetId) | |
2372 | 2391 | let address = toString(i.caller) | |
2373 | 2392 | if ((pmt.amount != 1)) | |
2374 | 2393 | then throw((("NFT " + DUCKPREFIX) + " token should be attached as payment")) | |
2375 | 2394 | else { | |
2376 | 2395 | let asset = value(assetInfo(assetId)) | |
2377 | - | if (if ((asset.issuer != incubatorAddr)) | |
2396 | + | let isRobo = if (if (KS_ALLOW_ROBO_DUCKS) | |
2397 | + | then (asset.issuer == this) | |
2398 | + | else false) | |
2399 | + | then contains(asset.name, ROBO_PREFIX) | |
2400 | + | else false | |
2401 | + | if (if (if ((asset.issuer != incubatorAddr)) | |
2378 | 2402 | then (asset.issuer != breederAddr) | |
2379 | 2403 | else false) | |
2380 | - | then throw((("Unknown issuer of " + DUCKPREFIX) + " token")) | |
2381 | - | else if (!(contains(asset.name, DUCKPREFIX))) | |
2382 | - | then throw((("Only NFT " + DUCKPREFIX) + " tokens are accepted")) | |
2404 | + | then !(isRobo) | |
2405 | + | else false) | |
2406 | + | then throw((((("Unknown issuer of " + DUCKPREFIX) + " or ") + ROBO_PREFIX) + " token")) | |
2407 | + | else if (if (!(contains(asset.name, DUCKPREFIX))) | |
2408 | + | then !(isRobo) | |
2409 | + | else false) | |
2410 | + | then throw((((("Only NFT " + DUCKPREFIX) + " or ") + ROBO_PREFIX) + " tokens are accepted")) | |
2383 | 2411 | else { | |
2384 | 2412 | let assetIdStr = toBase58String(assetId) | |
2385 | 2413 | let timeKey = keyStakedTimeByAssetId(assetIdStr) | |
2386 | 2414 | if (isDefined(getInteger(timeKey))) | |
2387 | 2415 | then throw((("NFT " + asset.name) + " is already staked")) | |
2388 | 2416 | else if (isDefined(getString(keyStakedDuckByOwner(address)))) | |
2389 | 2417 | then throw(("You already staked one duck: " + asset.name)) | |
2390 | 2418 | else { | |
2391 | 2419 | let locKey = keyDuckLocation(assetIdStr) | |
2392 | 2420 | let location = getString(locKey) | |
2393 | 2421 | let bpKey = keyBackpackByDuck(assetIdStr) | |
2394 | 2422 | let backpack = getString(bpKey) | |
2395 | 2423 | let keyHealth = keyDuckHealth(assetIdStr) | |
2396 | 2424 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(assetIdStr)), 0)) | |
2397 | 2425 | let curHealth = valueOrElse(getInteger(keyHealth), maxHP) | |
2398 | 2426 | ([IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, toBase58String(assetId), address), lastBlock.timestamp), StringEntry(keyDuckIdToOwner(assetIdStr), address), StringEntry(keyStakedDuckByOwner(address), assetIdStr)] ++ (if (isDefined(location)) | |
2399 | 2427 | then nil | |
2400 | 2428 | else ([StringEntry(locKey, DEFAULTLOCATION)] ++ (if (isDefined(backpack)) | |
2401 | 2429 | then nil | |
2402 | 2430 | else (([StringEntry(bpKey, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(keyHealth, curHealth)) ++ prologActions))))) | |
2403 | 2431 | } | |
2404 | 2432 | } | |
2405 | 2433 | } | |
2406 | 2434 | } | |
2407 | 2435 | } | |
2408 | 2436 | ||
2409 | 2437 | ||
2410 | 2438 | ||
2411 | 2439 | @Callable(i) | |
2412 | 2440 | func unstakeDuck (assetIdStr) = { | |
2413 | 2441 | let prologActions = prolog(i) | |
2414 | 2442 | if ((size(i.payments) != 0)) | |
2415 | 2443 | then throw("No payments required") | |
2416 | 2444 | else { | |
2417 | 2445 | let assetId = fromBase58String(assetIdStr) | |
2418 | 2446 | let address = toString(i.caller) | |
2419 | 2447 | let asset = value(assetInfo(assetId)) | |
2420 | 2448 | let timeKey = keyStakedTimeByAssetId(assetIdStr) | |
2421 | 2449 | if (!(isDefined(getInteger(timeKey)))) | |
2422 | 2450 | then throw((("NFT " + asset.name) + " is not staked")) | |
2423 | 2451 | else if (!(isDefined(getString(keyStakedDuckByOwner(address))))) | |
2424 | 2452 | then throw((("The duck " + asset.name) + " is not staked")) | |
2425 | 2453 | else { | |
2426 | 2454 | let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetIdStr)), (("NFT " + asset.name) + " is orphaned")) | |
2427 | 2455 | if ((owner != address)) | |
2428 | 2456 | then throw("Staked NFT is not yours") | |
2429 | 2457 | else if (checkTournament(assetIdStr)) | |
2430 | 2458 | then throw("unstakeDuck_checkTournament") | |
2431 | 2459 | else if (checkDelivery(assetIdStr)) | |
2432 | 2460 | then throw("unstakeDuck_checkDelivery") | |
2433 | 2461 | else { | |
2434 | 2462 | let keyHealth = keyDuckHealth(assetIdStr) | |
2435 | 2463 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(assetIdStr)), 0)) | |
2436 | 2464 | let health = valueOrElse(getInteger(keyHealth), maxHP) | |
2437 | 2465 | if ((maxHP > health)) | |
2438 | 2466 | then throw((("Please heal your duck to " + toString(maxHP)) + "hp before unstaking")) | |
2439 | 2467 | else ([ScriptTransfer(i.caller, 1, assetId), DeleteEntry(timeKey), DeleteEntry(keyHealth), DeleteEntry(keyDuckLocation(assetIdStr)), DeleteEntry(keyDuckIdToOwner(assetIdStr)), DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, assetIdStr, address)), DeleteEntry(keyStakedDuckByOwner(address))] ++ prologActions) | |
2440 | 2468 | } | |
2441 | 2469 | } | |
2442 | 2470 | } | |
2443 | 2471 | } | |
2444 | 2472 | ||
2445 | 2473 | ||
2446 | 2474 | ||
2447 | 2475 | @Callable(i) | |
2448 | 2476 | func claimRes (amount,landAssetIdStr) = { | |
2449 | 2477 | let prologActions = prolog(i) | |
2450 | 2478 | if ((size(i.payments) != 0)) | |
2451 | 2479 | then throw("No payments required") | |
2452 | 2480 | else { | |
2453 | 2481 | let addr = toString(i.originCaller) | |
2454 | 2482 | let result = claimResInternal(addr, amount, claimModeDuck, landAssetIdStr) | |
2455 | 2483 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
2456 | 2484 | $Tuple2(((((result._1 ++ updateDuckStatsInternal(duckAssetId, fraction(xpClaim, amount, MULT8))._1) :+ StringEntry(result._2, makeString(result._3, ":"))) :+ StringEntry(result._4, makeString(result._5, ":"))) ++ prologActions), result._3[bpIdxRes]) | |
2457 | 2485 | } | |
2458 | 2486 | } | |
2459 | 2487 | ||
2460 | 2488 | ||
2461 | 2489 | ||
2462 | 2490 | @Callable(i) | |
2463 | 2491 | func claimResToWH (amount,landAssetIdStr) = { | |
2464 | 2492 | let prologActions = prolog(i) | |
2465 | 2493 | if ((size(i.payments) != 0)) | |
2466 | 2494 | then throw("No payments required") | |
2467 | 2495 | else { | |
2468 | 2496 | let addr = toString(i.originCaller) | |
2469 | 2497 | let result = claimResInternal(addr, amount, claimModeWh, landAssetIdStr) | |
2470 | 2498 | $Tuple2(((((result._1 ++ updateAccStatsInternal(addr, fraction(xpClaim, amount, MULT8))._1) :+ StringEntry(result._2, makeString(result._3, ":"))) :+ StringEntry(result._4, makeString(result._5, ":"))) ++ prologActions), result._5[whIdxRes]) | |
2471 | 2499 | } | |
2472 | 2500 | } | |
2473 | 2501 | ||
2474 | 2502 | ||
2475 | 2503 | ||
2476 | 2504 | @Callable(i) | |
2477 | 2505 | func flight (message,sig) = { | |
2478 | 2506 | let prologActions = prologFlight(i) | |
2479 | 2507 | if ((size(i.payments) != 0)) | |
2480 | 2508 | then throw("No payments required") | |
2481 | 2509 | else { | |
2482 | 2510 | let userAddr = toString(i.caller) | |
2483 | 2511 | let f = flightCommon(userAddr, message, sig) | |
2484 | 2512 | let newHP = f._1 | |
2485 | 2513 | let duckAssetId = f._2 | |
2486 | 2514 | let locKey = keyDuckLocation(duckAssetId) | |
2487 | 2515 | let curLocation = valueOrElse(getString(locKey), DEFAULTLOCATION) | |
2488 | 2516 | let newLocation = f._4 | |
2489 | 2517 | if ((newLocation == curLocation)) | |
2490 | 2518 | then throw("You can't fly to the same location") | |
2491 | 2519 | else { | |
2492 | 2520 | let newLoc = split(newLocation, "_") | |
2493 | 2521 | let isTour = (newLoc[locIdxType] == "T") | |
2494 | 2522 | let isDeliv = (newLoc[locIdxType] == "D") | |
2495 | 2523 | let eqKey = keyDuckEquipment(duckAssetId) | |
2496 | 2524 | let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,") | |
2497 | - | let $ | |
2498 | - | let newEq = $ | |
2499 | - | let shouldZeroBuffs = $ | |
2500 | - | let $ | |
2525 | + | let $t07065470751 = subtractEquipment(currentEq, f._5) | |
2526 | + | let newEq = $t07065470751._1 | |
2527 | + | let shouldZeroBuffs = $t07065470751._2 | |
2528 | + | let $t07075473866 = if (!(onMission(tournamentContract, curLocation))) | |
2501 | 2529 | then if (!(isUsualLocation(newLocation))) | |
2502 | 2530 | then cheatAttempt(curLocation, newLocation, 5) | |
2503 | 2531 | else if ((newHP > 0)) | |
2504 | 2532 | then $Tuple2(newLocation, newHP) | |
2505 | 2533 | else $Tuple2(curLocation, 0) | |
2506 | 2534 | else if (isInTournament(tournamentContract, curLocation)) | |
2507 | 2535 | then if (!(isInTournament(tournamentContract, newLocation))) | |
2508 | 2536 | then throw("Your duck is taking part in the tournament") | |
2509 | 2537 | else { | |
2510 | 2538 | let score = parseIntValue(newLoc[locIdxId]) | |
2511 | 2539 | let curLoc = split(curLocation, "_") | |
2512 | 2540 | let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0) | |
2513 | 2541 | if ((score != (parseIntValue(curLoc[locIdxId]) + 1))) | |
2514 | 2542 | then cheatAttempt(curLocation, newLocation, 7) | |
2515 | 2543 | else if ((newHP > 0)) | |
2516 | 2544 | then { | |
2517 | 2545 | let localBest = valueOrElse(getInteger(tournamentContract, keyBestResultByTourAndDuck(lastId, duckAssetId)), 0) | |
2518 | 2546 | let updLocal = if ((score > localBest)) | |
2519 | 2547 | then invoke(tournamentContract, "saveDuckResult", [duckAssetId, score], nil) | |
2520 | 2548 | else unit | |
2521 | 2549 | if ((updLocal == updLocal)) | |
2522 | 2550 | then $Tuple2(newLocation, newHP) | |
2523 | 2551 | else throw("Strict value is not equal to itself.") | |
2524 | 2552 | } | |
2525 | 2553 | else $Tuple2(curLocation, 0) | |
2526 | 2554 | } | |
2527 | 2555 | else if (!(isInDelivery(curLocation))) | |
2528 | 2556 | then { | |
2529 | 2557 | let savedLoc = asString(invoke(this, "autoExitDelivery", [duckAssetId, newHP, if (isDeliv) | |
2530 | 2558 | then "10" | |
2531 | 2559 | else "11", 0], nil)) | |
2532 | 2560 | if ((savedLoc == savedLoc)) | |
2533 | 2561 | then if (isDeliv) | |
2534 | 2562 | then $Tuple2(savedLoc, newHP) | |
2535 | 2563 | else if ((newHP > 0)) | |
2536 | 2564 | then $Tuple2(newLocation, newHP) | |
2537 | 2565 | else $Tuple2(savedLoc, 0) | |
2538 | 2566 | else throw("Strict value is not equal to itself.") | |
2539 | 2567 | } | |
2540 | 2568 | else if (!(isDeliv)) | |
2541 | 2569 | then throw("Your duck is taking part in delivery") | |
2542 | 2570 | else if (!(isInDelivery(newLocation))) | |
2543 | 2571 | then cheatAttempt(curLocation, newLocation, 13) | |
2544 | 2572 | else { | |
2545 | 2573 | let score = parseIntValue(newLoc[locIdxId]) | |
2546 | 2574 | let curLoc = split(curLocation, "_") | |
2547 | 2575 | if ((score != (parseIntValue(curLoc[locIdxId]) + 1))) | |
2548 | 2576 | then cheatAttempt(curLocation, newLocation, 14) | |
2549 | 2577 | else if (if ((newHP > 0)) | |
2550 | 2578 | then (1 > score) | |
2551 | 2579 | else false) | |
2552 | 2580 | then $Tuple2(newLocation, newHP) | |
2553 | 2581 | else { | |
2554 | 2582 | let savedLoc = asString(invoke(this, "autoExitDelivery", [duckAssetId, newHP, "15-17", score], nil)) | |
2555 | 2583 | if ((savedLoc == savedLoc)) | |
2556 | 2584 | then $Tuple2(savedLoc, newHP) | |
2557 | 2585 | else throw("Strict value is not equal to itself.") | |
2558 | 2586 | } | |
2559 | 2587 | } | |
2560 | - | let locToSave = $ | |
2561 | - | let hpToSave = $ | |
2588 | + | let locToSave = $t07075473866._1 | |
2589 | + | let hpToSave = $t07075473866._2 | |
2562 | 2590 | $Tuple2(((([StringEntry(locKey, locToSave), StringEntry(eqKey, newEq), IntegerEntry(keyDuckHealth(duckAssetId), hpToSave)] ++ prologActions) ++ (if (shouldZeroBuffs) | |
2563 | 2591 | then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")] | |
2564 | 2592 | else nil)) ++ updateDuckStatsInternal(duckAssetId, if ((newHP > 0)) | |
2565 | 2593 | then xpSuccessFlight | |
2566 | 2594 | else xpFailFlight)._1), f._3) | |
2567 | 2595 | } | |
2568 | 2596 | } | |
2569 | 2597 | } | |
2570 | 2598 | ||
2571 | 2599 | ||
2572 | 2600 | ||
2573 | 2601 | @Callable(i) | |
2574 | 2602 | func heal (quantityL1,quantityL2,quantityL3) = { | |
2575 | 2603 | let prologActions = prolog(i) | |
2576 | 2604 | if (if (if ((0 > quantityL1)) | |
2577 | 2605 | then true | |
2578 | 2606 | else (0 > quantityL2)) | |
2579 | 2607 | then true | |
2580 | 2608 | else (0 > quantityL3)) | |
2581 | 2609 | then throw("Quantity cannot be negative") | |
2582 | 2610 | else { | |
2583 | 2611 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
2584 | 2612 | if (checkTournament(duckAssetId)) | |
2585 | 2613 | then throw("heal_checkTournament") | |
2586 | 2614 | else if (checkDelivery(duckAssetId)) | |
2587 | 2615 | then throw("heal_checkDelivery") | |
2588 | 2616 | else { | |
2589 | 2617 | let qts = [quantityL1, quantityL2, quantityL3] | |
2590 | 2618 | let keyHealth = keyDuckHealth(duckAssetId) | |
2591 | 2619 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0)) | |
2592 | 2620 | let oldHealth = valueOrElse(getInteger(keyHealth), maxHP) | |
2593 | 2621 | if ((oldHealth >= maxHP)) | |
2594 | 2622 | then throw((("HP should be < " + toString(maxHP)) + " to heal")) | |
2595 | 2623 | else { | |
2596 | 2624 | let bpKey = keyBackpackByDuck(duckAssetId) | |
2597 | 2625 | let currentPack = getBackpack(bpKey) | |
2598 | 2626 | let prodList = if ((currentPack[bpIdxProd] == "")) | |
2599 | 2627 | then nil | |
2600 | 2628 | else split_4C(currentPack[bpIdxProd], "_") | |
2601 | 2629 | func iterateProd (acc,recipe) = { | |
2602 | 2630 | let n = acc._2 | |
2603 | 2631 | let x = if ((size(prodList) > n)) | |
2604 | 2632 | then parseIntValue(prodList[n]) | |
2605 | 2633 | else 0 | |
2606 | 2634 | if ((3 > n)) | |
2607 | 2635 | then { | |
2608 | 2636 | let q = qts[n] | |
2609 | 2637 | if ((q > x)) | |
2610 | 2638 | then throw(((("You have only " + toString(x)) + " of ") + prodTypes[n])) | |
2611 | 2639 | else $Tuple3((acc._1 :+ toString((x - q))), (n + 1), (acc._3 + (parseIntValue(split(recipe, "_")[rIdxEffect]) * q))) | |
2612 | 2640 | } | |
2613 | 2641 | else $Tuple3((acc._1 :+ toString(x)), (n + 1), acc._3) | |
2614 | 2642 | } | |
2615 | 2643 | ||
2616 | 2644 | let result = { | |
2617 | 2645 | let $l = productionMatrix | |
2618 | 2646 | let $s = size($l) | |
2619 | 2647 | let $acc0 = $Tuple3(nil, 0, 0) | |
2620 | 2648 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
2621 | 2649 | then $a | |
2622 | 2650 | else iterateProd($a, $l[$i]) | |
2623 | 2651 | ||
2624 | 2652 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
2625 | 2653 | then $a | |
2626 | 2654 | else throw("List size exceeds 50") | |
2627 | 2655 | ||
2628 | 2656 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
2629 | 2657 | } | |
2630 | 2658 | let newHealth = min([maxHP, (oldHealth + result._3)]) | |
2631 | 2659 | $Tuple2((([IntegerEntry(keyHealth, newHealth), StringEntry(bpKey, makeString_2C([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], makeString(result._1, "_")], ":"))] ++ prologActions) ++ updateDuckStatsInternal(duckAssetId, (xpHeal * ((quantityL1 + quantityL2) + quantityL3)))._1), newHealth) | |
2632 | 2660 | } | |
2633 | 2661 | } | |
2634 | 2662 | } | |
2635 | 2663 | } | |
2636 | 2664 | ||
2637 | 2665 | ||
2638 | 2666 | ||
2639 | 2667 | @Callable(i) | |
2640 | 2668 | func healES () = { | |
2641 | 2669 | let prologActions = prolog(i) | |
2642 | 2670 | if ((size(i.payments) != 1)) | |
2643 | 2671 | then throw("Exactly one payment required") | |
2644 | 2672 | else { | |
2645 | 2673 | let pmt = value(i.payments[0]) | |
2646 | 2674 | if ((pmt.assetId != usdtAssetId)) | |
2647 | 2675 | then throw("Allowed USDT payment only!") | |
2648 | 2676 | else { | |
2649 | 2677 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
2650 | 2678 | if (checkTournament(duckAssetId)) | |
2651 | 2679 | then throw("healES_checkTournament") | |
2652 | 2680 | else if (checkDelivery(duckAssetId)) | |
2653 | 2681 | then throw("healES_checkDelivery") | |
2654 | 2682 | else { | |
2655 | 2683 | let keyHealth = keyDuckHealth(duckAssetId) | |
2656 | 2684 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0)) | |
2657 | 2685 | let oldHealth = valueOrElse(getInteger(keyHealth), maxHP) | |
2658 | 2686 | if ((oldHealth > 0)) | |
2659 | 2687 | then throw("HP should be 0 to call Emergency Service") | |
2660 | 2688 | else { | |
2661 | 2689 | let bpKey = keyBackpackByDuck(duckAssetId) | |
2662 | 2690 | let currentPack = getBackpack(bpKey) | |
2663 | 2691 | let prodList = if ((currentPack[bpIdxProd] == "")) | |
2664 | 2692 | then nil | |
2665 | 2693 | else split_4C(currentPack[bpIdxProd], "_") | |
2666 | 2694 | let medKitAmount1 = if ((size(prodList) > 0)) | |
2667 | 2695 | then parseIntValue(prodList[0]) | |
2668 | 2696 | else 0 | |
2669 | 2697 | let medKitAmount2 = if ((size(prodList) > 1)) | |
2670 | 2698 | then parseIntValue(prodList[1]) | |
2671 | 2699 | else 0 | |
2672 | 2700 | let medKitAmount3 = if ((size(prodList) > 2)) | |
2673 | 2701 | then parseIntValue(prodList[2]) | |
2674 | 2702 | else 0 | |
2675 | 2703 | if (if (if ((medKitAmount1 > 0)) | |
2676 | 2704 | then true | |
2677 | 2705 | else (medKitAmount2 > 0)) | |
2678 | 2706 | then true | |
2679 | 2707 | else (medKitAmount3 > 0)) | |
2680 | 2708 | then throw("You have to use own Medical Kit") | |
2681 | 2709 | else { | |
2682 | 2710 | let existStr = getString(economyContract, keyEsWarehouse()) | |
2683 | 2711 | let existAmounts = if (isDefined(existStr)) | |
2684 | 2712 | then split_4C(value(existStr), "_") | |
2685 | 2713 | else nil | |
2686 | 2714 | let existAmount = if ((size(existAmounts) > 0)) | |
2687 | 2715 | then parseIntValue(existAmounts[0]) | |
2688 | 2716 | else 0 | |
2689 | 2717 | if ((0 >= existAmount)) | |
2690 | 2718 | then throw("There are no Medical Kits L1 at Emergency Service storage") | |
2691 | 2719 | else { | |
2692 | 2720 | let newHealth = (oldHealth + parseIntValue(split(productionMatrix[0], "_")[rIdxEffect])) | |
2693 | 2721 | let newES = makeString([toString((existAmount - 1)), removeByIndex(existAmounts, 0)], "_") | |
2694 | 2722 | let recipe = split(productionMatrix[0], "_") | |
2695 | 2723 | let totalMat = getRecipeMaterials(recipe) | |
2696 | 2724 | let sellPrice = fraction((totalMat * ESSELLCOEF), RESOURCEPRICEMIN, (MULT8 * PRODUCTPKGSIZE)) | |
2697 | 2725 | if ((pmt.amount != sellPrice)) | |
2698 | 2726 | then throw(("Payment attached should be " + toString(sellPrice))) | |
2699 | 2727 | else { | |
2700 | 2728 | let result = asString(invoke(economyContract, "updateEsStorage", [newES], [AttachedPayment(usdtAssetId, sellPrice)])) | |
2701 | 2729 | $Tuple2(((prologActions :+ IntegerEntry(keyHealth, newHealth)) ++ updateDuckStatsInternal(duckAssetId, xpCallES)._1), result) | |
2702 | 2730 | } | |
2703 | 2731 | } | |
2704 | 2732 | } | |
2705 | 2733 | } | |
2706 | 2734 | } | |
2707 | 2735 | } | |
2708 | 2736 | } | |
2709 | 2737 | } | |
2710 | 2738 | ||
2711 | 2739 | ||
2712 | 2740 | ||
2713 | 2741 | @Callable(i) | |
2714 | 2742 | func updateBackpack (duckAssetId,newPack) = if ((i.caller != economyContract)) | |
2715 | 2743 | then throw("permission denied") | |
2716 | 2744 | else $Tuple2([StringEntry(keyBackpackByDuck(duckAssetId), newPack)], newPack) | |
2717 | 2745 | ||
2718 | 2746 | ||
2719 | 2747 | ||
2720 | 2748 | @Callable(i) | |
2721 | 2749 | func commitForRandom () = { | |
2722 | 2750 | let prologActions = prolog(i) | |
2723 | 2751 | let finishBlock = (height + randomDelay) | |
2724 | 2752 | let addr = toString(i.caller) | |
2725 | 2753 | $Tuple2(([IntegerEntry(keyCommit(addr), finishBlock)] ++ prologActions), finishBlock) | |
2726 | 2754 | } | |
2727 | 2755 | ||
2728 | 2756 | ||
2729 | 2757 | ||
2730 | 2758 | @Callable(i) | |
2731 | 2759 | func buySLand () = { | |
2732 | 2760 | let prologActions = prolog(i) | |
2733 | 2761 | if ((size(i.payments) != 1)) | |
2734 | 2762 | then throw("Exactly one payment required") | |
2735 | 2763 | else { | |
2736 | 2764 | let pmt = value(i.payments[0]) | |
2737 | 2765 | if ((pmt.assetId != usdtAssetId)) | |
2738 | 2766 | then throw("Allowed USDT payment only!") | |
2739 | 2767 | else if ((pmt.amount != EXPUSDT)) | |
2740 | 2768 | then throw(("Payment attached should be " + toString(EXPUSDT))) | |
2741 | 2769 | else { | |
2742 | 2770 | let result = expeditionInternal(i.caller, i.transactionId) | |
2743 | 2771 | let acresResult = asInt(invoke(acresContract, "burnAcres", [S_COST_ACRES], nil)) | |
2744 | 2772 | $Tuple2((((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) ++ prologActions), $Tuple2(result._2._1, acresResult)) | |
2745 | 2773 | } | |
2746 | 2774 | } | |
2747 | 2775 | } | |
2748 | 2776 | ||
2749 | 2777 | ||
2750 | 2778 | ||
2751 | 2779 | @Callable(i) | |
2752 | 2780 | func expedition (message,sig) = { | |
2753 | 2781 | let prologActions = prolog(i) | |
2754 | 2782 | if ((size(i.payments) != 0)) | |
2755 | 2783 | then throw("No payments required") | |
2756 | 2784 | else { | |
2757 | 2785 | let userAddr = toString(i.caller) | |
2758 | 2786 | let f = flightCommon(userAddr, message, sig) | |
2759 | 2787 | let duckAssetId = f._2 | |
2760 | 2788 | let keyHealth = keyDuckHealth(duckAssetId) | |
2761 | 2789 | let bpKey = keyBackpackByDuck(duckAssetId) | |
2762 | 2790 | let currentPack = getBackpack(bpKey) | |
2763 | 2791 | let mList = split(currentPack[bpIdxMat], "_") | |
2764 | 2792 | let newMat = makeString(subtractMaterials(true, mList, EXPMATERIALS), "_") | |
2765 | 2793 | let eqKey = keyDuckEquipment(duckAssetId) | |
2766 | 2794 | let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,") | |
2767 | - | let $ | |
2768 | - | let newEq = $ | |
2769 | - | let shouldZeroBuffs = $ | |
2795 | + | let $t08130681403 = subtractEquipment(currentEq, f._5) | |
2796 | + | let newEq = $t08130681403._1 | |
2797 | + | let shouldZeroBuffs = $t08130681403._2 | |
2770 | 2798 | let e = expeditionInternal(i.caller, i.transactionId) | |
2771 | 2799 | let id = e._2._1 | |
2772 | 2800 | let result = if ((0 >= f._1)) | |
2773 | 2801 | then $Tuple3([IntegerEntry(keyHealth, 0), StringEntry(eqKey, newEq)], "", 0) | |
2774 | 2802 | else $Tuple3((e._1 ++ (if (shouldZeroBuffs) | |
2775 | 2803 | then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")] | |
2776 | 2804 | else ((((nil :+ StringEntry(keyDuckLocation(duckAssetId), makeString([e._2._2, "L", id], "_"))) :+ IntegerEntry(keyHealth, f._1)) :+ StringEntry(eqKey, newEq)) :+ StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], newMat, currentPack[bpIdxProd]], ":"))))), id, f._3) | |
2777 | 2805 | if (checkTournament(duckAssetId)) | |
2778 | 2806 | then throw("expedition_checkTournament") | |
2779 | 2807 | else if (checkDelivery(duckAssetId)) | |
2780 | 2808 | then throw("expedition_checkDelivery") | |
2781 | 2809 | else { | |
2782 | 2810 | let acresResult = asInt(invoke(acresContract, "burnAcres", [S_COST_ACRES], nil)) | |
2783 | 2811 | $Tuple2(((result._1 ++ updateDuckStatsInternal(duckAssetId, xpNewSLand)._1) ++ prologActions), $Tuple3(result._2, result._3, acresResult)) | |
2784 | 2812 | } | |
2785 | 2813 | } | |
2786 | 2814 | } | |
2787 | 2815 | ||
2788 | 2816 | ||
2789 | 2817 | ||
2790 | 2818 | @Callable(i) | |
2791 | 2819 | func buySLandForAcres () = { | |
2792 | 2820 | let prologActions = prolog(i) | |
2793 | 2821 | if ((size(i.payments) != 1)) | |
2794 | 2822 | then throw("exactly 1 payment must be attached") | |
2795 | 2823 | else { | |
2796 | 2824 | let pmt = i.payments[0] | |
2797 | 2825 | let amt = pmt.amount | |
2798 | 2826 | if (if (!(isDefined(pmt.assetId))) | |
2799 | 2827 | then true | |
2800 | 2828 | else (value(pmt.assetId) != acresAssetId)) | |
2801 | 2829 | then throw("ACRES payments only!") | |
2802 | 2830 | else if ((amt != S_COST_ACRES)) | |
2803 | 2831 | then throw(("Payment attached should be " + toString(S_COST_ACRES))) | |
2804 | 2832 | else { | |
2805 | 2833 | let result = expeditionInternal(i.caller, i.transactionId) | |
2806 | 2834 | let acresResult = asInt(invoke(acresContract, "burnAcres", [S_COST_ACRES], [AttachedPayment(acresAssetId, amt)])) | |
2807 | 2835 | $Tuple2(((result._1 ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) ++ prologActions), $Tuple2(result._2._1, acresResult)) | |
2808 | 2836 | } | |
2809 | 2837 | } | |
2810 | 2838 | } | |
2811 | 2839 | ||
2812 | 2840 | ||
2813 | 2841 | ||
2814 | 2842 | @Callable(i) | |
2815 | 2843 | func upgradeInfra (landAssetId) = { | |
2816 | 2844 | let prologActions = prolog(i) | |
2817 | 2845 | if ((size(i.payments) != 0)) | |
2818 | 2846 | then throw("No payments required") | |
2819 | 2847 | else { | |
2820 | 2848 | let result = upInfraCommon(true, i.caller, 0, landAssetId) | |
2821 | 2849 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
2822 | 2850 | $Tuple2(((result._1 ++ prologActions) ++ updateDuckStatsInternal(duckAssetId, fraction(xpUpgradeInfra, result._3, MULT8))._1), result._2) | |
2823 | 2851 | } | |
2824 | 2852 | } | |
2825 | 2853 | ||
2826 | 2854 | ||
2827 | 2855 | ||
2828 | 2856 | @Callable(i) | |
2829 | 2857 | func activateArtifact (artName,landAssetIdOpt) = { | |
2830 | 2858 | let prologActions = prolog(i) | |
2831 | 2859 | if ((size(i.payments) != 0)) | |
2832 | 2860 | then throw("No payments required") | |
2833 | 2861 | else { | |
2834 | 2862 | let addr = toString(i.caller) | |
2835 | 2863 | let result = match artName { | |
2836 | 2864 | case _ => | |
2837 | 2865 | if (("PRESALE" == $match0)) | |
2838 | 2866 | then activatePresaleArt(addr, landAssetIdOpt) | |
2839 | 2867 | else if (("ONBOARD" == $match0)) | |
2840 | 2868 | then activateOnboardArt(addr) | |
2841 | 2869 | else throw("Unknown artifact") | |
2842 | 2870 | } | |
2843 | 2871 | (result ++ prologActions) | |
2844 | 2872 | } | |
2845 | 2873 | } | |
2846 | 2874 | ||
2847 | 2875 | ||
2848 | 2876 | ||
2849 | 2877 | @Callable(i) | |
2850 | 2878 | func mergeLands (landAssetIds) = { | |
2851 | 2879 | let prologActions = prolog(i) | |
2852 | 2880 | if ((size(i.payments) != 0)) | |
2853 | 2881 | then throw("No payments required") | |
2854 | 2882 | else { | |
2855 | 2883 | let result = mergeCommon(toString(i.caller), landAssetIds) | |
2856 | 2884 | $Tuple2(((result._1 ++ prologActions) ++ updateAccStatsInternal(toString(i.caller), xpMerge)._1), result._2) | |
2857 | 2885 | } | |
2858 | 2886 | } | |
2859 | 2887 | ||
2860 | 2888 | ||
2861 | 2889 | ||
2862 | 2890 | @Callable(i) | |
2863 | 2891 | func cargoExchange (cargoListStr,landAssetId) = { | |
2864 | 2892 | let prologActions = prolog(i) | |
2865 | 2893 | if ((size(i.payments) != 0)) | |
2866 | 2894 | then throw("No payments required") | |
2867 | 2895 | else { | |
2868 | 2896 | let cargoParts = split_4C(cargoListStr, ":") | |
2869 | 2897 | let addr = toString(i.originCaller) | |
2870 | 2898 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
2871 | 2899 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
2872 | 2900 | if (!(isDefined(getInteger(timeKey)))) | |
2873 | 2901 | then throw((asset.name + " is not staked")) | |
2874 | 2902 | else { | |
2875 | 2903 | let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
2876 | 2904 | if ((owner != addr)) | |
2877 | 2905 | then throw((LANDPREFIX + " is not yours")) | |
2878 | 2906 | else { | |
2879 | 2907 | let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE) | |
2880 | 2908 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
2881 | 2909 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
2882 | 2910 | let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION) | |
2883 | 2911 | let loc = split(value(curLocation), "_") | |
2884 | 2912 | if ((loc[locIdxType] != "L")) | |
2885 | 2913 | then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L")) | |
2886 | 2914 | else if ((loc[locIdxId] != landAssetId)) | |
2887 | 2915 | then throw(("Duck should be on the land " + landAssetId)) | |
2888 | 2916 | else { | |
2889 | 2917 | let whKey = keyWarehouseByLand(landAssetId) | |
2890 | 2918 | let currentWh = getWarehouse(whKey, landIndex, infraLevel) | |
2891 | 2919 | let bpKey = keyBackpackByDuck(duckAssetId) | |
2892 | 2920 | let currentPack = getBackpack(bpKey) | |
2893 | 2921 | let result = moveStuff(cargoParts, currentWh, currentPack) | |
2894 | 2922 | let loft = split(currentWh[whIdxLOFT], "_") | |
2895 | 2923 | let loftO = (parseIntValue(loft[volOccupied]) + result._7) | |
2896 | 2924 | let loftF = (parseIntValue(loft[volFree]) - result._7) | |
2897 | 2925 | ([StringEntry(bpKey, makeString_2C([currentPack[bpIdxLevel], result._4, result._5, result._6], ":")), StringEntry(whKey, makeString_2C([currentWh[whIdxLevels], result._1, result._2, result._3, makeString([loft[volLocked], toString(loftO), toString(loftF), loft[volTotal]], "_")], ":"))] ++ prologActions) | |
2898 | 2926 | } | |
2899 | 2927 | } | |
2900 | 2928 | } | |
2901 | 2929 | } | |
2902 | 2930 | } | |
2903 | 2931 | ||
2904 | 2932 | ||
2905 | 2933 | ||
2906 | 2934 | @Callable(i) | |
2907 | 2935 | func saveWarehouse (whStr,landAssetId) = if ((i.caller != economyContract)) | |
2908 | 2936 | then throw("Access denied") | |
2909 | 2937 | else { | |
2910 | 2938 | let whKey = keyWarehouseByLand(landAssetId) | |
2911 | 2939 | let wh = split_4C(whStr, ":") | |
2912 | 2940 | if ((size(wh) != 5)) | |
2913 | 2941 | then throw("warehouse string should contain 4 ':' separators") | |
2914 | 2942 | else { | |
2915 | 2943 | let loftL = split(wh[whIdxLOFT], "_")[volLocked] | |
2916 | 2944 | let loftO = getWarehouseOccupiedVol(wh) | |
2917 | 2945 | let loftT = getWarehouseTotalVolume(wh[whIdxLevels]) | |
2918 | 2946 | let loftF = ((loftT - parseIntValue(loftL)) - loftO) | |
2919 | 2947 | if ((0 > loftF)) | |
2920 | 2948 | then throw("Operation leads to negative free warehouse space") | |
2921 | 2949 | else { | |
2922 | 2950 | let newWhStr = makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], wh[whIdxProd], makeString([loftL, toString(loftO), toString(loftF), toString(loftT)], "_")], ":") | |
2923 | 2951 | $Tuple2([StringEntry(whKey, newWhStr)], newWhStr) | |
2924 | 2952 | } | |
2925 | 2953 | } | |
2926 | 2954 | } | |
2927 | 2955 | ||
2928 | 2956 | ||
2929 | 2957 | ||
2930 | 2958 | @Callable(i) | |
2931 | 2959 | func setCustomName (assetId,customName,type) = { | |
2932 | 2960 | let prologActions = prolog(i) | |
2933 | 2961 | if ((size(i.payments) != 1)) | |
2934 | 2962 | then throw("Exactly one payment required") | |
2935 | 2963 | else { | |
2936 | 2964 | let pmt = value(i.payments[0]) | |
2937 | 2965 | if ((pmt.assetId != usdtAssetId)) | |
2938 | 2966 | then throw("Allowed USDT payment only!") | |
2939 | 2967 | else if ((pmt.amount != RENAMINGCOST)) | |
2940 | 2968 | then throw(("Payment should be " + toString(RENAMINGCOST))) | |
2941 | 2969 | else if (contains(customName, "__")) | |
2942 | 2970 | then throw(("Name should not contain '__': " + customName)) | |
2943 | 2971 | else if ((size(customName) > MAXNAMELEN)) | |
2944 | 2972 | then throw(("Name too long, maxLength=" + toString(MAXNAMELEN))) | |
2945 | 2973 | else { | |
2946 | 2974 | let addr = toString(i.originCaller) | |
2947 | 2975 | let actions = match type { | |
2948 | 2976 | case _ => | |
2949 | 2977 | if (("ACCOUNT" == $match0)) | |
2950 | 2978 | then { | |
2951 | 2979 | let reverseKey = keyCustomNameToAddress(customName) | |
2952 | 2980 | let nameOwner = getString(reverseKey) | |
2953 | 2981 | if (isDefined(nameOwner)) | |
2954 | 2982 | then throw(("Name already registered: " + customName)) | |
2955 | 2983 | else { | |
2956 | 2984 | let addrToNameKey = keyAddressToCustomName(addr) | |
2957 | 2985 | let oldName = getString(addrToNameKey) | |
2958 | 2986 | let freeOld = if (isDefined(oldName)) | |
2959 | 2987 | then [DeleteEntry(keyCustomNameToAddress(value(oldName)))] | |
2960 | 2988 | else nil | |
2961 | 2989 | (((freeOld :+ StringEntry(addrToNameKey, customName)) :+ StringEntry(reverseKey, addr)) ++ updateAccStatsInternal(addr, xpCustomName)._1) | |
2962 | 2990 | } | |
2963 | 2991 | } | |
2964 | 2992 | else if (("LAND" == $match0)) | |
2965 | 2993 | then { | |
2966 | 2994 | let asset = value(assetInfo(fromBase58String(assetId))) | |
2967 | 2995 | let timeKey = keyStakedTimeByAssetId(assetId) | |
2968 | 2996 | if (!(isDefined(getInteger(timeKey)))) | |
2969 | 2997 | then throw((asset.name + " is not staked")) | |
2970 | 2998 | else { | |
2971 | 2999 | let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned")) | |
2972 | 3000 | if ((owner != addr)) | |
2973 | 3001 | then throw((LANDPREFIX + " is not yours")) | |
2974 | 3002 | else { | |
2975 | 3003 | let reverseKey = keyLandCustomNameToAssetId(customName) | |
2976 | 3004 | let nameOwner = getString(reverseKey) | |
2977 | 3005 | if (isDefined(nameOwner)) | |
2978 | 3006 | then throw(("Name already registered: " + customName)) | |
2979 | 3007 | else { | |
2980 | 3008 | let assetToNameKey = keyLandAssetIdToCustomName(assetId) | |
2981 | 3009 | let oldName = getString(assetToNameKey) | |
2982 | 3010 | let freeOld = if (isDefined(oldName)) | |
2983 | 3011 | then [DeleteEntry(keyLandCustomNameToAssetId(value(oldName)))] | |
2984 | 3012 | else nil | |
2985 | 3013 | (((freeOld :+ StringEntry(assetToNameKey, customName)) :+ StringEntry(reverseKey, assetId)) ++ updateAccStatsInternal(addr, xpCustomName)._1) | |
2986 | 3014 | } | |
2987 | 3015 | } | |
2988 | 3016 | } | |
2989 | 3017 | } | |
2990 | 3018 | else if (("DUCK" == $match0)) | |
2991 | 3019 | then { | |
2992 | 3020 | let asset = value(assetInfo(fromBase58String(assetId))) | |
2993 | 3021 | let timeKey = keyStakedTimeByAssetId(assetId) | |
2994 | 3022 | if (if (!(isDefined(getInteger(timeKey)))) | |
2995 | 3023 | then true | |
2996 | 3024 | else !(isDefined(getString(keyStakedDuckByOwner(addr))))) | |
2997 | 3025 | then throw((asset.name + " is not staked")) | |
2998 | 3026 | else { | |
2999 | 3027 | let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned")) | |
3000 | 3028 | if ((owner != addr)) | |
3001 | 3029 | then throw((DUCKPREFIX + " is not yours")) | |
3002 | 3030 | else { | |
3003 | 3031 | let reverseKey = keyDuckCustomNameToAssetId(customName) | |
3004 | 3032 | let nameOwner = getString(reverseKey) | |
3005 | 3033 | if (isDefined(nameOwner)) | |
3006 | 3034 | then throw(("Name already registered: " + customName)) | |
3007 | 3035 | else { | |
3008 | 3036 | let assetToNameKey = keyDuckAssetIdToCustomName(assetId) | |
3009 | 3037 | let oldName = getString(assetToNameKey) | |
3010 | 3038 | let freeOld = if (isDefined(oldName)) | |
3011 | 3039 | then [DeleteEntry(keyDuckCustomNameToAssetId(value(oldName)))] | |
3012 | 3040 | else nil | |
3013 | 3041 | (((freeOld :+ StringEntry(assetToNameKey, customName)) :+ StringEntry(reverseKey, assetId)) ++ updateDuckStatsInternal(assetId, xpCustomName)._1) | |
3014 | 3042 | } | |
3015 | 3043 | } | |
3016 | 3044 | } | |
3017 | 3045 | } | |
3018 | 3046 | else throw("Unknown entity type") | |
3019 | 3047 | } | |
3020 | 3048 | $Tuple2(((actions :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) ++ prologActions), 0) | |
3021 | 3049 | } | |
3022 | 3050 | } | |
3023 | 3051 | } | |
3024 | 3052 | ||
3025 | 3053 | ||
3026 | 3054 | ||
3027 | 3055 | @Callable(i) | |
3028 | 3056 | func setReferrals (oldPlayer,newPlayer) = if ((i.callerPublicKey != pub)) | |
3029 | 3057 | then throw("Permission denied") | |
3030 | 3058 | else { | |
3031 | 3059 | let prologActions = prolog(i) | |
3032 | 3060 | if ((size(i.payments) != 0)) | |
3033 | 3061 | then throw("No payments required") | |
3034 | 3062 | else if (!(isDefined(addressFromString(oldPlayer)))) | |
3035 | 3063 | then throw(("Invalid address: " + oldPlayer)) | |
3036 | 3064 | else if (!(isDefined(addressFromString(newPlayer)))) | |
3037 | 3065 | then throw(("Invalid address: " + newPlayer)) | |
3038 | 3066 | else { | |
3039 | 3067 | let oldsKey = keyOldies() | |
3040 | 3068 | let olds = getString(oldsKey) | |
3041 | 3069 | let oldies = if (isDefined(olds)) | |
3042 | 3070 | then split_4C(value(olds), "_") | |
3043 | 3071 | else nil | |
3044 | 3072 | if (containsElement(oldies, newPlayer)) | |
3045 | 3073 | then throw((newPlayer + " is not newbie (already has referrals)")) | |
3046 | 3074 | else { | |
3047 | 3075 | let refByKey = keyAddressRefBy(newPlayer) | |
3048 | 3076 | let refBy = getString(refByKey) | |
3049 | 3077 | if (if (isDefined(refBy)) | |
3050 | 3078 | then isDefined(addressFromString(value(refBy))) | |
3051 | 3079 | else false) | |
3052 | 3080 | then throw(((newPlayer + " already has refBy: ") + value(refBy))) | |
3053 | 3081 | else { | |
3054 | 3082 | let refsKey = keyAddressReferrals(oldPlayer) | |
3055 | 3083 | let refs = getString(refsKey) | |
3056 | 3084 | let refsArray = if (isDefined(refs)) | |
3057 | 3085 | then split_4C(value(refs), "_") | |
3058 | 3086 | else nil | |
3059 | 3087 | if (containsElement(refsArray, newPlayer)) | |
3060 | 3088 | then throw((((oldPlayer + " already contains ") + newPlayer) + " within referrals")) | |
3061 | 3089 | else { | |
3062 | 3090 | let newRefs = makeString_2C((refsArray :+ newPlayer), "_") | |
3063 | 3091 | let newOlds = if (containsElement(oldies, oldPlayer)) | |
3064 | 3092 | then value(olds) | |
3065 | 3093 | else makeString_2C((oldies :+ oldPlayer), "_") | |
3066 | 3094 | $Tuple2(([StringEntry(refByKey, oldPlayer), StringEntry(refsKey, newRefs), StringEntry(oldsKey, newOlds)] ++ prologActions), 0) | |
3067 | 3095 | } | |
3068 | 3096 | } | |
3069 | 3097 | } | |
3070 | 3098 | } | |
3071 | 3099 | } | |
3072 | 3100 | ||
3073 | 3101 | ||
3074 | 3102 | ||
3075 | 3103 | @Callable(i) | |
3076 | 3104 | func distributePoints (strength,accuracy,intellect,endurance,dexterity) = { | |
3077 | 3105 | let prologActions = prolog(i) | |
3078 | 3106 | if ((size(i.payments) != 0)) | |
3079 | 3107 | then throw("No payments required") | |
3080 | 3108 | else { | |
3081 | 3109 | let addr = toString(i.originCaller) | |
3082 | 3110 | let virtWlgData = asAnyList(invoke(wlgContract, "checkWlgXpREADONLY", [addr], nil)) | |
3083 | 3111 | let virtWlgPoints = asInt(virtWlgData[1]) | |
3084 | - | let $ | |
3112 | + | let $t09702397413 = if ((0 >= virtWlgPoints)) | |
3085 | 3113 | then $Tuple2(0, nil) | |
3086 | 3114 | else { | |
3087 | 3115 | let deltaXP = asInt(invoke(wlgContract, "takeWlgXp", [addr], nil)) | |
3088 | 3116 | if ((deltaXP == deltaXP)) | |
3089 | 3117 | then $Tuple2(virtWlgPoints, [IntegerEntry(keyUserLevel(addr), asInt(virtWlgData[0])), IntegerEntry(keyUserXP(addr), asInt(virtWlgData[2]))]) | |
3090 | 3118 | else throw("Strict value is not equal to itself.") | |
3091 | 3119 | } | |
3092 | - | let wlgPoints = $ | |
3093 | - | let wlgActions = $ | |
3120 | + | let wlgPoints = $t09702397413._1 | |
3121 | + | let wlgActions = $t09702397413._2 | |
3094 | 3122 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
3095 | 3123 | let freeKeyAcc = keyUserFreePoints(addr) | |
3096 | 3124 | let freePointsAcc = (valueOrElse(getInteger(freeKeyAcc), 0) + wlgPoints) | |
3097 | 3125 | let freeKeyDuck = keyDuckFreePoints(duckAssetId) | |
3098 | 3126 | let freePointsDuck = valueOrElse(getInteger(freeKeyDuck), 0) | |
3099 | 3127 | let sumFree = (freePointsAcc + freePointsDuck) | |
3100 | 3128 | let sumToDistribute = ((((strength + accuracy) + intellect) + endurance) + dexterity) | |
3101 | 3129 | if ((sumToDistribute > sumFree)) | |
3102 | 3130 | then throw((("There are only " + toString(sumFree)) + " free points to distribute")) | |
3103 | 3131 | else { | |
3104 | 3132 | let charsKey = keyDuckChars(duckAssetId) | |
3105 | 3133 | let chars = split(valueOrElse(getString(charsKey), "0_0_0_0_0"), "_") | |
3106 | 3134 | let newAcc = (freePointsAcc - sumToDistribute) | |
3107 | 3135 | $Tuple2((([IntegerEntry(freeKeyAcc, if ((0 > newAcc)) | |
3108 | 3136 | then 0 | |
3109 | 3137 | else newAcc), IntegerEntry(freeKeyDuck, if ((0 > newAcc)) | |
3110 | 3138 | then (freePointsDuck + newAcc) | |
3111 | 3139 | else freePointsDuck), StringEntry(charsKey, makeString([toString((parseIntValue(chars[charStrength]) + strength)), toString((parseIntValue(chars[charAccuracy]) + accuracy)), toString((parseIntValue(chars[charIntellect]) + intellect)), toString((parseIntValue(chars[charEndurance]) + endurance)), toString((parseIntValue(chars[charDexterity]) + dexterity))], "_"))] ++ prologActions) ++ wlgActions), 0) | |
3112 | 3140 | } | |
3113 | 3141 | } | |
3114 | 3142 | } | |
3115 | 3143 | ||
3116 | 3144 | ||
3117 | 3145 | ||
3118 | 3146 | @Callable(i) | |
3119 | 3147 | func splitByGlobalWeightsREADONLY (amount) = $Tuple2(nil, getNeededMaterials(amount)) | |
3120 | 3148 | ||
3121 | 3149 | ||
3122 | 3150 | ||
3123 | 3151 | @Callable(i) | |
3124 | 3152 | func splitByGlobalAndLocalWeightsREADONLY (matAmount,resAmount,terrains) = { | |
3125 | 3153 | let terrainCounts = countTerrains(terrains) | |
3126 | 3154 | $Tuple2(nil, $Tuple2(getNeededMaterials(matAmount), distributeByWeights(resAmount, terrainCounts))) | |
3127 | 3155 | } | |
3128 | 3156 | ||
3129 | 3157 | ||
3130 | 3158 | ||
3131 | 3159 | @Callable(i) | |
3132 | 3160 | func getBackpackREADONLY (duckAssetId) = $Tuple2(nil, makeString(getBackpack(keyBackpackByDuck(duckAssetId)), ":")) | |
3133 | 3161 | ||
3134 | 3162 | ||
3135 | 3163 | ||
3136 | 3164 | @Callable(i) | |
3137 | 3165 | func getWarehouseREADONLY (landAssetId) = { | |
3138 | 3166 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
3139 | 3167 | let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE) | |
3140 | 3168 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
3141 | 3169 | $Tuple2(nil, makeString_2C(getWarehouse(keyWarehouseByLand(landAssetId), landIndex, infraLevel), ":")) | |
3142 | 3170 | } | |
3143 | 3171 | ||
3144 | 3172 | ||
3145 | 3173 | ||
3146 | 3174 | @Callable(i) | |
3147 | 3175 | func saveLastTx () = if (!(containsElement([wlgContract, economyContract, tournamentContract, acresContract], i.caller))) | |
3148 | 3176 | then throw("Access denied") | |
3149 | 3177 | else $Tuple2(prolog(i), 42) | |
3150 | 3178 | ||
3151 | 3179 | ||
3152 | 3180 | ||
3153 | 3181 | @Callable(i) | |
3154 | 3182 | func updateDuckStats (duckAssetId,deltaXP) = if ((i.caller != economyContract)) | |
3155 | 3183 | then throw("Access denied") | |
3156 | 3184 | else updateDuckStatsInternal(duckAssetId, deltaXP) | |
3157 | 3185 | ||
3158 | 3186 | ||
3159 | 3187 | ||
3160 | 3188 | @Callable(i) | |
3161 | 3189 | func updateAccStats (addr,deltaXP) = if (!(containsElement([wlgContract, economyContract, acresContract], i.caller))) | |
3162 | 3190 | then throw("Access denied") | |
3163 | 3191 | else updateAccStatsInternal(addr, deltaXP) | |
3164 | 3192 | ||
3165 | 3193 | ||
3166 | 3194 | ||
3167 | 3195 | @Callable(i) | |
3168 | 3196 | func equipDuck (equipment) = { | |
3169 | 3197 | let prologActions = prolog(i) | |
3170 | 3198 | if ((size(i.payments) != 0)) | |
3171 | 3199 | then throw("No payments required") | |
3172 | 3200 | else { | |
3173 | 3201 | let addr = toString(i.originCaller) | |
3174 | 3202 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
3175 | 3203 | if (checkTournament(duckAssetId)) | |
3176 | 3204 | then throw("equipDuck_checkTournament") | |
3177 | 3205 | else if (checkDelivery(duckAssetId)) | |
3178 | 3206 | then throw("equipDuck_checkDelivery") | |
3179 | 3207 | else { | |
3180 | 3208 | let eqKey = keyDuckEquipment(duckAssetId) | |
3181 | 3209 | let currentSegs = split(valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,"), "_") | |
3182 | 3210 | let bpKey = keyBackpackByDuck(duckAssetId) | |
3183 | 3211 | let currentPack = getBackpack(bpKey) | |
3184 | 3212 | let newEq = split(equipment, "_") | |
3185 | 3213 | if ((size(newEq) != NUMSEGMENTS)) | |
3186 | 3214 | then throw("Wrong equipment string") | |
3187 | 3215 | else { | |
3188 | 3216 | let tempProdB = dressB(currentSegs, prodStrToBytes(currentPack[bpIdxProd]), true, nil) | |
3189 | 3217 | let segBpAux = split(newEq[segBackpack], ";")[1] | |
3190 | 3218 | let buffEffect = if ((segBpAux == "")) | |
3191 | 3219 | then 0 | |
3192 | 3220 | else { | |
3193 | 3221 | let aux0 = split(segBpAux, ",")[0] | |
3194 | 3222 | if ((aux0 == "")) | |
3195 | 3223 | then 0 | |
3196 | 3224 | else { | |
3197 | 3225 | let idxCnt = split(aux0, ":") | |
3198 | 3226 | let idx = idxCnt[0] | |
3199 | 3227 | let cnt = idxCnt[1] | |
3200 | 3228 | if (if (if (if (if ((idx == "06")) | |
3201 | 3229 | then true | |
3202 | 3230 | else (idx == "07")) | |
3203 | 3231 | then true | |
3204 | 3232 | else (idx == "08")) | |
3205 | 3233 | then (cnt != "") | |
3206 | 3234 | else false) | |
3207 | 3235 | then (parseIntValue(cnt) > 0) | |
3208 | 3236 | else false) | |
3209 | 3237 | then parseIntValue(split(productionMatrix[parseIntValue(idx)], "_")[rIdxEffect]) | |
3210 | 3238 | else 0 | |
3211 | 3239 | } | |
3212 | 3240 | } | |
3213 | 3241 | let stats = getDuckStats(this, duckAssetId, buffEffect, true) | |
3214 | 3242 | let newProdB = dressB(newEq, tempProdB, false, stats) | |
3215 | 3243 | let newProdStr = bytesToProdStr(newProdB) | |
3216 | 3244 | $Tuple2(([StringEntry(eqKey, equipment), StringEntry(bpKey, makeString_2C([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], newProdStr], ":")), StringEntry(keyDuckBuffs(duckAssetId), makeString([toString(stats[7]), toString(stats[8]), toString(stats[9]), toString(stats[10]), toString(stats[11])], "_"))] ++ prologActions), 0) | |
3217 | 3245 | } | |
3218 | 3246 | } | |
3219 | 3247 | } | |
3220 | 3248 | } | |
3221 | 3249 | ||
3222 | 3250 | ||
3223 | 3251 | ||
3224 | 3252 | @Callable(i) | |
3225 | 3253 | func fortificateLand (landAssetId,plan) = { | |
3226 | 3254 | let prologActions = prolog(i) | |
3227 | 3255 | if ((size(i.payments) != 0)) | |
3228 | 3256 | then throw("No payments required") | |
3229 | 3257 | else { | |
3230 | 3258 | let addr = toString(i.originCaller) | |
3231 | 3259 | let duckAssetId = valueOrElse(getString(keyStakedDuckByOwner(addr)), "") | |
3232 | 3260 | let duckStats = getDuckStats(this, duckAssetId, 0, false) | |
3233 | 3261 | let fortKey = keyFortificationsByLand(landAssetId) | |
3234 | 3262 | let currentForts = split(valueOrElse(getString(fortKey), ":0_15:0_18:0"), "_") | |
3235 | 3263 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
3236 | 3264 | let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE) | |
3237 | 3265 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
3238 | 3266 | let whKey = keyWarehouseByLand(landAssetId) | |
3239 | 3267 | let wh = getWarehouse(whKey, landIndex, infraLevel) | |
3240 | 3268 | let curLoft = split(wh[whIdxLOFT], "_") | |
3241 | 3269 | let curO = parseIntValue(curLoft[volOccupied]) | |
3242 | 3270 | let curF = parseIntValue(curLoft[volFree]) | |
3243 | 3271 | let newForts = split(plan, "_") | |
3244 | - | let $ | |
3245 | - | let tempProdB = $ | |
3246 | - | let tempO = $ | |
3247 | - | let tempF = $ | |
3248 | - | let $ | |
3249 | - | let newProdB = $ | |
3250 | - | let newO = $ | |
3251 | - | let newF = $ | |
3272 | + | let $t0104251104366 = fortB(currentForts, prodStrToBytes(wh[whIdxProd]), curO, curF, true, nil) | |
3273 | + | let tempProdB = $t0104251104366._1 | |
3274 | + | let tempO = $t0104251104366._2 | |
3275 | + | let tempF = $t0104251104366._3 | |
3276 | + | let $t0104369104465 = fortB(newForts, tempProdB, tempO, tempF, false, duckStats) | |
3277 | + | let newProdB = $t0104369104465._1 | |
3278 | + | let newO = $t0104369104465._2 | |
3279 | + | let newF = $t0104369104465._3 | |
3252 | 3280 | let newProdStr = bytesToProdStr(newProdB) | |
3253 | 3281 | let newLoftStr = makeString([curLoft[volLocked], toString(newO), toString(newF), curLoft[volTotal]], "_") | |
3254 | 3282 | $Tuple2(([StringEntry(fortKey, plan), StringEntry(whKey, makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], newProdStr, newLoftStr], ":"))] ++ prologActions), 0) | |
3255 | 3283 | } | |
3256 | 3284 | } | |
3257 | 3285 | ||
3258 | 3286 | ||
3259 | 3287 | ||
3260 | 3288 | @Callable(i) | |
3261 | 3289 | func initDuckTourAttempt (duckAssetId) = if ((i.caller != tournamentContract)) | |
3262 | 3290 | then throw("Access denied") | |
3263 | 3291 | else { | |
3264 | 3292 | let keyHealth = keyDuckHealth(duckAssetId) | |
3265 | 3293 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0)) | |
3266 | 3294 | let curHealth = valueOrElse(getInteger(keyHealth), maxHP) | |
3267 | 3295 | let curLocKey = keyDuckLocation(duckAssetId) | |
3268 | 3296 | let curLocation = valueOrElse(getString(curLocKey), DEFAULTLOCATION) | |
3269 | 3297 | let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0) | |
3270 | 3298 | let tourLocation = (toString(lastId) + "_T_0") | |
3271 | 3299 | $Tuple2([IntegerEntry(keySavedHealth(duckAssetId), curHealth), IntegerEntry(keyHealth, maxHP), StringEntry(keySavedLocation(duckAssetId), curLocation), StringEntry(curLocKey, tourLocation)], tourLocation) | |
3272 | 3300 | } | |
3273 | 3301 | ||
3274 | 3302 | ||
3275 | 3303 | ||
3276 | 3304 | @Callable(i) | |
3277 | 3305 | func breakAttempt () = { | |
3278 | 3306 | let prologActions = prolog(i) | |
3279 | 3307 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
3280 | 3308 | let curLocKey = keyDuckLocation(duckAssetId) | |
3281 | 3309 | let curLocation = valueOrElse(getString(curLocKey), DEFAULTLOCATION) | |
3282 | 3310 | if ((split(curLocation, "_")[locIdxType] != "T")) | |
3283 | 3311 | then throw("Your duck is not in the tournament") | |
3284 | 3312 | else { | |
3285 | 3313 | let savedHealth = getIntegerValue(keySavedHealth(duckAssetId)) | |
3286 | 3314 | let savedLocation = getStringValue(keySavedLocation(duckAssetId)) | |
3287 | 3315 | $Tuple2(((prologActions :+ IntegerEntry(keyDuckHealth(duckAssetId), savedHealth)) :+ StringEntry(curLocKey, savedLocation)), curLocation) | |
3288 | 3316 | } | |
3289 | 3317 | } | |
3290 | 3318 | ||
3291 | 3319 | ||
3292 | 3320 | ||
3293 | 3321 | @Callable(i) | |
3294 | 3322 | func breakAttemptCallback () = if ((i.caller != tournamentContract)) | |
3295 | 3323 | then throw("Access denied") | |
3296 | 3324 | else { | |
3297 | 3325 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.originCaller))), "You don't have a duck staked") | |
3298 | 3326 | $Tuple2([IntegerEntry(keyDuckHealth(duckAssetId), getIntegerValue(keySavedHealth(duckAssetId))), StringEntry(keyDuckLocation(duckAssetId), getStringValue(keySavedLocation(duckAssetId)))], "breakAttemptCallback") | |
3299 | 3327 | } | |
3300 | 3328 | ||
3301 | 3329 | ||
3302 | 3330 | ||
3303 | 3331 | @Callable(i) | |
3304 | 3332 | func exitTournamentInternal (duckAssetId) = if ((i.caller != this)) | |
3305 | 3333 | then throw("Access denied") | |
3306 | 3334 | else { | |
3307 | 3335 | let savedHealth = getIntegerValue(keySavedHealth(duckAssetId)) | |
3308 | 3336 | let savedLocation = getStringValue(keySavedLocation(duckAssetId)) | |
3309 | 3337 | $Tuple2([IntegerEntry(keyDuckHealth(duckAssetId), savedHealth), StringEntry(keyDuckLocation(duckAssetId), savedLocation)], false) | |
3310 | 3338 | } | |
3311 | 3339 | ||
3312 | 3340 | ||
3313 | 3341 | ||
3314 | 3342 | @Callable(i) | |
3315 | 3343 | func exitDeliveryInternal (duckAssetId) = if ((i.caller != this)) | |
3316 | 3344 | then throw("Access denied") | |
3317 | 3345 | else { | |
3318 | 3346 | let e = exitDeliveryCommon(duckAssetId, false, 0, 0) | |
3319 | 3347 | $Tuple2((e._1 ++ e._2), false) | |
3320 | 3348 | } | |
3321 | 3349 | ||
3322 | 3350 | ||
3323 | 3351 | ||
3324 | 3352 | @Callable(i) | |
3325 | 3353 | func autoExitDelivery (duckAssetId,newHP,reason,score) = if ((i.caller != this)) | |
3326 | 3354 | then throw("Access denied") | |
3327 | 3355 | else { | |
3328 | 3356 | let e = exitDeliveryCommon(duckAssetId, true, newHP, score) | |
3329 | 3357 | $Tuple2(e._1, e._3) | |
3330 | 3358 | } | |
3331 | 3359 | ||
3332 | 3360 | ||
3333 | 3361 | ||
3334 | 3362 | @Callable(i) | |
3335 | 3363 | func breakDelivery () = $Tuple2(prolog(i), "breakDelivery") | |
3336 | 3364 | ||
3337 | 3365 | ||
3338 | 3366 | ||
3339 | 3367 | @Callable(i) | |
3340 | 3368 | func prepareRobbery (message,sig) = { | |
3341 | 3369 | let prologActions = prolog(i) | |
3342 | 3370 | if (!(sigVerify_8Kb(message, sig, pub))) | |
3343 | 3371 | then throw("signature does not match") | |
3344 | 3372 | else if ((size(i.payments) != 1)) | |
3345 | 3373 | then throw("exactly 1 payment must be attached") | |
3346 | 3374 | else { | |
3347 | 3375 | let pmt = i.payments[0] | |
3348 | 3376 | let wlgAmt = pmt.amount | |
3349 | 3377 | if (if (!(isDefined(pmt.assetId))) | |
3350 | 3378 | then true | |
3351 | 3379 | else (value(pmt.assetId) != wlgAssetId)) | |
3352 | 3380 | then throw("WLGOLD payments only!") | |
3353 | 3381 | else { | |
3354 | 3382 | let parts = split(toUtf8String(message), "|") | |
3355 | 3383 | if ((2 > size(parts))) | |
3356 | 3384 | then throw("Wrong message format") | |
3357 | 3385 | else { | |
3358 | 3386 | let txFromMsg = if ((size(parts) >= 2)) | |
3359 | 3387 | then parts[2] | |
3360 | 3388 | else "" | |
3361 | 3389 | let userAddr = toString(i.caller) | |
3362 | 3390 | let lastTx = valueOrElse(getString(keyLastTxIdByUser(userAddr)), "") | |
3363 | 3391 | if ((lastTx != txFromMsg)) | |
3364 | 3392 | then throw(((("Tx ids don't match! In state: " + lastTx) + ", in msg: ") + txFromMsg)) | |
3365 | 3393 | else { | |
3366 | 3394 | let duckAssetId = parts[0] | |
3367 | 3395 | if (checkTournament(duckAssetId)) | |
3368 | 3396 | then throw("prepareRobbery_checkTournament") | |
3369 | 3397 | else if (checkDelivery(duckAssetId)) | |
3370 | 3398 | then throw("prepareRobbery_checkDelivery") | |
3371 | 3399 | else { | |
3372 | 3400 | let robCost = getRobberyData(this, duckAssetId)._1 | |
3373 | 3401 | if ((robCost > wlgAmt)) | |
3374 | 3402 | then throw(((("Payment " + toString(wlgAmt)) + " < required ") + toString(robCost))) | |
3375 | 3403 | else { | |
3376 | 3404 | let candidates = split(parts[1], "_") | |
3377 | 3405 | let now = lastBlock.timestamp | |
3378 | 3406 | let duckState = valueOrElse(getInteger(keyDuckRobberyState(duckAssetId)), 0) | |
3379 | 3407 | let lockedLand = valueOrElse(getString(keyLockedLandByDuck(duckAssetId)), "") | |
3380 | 3408 | let landETA = valueOrElse(getInteger(keyLandCooldownETA(lockedLand)), 0) | |
3381 | 3409 | if (if ((duckState != duckIdxFree)) | |
3382 | 3410 | then (landETA > now) | |
3383 | 3411 | else false) | |
3384 | 3412 | then throw(("You already started robbing, wait till " + toString(landETA))) | |
3385 | 3413 | else { | |
3386 | 3414 | func checker (acc,landAssetId) = { | |
3387 | 3415 | let state = valueOrElse(getInteger(keyLandRobberyState(landAssetId)), 0) | |
3388 | 3416 | let cooldownETA = valueOrElse(getInteger(keyLandCooldownETA(landAssetId)), 0) | |
3389 | 3417 | if ((state > size(landRobCooldowns))) | |
3390 | 3418 | then throw("Invalid state") | |
3391 | 3419 | else if ((now > cooldownETA)) | |
3392 | 3420 | then { | |
3393 | 3421 | let stakedTime = valueOrElse(getInteger(keyStakedTimeByAssetId(landAssetId)), 0) | |
3394 | 3422 | if ((0 >= stakedTime)) | |
3395 | 3423 | then acc | |
3396 | 3424 | else { | |
3397 | 3425 | let a = value(assetInfo(fromBase58String(landAssetId))) | |
3398 | 3426 | let d = split(a.description, "_") | |
3399 | 3427 | let pieces = numPiecesBySize(d[recLandSize]) | |
3400 | 3428 | let productivity = applyBonuses(landAssetId, pieces) | |
3401 | 3429 | let deltaTime = (now - stakedTime) | |
3402 | 3430 | let availRes = fraction(deltaTime, (productivity * pieces), DAYMILLIS) | |
3403 | 3431 | if ((MIN_RES_TO_ROB > availRes)) | |
3404 | 3432 | then acc | |
3405 | 3433 | else (acc :+ landAssetId) | |
3406 | 3434 | } | |
3407 | 3435 | } | |
3408 | 3436 | else acc | |
3409 | 3437 | } | |
3410 | 3438 | ||
3411 | 3439 | let filtered = { | |
3412 | 3440 | let $l = candidates | |
3413 | 3441 | let $s = size($l) | |
3414 | 3442 | let $acc0 = nil | |
3415 | 3443 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
3416 | 3444 | then $a | |
3417 | 3445 | else checker($a, $l[$i]) | |
3418 | 3446 | ||
3419 | 3447 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
3420 | 3448 | then $a | |
3421 | 3449 | else throw("List size exceeds 10") | |
3422 | 3450 | ||
3423 | 3451 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
3424 | 3452 | } | |
3425 | 3453 | if ((size(filtered) == 0)) | |
3426 | 3454 | then throw("No candidates for robbery") | |
3427 | 3455 | else { | |
3428 | 3456 | let rndIdx = getRandomNumber(size(filtered), message, sig) | |
3429 | 3457 | let landAssetId = filtered[rndIdx] | |
3430 | 3458 | $Tuple2(([IntegerEntry(keyLandRobberyState(landAssetId), robIdxLocked), IntegerEntry(keyLandCooldownETA(landAssetId), (now + landRobCooldowns[robIdxLocked])), IntegerEntry(keyDuckRobberyState(duckAssetId), duckIdxPreparing), StringEntry(keyLockedLandByDuck(duckAssetId), landAssetId)] ++ prologActions), landAssetId) | |
3431 | 3459 | } | |
3432 | 3460 | } | |
3433 | 3461 | } | |
3434 | 3462 | } | |
3435 | 3463 | } | |
3436 | 3464 | } | |
3437 | 3465 | } | |
3438 | 3466 | } | |
3439 | 3467 | } | |
3440 | 3468 | ||
3441 | 3469 | ||
3442 | 3470 | ||
3443 | 3471 | @Callable(i) | |
3444 | 3472 | func robLand (message,sig) = { | |
3445 | 3473 | let prologActions = prolog(i) | |
3446 | 3474 | if (!(sigVerify_8Kb(message, sig, pub))) | |
3447 | 3475 | then throw("signature does not match") | |
3448 | 3476 | else { | |
3449 | 3477 | let userAddr = toString(i.caller) | |
3450 | 3478 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked") | |
3451 | 3479 | let now = lastBlock.timestamp | |
3452 | 3480 | $Tuple2((prologActions :+ IntegerEntry(keyLastRobberyTimeByDuck(duckAssetId), now)), 0) | |
3453 | 3481 | } | |
3454 | 3482 | } | |
3455 | 3483 | ||
3456 | 3484 | ||
3457 | 3485 | ||
3458 | 3486 | @Callable(i) | |
3459 | 3487 | func acceptDelivery () = { | |
3460 | 3488 | let prologActions = prolog(i) | |
3461 | 3489 | let userAddr = toString(i.caller) | |
3462 | 3490 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked") | |
3463 | 3491 | let fundTotal = valueOrElse(getInteger(economyContract, deliveryFundKey), 0) | |
3464 | 3492 | let lockedTotal = valueOrElse(getInteger(economyContract, deliveryLockedKey), 0) | |
3465 | 3493 | if ((MIN_USDT_FEE_DELIVERY > (fundTotal - lockedTotal))) | |
3466 | 3494 | then throw(((("Delivery is not available, fund=" + fixedPoint(fundTotal, 6)) + ", locked=") + fixedPoint(lockedTotal, 6))) | |
3467 | 3495 | else { | |
3468 | 3496 | let now = lastBlock.timestamp | |
3469 | 3497 | let delayETA = valueOrElse(getInteger(keyDeliveryDelayByDuck(duckAssetId)), 0) | |
3470 | 3498 | if ((delayETA > now)) | |
3471 | 3499 | then throw(("Delivery is forbidden for your duck until " + toString(delayETA))) | |
3472 | 3500 | else { | |
3473 | 3501 | let health = getIntegerValue(keyDuckHealth(duckAssetId)) | |
3474 | 3502 | if ((0 >= health)) | |
3475 | 3503 | then throw("You cannot accept delivery with zero health") | |
3476 | 3504 | else { | |
3477 | 3505 | let countKey = keyUserDeliveryCount(userAddr) | |
3478 | 3506 | let count = valueOrElse(getInteger(countKey), 0) | |
3479 | 3507 | let lastDay = valueOrElse(getInteger(keyUserLastDeliveryDay(userAddr)), 0) | |
3480 | 3508 | let today = (now / DAYMILLIS) | |
3481 | 3509 | let acres = valueOrElse(getInteger(acresContract, keyAcresStakedAmountByUser(userAddr)), 0) | |
3482 | 3510 | let allowedDeliveries = (ALLOWED_FREE_DELIVERIES + (acres / ACRES_FOR_DELIVERY_ATTEMPT)) | |
3483 | 3511 | if (if ((count >= allowedDeliveries)) | |
3484 | 3512 | then (lastDay == today) | |
3485 | 3513 | else false) | |
3486 | 3514 | then throw((("You already used " + toString(allowedDeliveries)) + " delivery attempts for today")) | |
3487 | 3515 | else if (checkTournament(duckAssetId)) | |
3488 | 3516 | then throw("acceptDelivery_checkTournament") | |
3489 | 3517 | else if (checkDelivery(duckAssetId)) | |
3490 | 3518 | then throw("acceptDelivery_checkDelivery") | |
3491 | 3519 | else { | |
3492 | 3520 | let newLockedTotal = asInt(invoke(economyContract, "updateDeliveryLocked", [(lockedTotal + MIN_USDT_FEE_DELIVERY)], nil)) | |
3493 | 3521 | let curLocKey = keyDuckLocation(duckAssetId) | |
3494 | 3522 | let curLocation = valueOrElse(getString(curLocKey), DEFAULTLOCATION) | |
3495 | 3523 | let deliveryLocation = (toString(now) + "_D_0") | |
3496 | 3524 | $Tuple2(([StringEntry(keySavedLocation(duckAssetId), curLocation), StringEntry(curLocKey, deliveryLocation), IntegerEntry(countKey, if ((lastDay != today)) | |
3497 | 3525 | then 0 | |
3498 | 3526 | else count)] ++ prologActions), $Tuple2(deliveryLocation, newLockedTotal)) | |
3499 | 3527 | } | |
3500 | 3528 | } | |
3501 | 3529 | } | |
3502 | 3530 | } | |
3503 | 3531 | } | |
3504 | 3532 | ||
3505 | 3533 | ||
3506 | 3534 | ||
3507 | 3535 | @Callable(i) | |
3508 | 3536 | func checkDeliveryCallback (duckAssetId) = if ((i.caller != tournamentContract)) | |
3509 | 3537 | then throw("Access denied") | |
3510 | 3538 | else $Tuple2(nil, checkDelivery(duckAssetId)) | |
3511 | 3539 | ||
3512 | 3540 | ||
3541 | + | ||
3542 | + | @Callable(i) | |
3543 | + | func buyRoboDuck () = if (!(KS_ALLOW_ROBO_DUCKS)) | |
3544 | + | then throw("Feature is turned off") | |
3545 | + | else { | |
3546 | + | let prologActions = prolog(i) | |
3547 | + | if ((size(i.payments) != 1)) | |
3548 | + | then throw("Exactly one payment required") | |
3549 | + | else { | |
3550 | + | let pmt = value(i.payments[0]) | |
3551 | + | if ((pmt.assetId != usdtAssetId)) | |
3552 | + | then throw("Allowed USDT payment only!") | |
3553 | + | else if ((pmt.amount != ROBO_DUCK_USDT)) | |
3554 | + | then throw((("Payment attached should be " + fixedPoint(ROBO_DUCK_USDT, 6)) + " USDT")) | |
3555 | + | else { | |
3556 | + | let nextNum = valueOrElse(getInteger(keyNextRoboDuck()), 0) | |
3557 | + | let bytez = toBytes(nextNum) | |
3558 | + | let name = ((ROBO_PREFIX + "-") + takeRight(toBase16String(bytez), 8)) | |
3559 | + | let color = takeRight(toBase16String(sha256_16Kb(bytez)), 6) | |
3560 | + | let issue = Issue(name, ("Robo Duck NFT for WavesLands game, background color = #" + color), 1, 0, false) | |
3561 | + | let assetId = calculateAssetId(issue) | |
3562 | + | $Tuple2(((((prologActions :+ IntegerEntry(keyNextRoboDuck(), (nextNum + 1))) :+ issue) :+ ScriptTransfer(i.originCaller, 1, assetId)) :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)), $Tuple2(toBase58String(assetId), color)) | |
3563 | + | } | |
3564 | + | } | |
3565 | + | } | |
3566 | + | ||
3567 | + |
github/deemru/w8io/026f985 314.20 ms ◑