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