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