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