Compare commits
1374 Commits
lower_ow_m
...
master
Author | SHA1 | Date |
---|---|---|
mrminer | 01f814267e | |
mrminer | 8f4c69084d | |
ancientmarinerdev | 2ad60b06ea | |
ancientmarinerdev | 245ce99223 | |
ancientmarinerdev | 1f107ec0c7 | |
ancientmarinerdev | c209537cfe | |
ancientmarinerdev | d583ccb986 | |
ancientmarinerdev | 7d803e174c | |
ancientmarinerdev | 63360bcab2 | |
ancientmarinerdev | 0b1881d1d4 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 8cf6269dda | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | da7320b14c | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 66ff8ab8a9 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | a1cc24f8d3 | |
FossFanatic | f3bed9f599 | |
FossFanatic | f84bdbd777 | |
FossFanatic | 7712c45c4e | |
ancientmarinerdev | 02ee8b757d | |
PrairieWind | 5c32d1c106 | |
ancientmarinerdev | c4ea504123 | |
ancientmarinerdev | 6d60fb4160 | |
ancientmarinerdev | e4f26a4688 | |
ancientmarinerdev | af86e73280 | |
ancientmarinerdev | 32be8f9602 | |
ancientmarinerdev | 15560d969c | |
ancientmarinerdev | 6bbf3af97b | |
ancientmarinerdev | 84317afc93 | |
ancientmarinerdev | 2cd6629ae1 | |
FossFanatic | 9afdd09d9d | |
ancientmarinerdev | 9a276489d1 | |
CyberMango | e2cbd4267c | |
CyberMango | 4ec506b534 | |
CyberMango | 06435e0f4c | |
CyberMango | a1d98c080f | |
CyberMango | 96cd2657db | |
CyberMango | cd63f32cdd | |
FossFanatic | 2d81d153bd | |
FossFanatic | dc7a46df4e | |
FossFanatic | ad25b0bc4b | |
FossFanatic | b77260253a | |
ancientmarinerdev | ad9beebc70 | |
FossFanatic | b6951d00b9 | |
ancientmarinerdev | 86e480aad0 | |
ancientmarinerdev | ce7d493890 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 995679d7ae | |
CyberMango | c57f797226 | |
CyberMango | 78f32d2dd4 | |
FossFanatic | a1ad84370c | |
FossFanatic | f6a3fe2128 | |
ancientmarinerdev | 1c65e0ad68 | |
ancientmarinerdev | 6900748429 | |
ancientmarinerdev | f09b723885 | |
ancientmarinerdev | efd3420d52 | |
ancientmarinerdev | 62be5a06f6 | |
ancientmarinerdev | 683799aea5 | |
ancientmarinerdev | 383cbf96a6 | |
ancientmarinerdev | a7632e767d | |
ancientmarinerdev | 99d09c76ae | |
ancientmarinerdev | c7ebe1b8cd | |
ancientmarinerdev | 5c464f1c1d | |
ancientmarinerdev | 87e6842c00 | |
Michieal | b258ccffdc | |
ancientmarinerdev | 83b0807218 | |
Michieal | a00ef4500d | |
PrairieWind | c49aef3251 | |
ancientmarinerdev | f3ba32d739 | |
Michieal | ed03cb470d | |
FossFanatic | 9746dbc376 | |
FossFanatic | d89a7e0326 | |
FossFanatic | 5fd5cc9f1c | |
FossFanatic | c75ec6916c | |
FossFanatic | 4b6b4d8398 | |
FossFanatic | 513d148eaf | |
FossFanatic | 26e032687a | |
Michieal | b99487b6ab | |
ancientmarinerdev | 8adc1d48b2 | |
Michieal | ac30e25065 | |
Michieal | 0931af21c8 | |
Michieal | 77a8ca689f | |
ancientmarinerdev | 30d3b7ee23 | |
Michieal | 55bb9800f4 | |
Michieal | b805ae9926 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 90c74f4a6a | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 6e6c11cde2 | |
ancientmarinerdev | 8feefcdd7b | |
ancientmarinerdev | 9b28baaad6 | |
PrairieWind | 60a1a364dc | |
b3nderman | f9b021e4c6 | |
ancientmarinerdev | 65fb911e5f | |
ancientmarinerdev | 38732e801d | |
ancientmarinerdev | 5ad2a990d4 | |
ancientmarinerdev | 8f6c932e88 | |
Michieal | e9c202ae45 | |
Michieal | d6ee21d192 | |
PrairieWind | 876fc2fb50 | |
Michieal | 0c61035df0 | |
b3nderman | a7fac7c550 | |
ancientmarinerdev | 93c9fdfaae | |
AFCMS | 3027965314 | |
AFCMS | e9c9f151de | |
AFCMS | fb8262bf57 | |
AFCMS | 726358da4b | |
AFCMS | 515204d296 | |
AFCMS | eb5f5678d6 | |
AFCMS | 33e2b79b2b | |
AFCMS | 7c497d9604 | |
AFCMS | 7c20896d5e | |
AFCMS | cd70dd5b88 | |
AFCMS | 302970d220 | |
AFCMS | 79876635af | |
AFCMS | b9238b4069 | |
AFCMS | bf25fca47d | |
AFCMS | 92261e5fb5 | |
AFCMS | 1e31e383d4 | |
AFCMS | 4457432d32 | |
ancientmarinerdev | fa96f9d593 | |
FossFanatic | fbb4cf084f | |
FossFanatic | 60b19b31ab | |
FossFanatic | 871c4f24c2 | |
FossFanatic | 18c0e1f050 | |
FossFanatic | fb8e41047d | |
FossFanatic | 2bd5e6a84f | |
FossFanatic | 23a13f14e0 | |
gldrk | 5412206743 | |
gldrk | 30521a8b2f | |
gldrk | 1536338199 | |
gldrk | 3697ef8069 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | dd15092052 | |
ancientmarinerdev | ce485e89cd | |
ancientmarinerdev | 09a7348256 | |
FossFanatic | a500528613 | |
FossFanatic | 292e7129f2 | |
Michieal | 3091e85b1c | |
Michieal | da277f9dc7 | |
Michieal | 27a487195a | |
Michieal | 2fdc8cbdd4 | |
Michieal | 0079cf807e | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 899cfd5157 | |
CyberMango | 64a7f76d5b | |
CyberMango | b0d9eed3e1 | |
CyberMango | 685a7ff256 | |
CyberMango | 949a2b787e | |
FossFanatic | 8849b2e98f | |
Michieal | 9e76cd963d | |
Michieal | 522a7577de | |
Michieal | 7912239562 | |
Michieal | 396fedd8e7 | |
Michieal | f81eec6fff | |
Michieal | d2625d3ace | |
Michieal | a04d946879 | |
ancientmarinerdev | 482a6071f5 | |
Michieal | 6993559330 | |
Michieal | b572363b8e | |
Michieal | 00408b998c | |
Michieal | e7c238c17e | |
Michieal | 1de806f6f8 | |
Michieal | b07e6fccdc | |
Michieal | 04efa74115 | |
Michieal | 2e8f56d098 | |
Michieal | ff7299a444 | |
Michieal | aad2d114f9 | |
ancientmarinerdev | 2ed3c1c480 | |
ancientmarinerdev | 111c885417 | |
ancientmarinerdev | 8e1f00d428 | |
ancientmarinerdev | 4fd4425aae | |
ancientmarinerdev | ac4cd2c325 | |
ancientmarinerdev | 01c8009c6a | |
ancientmarinerdev | ef90820f67 | |
ancientmarinerdev | d6d11b9526 | |
ancientmarinerdev | b0264b2736 | |
Michieal | c12f2cc565 | |
Michieal | 9f94f12127 | |
Michieal | 784f3ec226 | |
Michieal | 44a769397d | |
PrairieWind | b3da85be64 | |
ancientmarinerdev | 3ed32abc4e | |
kay27 | 9db6050638 | |
kay27 | 7ceb953a56 | |
kay27 | 1894d8c5f0 | |
kay27 | 419d61edde | |
PrairieWind | 9820309762 | |
Michieal | 726eba7ed8 | |
Michieal | f46581905a | |
Michieal | 4f6de581dd | |
Michieal | eb8f7360a2 | |
ancientmarinerdev | db62631540 | |
ancientmarinerdev | fb30564827 | |
Michieal | 8c355db3ce | |
Michieal | eae08f3010 | |
Michieal | 4701c4d6e7 | |
Michieal | 8df0b2a48e | |
ancientmarinerdev | 66f368531d | |
PrairieWind | 7cb5c55d68 | |
Michieal | 34faca3f2c | |
Michieal | d5dda679eb | |
Michieal | c65bbcd5a5 | |
Michieal | 533f59bf27 | |
Michieal | 3074c15d14 | |
Michieal | 132178b8c7 | |
Michieal | ede21a8627 | |
Michieal | 82fae13b47 | |
Michieal | f92ea77849 | |
Michieal | 7ebf9b7ab8 | |
Michieal | 07a56165ed | |
Michieal | ee0b355f51 | |
PrairieWind | 6fd799ac42 | |
ancientmarinerdev | 01bb753549 | |
ancientmarinerdev | 59694ebc7c | |
Michieal | cc24144bc6 | |
Michieal | e1cd16c971 | |
ancientmarinerdev | 00c4ecf643 | |
ancientmarinerdev | e4db91d35c | |
ancientmarinerdev | 2527479401 | |
ancientmarinerdev | 85f7bbdb80 | |
ancientmarinerdev | 465a919f6b | |
ancientmarinerdev | 325a666c62 | |
ancientmarinerdev | e9b54e85c2 | |
ancientmarinerdev | 4324fe2489 | |
ancientmarinerdev | d6804bf4b7 | |
ancientmarinerdev | 87f04bdd9f | |
ancientmarinerdev | e3307d647b | |
ancientmarinerdev | 29cd73cb84 | |
ancientmarinerdev | 5c0a763b83 | |
ancientmarinerdev | 9b1ceebf0d | |
Michieal | ed64e7f733 | |
ancientmarinerdev | 856a60bcc2 | |
Michieal | 08f9c0074a | |
FossFanatic | 09db6017c3 | |
Michieal | c4969c13cd | |
Michieal | f70176da34 | |
Michieal | e314addeb3 | |
Michieal | df8fc65e1e | |
Michieal | 687887fe27 | |
Michieal | 65aa956d9c | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | ddd004c0f0 | |
ancientmarinerdev | 609ef220ad | |
ancientmarinerdev | 32a7eb4087 | |
CyberMango | 5e969ba928 | |
CyberMango | 17e02aec3c | |
CyberMango | fb28e192e6 | |
CyberMango | 0f569fdbaa | |
CyberMango | 8a7fcfde82 | |
CyberMango | fb51067c78 | |
Michieal | 8dd4a2611e | |
Michieal | f86ee99abf | |
FossFanatic | 6cf1fa7b81 | |
ancientmarinerdev | 7ea41a2f21 | |
FossFanatic | 39bcf2f961 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 0b1916b807 | |
Michieal | d1a017f6b2 | |
Michieal | 50e50e2904 | |
Michieal | 966c914a8e | |
Michieal | 9351f72c15 | |
Michieal | ef7fb0d2e3 | |
Michieal | 5ef7d9f7a0 | |
ancientmarinerdev | 0fca1ce469 | |
Michieal | 388632cd46 | |
Michieal | dd4a0a4172 | |
ancientmarinerdev | df6d1c026a | |
Michieal | d586b3fecc | |
Michieal | a7a0c4791a | |
Michieal | 23b62c296a | |
ancientmarinerdev | f8ae702ce4 | |
ancientmarinerdev | 5faf060122 | |
ancientmarinerdev | 8c648d1fc3 | |
ancientmarinerdev | 46052e5b7e | |
iliekprogrammar | 6430fcf103 | |
iliekprogrammar | 7376b08c61 | |
iliekprogrammar | 2e28a3386b | |
iliekprogrammar | 98dac6dcd7 | |
iliekprogrammar | 3026808a71 | |
test1 | 7c7521ff15 | |
test1 | 50d8e95c16 | |
iliekprogrammar | fc74bd5cfe | |
kabou | 2a37d38f6c | |
kabou | 89821a8329 | |
iliekprogrammar | 3249c13752 | |
iliekprogrammar | 2ea72ccda8 | |
iliekprogrammar | 5237eca31e | |
iliekprogrammar | c2ba70a601 | |
iliekprogrammar | 723fe9c532 | |
iliekprogrammar | 661afed46c | |
FossFanatic | 3d2955c394 | |
ancientmarinerdev | e7ace0c87c | |
FossFanatic | 9605e2ae0d | |
FossFanatic | 80bb954814 | |
Michieal | 10dc83b2a6 | |
FossFanatic | b95c623a74 | |
FossFanatic | 0ab4553648 | |
FossFanatic | 65557152fb | |
FossFanatic | 1357193a78 | |
FossFanatic | aacbaddfe0 | |
FossFanatic | e246bf7ddf | |
FossFanatic | 11bd29ed44 | |
FossFanatic | de574729a2 | |
FossFanatic | 95e269a61f | |
FossFanatic | 5bdc145872 | |
FossFanatic | 20e178d5d1 | |
FossFanatic | bdbc484c48 | |
FossFanatic | 56c62e9fba | |
FossFanatic | 3b1acc60db | |
FossFanatic | 6026687e93 | |
FossFanatic | e813c48ed5 | |
FossFanatic | 75716d97e3 | |
ancientmarinerdev | 6fe5bf8674 | |
ancientmarinerdev | 9574ba7f09 | |
ancientmarinerdev | 0df4f9518a | |
ancientmarinerdev | 3ee4a62107 | |
ancientmarinerdev | e6e898671a | |
Michieal | 87327abfb9 | |
Michieal | 34263c2ef3 | |
Michieal | 38c6969292 | |
FossFanatic | 54548ecfdf | |
FossFanatic | 5ec7b8ed89 | |
FossFanatic | 137179ac8e | |
FossFanatic | 3afb42b2f7 | |
FossFanatic | ab1cfde34d | |
FossFanatic | d5f8129ea7 | |
Michieal | 1d0968f4f5 | |
Michieal | 0f9d263e02 | |
Michieal | 26c1be3722 | |
ancientmarinerdev | 1295b2dc12 | |
kabou | 44f724f677 | |
kabou | 92ee402971 | |
kabou | 7d8fdc6ec3 | |
kabou | d2edc75407 | |
kabou | 7311071303 | |
ancientmarinerdev | 437842134e | |
kabou | 60b0cfe89a | |
kabou | d8a883e81f | |
kabou | 15f5c3c30a | |
kabou | 4af8148850 | |
kabou | ea6201d32f | |
kabou | da17ff8ea0 | |
kabou | 6756ee340c | |
kabou | 0c454a34c9 | |
kabou | 8279dcb3dd | |
kabou | ea19f02e14 | |
kabou | 95cbac78a8 | |
Michieal | acc2be7253 | |
Michieal | 3015bfb8c4 | |
Michieal | 28cb06421d | |
Michieal | 731468cf5a | |
Michieal | ff7693937a | |
FossFanatic | c1cde073c8 | |
Michieal | 76669e1f3c | |
FossFanatic | ef15477e37 | |
FossFanatic | a0c5a04d26 | |
FossFanatic | 18e932997d | |
FossFanatic | 1f601c68c5 | |
FossFanatic | 9cf6c9ed5e | |
ancientmarinerdev | 81daec14a2 | |
FossFanatic | 9f9cc3a629 | |
FossFanatic | ac90350257 | |
FossFanatic | a6841fe38b | |
kabou | 5e129985f2 | |
Michieal | 6f05992c8b | |
PrairieWind | 0dc31611ac | |
PrairieWind | b0070a3b83 | |
3raven | 5964f25fa7 | |
FossFanatic | 2db9ea6459 | |
FossFanatic | e0a9aca469 | |
FossFanatic | fb8f59e918 | |
FossFanatic | 9eb86f011b | |
3raven | d3e8e24f42 | |
FossFanatic | 770dd0ec47 | |
FossFanatic | 00b2afecad | |
Michieal | c55332bf42 | |
ancientmarinerdev | cbf090485c | |
Michieal | 42f8fbf9b8 | |
CyberMango | bd38827f60 | |
Michieal | b0978d275d | |
FossFanatic | 522bbbbe26 | |
FossFanatic | e1f26ea70d | |
FossFanatic | 9ef4a850b1 | |
FossFanatic | 4c23601d03 | |
FossFanatic | 8d51e16b8e | |
Michieal | 2b11b5c17a | |
Michieal | 9445b02dcc | |
SakuraRiu | 1b980849db | |
Gregor Parzefall | 14adcbbecb | |
Michieal | e0d48400a7 | |
Gregor Parzefall | 7312c30f8e | |
Michieal | 742a625c42 | |
Michieal | 95d3f9be07 | |
Michieal | 16d94a88db | |
FossFanatic | a50908e1eb | |
FossFanatic | afbb8e2288 | |
FossFanatic | 79b1db4b1a | |
FossFanatic | 1c752019f0 | |
FossFanatic | 1977dbf9a1 | |
FossFanatic | 91836f3a1d | |
FossFanatic | 35b2f3b638 | |
Gregor Parzefall | 4fcbe05be5 | |
Riu Sakura | 8f80c6e6a6 | |
Michieal | b14f055154 | |
Riu Sakura | 3faa930bdc | |
ancientmarinerdev | a6e0da0e07 | |
Michieal | 41ab80183e | |
ancientmarinerdev | 1c24adb714 | |
Michieal | 7003459b8d | |
Michieal | 8d440f8464 | |
ancientmarinerdev | 658a08181c | |
Gregor Parzefall | 605e4de455 | |
Gregor Parzefall | 8522b87444 | |
Gregor Parzefall | e4abbbf112 | |
Gregor Parzefall | 718cdb553d | |
Gregor Parzefall | e2ec660f25 | |
Wbjitscool | 1b4bcda9da | |
Michieal | 39714fb096 | |
Wbjitscool | 258a1534d2 | |
Michieal | c995c8418c | |
Wbjitscool | 00121d9d97 | |
Michieal | 4f90fbcedd | |
Michieal | c7104a6f72 | |
Wbjitscool | 223f6640d2 | |
Michieal | feea815604 | |
Riu Sakura | b1b2e06dc7 | |
Michieal | 1a56a32fa8 | |
Michieal | 0a4243a0f3 | |
Michieal | 66a7c5757e | |
FossFanatic | 083a57a4a1 | |
FossFanatic | c512d28f02 | |
FossFanatic | 1056b6ca14 | |
FossFanatic | c8ec57bdbd | |
FossFanatic | 2dffe11cdd | |
FossFanatic | f29622dd59 | |
FossFanatic | d9bd3e2601 | |
Michieal | e53d7576c3 | |
Riu Sakura | 2b61231f82 | |
Wbjitscool | 40f7215368 | |
Wbjitscool | 620cc97bad | |
Michieal | 64c8afc8f0 | |
Michieal | f737df79e5 | |
Michieal | 7a3f373425 | |
Michieal | 63ea851e63 | |
Michieal | fe26f117da | |
Michieal | 5191326fc7 | |
ancientmarinerdev | 45c85841e8 | |
Wbjitscool | 4b8493f1a4 | |
PrairieWind | 0a2f57476e | |
PrairieWind | 256655df83 | |
Wbjitscool | b3a8ba57e7 | |
ancientmarinerdev | 20ca34233c | |
ancientmarinerdev | 93814880d0 | |
Michieal | 1861d7d30d | |
Wbjitscool | 49fb36bac2 | |
Michieal | c09ed02801 | |
Michieal | da4e359df0 | |
Michieal | 4da20f5e73 | |
ancientmarinerdev | 4ba3af5c73 | |
AFCMS | 3a619ba8e4 | |
ancientmarinerdev | 1859f44bd6 | |
kabou | 4e282df905 | |
kabou | 1b0b2b8b04 | |
kabou | c33d7d0106 | |
kabou | cec5b1668a | |
kabou | adcf03e0c6 | |
kabou | a4ef367708 | |
ancientmarinerdev | 20e78099d7 | |
ancientmarinerdev | 94a37790aa | |
ancientmarinerdev | 89f5d41366 | |
ancientmarinerdev | b33b87b9dd | |
ancientmarinerdev | 295970fbac | |
ancientmarinerdev | 639825a8da | |
FossFanatic | 0f8cfbf106 | |
FossFanatic | 39e9158c01 | |
Michieal | 773c760727 | |
ancientmarinerdev | 254caaff37 | |
ancientmarinerdev | 1ac6c45c7f | |
ancientmarinerdev | 5b68007902 | |
FossFanatic | 35967caf71 | |
Michieal | 29bc74dde9 | |
Michieal | ca1a46efa7 | |
Michieal | 997b6875a2 | |
ancientmarinerdev | 38e49a4b80 | |
ancientmarinerdev | 9b94a752bd | |
ancientmarinerdev | ab3530c356 | |
ancientmarinerdev | fbed60bd2d | |
ancientmarinerdev | bf34ca5f50 | |
ancientmarinerdev | 055432c1f7 | |
AFCMS | 7a371dc846 | |
AFCMS | 7deec7ae03 | |
AFCMS | 47eda5b69e | |
AFCMS | 8d921c0671 | |
AFCMS | 804aa388b5 | |
AFCMS | fcf9c35324 | |
AFCMS | 9cc63ed716 | |
AFCMS | c49f000894 | |
CyberMango | f7f2b97b13 | |
ancientmarinerdev | f7f0a2be8b | |
ancientmarinerdev | e408dd45e5 | |
FossFanatic | adead97905 | |
FossFanatic | ef33891b3f | |
FossFanatic | 1c5170d36f | |
FossFanatic | cf3e65e34e | |
FossFanatic | 0593a63626 | |
AFCMS | 2b46dd60c5 | |
ancientmarinerdev | 9d87dcf611 | |
AFCMS | 0f99373779 | |
AFCMS | bbf21762a6 | |
AFCMS | 34a7cf3e9f | |
AFCMS | 3153c41f3a | |
AFCMS | 489d3b7da6 | |
ancientmarinerdev | 2d05f9bc89 | |
Michieal | 8256fe6f04 | |
Michieal | bceb9cd855 | |
Michieal | 1c1ae53cec | |
Michieal | 0bc88b55e5 | |
Michieal | d80dd41cb4 | |
Michieal | 43a69c445f | |
Michieal | dbe0437201 | |
Michieal | 51372da2b9 | |
Michieal | 283b7c7410 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | bfa75dbcd2 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 7c87ed2d6c | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | d8c16b1f31 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | ba292aeb5d | |
ancientmarinerdev | 055a93843f | |
ancientmarinerdev | a3cded0133 | |
ancientmarinerdev | 2b52eaa6ef | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 71a03bff6f | |
ancientmarinerdev | a0a0c69213 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | e57551f764 | |
AFCMS | 18cfb88ae5 | |
chmodsayshello | 826b9fcc45 | |
chmodsayshello | 7dacfe2cba | |
chmodsayshello | 7d57e73ae4 | |
chmodsayshello | 7f59611914 | |
chmodsayshello | 927fd60786 | |
chmodsayshello | ab031daa5a | |
cora | 588425df73 | |
cora | 25d0f2b0c4 | |
cora | 85e7de6c14 | |
cora | d395c82183 | |
cora | 34a558ced9 | |
cora | 17f789550d | |
cora | 9508cd4c25 | |
cora | c4808beef4 | |
cora | 69c64a2c24 | |
cora | 318da7e3c9 | |
cora | 5e022ef083 | |
Michieal | c45e4d292a | |
Michieal | a542503b72 | |
Michieal | 4b570b1aa9 | |
Michieal | cc190eeb62 | |
Michieal | 7e31ece325 | |
Michieal | b783e616df | |
Michieal | f1ae86ede5 | |
Michieal | c63533c753 | |
Michieal | 81fa7cf74c | |
Michieal | 5378aae09e | |
Michieal | aec16ee62e | |
cora | 0cdf84ab47 | |
cora | 31395a8830 | |
cora | 8e74a5a56a | |
Michieal | 2149ca1147 | |
Michieal | de7696ce69 | |
Michieal | 4b777b1d9c | |
Michieal | dadb8f9287 | |
Michieal | 83b40f8cff | |
cora | ce95f034b4 | |
Michieal | 2b3ec8d944 | |
Michieal | 972e9ea0f8 | |
Michieal | df62a3aac1 | |
cora | 7cc25c4670 | |
cora | ebf214c043 | |
cora | 7bd0b5a9b1 | |
cora | bc496a8682 | |
cora | a3415647d4 | |
cora | 4909ef6ff7 | |
cora | 3c6d79ecb3 | |
cora | 6948b77226 | |
cora | 90321ee578 | |
cora | 2b691dea07 | |
cora | c25287e493 | |
epCode | 762f64a4d1 | |
cora | db63f1c453 | |
cora | faa38ffab8 | |
cora | 19d6d43b39 | |
cora | 28b6fcf289 | |
cora | 80490b4c11 | |
cora | 5e177c61f6 | |
cora | c9c2b874be | |
cora | 18c415f6a0 | |
cora | 49670d1d28 | |
cora | a25cd921f2 | |
cora | 91b5b6266c | |
cora | 148b30694f | |
cora | f4374d9efd | |
cora | b41d6a1cae | |
cora | 6548b7fe47 | |
cora | c7681af53e | |
cora | cc77e109f5 | |
cora | e7d9ded9ab | |
cora | 96d697c5cd | |
cora | 01abfea16d | |
cora | bbba7cee41 | |
cora | e82c318f0c | |
cora | 70834d0f5d | |
cora | d62dbcb852 | |
cora | 67fd8c8b40 | |
cora | 90639ef99d | |
cora | 31ef791cfd | |
cora | 4d5104ff8f | |
cora | b7962b067f | |
cora | 19dc86c951 | |
cora | e3ee224532 | |
cora | c209bff157 | |
cora | 59a7608dfc | |
cora | 8b08707e3f | |
cora | dd8f64e039 | |
cora | 56519c881e | |
cora | 944d53111a | |
PrairieWind | 33c3007709 | |
PrairieWind | 8d5aea9743 | |
cora | fa2a2bb8ac | |
cora | ee808e8f84 | |
cora | 53d11ec71b | |
cora | f1aca79f9c | |
cora | fb8b3d5f55 | |
Michieal | 8184d4938c | |
Michieal | da64a10403 | |
cora | 2a54ea6e74 | |
PrairieWind | 8b7b2f02e9 | |
cora | 927eff691c | |
cora | efdd22d69f | |
cora | f14bfdc0cd | |
cora | 66322a873b | |
cora | e134cc5e65 | |
cora | 1fcedd1375 | |
cora | bb73e5f1cd | |
cora | d4c2501d62 | |
cora | 708fcfb368 | |
cora | ebf4678e54 | |
cora | b4971b298d | |
cora | d3349396b4 | |
cora | 665e8a06a2 | |
cora | 67e8f13a96 | |
cora | 99db678a44 | |
cora | dd58bed5d1 | |
cora | 9cf910c47f | |
cora | 69f5bad0bb | |
cora | ac7038e7a5 | |
cora | 3b368fdd5a | |
cora | 624092ddd3 | |
cora | dabc09adb2 | |
cora | d0ea7c4059 | |
cora | 87d5cdc439 | |
cora | c6fc388597 | |
cora | 93e5034317 | |
cora | 8564a12398 | |
cora | e5515ed119 | |
cora | 94057aa7e5 | |
cora | db4f9ec5a3 | |
cora | 057a78ed30 | |
cora | 22fa5096c9 | |
cora | 2147790b44 | |
PrairieWind | a1e21b44c8 | |
cora | 358250012f | |
cora | 608da950e4 | |
cora | c3455de604 | |
cora | 6251c623dd | |
cora | 62fe08de59 | |
cora | af0c718538 | |
cora | 3600bc8066 | |
cora | d1788b5643 | |
cora | c7cc9ccb3e | |
cora | 097ee8b4d4 | |
cora | 59d384020e | |
cora | 1d18482103 | |
cora | b82912f30d | |
PrairieWind | 48a8511052 | |
PrairieWind | 160d7ca6fa | |
cora | ae90cbe3ef | |
cora | 9893dee1aa | |
cora | 232f57c247 | |
cora | dc017864fd | |
cora | 2159edba05 | |
cora | 37144f8787 | |
cora | 7ab2c5fecd | |
cora | 99fce095ef | |
cora | 390aec5d7a | |
cora | 052e76bfcc | |
cora | f17a9220bb | |
cora | 627ce0dc3b | |
cora | f06d5a1ee3 | |
PrairieWind | 5dc1a3d456 | |
PrairieWind | 1b6d778dd1 | |
PrairieWind | 96ac31bec3 | |
PrairieAstronomer | 8b6409b7f1 | |
cora | 6e6f163b71 | |
cora | ba7da6a885 | |
cora | 3066d966a1 | |
cora | 626f61c2c1 | |
FossFanatic | f71759f184 | |
cora | 0942949c5d | |
cora | b255c8c23e | |
PrairieWind | e1ba319616 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 88897566d9 | |
PrairieWind | 4cc0a5b0f1 | |
cora | ab0f88ad37 | |
cora | 53c1ed9fbf | |
cora | a3fbb2e0c9 | |
cora | 22063a64db | |
Michieal | 9fc27da873 | |
PrairieWind | 556316ae34 | |
Michieal | 9ffdd13fa5 | |
PrairieWind | 9cfbbef41d | |
cora | adfbf4bc64 | |
FossFanatic | 1a5aed704c | |
cora | d738eb0554 | |
Ranko_Saotome | 0fb6d20bc7 | |
cora | 94e7520b08 | |
AFCMS | 029769f48f | |
cora | 0fb040476b | |
Daniel Cassidy | 79192d51ed | |
cora | 6051731645 | |
FossFanatic | dec2c2bade | |
FossFanatic | e25415e047 | |
FossFanatic | f93af56bf6 | |
FossFanatic | f8b98d784b | |
FossFanatic | e898b72f3d | |
cora | 90bd0ee315 | |
cora | 7d63b07e09 | |
Michieal | 197e807684 | |
Michieal | 467700591b | |
Michieal | a7e643818f | |
cora | cf282a5154 | |
PrairieWind | 1877f7261e | |
cora | adeb6c42e5 | |
anarquimico | e658e29179 | |
PrairieWind | 7e3cb59863 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | a6db44b71f | |
PrairieWind | eaccd71558 | |
cora | 142f3d6d5a | |
cora | 328a377940 | |
cora | c5ec3c770c | |
cora | 5a9d428151 | |
cora | 883ca05c3a | |
cora | dea647129e | |
cora | 35e30df552 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | d764c3eac3 | |
cora | f397ff83ff | |
PrairieWind | 89a342a34f | |
PrairieWind | b17dcf26da | |
PrairieWind | c767c617f8 | |
PrairieWind | fb651a4922 | |
PrairieWind | 16f878d3dc | |
PrairieWind | bbb908239b | |
PrairieWind | 0aaaa05164 | |
PrairieWind | 8a3c1eaa6e | |
PrairieWind | a79692a68b | |
PrairieWind | cb60338f10 | |
PrairieWind | 89b02c126a | |
PrairieWind | db0b44326b | |
PrairieWind | 4bb824cd38 | |
PrairieWind | daf5bf90a4 | |
cora | d5b5d80a1a | |
Michieal | 9dc27e535b | |
Michieal | 439ac600fd | |
Michieal | bee40c55ec | |
Michieal | 2577a70a65 | |
Michieal | e2e86ae9a8 | |
Michieal | 577f9f7785 | |
Michieal | 67296c7a37 | |
Michieal | 4a1e37d9c6 | |
Michieal | e67c6e1ada | |
Michieal | 10a3a022b6 | |
Michieal | b2660e8c63 | |
Michieal | c93f66295b | |
cora | 4dba6a62cf | |
cora | a28f667b20 | |
ancientmarinerdev | 1a670bc41b | |
cora | cdf28ec684 | |
Michieal | 99a7df7ce6 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 7630b1ca00 | |
cora | eeecc52ff8 | |
cora | 661424ad23 | |
FossFanatic | 9b392fcefc | |
FossFanatic | d091d634bb | |
FossFanatic | 16746f962f | |
FossFanatic | 00c596c126 | |
FossFanatic | 993d7b6873 | |
FossFanatic | ceff91e2c3 | |
FossFanatic | 6bfcd9b1ea | |
FossFanatic | 6b826b45e1 | |
FossFanatic | 3de1f9e4d6 | |
FossFanatic | 348434adf1 | |
FossFanatic | 6946573e65 | |
FossFanatic | 862d6a9e3e | |
FossFanatic | 78d45d23c2 | |
FossFanatic | b11d65cc82 | |
FossFanatic | f4f57a9fe6 | |
TheOnlyJoeEnderman | 9e73c2cd46 | |
TheOnlyJoeEnderman | 50e6dd94b2 | |
epCode | 7ed8370eb0 | |
epCode | 3f8f6f8e44 | |
epCode | a5eb1d240e | |
epCode | ce724ee926 | |
PrairieWind | e0419f3568 | |
cora | f66a241188 | |
cora | 80fb648447 | |
PrairieWind | 4255143087 | |
RankoSaotome | 51d4f075b2 | |
RankoSaotome | a607444e60 | |
PrairieWind | ebd38fd44e | |
cora | dbef60c558 | |
PrairieWind | 4e9190bbcf | |
AFCMS | 96e83e866c | |
AFCMS | 3bb86fd436 | |
cora | 033b051689 | |
cora | 589bf75e6a | |
My favourite Minetest cheat clients are Dragonfire and Waspsaliva. | 94960b64d4 | |
anarquimico | 507f14c317 | |
cora | 12a31ee5ba | |
cora | 63225c20e5 | |
PrairieWind | 54d4a97a27 | |
cora | 61b5783e73 | |
cora | 04cb919f2b | |
cora | 4ceecffc8b | |
cora | 3c287d84d2 | |
cora | 00541cbfb8 | |
cora | 36a6a353a3 | |
cora | 8fa0371c63 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 3d6ff573e7 | |
cora | b7f766e7cc | |
cora | 489ef43458 | |
ancientmarinerdev | e6d778b214 | |
ancientmarinerdev | 70a7fb9387 | |
ancientmarinerdev | a2732b655f | |
ancientmarinerdev | 9065170b1c | |
ancientmarinerdev | ce457eb351 | |
cora | c21527d207 | |
epCode | c288b6ab93 | |
epCode | 28f952309e | |
cora | 55375a7476 | |
epCode | 080182ab15 | |
epCode | 6c6e21b63e | |
cora | b36b2058ab | |
AFCMS | 4acee8e64e | |
3raven | d01aa36d09 | |
cora | daa455c41b | |
cora | b625fba4f2 | |
anarquimico | 3ef8838a11 | |
cora | 99b26f5e3f | |
ancientmarinerdev | 59808c5190 | |
ancientmarinerdev | 3000a378f3 | |
ancientmarinerdev | 3e1a475442 | |
ancientmarinerdev | e5c639c779 | |
ancientmarinerdev | ff0fea8978 | |
ancientmarinerdev | 814ad39c09 | |
cora | 1dfc71c76c | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 8ff4a94889 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | c66e184373 | |
cora | 8ad79fbeed | |
cora | 41055d5abe | |
cora | 468b46a920 | |
AFCMS | 7dbe6489be | |
AFCMS | 5f626cf1b0 | |
AFCMS | 47e46efa6f | |
AFCMS | a11948c5f3 | |
AFCMS | cb7d5e3790 | |
AFCMS | 2c5d3861f6 | |
AFCMS | e56fa0d809 | |
TheOnlyJoeEnderman | 6a9387b752 | |
TheOnlyJoeEnderman | cbb7a8edb0 | |
anarquimico | cb721f37ce | |
cora | 7e1c9a86e4 | |
cora | c44b29925a | |
cora | 470d7dbe39 | |
MysticTempest | 6a0bcf9881 | |
anarquimico | 3072d44b66 | |
anarquimico | f61b072d39 | |
cora | bbd2ac904d | |
TheOnlyJoeEnderman | 012fe4b37e | |
TheOnlyJoeEnderman | 3110f97868 | |
TheOnlyJoeEnderman | dff028595c | |
Michieal | dd869afea0 | |
Michieal | c277229c1b | |
anarquimico | 91ef21c55b | |
MysticTempest | 2be75c9628 | |
TheOnlyJoeEnderman | 6e328153d4 | |
TheOnlyJoeEnderman | 4695707188 | |
TheOnlyJoeEnderman | 432e196794 | |
TheOnlyJoeEnderman | a592d69990 | |
TheOnlyJoeEnderman | 310237be33 | |
TheOnlyJoeEnderman | cf6d04c716 | |
TheOnlyJoeEnderman | c22997db09 | |
cora | 4c94bee22f | |
anarquimico | f977b1a253 | |
anarquimico | ff3438f729 | |
cora | f7ac679c0f | |
PrairieWind | 6f8d854f8a | |
PrairieWind | 92723cab9f | |
cora | 8db3071c2d | |
Nicu | 8162a4af2d | |
Nicu | 30d2022b4a | |
cora | df216cb847 | |
cora | 4dec3e1382 | |
cora | 43425279a3 | |
cora | faf75a3ce5 | |
Michieal | b62f61db10 | |
Michieal | c4981d894c | |
Michieal | 93913ed780 | |
Michieal | 3409c5a220 | |
Michieal | 76991fcba9 | |
Michieal | 61df48e46e | |
Michieal | 18e83e5763 | |
Michieal | 8a21b9e99c | |
Michieal | 6d1b1b3c74 | |
Michieal | 1f5b92f7bf | |
Michieal | 4d74e4d9c1 | |
Michieal | ef504e90c1 | |
Michieal | 09d452667b | |
Michieal | 9b37ca460e | |
cora | ffc5fe06ed | |
cora | e146b173b3 | |
cora | 51d34c9f3d | |
cora | 0d19a66bdd | |
MysticTempest | 15542d4878 | |
cora | fcba67b7e7 | |
cora | 2c4a768685 | |
cora | 95db6104e9 | |
cora | 5cf2f488a8 | |
cora | 97468cde0c | |
cora | 220b542cbf | |
cora | 21f3782439 | |
cora | d18f55aa48 | |
cora | 32e4a122a1 | |
TheOnlyJoeEnderman | 8e74209c9b | |
TheOnlyJoeEnderman | faa7ca1f68 | |
TheOnlyJoeEnderman | 7e3d5f3553 | |
ancientmarinerdev | 8b0c4c17ad | |
ancientmarinerdev | 2d0ea5e205 | |
ancientmarinerdev | ad137304bc | |
ancientmarinerdev | ac45dec544 | |
ancientmarinerdev | ea9c9e74b0 | |
ancientmarinerdev | 5866983bf5 | |
ancientmarinerdev | 17e3e83f43 | |
cora | 06d4845955 | |
cora | da9f253117 | |
cora | b144a93fd8 | |
cora | 3a37b1c8cc | |
cora | f1cdb24545 | |
cora | 48d6a2fd72 | |
cora | e9e76d2c1e | |
cora | cdd8ea1dbc | |
cora | 5355234af1 | |
Michieal | fb10320550 | |
Michieal | 5a68c876fb | |
Michieal | dd1e4ca927 | |
Michieal | 162bd36101 | |
Michieal | d48100c427 | |
TheOnlyJoeEnderman | 126de74904 | |
TheOnlyJoeEnderman | fbc57192a0 | |
cora | ab00297077 | |
ancientmarinerdev | 2f4622909e | |
ancientmarinerdev | 5ff4ce7116 | |
ancientmarinerdev | c606092066 | |
ancientmarinerdev | 5d5babdb20 | |
ancientmarinerdev | 7f33287e18 | |
ancientmarinerdev | 1d667c26b5 | |
ancientmarinerdev | a01c3d1342 | |
ancientmarinerdev | f9ec402b29 | |
ancientmarinerdev | cabe299456 | |
ancientmarinerdev | bf491c35a1 | |
ancientmarinerdev | 04cac7156e | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 963547a0ca | |
cora | 6851a53c6c | |
TheOnlyJoeEnderman | d5ca4fca9b | |
TheOnlyJoeEnderman | 3bdd1ea160 | |
TheOnlyJoeEnderman | 5cc835df93 | |
cora | 646a341f52 | |
cora | ae9173f7ec | |
cora | b4cb06b5ed | |
cora | 009ca7535c | |
cora | 3629f88dc0 | |
cora | 21f5586669 | |
cora | d393e6a181 | |
cora | f324e150ea | |
cora | aa2661341b | |
cora | 72224a392a | |
cora | 376aeda495 | |
cora | fb67bc74ba | |
cora | 6485545269 | |
cora | fb1c1a483e | |
cora | fe68e1eaac | |
cora | 0f01a28c93 | |
cora | 27a434641d | |
cora | 77bdce5cea | |
cora | 1f58cfb240 | |
cora | d1f0ade2e8 | |
cora | dec207368c | |
cora | eef4b52ce4 | |
cora | 6b8236e8f3 | |
cora | 5d26595f4a | |
cora | 1c6d1c958a | |
Michieal | c3433bd003 | |
cora | 8aedd6a761 | |
cora | 6bc12ec5ec | |
cora | 62f353d54f | |
cora | 4ad1abde14 | |
cora | 768345a91c | |
cora | 98dad0b191 | |
cora | 302b18833a | |
cora | f76e0628e4 | |
cora | 24476caf7e | |
cora | 68039e0fb6 | |
cora | d866b61d1c | |
cora | a91586b2b5 | |
cora | a03973a80b | |
cora | 9ea286428c | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 8faa6aa9eb | |
cora | 56cbe50a02 | |
epCode | 4575fd0d81 | |
epCode | 8a2962cd46 | |
epCode | 9099f3ac7a | |
epCode | 1d3f52004f | |
ancientmarinerdev | 532fc22f62 | |
cora | fb29abcd50 | |
chmodsayshello | e9703c409e | |
chmodsayshello | c572c27326 | |
TheOnlyJoeEnderman | 88d02da047 | |
chmodsayshello | c1af4935a1 | |
chmodsayshello | 910b3d57ac | |
TheOnlyJoeEnderman | 7aafb67923 | |
TheOnlyJoeEnderman | e7bcc89e65 | |
TheOnlyJoeEnderman | 1e003a2571 | |
TheOnlyJoeEnderman | 3001832b8f | |
cora | a1637486bb | |
cora | dc84b28d54 | |
cora | 138c0e8668 | |
epCode | 2b2c2cf9cc | |
epCode | 5378d8eba7 | |
epCode | 4fa1c445cc | |
epCode | 83d92e08ca | |
epCode | eed5ec6f63 | |
epCode | 702ba25283 | |
epCode | de73129c2b | |
epCode | d1d9f76c5d | |
cora | e34e2ba03f | |
cora | 672e44bbb1 | |
TheOnlyJoeEnderman | e2107601f4 | |
TheOnlyJoeEnderman | 0624d9d169 | |
TheOnlyJoeEnderman | 2d7d577f31 | |
TheOnlyJoeEnderman | 0fc09c6e89 | |
TheOnlyJoeEnderman | 35ac5c75f5 | |
cora | b3553fe3b8 | |
cora | c850c0dfbb | |
cora | 9aaa13408a | |
cora | c30e2c33b9 | |
cora | 146e2de1a5 | |
TheOnlyJoeEnderman | b1355513dd | |
TheOnlyJoeEnderman | 77bf8e0fb0 | |
cora | c1174360d1 | |
cora | 11cc8745a2 | |
TheOnlyJoeEnderman | 92d4e4f1e1 | |
TheOnlyJoeEnderman | ca0786f549 | |
TheOnlyJoeEnderman | 7f291aa109 | |
TheOnlyJoeEnderman | 4683384da1 | |
cora | 4f191754b8 | |
epCode | ef923deff1 | |
epCode | ee9301467c | |
epCode | 239eca8988 | |
epCode | 86eef8827a | |
cora | e6b3458018 | |
cora | 9e3163ec42 | |
TheOnlyJoeEnderman | d34710be85 | |
TheOnlyJoeEnderman | d324197609 | |
cora | ba9d10055e | |
TheOnlyJoeEnderman | e01f103723 | |
TheOnlyJoeEnderman | 109d162bca | |
TheOnlyJoeEnderman | d89c1c0e5e | |
TheOnlyJoeEnderman | 1efacd5a1b | |
TheOnlyJoeEnderman | 5abf7d187c | |
TheOnlyJoeEnderman | 2f975f2155 | |
TheOnlyJoeEnderman | fbb1aaf29f | |
TheOnlyJoeEnderman | 4bee5268cd | |
TheOnlyJoeEnderman | d575e8394d | |
TheOnlyJoeEnderman | a8250e2544 | |
TheOnlyJoeEnderman | 7e54597a25 | |
TheOnlyJoeEnderman | a47df3dcdc | |
TheOnlyJoeEnderman | 0ab82b5317 | |
TheOnlyJoeEnderman | eaa397a7da | |
TheOnlyJoeEnderman | e4995524de | |
epCode | 6c0e29891d | |
PrairieWind | e8b983bcc5 | |
cora | ae91640234 | |
cora | d6c0561d5a | |
cora | 2664fb871b | |
cora | 2b08f9ac53 | |
cora | 8d456d8ff9 | |
cora | b00f2784ff | |
cora | 280bcddcb2 | |
balazsszalab | 495378b85e | |
cora | 5f4d7774ae | |
kay27 | a7c3878cae | |
kay27 | eb313f9482 | |
cora | 63a360674d | |
epCode | 306db6b609 | |
ancientmarinerdev | f8ee473383 | |
ancientmarinerdev | eebea4a7a9 | |
ancientmarinerdev | 37e4dd5556 | |
epCode | 65289de86e | |
epCode | 6fa85a3a0c | |
epCode | de4c40f60a | |
epCode | 636e5545a7 | |
epCode | 70beaf6b3d | |
epCode | b89a9375da | |
cora | 6a512139c9 | |
AFCMS | 4d6e79b07f | |
AFCMS | 3432734c37 | |
cora | 8b566cddf3 | |
AFCMS | bacec2c7e6 | |
AFCMS | a3d459f020 | |
epCode | 970011e02b | |
cora | 8778ee6e9e | |
epCode | 97c062a1ef | |
cora | cb0b618d39 | |
cora | 58a4a9d048 | |
cora | ae0b5381e4 | |
cora | 426ee6e167 | |
epCode | 063325082d | |
ancientmarinerdev | b9d58c2f79 | |
cora | 2d1125c04e | |
cora | 3de3a58828 | |
cora | ddb64421d0 | |
cora | 7e60207603 | |
AFCMS | 9f16bfe6c5 | |
cora | bbe4224b79 | |
AFCMS | 8da8040324 | |
cora | 0a68562301 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 7579e430c8 | |
cora | 9b1d0233d5 | |
cora | 6032cfb744 | |
cora | e126a5f96d | |
cora | 3d5c653263 | |
cora | 05bd2b0e83 | |
cora | 6325b892f1 | |
cora | 1ba57b5c6e | |
cora | 1ffcc98ba8 | |
cora | ace47f8bf5 | |
cora | 2b769ad2ff | |
cora | 730debb0a6 | |
cora | f5e8f8716c | |
cora | bffa214c77 | |
cora | 34dcba0b70 | |
Michieal | d4b9918ed4 | |
ancientmarinerdev | ccf7b54481 | |
ancientmarinerdev | e1b685429d | |
cora | d00f5a695f | |
cora | a8a55f9d6e | |
cora | 2a10be4174 | |
cora | dc039e31b6 | |
Michieal | 7095876af1 | |
Michieal | 9bbb065967 | |
ancientmarinerdev | a8b336381d | |
Michieal | c0e4c96d87 | |
Michieal | 23654916cf | |
Michieal | 78c7ec6121 | |
cora | 724105bb61 | |
TheOnlyJoeEnderman | 0589816c75 | |
TheOnlyJoeEnderman | 162fe3bc1c | |
TheOnlyJoeEnderman | f352e99eb6 | |
TheOnlyJoeEnderman | 05329c908f | |
TheOnlyJoeEnderman | f8fe943fa6 | |
TheOnlyJoeEnderman | 6ee8e98ae3 | |
TheOnlyJoeEnderman | 65c7b741bb | |
TheOnlyJoeEnderman | 8001a1ea07 | |
cora | d4b1e30b61 | |
cora | 9245c85296 | |
cora | ec4d431835 | |
epCode | 3ae3bc7f4e | |
epCode | 14e7fea6c2 | |
cora | 3e56ca1843 | |
Michieal | 9f32a4c692 | |
epCode | 18283fb593 | |
cora | e56167136b | |
ancientmarinerdev | d148e6d4ba | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | cb2c01b1e2 | |
cora | 53dd88eaea | |
cora | 47efde7f2e | |
Guy Liner | 22f6c38c1a | |
cora | dda85ea141 | |
cora | e6aeb9ffba | |
cora | 9eb1e8373e | |
cora | 663900bee3 | |
cora | 88de3656b1 | |
cora | d13d50333f | |
cora | bb640b4f1c | |
cora | 1ac0da335a | |
cora | efb3072458 | |
cora | 0b9fcae8ea | |
cora | 4570226536 | |
cora | 71ad3b91db | |
cora | f7703c2889 | |
cora | 8cb73ee509 | |
cora | 79265a596b | |
cora | eed7c67f60 | |
cora | f8777220a3 | |
cora | 5b3480860a | |
PrairieWind | 6b146bd6fb | |
epCode | 4834b01091 | |
cora | 4e4bd8f978 | |
epCode | 8abdd852fc | |
epCode | d466693f27 | |
cora | b4374fe961 | |
cora | 7c15b929fa | |
cora | 2e01180fc8 | |
cora | 6f6dac02e8 | |
cora | a745075143 | |
cora | 88aa59670a | |
epCode | 74ba2a105c | |
epCode | 38ff7af9fe | |
cora | f61efce434 | |
cora | efcd0c8dcc | |
cora | d4c248548a | |
cora | 6f0de8a82c | |
cora | cf9cfea108 | |
cora | cdca04ed5c | |
cora | 4a9a7b8fef | |
cora | dd163f4850 | |
cora | 7fee2cd55a | |
PrairieWind | 7f2ecb6ed0 | |
cora | 678bf661d2 | |
epCode | 677fcb48c9 | |
epCode | 8e28c296ca | |
epCode | 22e6731261 | |
cora | 210496b615 | |
cora | a6a98fb7ae | |
epCode | 5eca209d95 | |
epCode | f242655b13 | |
epCode | 44ba08cb8b | |
epCode | ba127ecb12 | |
epCode | 82153c2af9 | |
epCode | cdbcae4b59 | |
cora | 224bbff56b | |
cora | 0c993294fb | |
cora | 1b57650317 | |
cora | e245ff02c2 | |
cora | 0ec4cb5502 | |
cora | cb7df652f7 | |
PrairieWind | 05232e99cd | |
cora | 96b7b9eab3 | |
cora | e80e44612c | |
cora | 7b1d5501c1 | |
cora | 1efaec526c | |
cora | a7e12e268c | |
cora | 40fb4a1299 | |
cora | 10a857bb3f | |
cora | d90b3c046a | |
cora | c855f51829 | |
cora | c044cf8e74 | |
cora | 93f8f2aa3b | |
cora | 976b9da7d7 | |
cora | c146124a2c | |
cora | ea48be3f4c | |
cora | cd862888d1 | |
cora | ba25e57eac | |
cora | 546b9ade6f | |
cora | 5db7680cd1 | |
cora | effac327f5 | |
cora | 97f9614818 | |
cora | cba176be4a | |
cora | 39a0353a49 | |
cora | 1a380da960 | |
cora | 83f17fd9a7 | |
cora | 976b1eb153 | |
cora | 102469f7ab | |
epCode | 27ac333878 | |
epCode | b27c81cea4 | |
epCode | 12e9c2c6d0 | |
cora | 5b74a2e70c | |
cora | 80ff5f1207 | |
cora | 3e312af3b9 | |
cora | b770ce42e3 | |
cora | fb07fee7f0 | |
cora | 01791cf550 | |
cora | 11742b61b2 | |
cora | 063102cc1e | |
cora | ef4b243a30 | |
cora | dc873f4de2 | |
cora | 438d22e52e | |
cora | 26ba771a02 | |
cora | ddd39b553d | |
cora | af8b1baba5 | |
cora | 1daed62d12 | |
cora | a599f66360 | |
Faerraven | e2fd8b804c | |
talamh | 07e419905b | |
cora | 2b5c409b12 | |
cora | a4a5b72380 | |
cora | b838646efb | |
Herbert West | 25d6375f66 | |
cora | 7eed73a543 | |
cora | d297f4af8c | |
cora | 0048a3edb2 | |
cora | f47674b9a7 | |
cora | 57b5d13edf | |
cora | 559136622e | |
cora | bf8d340da0 | |
epCode | 93e2f1997a | |
epCode | 22a5856b46 | |
cora | cd907f080c | |
epCode | dc4c5a07a4 | |
talamh | f1ebe802c6 | |
cora | 96a6cd1b9b | |
cora | f8377c77cb | |
cora | d7ca90f7fe | |
talamh | 695fab5f06 | |
talamh | 7cf287a504 | |
epCode | ecaf2d5ed7 | |
epCode | 0deb288de9 | |
cora | e80ce4b758 | |
cora | 51e43f7efc | |
cora | dc0ca59534 | |
FossFanatic | e35e949833 | |
cora | 0b0a48fd10 | |
cora | 1b6df20c0c | |
epCode | 8930f9da45 | |
epCode | aa2693795d | |
talamh | 23ec60fff0 | |
cora | fec0dae4ca | |
epCode | 8cd093afa9 | |
epCode | 9cf5b2a9f6 | |
epCode | 8a63e90e4a | |
epCode | a16e8f0403 | |
epCode | 090c5b086a | |
epCode | c500dc98f9 | |
epCode | 4a086db4c5 | |
epCode | ef980f2ea0 | |
cora | 0c21abf28a | |
PrairieWind | 78f1a81d1f | |
PrairieWind | 0a33c5b5df | |
PrairieWind | f9f74d2af7 | |
cora | d43494e3b7 | |
cora | 2a9d704293 | |
cora | e294466029 | |
cora | a1919b572a | |
cora | 24c03c2d32 | |
cora | 2fa2f7cbf9 | |
cora | aea899a569 | |
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 | 36427d5aef | |
cora | 3e9cb597e6 | |
cora | ba6dfc7368 | |
cora | 52ac8ffd43 | |
cora | 3686d9a79d | |
AFCMS | d71d1c4b82 | |
cora | 0c4edbc4ac | |
AFCMS | 5719637ee7 | |
cora | 3aaf0f3e29 | |
epCode | 3a34773671 | |
epCode | 5a14f385a0 | |
epCode | 029638029d | |
epCode | 1d06ac5774 | |
epCode | 9a338a0eea | |
epCode | 30c77a3517 | |
epCode | 25cceb58a9 | |
epCode | 8b3087c1d3 | |
epCode | 690d97bc63 | |
epCode | 683d973d9f | |
epCode | 99350d4dc8 | |
epCode | bc0d5de1e2 | |
epCode | 5f46f9649a | |
epCode | c72b1fb9db | |
cora | 609f90dd0a | |
cora | 68d04bc4e8 | |
epCode | 1a6698abda | |
cora | 8893241ae9 | |
MysticTempest | 3eb2125538 | |
chmodsayshello | a1bb8812b1 | |
cora | 3b92a5b0d2 | |
talamh | ecd1162c2d |
|
@ -0,0 +1,12 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
|
||||||
|
[*.lua]
|
||||||
|
charset = utf8
|
||||||
|
indent_style = tab
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
keep_one_space_between_table_and_bracket = false
|
||||||
|
spaces_around_operators = true
|
|
@ -0,0 +1,36 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
name: "Bug report"
|
||||||
|
about: "File a bug report"
|
||||||
|
labels:
|
||||||
|
|
||||||
|
- unconfirmed
|
||||||
|
- bug
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Thanks for taking the time to fill out this bug report!
|
||||||
|
|
||||||
|
Please follow our contributing guidelines first:
|
||||||
|
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CONTRIBUTING.md#rules-about-both-bugs-and-feature-requests
|
||||||
|
|
||||||
|
By submitting this issue, you agree to follow our Code of Conduct:
|
||||||
|
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CODE_OF_CONDUCT.md
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
What version of MineClone2 are you using? We do not provide support for outdated versions of MineClone2.
|
||||||
|
Current latest version is listed here, at the top:
|
||||||
|
https://git.minetest.land/MineClone2/MineClone2/tags
|
||||||
|
-->
|
||||||
|
MineClone2 version:
|
||||||
|
|
||||||
|
### What happened?
|
||||||
|
Report about the bug! Please send large log snippets as an attachement file.
|
||||||
|
|
||||||
|
### What should happen:
|
||||||
|
Tell us what should happen!
|
||||||
|
|
||||||
|
### Steps to reproduce
|
||||||
|
Tell us how we can reproduce the bug!
|
|
@ -0,0 +1,26 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
name: "Feature request"
|
||||||
|
about: "File a feature request not in Minecraft"
|
||||||
|
labels:
|
||||||
|
|
||||||
|
- "non-Minecraft feature"
|
||||||
|
- "needs discussion"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Got a new non-Minecraft feature request? Explain to us why we should consider your idea.
|
||||||
|
|
||||||
|
Please follow our contributing guidelines first:
|
||||||
|
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CONTRIBUTING.md#rules-about-both-bugs-and-feature-requests
|
||||||
|
|
||||||
|
By submitting this issue, you agree to follow our Code of Conduct:
|
||||||
|
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CODE_OF_CONDUCT.md
|
||||||
|
-->
|
||||||
|
|
||||||
|
### Feature
|
||||||
|
Tell us about your requested feature not in Minecraft!
|
||||||
|
|
||||||
|
### Why
|
||||||
|
Tell us why should we implement it!
|
|
@ -0,0 +1,25 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
name: "Missing Feature request"
|
||||||
|
about: "File a missing feature request in Minecraft but not in MineClone2"
|
||||||
|
labels:
|
||||||
|
|
||||||
|
- "missing feature"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Thanks for taking the time to fill out this missing feature request!
|
||||||
|
|
||||||
|
Please follow our contributing guidelines first:
|
||||||
|
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CONTRIBUTING.md#rules-about-both-bugs-and-feature-requests
|
||||||
|
|
||||||
|
By submitting this issue, you agree to follow our Code of Conduct:
|
||||||
|
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CODE_OF_CONDUCT.md
|
||||||
|
-->
|
||||||
|
|
||||||
|
### Current feature in Minecraft
|
||||||
|
Tell us about the feature currently in Minecraft! What is it like on Minecraft?
|
||||||
|
|
||||||
|
### Current feature in MineClone2
|
||||||
|
Tell us about the feature currently in MineClone2! What is different?
|
|
@ -0,0 +1,20 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
name: "Pull request"
|
||||||
|
about: "Submit a pull request"
|
||||||
|
labels:
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Please follow our contributing guidelines first:
|
||||||
|
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CONTRIBUTING.md#how-you-can-help-as-a-programmer
|
||||||
|
|
||||||
|
By submitting this pull request, you agree to follow our Code of Conduct:
|
||||||
|
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CODE_OF_CONDUCT.md
|
||||||
|
-->
|
||||||
|
|
||||||
|
Tell us about your pull request! Reference related issues, if necessary
|
||||||
|
|
||||||
|
### Testing
|
||||||
|
Tell us how to test your changes!
|
|
@ -3,3 +3,5 @@
|
||||||
*.blend1
|
*.blend1
|
||||||
*.blend2
|
*.blend2
|
||||||
*.blend3
|
*.blend3
|
||||||
|
/.idea/
|
||||||
|
*.xcf
|
|
@ -60,7 +60,7 @@ representative at an online or offline event.
|
||||||
|
|
||||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||||
reported to the community leaders responsible for enforcement at
|
reported to the community leaders responsible for enforcement at
|
||||||
eliasfleckenstein@web.de.
|
ancientmariner_dev@proton.me.
|
||||||
All complaints will be reviewed and investigated promptly and fairly.
|
All complaints will be reviewed and investigated promptly and fairly.
|
||||||
|
|
||||||
All community leaders are obligated to respect the privacy and security of the
|
All community leaders are obligated to respect the privacy and security of the
|
||||||
|
|
28
CREDITS.md
|
@ -8,12 +8,13 @@
|
||||||
|
|
||||||
|
|
||||||
## Maintainers
|
## Maintainers
|
||||||
|
* AncientMariner
|
||||||
* Nicu
|
* Nicu
|
||||||
* cora
|
|
||||||
|
|
||||||
## Previous Maintainers
|
## Previous Maintainers
|
||||||
* Fleckenstein
|
* Fleckenstein
|
||||||
* jordan4ibanez
|
* jordan4ibanez
|
||||||
|
* cora
|
||||||
|
|
||||||
## Developers
|
## Developers
|
||||||
* bzoss
|
* bzoss
|
||||||
|
@ -33,6 +34,9 @@
|
||||||
* RandomLegoBrick
|
* RandomLegoBrick
|
||||||
* SumianVoice
|
* SumianVoice
|
||||||
* MrRar
|
* MrRar
|
||||||
|
* talamh
|
||||||
|
* Faerraven / Michieal
|
||||||
|
* FossFanatic
|
||||||
|
|
||||||
## Contributors
|
## Contributors
|
||||||
* Laurent Rocher
|
* Laurent Rocher
|
||||||
|
@ -66,7 +70,6 @@
|
||||||
* Benjamin Schötz
|
* Benjamin Schötz
|
||||||
* Doloment
|
* Doloment
|
||||||
* Sydney Gems
|
* Sydney Gems
|
||||||
* talamh
|
|
||||||
* Emily2255
|
* Emily2255
|
||||||
* Emojigit
|
* Emojigit
|
||||||
* FinishedFragment
|
* FinishedFragment
|
||||||
|
@ -85,6 +88,17 @@
|
||||||
* opfromthestart
|
* opfromthestart
|
||||||
* snowyu
|
* snowyu
|
||||||
* FaceDeer
|
* FaceDeer
|
||||||
|
* Faerraven / Michieal
|
||||||
|
* FossFanatic
|
||||||
|
* Herbert West
|
||||||
|
* GuyLiner
|
||||||
|
* 3raven
|
||||||
|
* anarquimico
|
||||||
|
* TheOnlyJoeEnderman
|
||||||
|
* Ranko Saotome
|
||||||
|
* Gregor Parzefall
|
||||||
|
* Wbjitscool
|
||||||
|
* b3nderman
|
||||||
|
|
||||||
## MineClone5
|
## MineClone5
|
||||||
* kay27
|
* kay27
|
||||||
|
@ -95,7 +109,7 @@
|
||||||
* chmodsayshello
|
* chmodsayshello
|
||||||
* 3raven
|
* 3raven
|
||||||
* PrairieWind
|
* PrairieWind
|
||||||
* Gustavo1
|
* Gustavo6046 / wallabra
|
||||||
* CableGuy67
|
* CableGuy67
|
||||||
* MrRar
|
* MrRar
|
||||||
|
|
||||||
|
@ -136,11 +150,13 @@
|
||||||
* jordan4ibanez
|
* jordan4ibanez
|
||||||
* paramat
|
* paramat
|
||||||
* cora
|
* cora
|
||||||
|
* Faerraven / Michieal
|
||||||
|
|
||||||
## 3D Models
|
## 3D Models
|
||||||
* 22i
|
* 22i
|
||||||
* tobyplowy
|
* tobyplowy
|
||||||
* epCode
|
* epCode
|
||||||
|
* Faerraven / Michieal
|
||||||
|
|
||||||
## Textures
|
## Textures
|
||||||
* XSSheep
|
* XSSheep
|
||||||
|
@ -154,6 +170,8 @@
|
||||||
* MysticTempest
|
* MysticTempest
|
||||||
* RandomLegoBrick
|
* RandomLegoBrick
|
||||||
* cora
|
* cora
|
||||||
|
* Faerraven / Michieal
|
||||||
|
* Nicu
|
||||||
|
|
||||||
## Translations
|
## Translations
|
||||||
* Wuzzy
|
* Wuzzy
|
||||||
|
@ -167,9 +185,12 @@
|
||||||
* Emojigit
|
* Emojigit
|
||||||
* snowyu
|
* snowyu
|
||||||
* 3raven
|
* 3raven
|
||||||
|
* SakuraRiu
|
||||||
|
|
||||||
## Funders
|
## Funders
|
||||||
* 40W
|
* 40W
|
||||||
|
* bauknecht
|
||||||
|
* Cora
|
||||||
|
|
||||||
## Special thanks
|
## Special thanks
|
||||||
* celeron55 for creating Minetest
|
* celeron55 for creating Minetest
|
||||||
|
@ -177,3 +198,4 @@
|
||||||
* wsor for working tirelessly in the shadows for the good of all of us, particularly helping with solving contentDB and copyright issues.
|
* wsor for working tirelessly in the shadows for the good of all of us, particularly helping with solving contentDB and copyright issues.
|
||||||
* The workaholics who spent way too much time writing for the Minecraft Wiki. It's an invaluable resource for creating this game
|
* The workaholics who spent way too much time writing for the Minecraft Wiki. It's an invaluable resource for creating this game
|
||||||
* Notch and Jeb for being the major forces behind Minecraft
|
* Notch and Jeb for being the major forces behind Minecraft
|
||||||
|
* Dark Reaven Music (https://soundcloud.com/dark-reaven-music) for the main menu theme (Calmed Cube), which is licensed under https://creativecommons.org/licenses/by-sa/3.0/
|
||||||
|
|
|
@ -74,6 +74,8 @@ Please read <http://minecraft.gamepedia.com/Breaking> to learn how digging times
|
||||||
* `coral_species=X`: Specifies the species of a coral; equal X means equal species
|
* `coral_species=X`: Specifies the species of a coral; equal X means equal species
|
||||||
* `set_on_fire=X`: Sets any (not fire-resistant) mob or player on fire for X seconds when touching
|
* `set_on_fire=X`: Sets any (not fire-resistant) mob or player on fire for X seconds when touching
|
||||||
* `compostability=X`: Item can be used on a composter block; X (1-100) is the % chance of adding a level of compost
|
* `compostability=X`: Item can be used on a composter block; X (1-100) is the % chance of adding a level of compost
|
||||||
|
* `leaves=X`: Node will spotaneously decay if no tree trunk nodes remain within 6 blocks distance.
|
||||||
|
* `leaves_orphan`: See above, these nodes are in the process of decayed.
|
||||||
|
|
||||||
#### Footnotes
|
#### Footnotes
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
Survive, farm, build, explore, play with friends, and do much more. Inspired by a well known block game, pushing beyond.
|
||||||
|
|
||||||
|
How to play:
|
||||||
|
|
||||||
|
#### Download Minetest
|
||||||
|
- Navigate to https://www.minetest.net/ to download the client.
|
||||||
|
- Once installed, open and select the "Content" tab
|
||||||
|
|
||||||
|
#### Install MineClone2 from ContentDB
|
||||||
|
- Click "Browse Online Content" and filter by Games (select "Games" from the dropdown box)
|
||||||
|
- Find "MineClone2" (should be first on the list or on the first page)
|
||||||
|
- Click the [+] button next to MineClone2 and wait for download to finish
|
||||||
|
- Click "Back to Main Menu"
|
||||||
|
|
||||||
|
#### Create new world and play
|
||||||
|
- Click "Start Game" tab
|
||||||
|
- At the bottom click the MineClone2 icon (the 2 dirt with grass blocks)
|
||||||
|
- Click "New", give your world a name
|
||||||
|
- You can leave seed blank or put in a word of your choice
|
||||||
|
- Select your new world
|
||||||
|
- Click "Play Game" and enjoy!
|
|
@ -2,8 +2,6 @@
|
||||||
An unofficial Minecraft-like game for Minetest. Forked from MineClone by davedevils.
|
An unofficial Minecraft-like game for Minetest. Forked from MineClone by davedevils.
|
||||||
Developed by many people. Not developed or endorsed by Mojang AB.
|
Developed by many people. Not developed or endorsed by Mojang AB.
|
||||||
|
|
||||||
Version: 0.80 (in development)
|
|
||||||
|
|
||||||
### Gameplay
|
### Gameplay
|
||||||
You start in a randomly-generated world made entirely of cubes. You can explore
|
You start in a randomly-generated world made entirely of cubes. You can explore
|
||||||
the world and dig and build almost every block in the world to create new
|
the world and dig and build almost every block in the world to create new
|
||||||
|
@ -158,7 +156,7 @@ The following features are incomplete:
|
||||||
|
|
||||||
* Some monsters and animals
|
* Some monsters and animals
|
||||||
* Redstone-related things
|
* Redstone-related things
|
||||||
* Special minecarts
|
* Some special minecarts (hopper and chest minecarts work)
|
||||||
* A couple of non-trivial blocks and items
|
* A couple of non-trivial blocks and items
|
||||||
|
|
||||||
Bonus features (not found in Minecraft):
|
Bonus features (not found in Minecraft):
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
#File to document release steps with a view to evolving into a script
|
||||||
|
|
||||||
|
#Update CREDITS.md
|
||||||
|
#Update version in game.conf
|
||||||
|
|
||||||
|
lua tools/generate_ingame_credits.lua
|
||||||
|
|
||||||
|
git add CREDITS.md
|
||||||
|
git add mods/HUD/mcl_credits/people.lua
|
||||||
|
git add game.conf
|
||||||
|
|
||||||
|
#git add RELEASE.md
|
||||||
|
|
||||||
|
git commit -m "Pre-release update credits and set version 0.82.0"
|
||||||
|
|
||||||
|
git tag 0.82.0
|
||||||
|
|
||||||
|
git push origin 0.82.0
|
||||||
|
|
||||||
|
#Update version in game.conf to -SNAPSHOT
|
||||||
|
|
||||||
|
git commit -m "Post-release set version 0.82.0-SNAPSHOT"
|
|
@ -1,2 +1,4 @@
|
||||||
title = MineClone 2
|
title = MineClone 2
|
||||||
description = A survival sandbox game. Survive, gather, hunt, build, explore, and do much more.
|
description = A survival sandbox game. Survive, gather, hunt, build, explore, and do much more.
|
||||||
|
disallowed_mapgens = v6
|
||||||
|
version=0.82.0-SNAPSHOT
|
After Width: | Height: | Size: 83 KiB |
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 990 KiB |
After Width: | Height: | Size: 1.3 MiB |
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 1.7 MiB |
After Width: | Height: | Size: 1.3 MiB |
After Width: | Height: | Size: 1.6 MiB |
After Width: | Height: | Size: 2.0 MiB |
After Width: | Height: | Size: 865 KiB |
After Width: | Height: | Size: 916 KiB |
After Width: | Height: | Size: 606 KiB |
BIN
menu/footer.png
Before Width: | Height: | Size: 628 B After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 81 KiB |
After Width: | Height: | Size: 82 KiB |
BIN
menu/header.png
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 119 KiB |
Before Width: | Height: | Size: 121 KiB |
Before Width: | Height: | Size: 118 KiB |
Before Width: | Height: | Size: 122 KiB |
BIN
menu/overlay.png
Before Width: | Height: | Size: 91 KiB |
|
@ -204,7 +204,7 @@ end
|
||||||
|
|
||||||
-- Checks if the given node would drop its useful drop if dug by a given tool.
|
-- Checks if the given node would drop its useful drop if dug by a given tool.
|
||||||
-- Returns true if it will yield its useful drop, false otherwise.
|
-- Returns true if it will yield its useful drop, false otherwise.
|
||||||
function mcl_autogroup.can_harvest(nodename, toolname)
|
function mcl_autogroup.can_harvest(nodename, toolname, player)
|
||||||
local ndef = minetest.registered_nodes[nodename]
|
local ndef = minetest.registered_nodes[nodename]
|
||||||
|
|
||||||
if not ndef then
|
if not ndef then
|
||||||
|
@ -228,7 +228,9 @@ function mcl_autogroup.can_harvest(nodename, toolname)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Check if it can be dug by hand
|
-- Check if it can be dug by hand
|
||||||
local tdef = minetest.registered_tools[""]
|
if not player or not player:is_player() then return false end
|
||||||
|
local name = player:get_inventory():get_stack("hand", 1):get_name()
|
||||||
|
local tdef = minetest.registered_items[name]
|
||||||
if tdef then
|
if tdef then
|
||||||
for g, gdef in pairs(tdef._mcl_diggroups) do
|
for g, gdef in pairs(tdef._mcl_diggroups) do
|
||||||
if ndef.groups[g] then
|
if ndef.groups[g] then
|
||||||
|
@ -260,7 +262,7 @@ local function get_tool_capabilities(tdef)
|
||||||
|
|
||||||
-- If the damage group and punch interval from hand is not included,
|
-- If the damage group and punch interval from hand is not included,
|
||||||
-- then the user will not be able to attack with the tool.
|
-- then the user will not be able to attack with the tool.
|
||||||
local hand_toolcaps = minetest.registered_tools[""].tool_capabilities
|
local hand_toolcaps = mcl_meshhand.survival_hand_tool_caps
|
||||||
return {
|
return {
|
||||||
full_punch_interval = hand_toolcaps.full_punch_interval,
|
full_punch_interval = hand_toolcaps.full_punch_interval,
|
||||||
damage_groups = hand_toolcaps.damage_groups
|
damage_groups = hand_toolcaps.damage_groups
|
||||||
|
@ -280,7 +282,7 @@ end
|
||||||
-- would have to add _mcl_autogroup as a dependency which would break the mod
|
-- would have to add _mcl_autogroup as a dependency which would break the mod
|
||||||
-- loading order.
|
-- loading order.
|
||||||
function mcl_autogroup.get_groupcaps(toolname, efficiency)
|
function mcl_autogroup.get_groupcaps(toolname, efficiency)
|
||||||
local tdef = minetest.registered_tools[toolname]
|
local tdef = minetest.registered_items[toolname]
|
||||||
local groupcaps = table.copy(get_tool_capabilities(tdef).groupcaps or {})
|
local groupcaps = table.copy(get_tool_capabilities(tdef).groupcaps or {})
|
||||||
add_groupcaps(toolname, groupcaps, tdef._mcl_diggroups, efficiency)
|
add_groupcaps(toolname, groupcaps, tdef._mcl_diggroups, efficiency)
|
||||||
return groupcaps
|
return groupcaps
|
||||||
|
@ -350,7 +352,7 @@ local function overwrite()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
for tname, tdef in pairs(minetest.registered_tools) do
|
for tname, tdef in pairs(minetest.registered_items) do
|
||||||
-- Assign groupcaps for digging the registered digging groups
|
-- Assign groupcaps for digging the registered digging groups
|
||||||
-- depending on the _mcl_diggroups in the tool definition
|
-- depending on the _mcl_diggroups in the tool definition
|
||||||
if tdef._mcl_diggroups then
|
if tdef._mcl_diggroups then
|
||||||
|
@ -360,6 +362,12 @@ local function overwrite()
|
||||||
minetest.override_item(tname, {
|
minetest.override_item(tname, {
|
||||||
tool_capabilities = toolcaps
|
tool_capabilities = toolcaps
|
||||||
})
|
})
|
||||||
|
else
|
||||||
|
-- This is needed to deal damage when punching mobs
|
||||||
|
-- with random items in hand in survival mode
|
||||||
|
minetest.override_item(tname, {
|
||||||
|
tool_capabilities = mcl_meshhand.survival_hand_tool_caps
|
||||||
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
-- Nodes in group "supported_node" can be placed on any node that does not
|
-- Nodes in group "supported_node" can be placed on any node that does not
|
||||||
-- have the "airlike" drawtype. Carpets are an example of this type.
|
-- have the "airlike" drawtype. Carpets are an example of this type.
|
||||||
|
|
||||||
|
local pairs = pairs
|
||||||
|
local math = math
|
||||||
local vector = vector
|
local vector = vector
|
||||||
|
|
||||||
local facedir_to_dir = minetest.facedir_to_dir
|
local facedir_to_dir = minetest.facedir_to_dir
|
||||||
|
@ -22,15 +24,17 @@ local add_item = minetest.add_item
|
||||||
-- We need this to do the exact same dropping node handling in our override
|
-- We need this to do the exact same dropping node handling in our override
|
||||||
-- minetest.check_single_for_falling() function as in the builtin function.
|
-- minetest.check_single_for_falling() function as in the builtin function.
|
||||||
--
|
--
|
||||||
|
---@param p Vector
|
||||||
local function drop_attached_node(p)
|
local function drop_attached_node(p)
|
||||||
local n = get_node(p)
|
local n = get_node(p)
|
||||||
local drops = get_node_drops(n, "")
|
local drops = get_node_drops(n, "")
|
||||||
local def = registered_nodes[n.name]
|
local def = registered_nodes[n.name]
|
||||||
|
|
||||||
if def and def.preserve_metadata then
|
if def and def.preserve_metadata then
|
||||||
local oldmeta = get_meta(p):to_table().fields
|
local oldmeta = get_meta(p):to_table().fields
|
||||||
-- Copy pos and node because the callback can modify them.
|
-- Copy pos and node because the callback can modify them.
|
||||||
local pos_copy = vector.new(p)
|
local pos_copy = vector.copy(p)
|
||||||
local node_copy = {name=n.name, param1=n.param1, param2=n.param2}
|
local node_copy = { name = n.name, param1 = n.param1, param2 = n.param2 }
|
||||||
local drop_stacks = {}
|
local drop_stacks = {}
|
||||||
for k, v in pairs(drops) do
|
for k, v in pairs(drops) do
|
||||||
drop_stacks[k] = ItemStack(v)
|
drop_stacks[k] = ItemStack(v)
|
||||||
|
@ -38,16 +42,18 @@ local function drop_attached_node(p)
|
||||||
drops = drop_stacks
|
drops = drop_stacks
|
||||||
def.preserve_metadata(pos_copy, node_copy, oldmeta, drops)
|
def.preserve_metadata(pos_copy, node_copy, oldmeta, drops)
|
||||||
end
|
end
|
||||||
|
|
||||||
if def and def.sounds and def.sounds.fall then
|
if def and def.sounds and def.sounds.fall then
|
||||||
core.sound_play(def.sounds.fall, {pos = p}, true)
|
minetest.sound_play(def.sounds.fall, { pos = p }, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
remove_node(p)
|
remove_node(p)
|
||||||
for _, item in pairs(drops) do
|
for _, item in pairs(drops) do
|
||||||
local pos = {
|
local pos = vector.offset(p,
|
||||||
x = p.x + math.random()/2 - 0.25,
|
math.random() / 2 - 0.25,
|
||||||
y = p.y + math.random()/2 - 0.25,
|
math.random() / 2 - 0.25,
|
||||||
z = p.z + math.random()/2 - 0.25,
|
math.random() / 2 - 0.25
|
||||||
}
|
)
|
||||||
add_item(pos, item)
|
add_item(pos, item)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -90,4 +96,3 @@ function minetest.check_single_for_falling(pos)
|
||||||
|
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# mcl_autogroup
|
# mcl_autogroup
|
||||||
This mod emulate digging times from mc.
|
This mod emulate digging times from mc.
|
||||||
|
|
||||||
## mcl_autogroup.can_harvest(nodename, toolname)
|
## mcl_autogroup.can_harvest(nodename, toolname, player)
|
||||||
Return true if <nodename> can be dig with <toolname>.
|
Return true if <nodename> can be dig with <toolname> by <player>.
|
||||||
* nodename: string, valid nodename
|
* nodename: string, valid nodename
|
||||||
* toolname: (optional) string, valid toolname
|
* toolname: (optional) string, valid toolname
|
||||||
|
* player: (optinal) ObjectRef, valid player
|
||||||
|
|
||||||
## mcl_autogroup.get_groupcaps(toolname, efficiency)
|
## mcl_autogroup.get_groupcaps(toolname, efficiency)
|
||||||
This function is used to calculate diggroups for tools.
|
This function is used to calculate diggroups for tools.
|
||||||
|
|
|
@ -12,6 +12,7 @@ mcl_damage = {
|
||||||
drown = {bypasses_armor = true},
|
drown = {bypasses_armor = true},
|
||||||
starve = {bypasses_armor = true, bypasses_magic = true},
|
starve = {bypasses_armor = true, bypasses_magic = true},
|
||||||
cactus = {},
|
cactus = {},
|
||||||
|
sweet_berry = {},
|
||||||
fall = {bypasses_armor = true},
|
fall = {bypasses_armor = true},
|
||||||
fly_into_wall = {bypasses_armor = true}, -- unused
|
fly_into_wall = {bypasses_armor = true}, -- unused
|
||||||
out_of_world = {bypasses_armor = true, bypasses_magic = true, bypasses_invulnerability = true, bypasses_totem = true},
|
out_of_world = {bypasses_armor = true, bypasses_magic = true, bypasses_invulnerability = true, bypasses_totem = true},
|
||||||
|
@ -154,7 +155,6 @@ end, true)
|
||||||
minetest.register_on_player_hpchange(function(player, hp_change, mt_reason)
|
minetest.register_on_player_hpchange(function(player, hp_change, mt_reason)
|
||||||
if not damage_enabled then return 0 end
|
if not damage_enabled then return 0 end
|
||||||
if player:get_hp() > 0 then
|
if player:get_hp() > 0 then
|
||||||
mt_reason.approved = true
|
|
||||||
if hp_change < 0 then
|
if hp_change < 0 then
|
||||||
mcl_damage.run_damage_callbacks(player, -hp_change, mcl_damage.from_mt(mt_reason))
|
mcl_damage.run_damage_callbacks(player, -hp_change, mcl_damage.from_mt(mt_reason))
|
||||||
end
|
end
|
||||||
|
@ -162,9 +162,7 @@ minetest.register_on_player_hpchange(function(player, hp_change, mt_reason)
|
||||||
end, false)
|
end, false)
|
||||||
|
|
||||||
minetest.register_on_dieplayer(function(player, mt_reason)
|
minetest.register_on_dieplayer(function(player, mt_reason)
|
||||||
if mt_reason.approved then
|
|
||||||
mcl_damage.run_death_callbacks(player, mcl_damage.from_mt(mt_reason))
|
mcl_damage.run_death_callbacks(player, mcl_damage.from_mt(mt_reason))
|
||||||
end
|
|
||||||
minetest.log("action","Player "..player:get_player_name().." died at "..minetest.pos_to_string(vector.round(player:get_pos())))
|
minetest.log("action","Player "..player:get_player_name().." died at "..minetest.pos_to_string(vector.round(player:get_pos())))
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
## mcl_events
|
||||||
|
### Registering Events
|
||||||
|
`mlc_events.register_event("name",def)`
|
||||||
|
|
||||||
|
#### Event Definition
|
||||||
|
{
|
||||||
|
stage = 0,
|
||||||
|
max_stage = 1,
|
||||||
|
percent = 100,
|
||||||
|
bars = {},
|
||||||
|
completed = false,
|
||||||
|
cond_start = function() end,
|
||||||
|
--return table of paramtables e.g. { { player = playername, pos = position, ... } }, custom parameters will be passed to the event object/table
|
||||||
|
on_step = function(event) end,
|
||||||
|
--this function is run every game step when the event is active
|
||||||
|
on_start = function(event) end,
|
||||||
|
-- this function is run when the event starts
|
||||||
|
on_stage_begin = function(event) end,
|
||||||
|
-- this function runs when a new stage of the event starts
|
||||||
|
cond_progress = function(event) end, --return false or next stage id
|
||||||
|
--this function checks if the event should progress to the next (or any other) stage
|
||||||
|
cond_complete = function(event) end,
|
||||||
|
--return true if event finished successfully
|
||||||
|
}
|
||||||
|
|
||||||
|
### Debugging
|
||||||
|
* /event_start <event> -- starts the given event at the current player coordinates
|
|
@ -0,0 +1,155 @@
|
||||||
|
mcl_events = {}
|
||||||
|
mcl_events.registered_events = {}
|
||||||
|
local disabled_events = minetest.settings:get("mcl_disabled_events")
|
||||||
|
if disabled_events then disabled_events = disabled_events:split(",")
|
||||||
|
else disabled_events = {} end
|
||||||
|
local DBG = minetest.settings:get_bool("mcl_logging_event_api",false)
|
||||||
|
local active_events = {}
|
||||||
|
|
||||||
|
local event_tpl = {
|
||||||
|
stage = 0,
|
||||||
|
max_stage = 1,
|
||||||
|
percent = 100,
|
||||||
|
bars = {},
|
||||||
|
completed = false,
|
||||||
|
cond_start = function(event) end, --return table of positions
|
||||||
|
on_step = function(event) end,
|
||||||
|
on_start = function(event) end,
|
||||||
|
on_stage_begin = function(event) end,
|
||||||
|
cond_progress = function(event) end, --return next stage
|
||||||
|
cond_complete = function(event) end, --return success
|
||||||
|
}
|
||||||
|
|
||||||
|
local function mcl_log(m,l)
|
||||||
|
if DBG then
|
||||||
|
if not l then l = "action" end
|
||||||
|
minetest.log(l,"[mcl_events] "..m)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
function mcl_events.register_event(name,def)
|
||||||
|
if table.indexof(disabled_events,name) ~= -1 then return end
|
||||||
|
mcl_events.registered_events[name] = def
|
||||||
|
mcl_events.registered_events[name].name = name
|
||||||
|
end
|
||||||
|
|
||||||
|
local function addbars(self)
|
||||||
|
if not self.enable_bossbar then return end
|
||||||
|
for _,player in pairs(minetest.get_connected_players()) do
|
||||||
|
if vector.distance(self.pos,player:get_pos()) < 64 then
|
||||||
|
local bar = mcl_bossbars.add_bar(player, {color = "red", text = self.readable_name .. ": Wave "..self.stage.." / "..self.max_stage, percentage = self.percent }, true,1)
|
||||||
|
table.insert(self.bars,bar)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
local function start_event(p,e)
|
||||||
|
mcl_log("[mcl_events] Event started: "..e.readable_name.." at "..minetest.pos_to_string(vector.round(p.pos)))
|
||||||
|
local idx = #active_events + 1
|
||||||
|
active_events[idx] = table.copy(e)
|
||||||
|
setmetatable(active_events[idx],{__index = event_tpl})
|
||||||
|
for k,v in pairs(p) do active_events[idx][k] = v end
|
||||||
|
active_events[idx].stage = 0
|
||||||
|
active_events[idx].percent = 100
|
||||||
|
active_events[idx].bars = {}
|
||||||
|
active_events[idx].time_start = os.time()
|
||||||
|
if active_events[idx].on_start then
|
||||||
|
active_events[idx]:on_start(p.pos)
|
||||||
|
end
|
||||||
|
addbars(active_events[idx])
|
||||||
|
end
|
||||||
|
|
||||||
|
local function finish_event(self,idx)
|
||||||
|
mcl_log("[mcl_events] Finished: "..self.readable_name.." at "..minetest.pos_to_string(vector.round(self.pos)))
|
||||||
|
if self.on_complete then self:on_complete() end
|
||||||
|
for _,b in pairs(self.bars) do
|
||||||
|
mcl_bossbars.remove_bar(b)
|
||||||
|
end
|
||||||
|
table.remove(active_events,idx)
|
||||||
|
end
|
||||||
|
|
||||||
|
local etime = 0
|
||||||
|
function check_events(dtime)
|
||||||
|
--process active events
|
||||||
|
for idx,ae in pairs(active_events) do
|
||||||
|
if ae.cond_complete and ae:cond_complete() then
|
||||||
|
ae.finished = true
|
||||||
|
finish_event(ae,idx)
|
||||||
|
elseif not ae.cond_complete and ae.max_stage and ae.max_stage <= ae.stage then
|
||||||
|
ae.finished = true
|
||||||
|
finish_event(ae,idx)
|
||||||
|
elseif not ae.finished and ae.cond_progress then
|
||||||
|
local p = ae:cond_progress()
|
||||||
|
if p == true then
|
||||||
|
ae.stage = ae.stage + 1
|
||||||
|
if ae:on_stage_begin() == true then
|
||||||
|
mcl_log("[mcl_events] Event "..ae.readable_name.." at "..minetest.pos_to_string(vector.round(ae.pos)).." failed at stage_begin of stage "..ae.stage )
|
||||||
|
active_events[idx] = nil
|
||||||
|
end
|
||||||
|
elseif tonumber(p) then
|
||||||
|
ae.stage = tonumber(p) or ae.stage + 1
|
||||||
|
ae:on_stage_begin()
|
||||||
|
end
|
||||||
|
elseif not ae.finished and ae.on_step then
|
||||||
|
ae:on_step(dtime)
|
||||||
|
end
|
||||||
|
addbars(ae)
|
||||||
|
end
|
||||||
|
-- check if a new event should be started
|
||||||
|
etime = etime - dtime
|
||||||
|
if etime > 0 then return end
|
||||||
|
etime = 10
|
||||||
|
for _,e in pairs(mcl_events.registered_events) do
|
||||||
|
local pp = e.cond_start()
|
||||||
|
if pp then
|
||||||
|
--minetest.log("It's gonna start the raid maybe")
|
||||||
|
for _,p in pairs(pp) do
|
||||||
|
local start = true
|
||||||
|
if e.exclusive_to_area then
|
||||||
|
for _,ae in pairs(active_events) do
|
||||||
|
if e.name == ae.name and vector.distance(p.pos,ae.pos) < e.exclusive_to_area then start = false end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
if start then
|
||||||
|
--minetest.log("It's gonna start the raid definitely")
|
||||||
|
start_event(p,e)
|
||||||
|
elseif DBG then
|
||||||
|
mcl_log("[mcl_events] Event "..e.readable_name.." already active at "..minetest.pos_to_string(vector.round(p.pos)))
|
||||||
|
end
|
||||||
|
end
|
||||||
|
else
|
||||||
|
--minetest.log("Do not start this raid")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
for idx,ae in pairs(active_events) do
|
||||||
|
local player_near = false
|
||||||
|
for _,pl in pairs(minetest.get_connected_players()) do
|
||||||
|
if ae.pos and vector.distance(pl:get_pos(),ae.pos) < 64 then player_near = true end
|
||||||
|
end
|
||||||
|
if ae.pos and not player_near then
|
||||||
|
mcl_log("[mcl_events] Event "..ae.readable_name.." at "..minetest.pos_to_string(vector.round(ae.pos)).." aborted - no players near." )
|
||||||
|
active_events[idx] = nil
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
minetest.register_globalstep(check_events)
|
||||||
|
|
||||||
|
mcl_info.register_debug_field("Active Events",{
|
||||||
|
level = 4,
|
||||||
|
func = function(pl,pos)
|
||||||
|
return tostring(#active_events)
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_chatcommand("event_start",{
|
||||||
|
privs = {debug = true},
|
||||||
|
description = "Debug command to start events",
|
||||||
|
func = function(pname,param)
|
||||||
|
local p = minetest.get_player_by_name(pname)
|
||||||
|
local evdef = mcl_events.registered_events[param]
|
||||||
|
if not evdef then return false,"Event "..param.." doesn't exist.'" end
|
||||||
|
start_event({pos=p:get_pos(),player=pname,factor=1},evdef)
|
||||||
|
return true,"Started event "..param
|
||||||
|
end,
|
||||||
|
})
|
|
@ -0,0 +1,3 @@
|
||||||
|
name = mcl_events
|
||||||
|
author = cora
|
||||||
|
depends = mcl_mobs,mcl_bossbars, mcl_info
|
|
@ -130,10 +130,10 @@ local function add_particles(pos, radius)
|
||||||
time = 0.125,
|
time = 0.125,
|
||||||
minpos = pos,
|
minpos = pos,
|
||||||
maxpos = pos,
|
maxpos = pos,
|
||||||
minvel = {x = -radius, y = -radius, z = -radius},
|
minvel = vector.new(-radius, -radius, -radius),
|
||||||
maxvel = {x = radius, y = radius, z = radius},
|
maxvel = vector.new(radius, radius, radius),
|
||||||
minacc = vector.new(),
|
minacc = vector.zero(),
|
||||||
maxacc = vector.new(),
|
maxacc = vector.zero(),
|
||||||
minexptime = 0.5,
|
minexptime = 0.5,
|
||||||
maxexptime = 1.0,
|
maxexptime = 1.0,
|
||||||
minsize = radius * 0.5,
|
minsize = radius * 0.5,
|
||||||
|
@ -288,7 +288,7 @@ local function trace_explode(pos, strength, raydirs, radius, info, direct, sourc
|
||||||
rdir_y = rdir_y / rdir_len
|
rdir_y = rdir_y / rdir_len
|
||||||
rdir_z = rdir_z / rdir_len
|
rdir_z = rdir_z / rdir_len
|
||||||
|
|
||||||
for i=0, rdir_len / STEP_LENGTH do
|
for i = 0, rdir_len / STEP_LENGTH do
|
||||||
rpos_x = rpos_x + rdir_x * STEP_LENGTH
|
rpos_x = rpos_x + rdir_x * STEP_LENGTH
|
||||||
rpos_y = rpos_y + rdir_y * STEP_LENGTH
|
rpos_y = rpos_y + rdir_y * STEP_LENGTH
|
||||||
rpos_z = rpos_z + rdir_z * STEP_LENGTH
|
rpos_z = rpos_z + rdir_z * STEP_LENGTH
|
||||||
|
@ -333,16 +333,17 @@ local function trace_explode(pos, strength, raydirs, radius, info, direct, sourc
|
||||||
end
|
end
|
||||||
|
|
||||||
if sleep_formspec_doesnt_close_mt53 then
|
if sleep_formspec_doesnt_close_mt53 then
|
||||||
minetest.after(0.3, function() -- 0.2 is minimum delay for closing old formspec and open died formspec -- TODO: REMOVE THIS IN THE FUTURE
|
minetest.after(0.3,
|
||||||
|
function() -- 0.2 is minimum delay for closing old formspec and open died formspec -- TODO: REMOVE THIS IN THE FUTURE
|
||||||
if not obj:is_player() then
|
if not obj:is_player() then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
mcl_util.deal_damage(obj, damage, {type = "explosion", direct = direct, source = source})
|
mcl_util.deal_damage(obj, damage, { type = "explosion", direct = direct, source = source })
|
||||||
|
|
||||||
obj:add_velocity(vector.multiply(punch_dir, impact * 20))
|
obj:add_velocity(vector.multiply(punch_dir, impact * 20))
|
||||||
end)
|
end)
|
||||||
else
|
else
|
||||||
mcl_util.deal_damage(obj, damage, {type = "explosion", direct = direct, source = source})
|
mcl_util.deal_damage(obj, damage, { type = "explosion", direct = direct, source = source })
|
||||||
|
|
||||||
if obj:is_player() or ent.tnt_knockback then
|
if obj:is_player() or ent.tnt_knockback then
|
||||||
obj:add_velocity(vector.multiply(punch_dir, impact * 20))
|
obj:add_velocity(vector.multiply(punch_dir, impact * 20))
|
||||||
|
@ -388,23 +389,24 @@ local function trace_explode(pos, strength, raydirs, radius, info, direct, sourc
|
||||||
-- We use bulk_set_node instead of LVM because we want to have on_destruct and
|
-- We use bulk_set_node instead of LVM because we want to have on_destruct and
|
||||||
-- on_construct being called
|
-- on_construct being called
|
||||||
if #airs > 0 then
|
if #airs > 0 then
|
||||||
bulk_set_node(airs, {name="air"})
|
bulk_set_node(airs, { name = "air" })
|
||||||
end
|
end
|
||||||
if #fires > 0 then
|
if #fires > 0 then
|
||||||
bulk_set_node(fires, {name="mcl_fire:fire"})
|
bulk_set_node(fires, { name = "mcl_fire:fire" })
|
||||||
end
|
end
|
||||||
-- Update falling nodes
|
-- Update falling nodes
|
||||||
for a=1, #airs do
|
for a = 1, #airs do
|
||||||
local p = airs[a]
|
local p = airs[a]
|
||||||
check_for_falling({x=p.x, y=p.y+1, z=p.z})
|
check_for_falling(vector.offset(p, 0, 1, 0))
|
||||||
end
|
end
|
||||||
for f=1, #fires do
|
for f = 1, #fires do
|
||||||
local p = fires[f]
|
local p = fires[f]
|
||||||
check_for_falling({x=p.x, y=p.y+1, z=p.z})
|
check_for_falling(vector.offset(p, 0, 1, 0))
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Log explosion
|
-- Log explosion
|
||||||
minetest.log("action", "Explosion at "..pos_to_string(pos).." with strength "..strength.." and radius "..radius)
|
minetest.log("action", "Explosion at " .. pos_to_string(pos) .. " with strength " .. strength .. " and radius " ..
|
||||||
|
radius)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Create an explosion with strength at pos.
|
-- Create an explosion with strength at pos.
|
||||||
|
@ -428,6 +430,11 @@ end
|
||||||
-- griefing - If true, the explosion will destroy nodes (default: true)
|
-- griefing - If true, the explosion will destroy nodes (default: true)
|
||||||
-- grief_protected - If true, the explosion will also destroy nodes which have
|
-- grief_protected - If true, the explosion will also destroy nodes which have
|
||||||
-- been protected (default: false)
|
-- been protected (default: false)
|
||||||
|
---@param pos Vector
|
||||||
|
---@param strength number
|
||||||
|
---@param info {drop_chance: number, max_blast_resistance: number, sound: boolean, particles: boolean, fire: boolean, griefing: boolean, grief_protected: boolean}
|
||||||
|
---@param direct? ObjectRef
|
||||||
|
---@param source? ObjectRef
|
||||||
function mcl_explosions.explode(pos, strength, info, direct, source)
|
function mcl_explosions.explode(pos, strength, info, direct, source)
|
||||||
if info == nil then
|
if info == nil then
|
||||||
info = {}
|
info = {}
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
# textdomain:mcl_explosions
|
||||||
|
@1 was caught in an explosion.=@1は爆発に巻き込まれた。
|
|
@ -3,87 +3,99 @@ mcl_vars = {}
|
||||||
|
|
||||||
mcl_vars.redstone_tick = 0.1
|
mcl_vars.redstone_tick = 0.1
|
||||||
|
|
||||||
--- GUI / inventory menu settings
|
-- GUI / inventory menu settings
|
||||||
mcl_vars.gui_slots = "listcolors[#9990;#FFF7;#FFF0;#000;#FFF]"
|
mcl_vars.gui_slots = "listcolors[#9990;#FFF7;#FFF0;#000;#FFF]"
|
||||||
|
|
||||||
-- nonbg is added as formspec prepend in mcl_formspec_prepend
|
-- nonbg is added as formspec prepend in mcl_formspec_prepend
|
||||||
mcl_vars.gui_nonbg = mcl_vars.gui_slots ..
|
mcl_vars.gui_nonbg = table.concat({
|
||||||
"style_type[image_button;border=false;bgimg=mcl_inventory_button9.png;bgimg_pressed=mcl_inventory_button9_pressed.png;bgimg_middle=2,2]"..
|
mcl_vars.gui_slots,
|
||||||
"style_type[button;border=false;bgimg=mcl_inventory_button9.png;bgimg_pressed=mcl_inventory_button9_pressed.png;bgimg_middle=2,2]"..
|
"style_type[image_button;border=false;bgimg=mcl_inventory_button9.png;bgimg_pressed=mcl_inventory_button9_pressed.png;bgimg_middle=2,2]",
|
||||||
"style_type[field;textcolor=#323232]"..
|
"style_type[button;border=false;bgimg=mcl_inventory_button9.png;bgimg_pressed=mcl_inventory_button9_pressed.png;bgimg_middle=2,2]",
|
||||||
"style_type[label;textcolor=#323232]"..
|
"style_type[field;textcolor=#323232]",
|
||||||
"style_type[textarea;textcolor=#323232]"..
|
"style_type[label;textcolor=#323232]",
|
||||||
"style_type[checkbox;textcolor=#323232]"
|
"style_type[textarea;textcolor=#323232]",
|
||||||
|
"style_type[checkbox;textcolor=#323232]",
|
||||||
|
})
|
||||||
|
|
||||||
-- Background stuff must be manually added by mods (no formspec prepend)
|
-- Background stuff must be manually added by mods (no formspec prepend)
|
||||||
mcl_vars.gui_bg_color = "bgcolor[#00000000]"
|
mcl_vars.gui_bg_color = "bgcolor[#00000000]"
|
||||||
mcl_vars.gui_bg_img = "background9[1,1;1,1;mcl_base_textures_background9.png;true;7]"
|
mcl_vars.gui_bg_img = "background9[1,1;1,1;mcl_base_textures_background9.png;true;7]"
|
||||||
|
|
||||||
-- Legacy
|
|
||||||
mcl_vars.inventory_header = ""
|
|
||||||
|
|
||||||
-- Tool wield size
|
-- Tool wield size
|
||||||
mcl_vars.tool_wield_scale = { x = 1.8, y = 1.8, z = 1 }
|
mcl_vars.tool_wield_scale = vector.new(1.8, 1.8, 1)
|
||||||
|
|
||||||
-- Mapgen variables
|
-- Mapgen variables
|
||||||
local mg_name = minetest.get_mapgen_setting("mg_name")
|
local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||||
local minecraft_height_limit = 320
|
local minecraft_height_limit = 256
|
||||||
local superflat = mg_name == "flat" and minetest.get_mapgen_setting("mcl_superflat_classic") == "true"
|
local superflat = mg_name == "flat" and minetest.get_mapgen_setting("mcl_superflat_classic") == "true"
|
||||||
local singlenode = mg_name == "singlenode"
|
local singlenode = mg_name == "singlenode"
|
||||||
|
|
||||||
local convert_old_bedrock = minetest.settings:get_bool("mcl_convert_old_bedrock", true)
|
|
||||||
|
|
||||||
-- Calculate mapgen_edge_min/mapgen_edge_max
|
-- Calculate mapgen_edge_min/mapgen_edge_max
|
||||||
mcl_vars.chunksize = math.max(1, tonumber(minetest.get_mapgen_setting("chunksize")) or 5)
|
mcl_vars.chunksize = math.max(1, tonumber(minetest.get_mapgen_setting("chunksize")) or 5)
|
||||||
mcl_vars.MAP_BLOCKSIZE = math.max(1, minetest.MAP_BLOCKSIZE or 16)
|
mcl_vars.MAP_BLOCKSIZE = math.max(1, minetest.MAP_BLOCKSIZE or 16)
|
||||||
mcl_vars.mapgen_limit = math.max(1, tonumber(minetest.get_mapgen_setting("mapgen_limit")) or 31000)
|
mcl_vars.mapgen_limit = math.max(1, tonumber(minetest.get_mapgen_setting("mapgen_limit")) or 31000)
|
||||||
mcl_vars.MAX_MAP_GENERATION_LIMIT = math.max(1, minetest.MAX_MAP_GENERATION_LIMIT or 31000)
|
mcl_vars.MAX_MAP_GENERATION_LIMIT = math.max(1, minetest.MAX_MAP_GENERATION_LIMIT or 31000)
|
||||||
|
|
||||||
local central_chunk_offset = -math.floor(mcl_vars.chunksize / 2)
|
local central_chunk_offset = -math.floor(mcl_vars.chunksize / 2)
|
||||||
|
|
||||||
mcl_vars.central_chunk_offset_in_nodes = central_chunk_offset * mcl_vars.MAP_BLOCKSIZE
|
mcl_vars.central_chunk_offset_in_nodes = central_chunk_offset * mcl_vars.MAP_BLOCKSIZE
|
||||||
mcl_vars.chunk_size_in_nodes = mcl_vars.chunksize * mcl_vars.MAP_BLOCKSIZE
|
mcl_vars.chunk_size_in_nodes = mcl_vars.chunksize * mcl_vars.MAP_BLOCKSIZE
|
||||||
|
|
||||||
local central_chunk_min_pos = central_chunk_offset * mcl_vars.MAP_BLOCKSIZE
|
local central_chunk_min_pos = central_chunk_offset * mcl_vars.MAP_BLOCKSIZE
|
||||||
local central_chunk_max_pos = central_chunk_min_pos + mcl_vars.chunk_size_in_nodes - 1
|
local central_chunk_max_pos = central_chunk_min_pos + mcl_vars.chunk_size_in_nodes - 1
|
||||||
local ccfmin = central_chunk_min_pos - mcl_vars.MAP_BLOCKSIZE -- Fullminp/fullmaxp of central chunk, in nodes
|
local ccfmin = central_chunk_min_pos - mcl_vars.MAP_BLOCKSIZE -- Fullminp/fullmaxp of central chunk, in nodes
|
||||||
local ccfmax = central_chunk_max_pos + mcl_vars.MAP_BLOCKSIZE
|
local ccfmax = central_chunk_max_pos + mcl_vars.MAP_BLOCKSIZE
|
||||||
local mapgen_limit_b = math.floor(math.min(mcl_vars.mapgen_limit, mcl_vars.MAX_MAP_GENERATION_LIMIT) / mcl_vars.MAP_BLOCKSIZE)
|
local mapgen_limit_b = math.floor(math.min(mcl_vars.mapgen_limit, mcl_vars.MAX_MAP_GENERATION_LIMIT) /
|
||||||
|
mcl_vars.MAP_BLOCKSIZE)
|
||||||
local mapgen_limit_min = -mapgen_limit_b * mcl_vars.MAP_BLOCKSIZE
|
local mapgen_limit_min = -mapgen_limit_b * mcl_vars.MAP_BLOCKSIZE
|
||||||
local mapgen_limit_max = (mapgen_limit_b + 1) * mcl_vars.MAP_BLOCKSIZE - 1
|
local mapgen_limit_max = (mapgen_limit_b + 1) * mcl_vars.MAP_BLOCKSIZE - 1
|
||||||
local numcmin = math.max(math.floor((ccfmin - mapgen_limit_min) / mcl_vars.chunk_size_in_nodes), 0) -- Number of complete chunks from central chunk
|
local numcmin = math.max(math.floor((ccfmin - mapgen_limit_min) / mcl_vars.chunk_size_in_nodes), 0) -- Number of complete chunks from central chunk
|
||||||
local numcmax = math.max(math.floor((mapgen_limit_max - ccfmax) / mcl_vars.chunk_size_in_nodes), 0) -- fullminp/fullmaxp to effective mapgen limits.
|
local numcmax = math.max(math.floor((mapgen_limit_max - ccfmax) / mcl_vars.chunk_size_in_nodes), 0) -- fullminp/fullmaxp to effective mapgen limits.
|
||||||
|
|
||||||
mcl_vars.mapgen_edge_min = central_chunk_min_pos - numcmin * mcl_vars.chunk_size_in_nodes
|
mcl_vars.mapgen_edge_min = central_chunk_min_pos - numcmin * mcl_vars.chunk_size_in_nodes
|
||||||
mcl_vars.mapgen_edge_max = central_chunk_max_pos + numcmax * mcl_vars.chunk_size_in_nodes
|
mcl_vars.mapgen_edge_max = central_chunk_max_pos + numcmax * mcl_vars.chunk_size_in_nodes
|
||||||
|
|
||||||
|
---@param x integer
|
||||||
|
---@return integer
|
||||||
local function coordinate_to_block(x)
|
local function coordinate_to_block(x)
|
||||||
return math.floor(x / mcl_vars.MAP_BLOCKSIZE)
|
return math.floor(x / mcl_vars.MAP_BLOCKSIZE)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
---@param x integer
|
||||||
|
---@return integer
|
||||||
local function coordinate_to_chunk(x)
|
local function coordinate_to_chunk(x)
|
||||||
return math.floor((coordinate_to_block(x) - central_chunk_offset) / mcl_vars.chunksize)
|
return math.floor((coordinate_to_block(x) - central_chunk_offset) / mcl_vars.chunksize)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
---@param pos Vector
|
||||||
|
---@return Vector
|
||||||
function mcl_vars.pos_to_block(pos)
|
function mcl_vars.pos_to_block(pos)
|
||||||
return {
|
return vector.new(
|
||||||
x = coordinate_to_block(pos.x),
|
coordinate_to_block(pos.x),
|
||||||
y = coordinate_to_block(pos.y),
|
coordinate_to_block(pos.y),
|
||||||
z = coordinate_to_block(pos.z)
|
coordinate_to_block(pos.z)
|
||||||
}
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
---@param pos Vector
|
||||||
|
---@return Vector
|
||||||
function mcl_vars.pos_to_chunk(pos)
|
function mcl_vars.pos_to_chunk(pos)
|
||||||
return {
|
return vector.new(
|
||||||
x = coordinate_to_chunk(pos.x),
|
coordinate_to_chunk(pos.x),
|
||||||
y = coordinate_to_chunk(pos.y),
|
coordinate_to_chunk(pos.y),
|
||||||
z = coordinate_to_chunk(pos.z)
|
coordinate_to_chunk(pos.z)
|
||||||
}
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
local k_positive = math.ceil(mcl_vars.MAX_MAP_GENERATION_LIMIT / mcl_vars.chunk_size_in_nodes)
|
local k_positive = math.ceil(mcl_vars.MAX_MAP_GENERATION_LIMIT / mcl_vars.chunk_size_in_nodes)
|
||||||
local k_positive_z = k_positive * 2
|
local k_positive_z = k_positive * 2
|
||||||
local k_positive_y = k_positive_z * k_positive_z
|
local k_positive_y = k_positive_z * k_positive_z
|
||||||
|
|
||||||
|
---@param pos Vector
|
||||||
|
---@return integer
|
||||||
function mcl_vars.get_chunk_number(pos) -- unsigned int
|
function mcl_vars.get_chunk_number(pos) -- unsigned int
|
||||||
local c = mcl_vars.pos_to_chunk(pos)
|
local c = mcl_vars.pos_to_chunk(pos)
|
||||||
return
|
return (c.y + k_positive) * k_positive_y +
|
||||||
(c.y + k_positive) * k_positive_y +
|
|
||||||
(c.z + k_positive) * k_positive_z +
|
(c.z + k_positive) * k_positive_z +
|
||||||
c.x + k_positive
|
c.x + k_positive
|
||||||
end
|
end
|
||||||
|
@ -101,10 +113,7 @@ if not superflat and not singlenode then
|
||||||
]]
|
]]
|
||||||
|
|
||||||
-- Overworld
|
-- Overworld
|
||||||
local mg_overworld_min_default = -128
|
mcl_vars.mg_overworld_min = -62
|
||||||
mcl_vars.mg_overworld_min_old = -62
|
|
||||||
mcl_vars.mg_overworld_min = tonumber(minetest.settings:get("mcl_overworld_min")) or mg_overworld_min_default
|
|
||||||
|
|
||||||
mcl_vars.mg_overworld_max_official = mcl_vars.mg_overworld_min + minecraft_height_limit
|
mcl_vars.mg_overworld_max_official = mcl_vars.mg_overworld_min + minecraft_height_limit
|
||||||
mcl_vars.mg_bedrock_overworld_min = mcl_vars.mg_overworld_min
|
mcl_vars.mg_bedrock_overworld_min = mcl_vars.mg_overworld_min
|
||||||
mcl_vars.mg_bedrock_overworld_max = mcl_vars.mg_bedrock_overworld_min + 4
|
mcl_vars.mg_bedrock_overworld_max = mcl_vars.mg_bedrock_overworld_min + 4
|
||||||
|
@ -113,8 +122,7 @@ if not superflat and not singlenode then
|
||||||
mcl_vars.mg_bedrock_is_rough = true
|
mcl_vars.mg_bedrock_is_rough = true
|
||||||
|
|
||||||
elseif singlenode then
|
elseif singlenode then
|
||||||
mcl_vars.mg_overworld_min_old = -66
|
mcl_vars.mg_overworld_min = -66
|
||||||
mcl_vars.mg_overworld_min = -130
|
|
||||||
mcl_vars.mg_overworld_max_official = mcl_vars.mg_overworld_min + minecraft_height_limit
|
mcl_vars.mg_overworld_max_official = mcl_vars.mg_overworld_min + minecraft_height_limit
|
||||||
mcl_vars.mg_bedrock_overworld_min = mcl_vars.mg_overworld_min
|
mcl_vars.mg_bedrock_overworld_min = mcl_vars.mg_overworld_min
|
||||||
mcl_vars.mg_bedrock_overworld_max = mcl_vars.mg_bedrock_overworld_min
|
mcl_vars.mg_bedrock_overworld_max = mcl_vars.mg_bedrock_overworld_min
|
||||||
|
@ -123,11 +131,8 @@ elseif singlenode then
|
||||||
mcl_vars.mg_bedrock_is_rough = false
|
mcl_vars.mg_bedrock_is_rough = false
|
||||||
else
|
else
|
||||||
-- Classic superflat
|
-- Classic superflat
|
||||||
local ground = minetest.get_mapgen_setting("mgflat_ground_level")
|
local ground = tonumber(minetest.get_mapgen_setting("mgflat_ground_level")) or 8
|
||||||
ground = tonumber(ground)
|
|
||||||
if not ground then
|
|
||||||
ground = 8
|
|
||||||
end
|
|
||||||
mcl_vars.mg_overworld_min = ground - 3
|
mcl_vars.mg_overworld_min = ground - 3
|
||||||
mcl_vars.mg_overworld_max_official = mcl_vars.mg_overworld_min + minecraft_height_limit
|
mcl_vars.mg_overworld_max_official = mcl_vars.mg_overworld_min + minecraft_height_limit
|
||||||
mcl_vars.mg_bedrock_overworld_min = mcl_vars.mg_overworld_min
|
mcl_vars.mg_bedrock_overworld_min = mcl_vars.mg_overworld_min
|
||||||
|
@ -144,6 +149,7 @@ mcl_vars.mg_nether_min = -29067 -- Carefully chosen to be at a mapchunk border
|
||||||
mcl_vars.mg_nether_max = mcl_vars.mg_nether_min + 128
|
mcl_vars.mg_nether_max = mcl_vars.mg_nether_min + 128
|
||||||
mcl_vars.mg_bedrock_nether_bottom_min = mcl_vars.mg_nether_min
|
mcl_vars.mg_bedrock_nether_bottom_min = mcl_vars.mg_nether_min
|
||||||
mcl_vars.mg_bedrock_nether_top_max = mcl_vars.mg_nether_max
|
mcl_vars.mg_bedrock_nether_top_max = mcl_vars.mg_nether_max
|
||||||
|
mcl_vars.mg_nether_deco_max = mcl_vars.mg_nether_max -11 -- this is so ceiling decorations don't spill into other biomes as bedrock generation calls minetest.generate_decorations to put netherrack under the bedrock
|
||||||
if not superflat then
|
if not superflat then
|
||||||
mcl_vars.mg_bedrock_nether_bottom_max = mcl_vars.mg_bedrock_nether_bottom_min + 4
|
mcl_vars.mg_bedrock_nether_bottom_max = mcl_vars.mg_bedrock_nether_bottom_min + 4
|
||||||
mcl_vars.mg_bedrock_nether_top_min = mcl_vars.mg_bedrock_nether_top_max - 4
|
mcl_vars.mg_bedrock_nether_top_min = mcl_vars.mg_bedrock_nether_top_max - 4
|
||||||
|
@ -186,14 +192,16 @@ minetest.craftitemdef_default.stack_max = 64
|
||||||
math.randomseed(os.time())
|
math.randomseed(os.time())
|
||||||
|
|
||||||
local chunks = {} -- intervals of chunks generated
|
local chunks = {} -- intervals of chunks generated
|
||||||
|
|
||||||
|
---@param pos Vector
|
||||||
function mcl_vars.add_chunk(pos)
|
function mcl_vars.add_chunk(pos)
|
||||||
local n = mcl_vars.get_chunk_number(pos) -- unsigned int
|
local n = mcl_vars.get_chunk_number(pos) -- unsigned int
|
||||||
local prev
|
local prev
|
||||||
for i, d in pairs(chunks) do
|
for i, d in pairs(chunks) do
|
||||||
if n <= d[2] then -- we've found it
|
if n <= d[2] then -- we've found it
|
||||||
if (n == d[2]) or (n >= d[1]) then return end -- already here
|
if (n == d[2]) or (n >= d[1]) then return end -- already here
|
||||||
if n == d[1]-1 then -- right before:
|
if n == d[1] - 1 then -- right before:
|
||||||
if prev and (prev[2] == n-1) then
|
if prev and (prev[2] == n - 1) then
|
||||||
prev[2] = d[2]
|
prev[2] = d[2]
|
||||||
table.remove(chunks, i)
|
table.remove(chunks, i)
|
||||||
return
|
return
|
||||||
|
@ -201,17 +209,20 @@ function mcl_vars.add_chunk(pos)
|
||||||
d[1] = n
|
d[1] = n
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if prev and (prev[2] == n-1) then --join to previous
|
if prev and (prev[2] == n - 1) then --join to previous
|
||||||
prev[2] = n
|
prev[2] = n
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
table.insert(chunks, i, {n, n}) -- insert new interval before i
|
table.insert(chunks, i, { n, n }) -- insert new interval before i
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
prev = d
|
prev = d
|
||||||
end
|
end
|
||||||
chunks[#chunks+1] = {n, n}
|
chunks[#chunks + 1] = { n, n }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
---@param pos Vector
|
||||||
|
---@return boolean
|
||||||
function mcl_vars.is_generated(pos)
|
function mcl_vars.is_generated(pos)
|
||||||
local n = mcl_vars.get_chunk_number(pos) -- unsigned int
|
local n = mcl_vars.get_chunk_number(pos) -- unsigned int
|
||||||
for i, d in pairs(chunks) do
|
for i, d in pairs(chunks) do
|
||||||
|
@ -222,103 +233,48 @@ function mcl_vars.is_generated(pos)
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
-- "Trivial" (actually NOT) function to just read the node and some stuff to not just return "ignore", like mt 5.4 does.
|
---"Trivial" (actually NOT) function to just read the node and some stuff to not just return "ignore", like mt 5.4 does.
|
||||||
-- p: Position, if it's wrong, {name="error"} node will return.
|
---@param pos Vector Position, if it's wrong, `{name="error"}` node will return.
|
||||||
-- force: optional (default: false) - Do the maximum to still read the node within us_timeout.
|
---@param force? boolean Optional (default: `false`), Do the maximum to still read the node within us_timeout.
|
||||||
-- us_timeout: optional (default: 244 = 0.000244 s = 1/80/80/80), set it at least to 3000000 to let mapgen to finish its job.
|
---@param us_timeout? number Optional (default: `244 = 0.000244 s = 1/80/80/80`), set it at least to `3000000` to let mapgen to finish its job
|
||||||
--
|
---@return node # Node definition, eg. `{name="air"}`. Unfortunately still can return `{name="ignore"}`.
|
||||||
-- returns node definition, eg. {name="air"}. Unfortunately still can return {name="ignore"}.
|
---@nodiscard
|
||||||
function mcl_vars.get_node(p, force, us_timeout)
|
function mcl_vars.get_node(pos, force, us_timeout)
|
||||||
-- check initial circumstances
|
-- check initial circumstances
|
||||||
if not p or not p.x or not p.y or not p.z then return {name="error"} end
|
if not pos or not pos.x or not pos.y or not pos.z then return { name = "error" } end
|
||||||
|
|
||||||
-- try common way
|
-- try common way
|
||||||
local node = minetest.get_node(p)
|
local node = minetest.get_node(pos)
|
||||||
if node.name ~= "ignore" then
|
if node.name ~= "ignore" then
|
||||||
return node
|
return node
|
||||||
end
|
end
|
||||||
|
|
||||||
-- copy table to get sure it won't changed by other threads
|
-- copy vector to get sure it won't changed by other threads
|
||||||
local pos = {x=p.x,y=p.y,z=p.z}
|
local pos_copy = vector.copy(pos)
|
||||||
|
|
||||||
-- try LVM
|
-- try LVM
|
||||||
minetest.get_voxel_manip():read_from_map(pos, pos)
|
minetest.get_voxel_manip():read_from_map(pos_copy, pos_copy)
|
||||||
node = minetest.get_node(pos)
|
node = minetest.get_node(pos_copy)
|
||||||
if node.name ~= "ignore" or not force then
|
if node.name ~= "ignore" or not force then
|
||||||
return node
|
return node
|
||||||
end
|
end
|
||||||
|
|
||||||
-- all ways failed - need to emerge (or forceload if generated)
|
-- all ways failed - need to emerge (or forceload if generated)
|
||||||
local us_timeout = us_timeout or 244
|
if mcl_vars.is_generated(pos_copy) then
|
||||||
if mcl_vars.is_generated(pos) then
|
|
||||||
minetest.chat_send_all("IMPOSSIBLE! Please report this to MCL2 issue tracker!")
|
minetest.chat_send_all("IMPOSSIBLE! Please report this to MCL2 issue tracker!")
|
||||||
minetest.forceload_block(pos)
|
minetest.forceload_block(pos_copy)
|
||||||
else
|
else
|
||||||
minetest.emerge_area(pos, pos)
|
minetest.emerge_area(pos_copy, pos_copy)
|
||||||
end
|
end
|
||||||
|
|
||||||
local t = minetest.get_us_time()
|
local t = minetest.get_us_time()
|
||||||
|
|
||||||
node = minetest.get_node(pos)
|
node = minetest.get_node(pos_copy)
|
||||||
|
|
||||||
while (not node or node.name == "ignore") and (minetest.get_us_time() - t < us_timeout) do
|
while (not node or node.name == "ignore") and (minetest.get_us_time() - t < (us_timeout or 244)) do
|
||||||
node = minetest.get_node(pos)
|
node = minetest.get_node(pos_copy)
|
||||||
end
|
end
|
||||||
|
|
||||||
return node
|
return node
|
||||||
-- it still can return "ignore", LOL, even if force = true, but only after time out
|
-- it still can return "ignore", LOL, even if force = true, but only after time out
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Abm to update from old mapgen depth to new. potentially affects a lot of nodes inducing lag.
|
|
||||||
-- Also it will not generate ores or bedrock pattern.
|
|
||||||
|
|
||||||
local adjacents = {
|
|
||||||
vector.new(1,0,0),
|
|
||||||
vector.new(0,1,0),
|
|
||||||
vector.new(0,0,1),
|
|
||||||
vector.new(-1,0,0),
|
|
||||||
vector.new(0,-1,0),
|
|
||||||
vector.new(0,0,-1),
|
|
||||||
}
|
|
||||||
local function register_abms()
|
|
||||||
minetest.register_abm({
|
|
||||||
label = "Replace bedrock from old bedrock layer and air/void below to deepslate",
|
|
||||||
name = ":mcl_mapgen_core:replace_old_void",
|
|
||||||
nodenames = { "mcl_core:void" },
|
|
||||||
chance = 1,
|
|
||||||
interval = 5,
|
|
||||||
min_y = mcl_vars.mg_bedrock_overworld_max,
|
|
||||||
max_y = mcl_vars.mg_overworld_min_old,
|
|
||||||
action = function(p)
|
|
||||||
minetest.log("void")
|
|
||||||
if p.y > mcl_vars.mg_overworld_min_old - 5 then
|
|
||||||
minetest.bulk_set_node(minetest.find_nodes_in_area(vector.new(p.x-5,mcl_vars.mg_overworld_min_old-5,p.z-5),vector.new(p.x+5,mcl_vars.mg_overworld_min_old,p.z+5),{"mcl_core:void"}),{name="mcl_deepslate:deepslate"})
|
|
||||||
else
|
|
||||||
minetest.after(0,function(p)
|
|
||||||
if minetest.get_node(p).name == "mcl_core:void" then
|
|
||||||
minetest.delete_area(p,p)
|
|
||||||
end
|
|
||||||
end,p)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
})
|
|
||||||
minetest.register_abm({
|
|
||||||
label = "Replace bedrock from old bedrock layer and air/void below to deepslate",
|
|
||||||
name = ":mcl_mapgen_core:replace_old_bedrock",
|
|
||||||
nodenames = { "mcl_core:bedrock" },
|
|
||||||
chance = 5,
|
|
||||||
interval = 5,
|
|
||||||
min_y = mcl_vars.mg_overworld_min_old,
|
|
||||||
max_y = mcl_vars.mg_overworld_min_old + 4,
|
|
||||||
action = function(p)
|
|
||||||
minetest.log("bedr")
|
|
||||||
if minetest.find_node_near(p,24,{"mcl_core:void"}) then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
minetest.bulk_set_node(minetest.find_nodes_in_area(vector.new(p.x-5,mcl_vars.mg_overworld_min_old-1,p.z-5),vector.new(p.x+5,mcl_vars.mg_overworld_min_old+5,p.z+5),{"mcl_core:bedrock",}),{name="mcl_deepslate:deepslate"})
|
|
||||||
end
|
|
||||||
})
|
|
||||||
end
|
|
||||||
if convert_old_bedrock then
|
|
||||||
register_abms()
|
|
||||||
end
|
|
||||||
|
|
After Width: | Height: | Size: 144 B |
|
@ -18,35 +18,15 @@ Glass breaking sounds (CC BY 3.0):
|
||||||
default_tool_breaks.ogg by EdgardEdition (CC BY 3.0), http://www.freesound.org/people/EdgardEdition
|
default_tool_breaks.ogg by EdgardEdition (CC BY 3.0), http://www.freesound.org/people/EdgardEdition
|
||||||
|
|
||||||
Mito551 (sounds) (CC BY-SA 3.0):
|
Mito551 (sounds) (CC BY-SA 3.0):
|
||||||
default_dig_choppy.ogg
|
default_dig_crumbly.ogg
|
||||||
default_dig_cracky.ogg
|
|
||||||
default_dig_crumbly.1.ogg
|
|
||||||
default_dig_crumbly.2.ogg
|
|
||||||
default_dig_oddly_breakable_by_hand.ogg
|
default_dig_oddly_breakable_by_hand.ogg
|
||||||
default_dug_node.1.ogg
|
default_dug_node.*.ogg
|
||||||
default_dug_node.2.ogg
|
default_grass_footstep.*.ogg
|
||||||
default_grass_footstep.1.ogg
|
default_gravel_footstep.*.ogg
|
||||||
default_grass_footstep.2.ogg
|
default_place_node.*.ogg
|
||||||
default_grass_footstep.3.ogg
|
default_place_node_hard.*.ogg
|
||||||
default_gravel_footstep.1.ogg
|
default_wood_footstep.*.ogg
|
||||||
default_gravel_footstep.2.ogg
|
default_dirt_footstep.*.ogg
|
||||||
default_gravel_footstep.3.ogg
|
|
||||||
default_gravel_footstep.4.ogg
|
|
||||||
default_grass_footstep.1.ogg
|
|
||||||
default_place_node.1.ogg
|
|
||||||
default_place_node.2.ogg
|
|
||||||
default_place_node.3.ogg
|
|
||||||
default_place_node_hard.1.ogg
|
|
||||||
default_place_node_hard.2.ogg
|
|
||||||
default_hard_footstep.1.ogg
|
|
||||||
default_hard_footstep.2.ogg
|
|
||||||
default_hard_footstep.3.ogg
|
|
||||||
default_sand_footstep.1.ogg
|
|
||||||
default_sand_footstep.2.ogg
|
|
||||||
default_wood_footstep.1.ogg
|
|
||||||
default_wood_footstep.2.ogg
|
|
||||||
default_dirt_footstep.1.ogg
|
|
||||||
default_dirt_footstep.2.ogg
|
|
||||||
default_glass_footstep.ogg
|
default_glass_footstep.ogg
|
||||||
|
|
||||||
Metal sounds:
|
Metal sounds:
|
||||||
|
@ -54,35 +34,64 @@ Metal sounds:
|
||||||
- https://www.freesound.org/people/yadronoff/sounds/320397/
|
- https://www.freesound.org/people/yadronoff/sounds/320397/
|
||||||
default_dug_metal.*.ogg - Iwan Gabovitch - qubodup - CC0
|
default_dug_metal.*.ogg - Iwan Gabovitch - qubodup - CC0
|
||||||
- http://opengameart.org/users/qubodup
|
- http://opengameart.org/users/qubodup
|
||||||
default_metal_footstep.*.ogg - Ottomaani138 - CC0
|
default_metal_footstep.*.ogg - (CC0 1.0) - CC0 1.0
|
||||||
- https://www.freesound.org/people/Ottomaani138/sounds/232692/
|
- https://freesound.org/people/mypantsfelldown/sounds/398937/
|
||||||
default_place_node_metal.*.ogg - Ogrebane - CC0
|
default_place_node_metal.*.ogg - Ogrebane - CC0
|
||||||
- http://opengameart.org/content/wood-and-metal-sound-effects-volume-2
|
- http://opengameart.org/content/wood-and-metal-sound-effects-volume-2
|
||||||
|
|
||||||
AGFX (CC BY 3.0)
|
AGFX (CC BY 3.0):
|
||||||
https://www.freesound.org/people/AGFX/packs/1253/
|
https://www.freesound.org/people/AGFX/packs/1253/
|
||||||
default_water_footstep.1.ogg
|
default_water_footstep.*.ogg
|
||||||
default_water_footstep.2.ogg
|
|
||||||
default_water_footstep.3.ogg
|
|
||||||
(default_water_footstep.4.ogg is silent)
|
|
||||||
|
|
||||||
blukotek (CC0 1.0)
|
blukotek (CC0 1.0):
|
||||||
https://www.freesound.org/people/blukotek/sounds/251660/
|
https://www.freesound.org/people/blukotek/sounds/251660/
|
||||||
default_dig_snappy.ogg
|
default_dig_snappy.ogg
|
||||||
|
|
||||||
sonictechtonic (CC BY 3.0)
|
sonictechtonic (CC BY 3.0):
|
||||||
https://www.freesound.org/people/sonictechtonic/sounds/241872/
|
https://www.freesound.org/people/sonictechtonic/sounds/241872/
|
||||||
player_damage.ogg
|
player_damage.ogg
|
||||||
|
|
||||||
Voxelands project <http://www.voxelands.com/> (CC BY-SA 3.0)
|
Sheyvan (CC0 1.0):
|
||||||
|
https://freesound.org/people/Sheyvan/sounds/476113/
|
||||||
|
default_dig_choppy.*.ogg
|
||||||
|
|
||||||
|
lolamadeus (CC0 1.0):
|
||||||
|
https://freesound.org/people/lolamadeus/sounds/179341/
|
||||||
|
default_gravel_dig.*.ogg
|
||||||
|
default_gravel_dug.*.ogg
|
||||||
|
|
||||||
|
Benboncan (CC BY 3.0):
|
||||||
|
https://freesound.org/people/Benboncan/sounds/71823/
|
||||||
|
default_dig_cracky.*.ogg
|
||||||
|
|
||||||
|
Erdie (CC BY 3.0):
|
||||||
|
https://freesound.org/people/Erdie/sounds/41579/
|
||||||
|
default_hard_footstep.*.ogg
|
||||||
|
|
||||||
|
worthahep88 (CC0 1.0):
|
||||||
|
https://freesound.org/people/worthahep88/sounds/319224/
|
||||||
|
default_sand_footstep.*.ogg
|
||||||
|
|
||||||
|
dheming (CC BY 3.0):
|
||||||
|
https://freesound.org/people/dheming/sounds/268023/
|
||||||
|
default_ice_dig.*.ogg
|
||||||
|
|
||||||
|
InspectorJ (CC BY 3.0):
|
||||||
|
https://freesound.org/people/InspectorJ/sounds/416967/
|
||||||
|
default_ice_footstep.*.ogg
|
||||||
|
|
||||||
|
Angel_Perez_Grandi (CC BY 3.0):
|
||||||
|
https://freesound.org/people/Angel_Perez_Grandi/sounds/49190/
|
||||||
|
default_ice_dug.ogg
|
||||||
|
|
||||||
|
Voxelands project <http://www.voxelands.com/> (CC BY-SA 3.0):
|
||||||
mcl_sounds_place_node_water.ogg
|
mcl_sounds_place_node_water.ogg
|
||||||
mcl_sounds_dug_water.ogg
|
mcl_sounds_dug_water.ogg
|
||||||
|
|
||||||
(Note: Artists from the Voxelands project include: sdzen, darkrose, sapier,
|
(Note: Artists from the Voxelands project include: sdzen, darkrose, sapier,
|
||||||
Tom Peter, Telaron, juskiddink)
|
Tom Peter, Telaron, juskiddink)
|
||||||
|
|
||||||
Michel Baradari <https://opengameart.org/content/lava-splash> (CC BY 3.0)
|
Michel Baradari <https://opengameart.org/content/lava-splash> (CC BY 3.0):
|
||||||
|
|
||||||
default_place_node_lava.ogg
|
default_place_node_lava.ogg
|
||||||
|
|
||||||
Adam_N (CC0 1.0):
|
Adam_N (CC0 1.0):
|
||||||
|
@ -90,7 +99,7 @@ Adam_N (CC0 1.0):
|
||||||
Source: <https://www.freesound.org/people/Adam_N/sounds/346692/>
|
Source: <https://www.freesound.org/people/Adam_N/sounds/346692/>
|
||||||
|
|
||||||
Alecia Shepherd (CC BY-SA 4.0):
|
Alecia Shepherd (CC BY-SA 4.0):
|
||||||
mcl_sounds_cloth.ogg
|
mcl_sounds_cloth.*.ogg
|
||||||
Source: SnowSong sound and music pack <https://opengameart.org/content/snowsong-sound-and-music-pack>
|
Source: SnowSong sound and music pack <https://opengameart.org/content/snowsong-sound-and-music-pack>
|
||||||
|
|
||||||
Unknown authors (WTFPL):
|
Unknown authors (WTFPL):
|
||||||
|
|
|
@ -11,7 +11,7 @@ function mcl_sounds.node_sound_defaults(table)
|
||||||
table.dug = table.dug or
|
table.dug = table.dug or
|
||||||
{name="default_dug_node", gain=0.25}
|
{name="default_dug_node", gain=0.25}
|
||||||
table.dig = table.dig or
|
table.dig = table.dig or
|
||||||
{name="default_dig_oddly_breakable_by_hand", gain=1.0}
|
{name="default_dig_oddly_breakable_by_hand", gain=0.5}
|
||||||
table.place = table.place or
|
table.place = table.place or
|
||||||
{name="default_place_node_hard", gain=1.0}
|
{name="default_place_node_hard", gain=1.0}
|
||||||
return table
|
return table
|
||||||
|
@ -20,11 +20,11 @@ end
|
||||||
function mcl_sounds.node_sound_stone_defaults(table)
|
function mcl_sounds.node_sound_stone_defaults(table)
|
||||||
table = table or {}
|
table = table or {}
|
||||||
table.footstep = table.footstep or
|
table.footstep = table.footstep or
|
||||||
{name="default_hard_footstep", gain=0.5}
|
{name="default_hard_footstep", gain=0.2}
|
||||||
table.dug = table.dug or
|
table.dug = table.dug or
|
||||||
{name="default_hard_footstep", gain=1.0}
|
{name="default_hard_footstep", gain=1.0}
|
||||||
table.dig = table.dig or
|
table.dig = table.dig or
|
||||||
{name="default_dig_cracky", gain=1.0}
|
{name="default_dig_cracky", gain=0.5}
|
||||||
mcl_sounds.node_sound_defaults(table)
|
mcl_sounds.node_sound_defaults(table)
|
||||||
return table
|
return table
|
||||||
end
|
end
|
||||||
|
@ -32,13 +32,13 @@ end
|
||||||
function mcl_sounds.node_sound_metal_defaults(table)
|
function mcl_sounds.node_sound_metal_defaults(table)
|
||||||
table = table or {}
|
table = table or {}
|
||||||
table.footstep = table.footstep or
|
table.footstep = table.footstep or
|
||||||
{name="default_metal_footstep", gain=0.5}
|
{name="default_metal_footstep", gain=0.2}
|
||||||
table.dug = table.dug or
|
table.dug = table.dug or
|
||||||
{name="default_dug_metal", gain=1.0}
|
{name="default_dug_metal", gain=0.5}
|
||||||
table.dig = table.dig or
|
table.dig = table.dig or
|
||||||
{name="default_dig_metal", gain=1.0}
|
{name="default_dig_metal", gain=0.5}
|
||||||
table.place = table.place or
|
table.place = table.place or
|
||||||
{name="default_place_node_metal", gain=1.0}
|
{name="default_place_node_metal", gain=0.5}
|
||||||
mcl_sounds.node_sound_defaults(table)
|
mcl_sounds.node_sound_defaults(table)
|
||||||
return table
|
return table
|
||||||
end
|
end
|
||||||
|
@ -46,11 +46,11 @@ end
|
||||||
function mcl_sounds.node_sound_dirt_defaults(table)
|
function mcl_sounds.node_sound_dirt_defaults(table)
|
||||||
table = table or {}
|
table = table or {}
|
||||||
table.footstep = table.footstep or
|
table.footstep = table.footstep or
|
||||||
{name="default_dirt_footstep", gain=1.0}
|
{name="default_dirt_footstep", gain=0.25}
|
||||||
table.dug = table.dug or
|
table.dug = table.dug or
|
||||||
{name="default_dirt_footstep", gain=1.5}
|
{name="default_dirt_footstep", gain=1.0}
|
||||||
table.dig = table.dig or
|
table.dig = table.dig or
|
||||||
{name="default_dig_crumbly", gain=1.0}
|
{name="default_dig_crumbly", gain=0.4}
|
||||||
table.place = table.place or
|
table.place = table.place or
|
||||||
{name="default_place_node", gain=1.0}
|
{name="default_place_node", gain=1.0}
|
||||||
mcl_sounds.node_sound_defaults(table)
|
mcl_sounds.node_sound_defaults(table)
|
||||||
|
@ -60,11 +60,25 @@ end
|
||||||
function mcl_sounds.node_sound_sand_defaults(table)
|
function mcl_sounds.node_sound_sand_defaults(table)
|
||||||
table = table or {}
|
table = table or {}
|
||||||
table.footstep = table.footstep or
|
table.footstep = table.footstep or
|
||||||
{name="default_sand_footstep", gain=0.5}
|
{name="default_sand_footstep", gain=0.05}
|
||||||
table.dug = table.dug or
|
table.dug = table.dug or
|
||||||
{name="default_sand_footstep", gain=1.0}
|
{name="default_sand_footstep", gain=0.15}
|
||||||
table.dig = table.dig or
|
table.dig = table.dig or
|
||||||
{name="default_dig_crumbly", gain=1.0}
|
{name="default_dig_crumbly", gain=0.4}
|
||||||
|
table.place = table.place or
|
||||||
|
{name="default_place_node", gain=1.0}
|
||||||
|
mcl_sounds.node_sound_defaults(table)
|
||||||
|
return table
|
||||||
|
end
|
||||||
|
|
||||||
|
function mcl_sounds.node_sound_gravel_defaults(table)
|
||||||
|
table = table or {}
|
||||||
|
table.footstep = table.footstep or
|
||||||
|
{name="default_gravel_footstep", gain=0.25}
|
||||||
|
table.dug = table.dug or
|
||||||
|
{name="default_gravel_dug", gain=1.0}
|
||||||
|
table.dig = table.dig or
|
||||||
|
{name="default_gravel_dig", gain=0.35}
|
||||||
table.place = table.place or
|
table.place = table.place or
|
||||||
{name="default_place_node", gain=1.0}
|
{name="default_place_node", gain=1.0}
|
||||||
mcl_sounds.node_sound_defaults(table)
|
mcl_sounds.node_sound_defaults(table)
|
||||||
|
@ -78,21 +92,33 @@ function mcl_sounds.node_sound_snow_defaults(table)
|
||||||
table.dug = table.dug or
|
table.dug = table.dug or
|
||||||
{name="pedology_snow_soft_footstep", gain=1.0}
|
{name="pedology_snow_soft_footstep", gain=1.0}
|
||||||
table.dig = table.dig or
|
table.dig = table.dig or
|
||||||
{name="default_dig_crumbly", gain=1.0}
|
{name="pedology_snow_soft_footstep", gain=1.0}
|
||||||
table.place = table.place or
|
table.place = table.place or
|
||||||
{name="default_place_node", gain=1.0}
|
{name="default_place_node", gain=1.0}
|
||||||
mcl_sounds.node_sound_defaults(table)
|
mcl_sounds.node_sound_defaults(table)
|
||||||
return table
|
return table
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function mcl_sounds.node_sound_ice_defaults(table)
|
||||||
|
table = table or {}
|
||||||
|
table.footstep = table.footstep or
|
||||||
|
{name="default_ice_footstep", gain=0.15}
|
||||||
|
table.dug = table.dug or
|
||||||
|
{name="default_ice_dug", gain=0.5}
|
||||||
|
table.dig = table.dig or
|
||||||
|
{name="default_ice_dig", gain=0.5}
|
||||||
|
mcl_sounds.node_sound_defaults(table)
|
||||||
|
return table
|
||||||
|
end
|
||||||
|
|
||||||
function mcl_sounds.node_sound_wood_defaults(table)
|
function mcl_sounds.node_sound_wood_defaults(table)
|
||||||
table = table or {}
|
table = table or {}
|
||||||
table.footstep = table.footstep or
|
table.footstep = table.footstep or
|
||||||
{name="default_wood_footstep", gain=0.5}
|
{name="default_wood_footstep", gain=0.15}
|
||||||
table.dug = table.dug or
|
table.dug = table.dug or
|
||||||
{name="default_wood_footstep", gain=1.0}
|
{name="default_wood_footstep", gain=1.0}
|
||||||
table.dig = table.dig or
|
table.dig = table.dig or
|
||||||
{name="default_dig_choppy", gain=1.0}
|
{name="default_dig_choppy", gain=0.4}
|
||||||
mcl_sounds.node_sound_defaults(table)
|
mcl_sounds.node_sound_defaults(table)
|
||||||
return table
|
return table
|
||||||
end
|
end
|
||||||
|
@ -128,11 +154,11 @@ end
|
||||||
function mcl_sounds.node_sound_glass_defaults(table)
|
function mcl_sounds.node_sound_glass_defaults(table)
|
||||||
table = table or {}
|
table = table or {}
|
||||||
table.footstep = table.footstep or
|
table.footstep = table.footstep or
|
||||||
{name="default_glass_footstep", gain=0.5}
|
{name="default_glass_footstep", gain=0.3}
|
||||||
table.dug = table.dug or
|
table.dug = table.dug or
|
||||||
{name="default_break_glass", gain=1.0}
|
{name="default_break_glass", gain=1.0}
|
||||||
table.dig = table.dig or
|
table.dig = table.dig or
|
||||||
{name="default_dig_cracky", gain=1.0}
|
{name="default_dig_cracky", gain=0.5}
|
||||||
mcl_sounds.node_sound_defaults(table)
|
mcl_sounds.node_sound_defaults(table)
|
||||||
return table
|
return table
|
||||||
end
|
end
|
||||||
|
|
|
@ -2,8 +2,8 @@ mcl_util = {}
|
||||||
|
|
||||||
-- Updates all values in t using values from to*.
|
-- Updates all values in t using values from to*.
|
||||||
function table.update(t, ...)
|
function table.update(t, ...)
|
||||||
for _, to in ipairs{...} do
|
for _, to in ipairs {...} do
|
||||||
for k,v in pairs(to) do
|
for k, v in pairs(to) do
|
||||||
t[k] = v
|
t[k] = v
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -12,8 +12,8 @@ end
|
||||||
|
|
||||||
-- Updates nil values in t using values from to*.
|
-- Updates nil values in t using values from to*.
|
||||||
function table.update_nil(t, ...)
|
function table.update_nil(t, ...)
|
||||||
for _, to in ipairs{...} do
|
for _, to in ipairs {...} do
|
||||||
for k,v in pairs(to) do
|
for k, v in pairs(to) do
|
||||||
if t[k] == nil then
|
if t[k] == nil then
|
||||||
t[k] = v
|
t[k] = v
|
||||||
end
|
end
|
||||||
|
@ -22,6 +22,28 @@ function table.update_nil(t, ...)
|
||||||
return t
|
return t
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local LOGGING_ON = minetest.settings:get_bool("mcl_logging_default", false)
|
||||||
|
local LOG_MODULE = "[MCL2]"
|
||||||
|
function mcl_util.mcl_log(message, module, bypass_default_logger)
|
||||||
|
local selected_module = LOG_MODULE
|
||||||
|
if module then
|
||||||
|
selected_module = module
|
||||||
|
end
|
||||||
|
if (bypass_default_logger or LOGGING_ON) and message then
|
||||||
|
minetest.log(selected_module .. " " .. message)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
function mcl_util.file_exists(name)
|
||||||
|
if type(name) ~= "string" then return end
|
||||||
|
local f = io.open(name)
|
||||||
|
if not f then
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
f:close()
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
|
||||||
-- Based on minetest.rotate_and_place
|
-- Based on minetest.rotate_and_place
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
|
@ -128,23 +150,23 @@ end
|
||||||
function mcl_util.get_double_container_neighbor_pos(pos, param2, side)
|
function mcl_util.get_double_container_neighbor_pos(pos, param2, side)
|
||||||
if side == "right" then
|
if side == "right" then
|
||||||
if param2 == 0 then
|
if param2 == 0 then
|
||||||
return {x=pos.x-1, y=pos.y, z=pos.z}
|
return {x = pos.x - 1, y = pos.y, z = pos.z}
|
||||||
elseif param2 == 1 then
|
elseif param2 == 1 then
|
||||||
return {x=pos.x, y=pos.y, z=pos.z+1}
|
return {x = pos.x, y = pos.y, z = pos.z + 1}
|
||||||
elseif param2 == 2 then
|
elseif param2 == 2 then
|
||||||
return {x=pos.x+1, y=pos.y, z=pos.z}
|
return {x = pos.x + 1, y = pos.y, z = pos.z}
|
||||||
elseif param2 == 3 then
|
elseif param2 == 3 then
|
||||||
return {x=pos.x, y=pos.y, z=pos.z-1}
|
return {x = pos.x, y = pos.y, z = pos.z - 1}
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if param2 == 0 then
|
if param2 == 0 then
|
||||||
return {x=pos.x+1, y=pos.y, z=pos.z}
|
return {x = pos.x + 1, y = pos.y, z = pos.z}
|
||||||
elseif param2 == 1 then
|
elseif param2 == 1 then
|
||||||
return {x=pos.x, y=pos.y, z=pos.z-1}
|
return {x = pos.x, y = pos.y, z = pos.z - 1}
|
||||||
elseif param2 == 2 then
|
elseif param2 == 2 then
|
||||||
return {x=pos.x-1, y=pos.y, z=pos.z}
|
return {x = pos.x - 1, y = pos.y, z = pos.z}
|
||||||
elseif param2 == 3 then
|
elseif param2 == 3 then
|
||||||
return {x=pos.x, y=pos.y, z=pos.z+1}
|
return {x = pos.x, y = pos.y, z = pos.z + 1}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -162,7 +184,7 @@ end
|
||||||
function mcl_util.get_eligible_transfer_item_slot(src_inventory, src_list, dst_inventory, dst_list, condition)
|
function mcl_util.get_eligible_transfer_item_slot(src_inventory, src_list, dst_inventory, dst_list, condition)
|
||||||
local size = src_inventory:get_size(src_list)
|
local size = src_inventory:get_size(src_list)
|
||||||
local stack
|
local stack
|
||||||
for i=1, size do
|
for i = 1, size do
|
||||||
stack = src_inventory:get_stack(src_list, i)
|
stack = src_inventory:get_stack(src_list, i)
|
||||||
if not stack:is_empty() and (condition == nil or condition(stack, src_inventory, src_list, dst_inventory, dst_list)) then
|
if not stack:is_empty() and (condition == nil or condition(stack, src_inventory, src_list, dst_inventory, dst_list)) then
|
||||||
return i
|
return i
|
||||||
|
@ -386,7 +408,7 @@ end
|
||||||
-- Returns true if item (itemstring or ItemStack) can be used as a furnace fuel.
|
-- Returns true if item (itemstring or ItemStack) can be used as a furnace fuel.
|
||||||
-- Returns false otherwise
|
-- Returns false otherwise
|
||||||
function mcl_util.is_fuel(item)
|
function mcl_util.is_fuel(item)
|
||||||
return minetest.get_craft_result({method="fuel", width=1, items={item}}).time ~= 0
|
return minetest.get_craft_result({method = "fuel", width = 1, items = {item}}).time ~= 0
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Returns a on_place function for plants
|
-- Returns a on_place function for plants
|
||||||
|
@ -433,7 +455,7 @@ function mcl_util.generate_on_place_plant_function(condition)
|
||||||
|
|
||||||
if success then
|
if success then
|
||||||
if idef.sounds and idef.sounds.place then
|
if idef.sounds and idef.sounds.place then
|
||||||
minetest.sound_play(idef.sounds.place, {pos=pointed_thing.above, gain=1}, true)
|
minetest.sound_play(idef.sounds.place, {pos = pointed_thing.above, gain = 1}, true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
itemstack = new_itemstack
|
itemstack = new_itemstack
|
||||||
|
@ -590,10 +612,12 @@ function mcl_util.get_object_name(object)
|
||||||
end
|
end
|
||||||
|
|
||||||
function mcl_util.replace_mob(obj, mob)
|
function mcl_util.replace_mob(obj, mob)
|
||||||
|
if not obj then return end
|
||||||
local rot = obj:get_yaw()
|
local rot = obj:get_yaw()
|
||||||
local pos = obj:get_pos()
|
local pos = obj:get_pos()
|
||||||
obj:remove()
|
obj:remove()
|
||||||
obj = minetest.add_entity(pos, mob)
|
obj = minetest.add_entity(pos, mob)
|
||||||
|
if not obj then return end
|
||||||
obj:set_yaw(rot)
|
obj:set_yaw(rot)
|
||||||
return obj
|
return obj
|
||||||
end
|
end
|
||||||
|
@ -610,3 +634,380 @@ function mcl_util.get_pointed_thing(player, liquid)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- This following part is 2 wrapper functions + helpers for
|
||||||
|
-- object:set_bones
|
||||||
|
-- and player:set_properties preventing them from being resent on
|
||||||
|
-- every globalstep when they have not changed.
|
||||||
|
|
||||||
|
local function roundN(n, d)
|
||||||
|
if type(n) ~= "number" then return n end
|
||||||
|
local m = 10 ^ d
|
||||||
|
return math.floor(n * m + 0.5) / m
|
||||||
|
end
|
||||||
|
|
||||||
|
local function close_enough(a, b)
|
||||||
|
local rt = true
|
||||||
|
if type(a) == "table" and type(b) == "table" then
|
||||||
|
for k, v in pairs(a) do
|
||||||
|
if roundN(v, 2) ~= roundN(b[k], 2) then
|
||||||
|
rt = false
|
||||||
|
break
|
||||||
|
end
|
||||||
|
end
|
||||||
|
else
|
||||||
|
rt = roundN(a, 2) == roundN(b, 2)
|
||||||
|
end
|
||||||
|
return rt
|
||||||
|
end
|
||||||
|
|
||||||
|
local function props_changed(props, oldprops)
|
||||||
|
local changed = false
|
||||||
|
local p = {}
|
||||||
|
for k, v in pairs(props) do
|
||||||
|
if not close_enough(v, oldprops[k]) then
|
||||||
|
p[k] = v
|
||||||
|
changed = true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
return changed, p
|
||||||
|
end
|
||||||
|
|
||||||
|
--tests for roundN
|
||||||
|
local test_round1 = 15
|
||||||
|
local test_round2 = 15.00199999999
|
||||||
|
local test_round3 = 15.00111111
|
||||||
|
local test_round4 = 15.00999999
|
||||||
|
|
||||||
|
assert(roundN(test_round1, 2) == roundN(test_round1, 2))
|
||||||
|
assert(roundN(test_round1, 2) == roundN(test_round2, 2))
|
||||||
|
assert(roundN(test_round1, 2) == roundN(test_round3, 2))
|
||||||
|
assert(roundN(test_round1, 2) ~= roundN(test_round4, 2))
|
||||||
|
|
||||||
|
-- tests for close_enough
|
||||||
|
local test_cb = {-0.35, 0, -0.35, 0.35, 0.8, 0.35} --collisionboxes
|
||||||
|
local test_cb_close = {-0.351213, 0, -0.35, 0.35, 0.8, 0.351212}
|
||||||
|
local test_cb_diff = {-0.35, 0, -1.35, 0.35, 0.8, 0.35}
|
||||||
|
|
||||||
|
local test_eh = 1.65 --eye height
|
||||||
|
local test_eh_close = 1.65123123
|
||||||
|
local test_eh_diff = 1.35
|
||||||
|
|
||||||
|
local test_nt = {r = 225, b = 225, a = 225, g = 225} --nametag
|
||||||
|
local test_nt_diff = {r = 225, b = 225, a = 0, g = 225}
|
||||||
|
|
||||||
|
assert(close_enough(test_cb, test_cb_close))
|
||||||
|
assert(not close_enough(test_cb, test_cb_diff))
|
||||||
|
assert(close_enough(test_eh, test_eh_close))
|
||||||
|
assert(not close_enough(test_eh, test_eh_diff))
|
||||||
|
assert(not close_enough(test_nt, test_nt_diff)) --no floats involved here
|
||||||
|
|
||||||
|
--tests for properties_changed
|
||||||
|
local test_properties_set1 = {collisionbox = {-0.35, 0, -0.35, 0.35, 0.8, 0.35}, eye_height = 0.65,
|
||||||
|
nametag_color = {r = 225, b = 225, a = 225, g = 225}}
|
||||||
|
local test_properties_set2 = {collisionbox = {-0.35, 0, -0.35, 0.35, 0.8, 0.35}, eye_height = 1.35,
|
||||||
|
nametag_color = {r = 225, b = 225, a = 225, g = 225}}
|
||||||
|
|
||||||
|
local test_p1, _ = props_changed(test_properties_set1, test_properties_set1)
|
||||||
|
local test_p2, _ = props_changed(test_properties_set1, test_properties_set2)
|
||||||
|
|
||||||
|
assert(not test_p1)
|
||||||
|
assert(test_p2)
|
||||||
|
|
||||||
|
function mcl_util.set_properties(obj, props)
|
||||||
|
local changed, p = props_changed(props, obj:get_properties())
|
||||||
|
if changed then
|
||||||
|
obj:set_properties(p)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
function mcl_util.set_bone_position(obj, bone, pos, rot)
|
||||||
|
local current_pos, current_rot = obj:get_bone_position(bone)
|
||||||
|
local pos_equal = not pos or vector.equals(vector.round(current_pos), vector.round(pos))
|
||||||
|
local rot_equal = not rot or vector.equals(vector.round(current_rot), vector.round(rot))
|
||||||
|
if not pos_equal or not rot_equal then
|
||||||
|
obj:set_bone_position(bone, pos or current_pos, rot or current_rot)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
---Return a function to use in `on_place`.
|
||||||
|
---
|
||||||
|
---Allow to bypass the `buildable_to` node field in a `on_place` callback.
|
||||||
|
---
|
||||||
|
---You have to make sure that the nodes you return true for have `buildable_to = true`.
|
||||||
|
---@param func fun(node_name: string): boolean Return `true` if node must not replace the buildable_to node which have `node_name`
|
||||||
|
---@return fun(itemstack: ItemStack, placer: ObjectRef, pointed_thing: pointed_thing, param2: integer): ItemStack?
|
||||||
|
function mcl_util.bypass_buildable_to(func)
|
||||||
|
--------------------------
|
||||||
|
-- MINETEST CODE: UTILS --
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
local function copy_pointed_thing(pointed_thing)
|
||||||
|
return {
|
||||||
|
type = pointed_thing.type,
|
||||||
|
above = pointed_thing.above and vector.copy(pointed_thing.above),
|
||||||
|
under = pointed_thing.under and vector.copy(pointed_thing.under),
|
||||||
|
ref = pointed_thing.ref,
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
|
local function user_name(user)
|
||||||
|
return user and user:get_player_name() or ""
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Returns a logging function. For empty names, does not log.
|
||||||
|
local function make_log(name)
|
||||||
|
return name ~= "" and minetest.log or function() end
|
||||||
|
end
|
||||||
|
|
||||||
|
local function check_attached_node(p, n, group_rating)
|
||||||
|
local def = core.registered_nodes[n.name]
|
||||||
|
local d = vector.zero()
|
||||||
|
if group_rating == 3 then
|
||||||
|
-- always attach to floor
|
||||||
|
d.y = -1
|
||||||
|
elseif group_rating == 4 then
|
||||||
|
-- always attach to ceiling
|
||||||
|
d.y = 1
|
||||||
|
elseif group_rating == 2 then
|
||||||
|
-- attach to facedir or 4dir direction
|
||||||
|
if (def.paramtype2 == "facedir" or
|
||||||
|
def.paramtype2 == "colorfacedir") then
|
||||||
|
-- Attach to whatever facedir is "mounted to".
|
||||||
|
-- For facedir, this is where tile no. 5 point at.
|
||||||
|
|
||||||
|
-- The fallback vector here is in case 'facedir to dir' is nil due
|
||||||
|
-- to voxelmanip placing a wallmounted node without resetting a
|
||||||
|
-- pre-existing param2 value that is out-of-range for facedir.
|
||||||
|
-- The fallback vector corresponds to param2 = 0.
|
||||||
|
d = core.facedir_to_dir(n.param2) or vector.new(0, 0, 1)
|
||||||
|
elseif (def.paramtype2 == "4dir" or
|
||||||
|
def.paramtype2 == "color4dir") then
|
||||||
|
-- Similar to facedir handling
|
||||||
|
d = core.fourdir_to_dir(n.param2) or vector.new(0, 0, 1)
|
||||||
|
end
|
||||||
|
elseif def.paramtype2 == "wallmounted" or
|
||||||
|
def.paramtype2 == "colorwallmounted" then
|
||||||
|
-- Attach to whatever this node is "mounted to".
|
||||||
|
-- This where tile no. 2 points at.
|
||||||
|
|
||||||
|
-- The fallback vector here is used for the same reason as
|
||||||
|
-- for facedir nodes.
|
||||||
|
d = core.wallmounted_to_dir(n.param2) or vector.new(0, 1, 0)
|
||||||
|
else
|
||||||
|
d.y = -1
|
||||||
|
end
|
||||||
|
local p2 = vector.add(p, d)
|
||||||
|
local nn = core.get_node(p2).name
|
||||||
|
local def2 = core.registered_nodes[nn]
|
||||||
|
if def2 and not def2.walkable then
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
|
||||||
|
return function(itemstack, placer, pointed_thing, param2)
|
||||||
|
-------------------
|
||||||
|
-- MINETEST CODE --
|
||||||
|
-------------------
|
||||||
|
local def = itemstack:get_definition()
|
||||||
|
if def.type ~= "node" or pointed_thing.type ~= "node" then
|
||||||
|
return itemstack
|
||||||
|
end
|
||||||
|
|
||||||
|
local under = pointed_thing.under
|
||||||
|
local oldnode_under = minetest.get_node_or_nil(under)
|
||||||
|
local above = pointed_thing.above
|
||||||
|
local oldnode_above = minetest.get_node_or_nil(above)
|
||||||
|
local playername = user_name(placer)
|
||||||
|
local log = make_log(playername)
|
||||||
|
|
||||||
|
if not oldnode_under or not oldnode_above then
|
||||||
|
log("info", playername .. " tried to place"
|
||||||
|
.. " node in unloaded position " .. minetest.pos_to_string(above))
|
||||||
|
return itemstack
|
||||||
|
end
|
||||||
|
|
||||||
|
local olddef_under = minetest.registered_nodes[oldnode_under.name]
|
||||||
|
olddef_under = olddef_under or minetest.nodedef_default
|
||||||
|
local olddef_above = minetest.registered_nodes[oldnode_above.name]
|
||||||
|
olddef_above = olddef_above or minetest.nodedef_default
|
||||||
|
|
||||||
|
if not olddef_above.buildable_to and not olddef_under.buildable_to then
|
||||||
|
log("info", playername .. " tried to place"
|
||||||
|
.. " node in invalid position " .. minetest.pos_to_string(above)
|
||||||
|
.. ", replacing " .. oldnode_above.name)
|
||||||
|
return itemstack
|
||||||
|
end
|
||||||
|
|
||||||
|
---------------------
|
||||||
|
-- CUSTOMIZED CODE --
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
-- Place above pointed node
|
||||||
|
local place_to = vector.copy(above)
|
||||||
|
|
||||||
|
-- If node under is buildable_to, check for callback result and place into it instead
|
||||||
|
if olddef_under.buildable_to and not func(oldnode_under.name) then
|
||||||
|
log("info", "node under is buildable to")
|
||||||
|
place_to = vector.copy(under)
|
||||||
|
end
|
||||||
|
|
||||||
|
-------------------
|
||||||
|
-- MINETEST CODE --
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
if minetest.is_protected(place_to, playername) then
|
||||||
|
log("action", playername
|
||||||
|
.. " tried to place " .. def.name
|
||||||
|
.. " at protected position "
|
||||||
|
.. minetest.pos_to_string(place_to))
|
||||||
|
minetest.record_protection_violation(place_to, playername)
|
||||||
|
return itemstack
|
||||||
|
end
|
||||||
|
|
||||||
|
local oldnode = minetest.get_node(place_to)
|
||||||
|
local newnode = {name = def.name, param1 = 0, param2 = param2 or 0}
|
||||||
|
|
||||||
|
-- Calculate direction for wall mounted stuff like torches and signs
|
||||||
|
if def.place_param2 ~= nil then
|
||||||
|
newnode.param2 = def.place_param2
|
||||||
|
elseif (def.paramtype2 == "wallmounted" or
|
||||||
|
def.paramtype2 == "colorwallmounted") and not param2 then
|
||||||
|
local dir = vector.subtract(under, above)
|
||||||
|
newnode.param2 = minetest.dir_to_wallmounted(dir)
|
||||||
|
-- Calculate the direction for furnaces and chests and stuff
|
||||||
|
elseif (def.paramtype2 == "facedir" or
|
||||||
|
def.paramtype2 == "colorfacedir" or
|
||||||
|
def.paramtype2 == "4dir" or
|
||||||
|
def.paramtype2 == "color4dir") and not param2 then
|
||||||
|
local placer_pos = placer and placer:get_pos()
|
||||||
|
if placer_pos then
|
||||||
|
local dir = vector.subtract(above, placer_pos)
|
||||||
|
newnode.param2 = minetest.dir_to_facedir(dir)
|
||||||
|
log("info", "facedir: " .. newnode.param2)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
local metatable = itemstack:get_meta():to_table().fields
|
||||||
|
|
||||||
|
-- Transfer color information
|
||||||
|
if metatable.palette_index and not def.place_param2 then
|
||||||
|
local color_divisor = nil
|
||||||
|
if def.paramtype2 == "color" then
|
||||||
|
color_divisor = 1
|
||||||
|
elseif def.paramtype2 == "colorwallmounted" then
|
||||||
|
color_divisor = 8
|
||||||
|
elseif def.paramtype2 == "colorfacedir" then
|
||||||
|
color_divisor = 32
|
||||||
|
elseif def.paramtype2 == "color4dir" then
|
||||||
|
color_divisor = 4
|
||||||
|
elseif def.paramtype2 == "colordegrotate" then
|
||||||
|
color_divisor = 32
|
||||||
|
end
|
||||||
|
if color_divisor then
|
||||||
|
local color = math.floor(metatable.palette_index / color_divisor)
|
||||||
|
local other = newnode.param2 % color_divisor
|
||||||
|
newnode.param2 = color * color_divisor + other
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Check if the node is attached and if it can be placed there
|
||||||
|
local an = minetest.get_item_group(def.name, "attached_node")
|
||||||
|
if an ~= 0 and
|
||||||
|
not check_attached_node(place_to, newnode, an) then
|
||||||
|
log("action", "attached node " .. def.name ..
|
||||||
|
" cannot be placed at " .. minetest.pos_to_string(place_to))
|
||||||
|
return itemstack
|
||||||
|
end
|
||||||
|
|
||||||
|
log("action", playername .. " places node "
|
||||||
|
.. def.name .. " at " .. minetest.pos_to_string(place_to))
|
||||||
|
|
||||||
|
-- Add node and update
|
||||||
|
minetest.add_node(place_to, newnode)
|
||||||
|
|
||||||
|
-- Play sound if it was done by a player
|
||||||
|
if playername ~= "" and def.sounds and def.sounds.place then
|
||||||
|
minetest.sound_play(def.sounds.place, {
|
||||||
|
pos = place_to,
|
||||||
|
exclude_player = playername,
|
||||||
|
}, true)
|
||||||
|
end
|
||||||
|
|
||||||
|
local take_item = true
|
||||||
|
|
||||||
|
-- Run callback
|
||||||
|
if def.after_place_node then
|
||||||
|
-- Deepcopy place_to and pointed_thing because callback can modify it
|
||||||
|
local place_to_copy = vector.copy(place_to)
|
||||||
|
local pointed_thing_copy = copy_pointed_thing(pointed_thing)
|
||||||
|
if def.after_place_node(place_to_copy, placer, itemstack,
|
||||||
|
pointed_thing_copy) then
|
||||||
|
take_item = false
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Run script hook
|
||||||
|
for _, callback in ipairs(minetest.registered_on_placenodes) do
|
||||||
|
-- Deepcopy pos, node and pointed_thing because callback can modify them
|
||||||
|
local place_to_copy = vector.copy(place_to)
|
||||||
|
local newnode_copy = {name = newnode.name, param1 = newnode.param1, param2 = newnode.param2}
|
||||||
|
local oldnode_copy = {name = oldnode.name, param1 = oldnode.param1, param2 = oldnode.param2}
|
||||||
|
local pointed_thing_copy = copy_pointed_thing(pointed_thing)
|
||||||
|
if callback(place_to_copy, newnode_copy, placer, oldnode_copy, itemstack, pointed_thing_copy) then
|
||||||
|
take_item = false
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
if take_item then
|
||||||
|
itemstack:take_item()
|
||||||
|
end
|
||||||
|
return itemstack
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
--[[Check for a protection violation in a given area.
|
||||||
|
--
|
||||||
|
-- Applies is_protected() to a 3D lattice of points in the defined volume. The points are spaced
|
||||||
|
-- evenly throughout the volume and have a spacing similar to, but no larger than, "interval".
|
||||||
|
--
|
||||||
|
-- @param pos1 A position table of the area volume's first edge.
|
||||||
|
-- @param pos2 A position table of the area volume's second edge.
|
||||||
|
-- @param player The player performing the action.
|
||||||
|
-- @param interval Optional. Max spacing between checked points at the volume.
|
||||||
|
-- Default: Same as minetest.is_area_protected.
|
||||||
|
--
|
||||||
|
-- @return true on protection violation detection. false otherwise.
|
||||||
|
--
|
||||||
|
-- @notes *All corners and edges of the defined volume are checked.
|
||||||
|
]]
|
||||||
|
function mcl_util.check_area_protection(pos1, pos2, player, interval)
|
||||||
|
local name = player and player:get_player_name() or ""
|
||||||
|
|
||||||
|
local protected_pos = minetest.is_area_protected(pos1, pos2, name, interval)
|
||||||
|
if protected_pos then
|
||||||
|
minetest.record_protection_violation(protected_pos, name)
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
|
||||||
|
--[[Check for a protection violation on a single position.
|
||||||
|
--
|
||||||
|
-- @param position A position table to check for protection violation.
|
||||||
|
-- @param player The player performing the action.
|
||||||
|
--
|
||||||
|
-- @return true on protection violation detection. false otherwise.
|
||||||
|
]]
|
||||||
|
function mcl_util.check_position_protection(position, player)
|
||||||
|
local name = player and player:get_player_name() or ""
|
||||||
|
|
||||||
|
if minetest.is_protected(position, name) then
|
||||||
|
minetest.record_protection_violation(position, name)
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
|
|
@ -36,7 +36,7 @@ end
|
||||||
-- nil, "void"
|
-- nil, "void"
|
||||||
function mcl_worlds.y_to_layer(y)
|
function mcl_worlds.y_to_layer(y)
|
||||||
if y >= mcl_vars.mg_overworld_min then
|
if y >= mcl_vars.mg_overworld_min then
|
||||||
return y - mcl_vars.mg_overworld_min_old, "overworld"
|
return y - mcl_vars.mg_overworld_min, "overworld"
|
||||||
elseif y >= mcl_vars.mg_nether_min and y <= mcl_vars.mg_nether_max+128 then
|
elseif y >= mcl_vars.mg_nether_min and y <= mcl_vars.mg_nether_max+128 then
|
||||||
return y - mcl_vars.mg_nether_min, "nether"
|
return y - mcl_vars.mg_nether_min, "nether"
|
||||||
elseif y >= mcl_vars.mg_end_min and y <= mcl_vars.mg_end_max then
|
elseif y >= mcl_vars.mg_end_min and y <= mcl_vars.mg_end_max then
|
||||||
|
@ -62,7 +62,7 @@ local pos_to_dimension = mcl_worlds.pos_to_dimension
|
||||||
-- mc_dimension is one of "overworld", "nether", "end" (default: "overworld").
|
-- mc_dimension is one of "overworld", "nether", "end" (default: "overworld").
|
||||||
function mcl_worlds.layer_to_y(layer, mc_dimension)
|
function mcl_worlds.layer_to_y(layer, mc_dimension)
|
||||||
if mc_dimension == "overworld" or mc_dimension == nil then
|
if mc_dimension == "overworld" or mc_dimension == nil then
|
||||||
return layer + mcl_vars.mg_overworld_min_old
|
return layer + mcl_vars.mg_overworld_min
|
||||||
elseif mc_dimension == "nether" then
|
elseif mc_dimension == "nether" then
|
||||||
return layer + mcl_vars.mg_nether_min
|
return layer + mcl_vars.mg_nether_min
|
||||||
elseif mc_dimension == "end" then
|
elseif mc_dimension == "end" then
|
||||||
|
|
|
@ -56,7 +56,7 @@ end
|
||||||
|
|
||||||
local function set_attach(boat)
|
local function set_attach(boat)
|
||||||
boat._driver:set_attach(boat.object, "",
|
boat._driver:set_attach(boat.object, "",
|
||||||
{x = 0, y = 0.42, z = -1}, {x = 0, y = 0, z = 0})
|
{x = 0, y = 1.5, z = 1}, {x = 0, y = 0, z = 0})
|
||||||
end
|
end
|
||||||
|
|
||||||
local function set_double_attach(boat)
|
local function set_double_attach(boat)
|
||||||
|
@ -65,9 +65,13 @@ local function set_double_attach(boat)
|
||||||
boat._passenger:set_attach(boat.object, "",
|
boat._passenger:set_attach(boat.object, "",
|
||||||
{x = 0, y = 0.42, z = -2.2}, {x = 0, y = 0, z = 0})
|
{x = 0, y = 0.42, z = -2.2}, {x = 0, y = 0, z = 0})
|
||||||
end
|
end
|
||||||
|
local function set_choat_attach(boat)
|
||||||
|
boat._driver:set_attach(boat.object, "",
|
||||||
|
{x = 0, y = 1.5, z = 1}, {x = 0, y = 0, z = 0})
|
||||||
|
end
|
||||||
|
|
||||||
local function attach_object(self, obj)
|
local function attach_object(self, obj)
|
||||||
if self._driver then
|
if self._driver and not self._inv_id then
|
||||||
if self._driver:is_player() then
|
if self._driver:is_player() then
|
||||||
self._passenger = obj
|
self._passenger = obj
|
||||||
else
|
else
|
||||||
|
@ -77,8 +81,12 @@ local function attach_object(self, obj)
|
||||||
set_double_attach(self)
|
set_double_attach(self)
|
||||||
else
|
else
|
||||||
self._driver = obj
|
self._driver = obj
|
||||||
|
if self._inv_id then
|
||||||
|
set_choat_attach(self)
|
||||||
|
else
|
||||||
set_attach(self)
|
set_attach(self)
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
local visual_size = get_visual_size(obj)
|
local visual_size = get_visual_size(obj)
|
||||||
local yaw = self.object:get_yaw()
|
local yaw = self.object:get_yaw()
|
||||||
|
@ -101,6 +109,7 @@ local function attach_object(self, obj)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function detach_object(obj, change_pos)
|
local function detach_object(obj, change_pos)
|
||||||
|
if not obj or not obj:get_pos() then return end
|
||||||
obj:set_detach()
|
obj:set_detach()
|
||||||
obj:set_properties({visual_size = get_visual_size(obj)})
|
obj:set_properties({visual_size = get_visual_size(obj)})
|
||||||
if obj:is_player() then
|
if obj:is_player() then
|
||||||
|
@ -123,11 +132,11 @@ local boat = {
|
||||||
pointable = true,
|
pointable = true,
|
||||||
-- Warning: Do not change the position of the collisionbox top surface,
|
-- Warning: Do not change the position of the collisionbox top surface,
|
||||||
-- lowering it causes the boat to fall through the world if underwater
|
-- lowering it causes the boat to fall through the world if underwater
|
||||||
collisionbox = {-0.5, -0.35, -0.5, 0.5, 0.3, 0.5},
|
collisionbox = {-0.5, -0.15, -0.5, 0.5, 0.55, 0.5},
|
||||||
selectionbox = {-0.7, -0.35, -0.7, 0.7, 0.3, 0.7},
|
selectionbox = {-0.7, -0.15, -0.7, 0.7, 0.55, 0.7},
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
mesh = "mcl_boats_boat.b3d",
|
mesh = "mcl_boats_boat.b3d",
|
||||||
textures = {"mcl_boats_texture_oak_boat.png", "mcl_boats_texture_oak_boat.png", "mcl_boats_texture_oak_boat.png", "mcl_boats_texture_oak_boat.png", "mcl_boats_texture_oak_boat.png"},
|
textures = { "mcl_boats_texture_oak_boat.png", "blank.png" },
|
||||||
visual_size = boat_visual_size,
|
visual_size = boat_visual_size,
|
||||||
hp_max = boat_max_hp,
|
hp_max = boat_max_hp,
|
||||||
damage_texture_modifier = "^[colorize:white:0",
|
damage_texture_modifier = "^[colorize:white:0",
|
||||||
|
@ -138,7 +147,7 @@ local boat = {
|
||||||
_last_v = 0, -- Temporary speed variable
|
_last_v = 0, -- Temporary speed variable
|
||||||
_removed = false, -- If true, boat entity is considered removed (e.g. after punch) and should be ignored
|
_removed = false, -- If true, boat entity is considered removed (e.g. after punch) and should be ignored
|
||||||
_itemstring = "mcl_boats:boat", -- Itemstring of the boat item (implies boat type)
|
_itemstring = "mcl_boats:boat", -- Itemstring of the boat item (implies boat type)
|
||||||
_animation = 0, -- 0: not animated; 1: paddling forwards; -1: paddling forwards
|
_animation = 0, -- 0: not animated; 1: paddling forwards; -1: paddling backwards
|
||||||
_regen_timer = 0,
|
_regen_timer = 0,
|
||||||
_damage_anim = 0,
|
_damage_anim = 0,
|
||||||
}
|
}
|
||||||
|
@ -161,8 +170,14 @@ function boat.on_activate(self, staticdata, dtime_s)
|
||||||
self._last_v = self._v
|
self._last_v = self._v
|
||||||
self._itemstring = data.itemstring
|
self._itemstring = data.itemstring
|
||||||
|
|
||||||
while #data.textures < 5 do
|
-- Update the texutes for existing old boat entity instances.
|
||||||
table.insert(data.textures, data.textures[1])
|
-- Maybe remove this in the future.
|
||||||
|
if #data.textures ~= 2 then
|
||||||
|
local has_chest = self._itemstring:find("chest")
|
||||||
|
data.textures = {
|
||||||
|
data.textures[1]:gsub("_chest", ""),
|
||||||
|
has_chest and "mcl_chests_normal.png" or "blank.png"
|
||||||
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
self.object:set_properties({textures = data.textures})
|
self.object:set_properties({textures = data.textures})
|
||||||
|
@ -414,20 +429,17 @@ end
|
||||||
minetest.register_entity("mcl_boats:boat", boat)
|
minetest.register_entity("mcl_boats:boat", boat)
|
||||||
|
|
||||||
local cboat = table.copy(boat)
|
local cboat = table.copy(boat)
|
||||||
cboat.mesh = "mcl_boats_boat_with_chest.b3d"
|
cboat.textures = { "mcl_boats_texture_oak_chest_boat.png", "mcl_chests_normal.png" }
|
||||||
cboat.textures = {"mcl_boats_texture_oak_chest_boat.png", "mcl_boats_texture_oak_chest_boat.png", "mcl_boats_texture_oak_chest_boat.png", "mcl_boats_texture_oak_chest_boat.png", "mcl_boats_texture_oak_chest_boat.png"}
|
|
||||||
cboat._itemstring = "mcl_boats:chest_boat"
|
cboat._itemstring = "mcl_boats:chest_boat"
|
||||||
|
cboat.collisionbox = {-0.5, -0.15, -0.5, 0.5, 0.75, 0.5}
|
||||||
|
cboat.selectionbox = {-0.7, -0.15, -0.7, 0.7, 0.75, 0.7}
|
||||||
|
|
||||||
minetest.register_entity("mcl_boats:chest_boat", cboat)
|
minetest.register_entity("mcl_boats:chest_boat", cboat)
|
||||||
mcl_entity_invs.register_inv("mcl_boats:chest_boat","Boat",27)
|
mcl_entity_invs.register_inv("mcl_boats:chest_boat","Boat",27)
|
||||||
|
|
||||||
local boat_ids = { "boat", "boat_spruce", "boat_birch", "boat_jungle", "boat_acacia", "boat_dark_oak", "boat_obsidian", "boat_mangrove", "chest_boat", "chest_boat_spruce", "chest_boat_birch", "chest_boat_jungle", "chest_boat_acacia", "chest_boat_dark_oak", "chest_boat_mangrove" }
|
local boat_ids = { "boat", "boat_spruce", "boat_birch", "boat_jungle", "boat_acacia", "boat_dark_oak", "boat_obsidian", "boat_mangrove", "chest_boat", "chest_boat_spruce", "chest_boat_birch", "chest_boat_jungle", "chest_boat_acacia", "chest_boat_dark_oak", "chest_boat_mangrove" }
|
||||||
local names = { S("Oak Boat"), S("Spruce Boat"), S("Birch Boat"), S("Jungle Boat"), S("Acacia Boat"), S("Dark Oak Boat"), S("Obsidian Boat"), S("Mangrove Boat"), S("Oak Chest Boat"), S("Spruce Chest Boat"), S("Birch Chest Boat"), S("Jungle Chest Boat"), S("Acacia Chest Boat"), S("Dark Oak Chest Boat"), S("Mangrove Chest Boat") }
|
local names = { S("Oak Boat"), S("Spruce Boat"), S("Birch Boat"), S("Jungle Boat"), S("Acacia Boat"), S("Dark Oak Boat"), S("Obsidian Boat"), S("Mangrove Boat"), S("Oak Chest Boat"), S("Spruce Chest Boat"), S("Birch Chest Boat"), S("Jungle Chest Boat"), S("Acacia Chest Boat"), S("Dark Oak Chest Boat"), S("Mangrove Chest Boat") }
|
||||||
local craftstuffs = {}
|
local craftstuffs = { "mcl_core:wood", "mcl_core:sprucewood", "mcl_core:birchwood", "mcl_core:junglewood", "mcl_core:acaciawood", "mcl_core:darkwood", "mcl_core:obsidian", "mcl_mangrove:mangrove_wood" }
|
||||||
if minetest.get_modpath("mcl_core") then
|
|
||||||
craftstuffs = { "mcl_core:wood", "mcl_core:sprucewood", "mcl_core:birchwood", "mcl_core:junglewood", "mcl_core:acaciawood", "mcl_core:darkwood", "mcl_core:obsidian", "mcl_mangrove:mangrove_wood" }
|
|
||||||
end
|
|
||||||
local images = { "oak", "spruce", "birch", "jungle", "acacia", "dark_oak", "obsidian", "mangrove", "oak_chest", "spruce_chest", "birch_chest", "jungle_chest", "acacia_chest", "dark_oak_chest", "mangrove_chest" }
|
|
||||||
|
|
||||||
for b=1, #boat_ids do
|
for b=1, #boat_ids do
|
||||||
local itemstring = "mcl_boats:"..boat_ids[b]
|
local itemstring = "mcl_boats:"..boat_ids[b]
|
||||||
|
@ -443,6 +455,21 @@ for b=1, #boat_ids do
|
||||||
end
|
end
|
||||||
tt_help = S("Water vehicle")
|
tt_help = S("Water vehicle")
|
||||||
|
|
||||||
|
local inventory_image
|
||||||
|
local texture
|
||||||
|
local id = boat_ids[b]
|
||||||
|
if id:find("chest") then
|
||||||
|
if id == "chest_boat" then id = "oak" end
|
||||||
|
local id = id:gsub("chest_boat_", "")
|
||||||
|
inventory_image = "mcl_boats_" .. id .. "_chest_boat.png"
|
||||||
|
texture = "mcl_boats_texture_" .. id .. "_boat.png"
|
||||||
|
else
|
||||||
|
if id == "boat" then id = "oak" end
|
||||||
|
local id = id:gsub("boat_", "")
|
||||||
|
inventory_image = "mcl_boats_" .. id .. "_boat.png"
|
||||||
|
texture = "mcl_boats_texture_" .. id .. "_boat.png"
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_craftitem(itemstring, {
|
minetest.register_craftitem(itemstring, {
|
||||||
description = names[b],
|
description = names[b],
|
||||||
_tt_help = tt_help,
|
_tt_help = tt_help,
|
||||||
|
@ -450,7 +477,7 @@ for b=1, #boat_ids do
|
||||||
_doc_items_entry_name = helpname,
|
_doc_items_entry_name = helpname,
|
||||||
_doc_items_longdesc = longdesc,
|
_doc_items_longdesc = longdesc,
|
||||||
_doc_items_usagehelp = usagehelp,
|
_doc_items_usagehelp = usagehelp,
|
||||||
inventory_image = "mcl_boats_"..images[b].."_boat.png",
|
inventory_image = inventory_image,
|
||||||
liquids_pointable = true,
|
liquids_pointable = true,
|
||||||
groups = { boat = 1, transport = 1},
|
groups = { boat = 1, transport = 1},
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
|
@ -478,13 +505,14 @@ for b=1, #boat_ids do
|
||||||
pos = vector.add(pos, vector.multiply(dir, boat_y_offset_ground))
|
pos = vector.add(pos, vector.multiply(dir, boat_y_offset_ground))
|
||||||
end
|
end
|
||||||
local boat_ent = "mcl_boats:boat"
|
local boat_ent = "mcl_boats:boat"
|
||||||
|
local chest_tex = "blank.png"
|
||||||
if itemstring:find("chest") then
|
if itemstring:find("chest") then
|
||||||
boat_ent = "mcl_boats:chest_boat"
|
boat_ent = "mcl_boats:chest_boat"
|
||||||
|
chest_tex = "mcl_chests_normal.png"
|
||||||
end
|
end
|
||||||
local boat = minetest.add_entity(pos, boat_ent)
|
local boat = minetest.add_entity(pos, boat_ent)
|
||||||
local texture = "mcl_boats_texture_"..images[b].."_boat.png"
|
|
||||||
boat:get_luaentity()._itemstring = itemstring
|
boat:get_luaentity()._itemstring = itemstring
|
||||||
boat:set_properties({textures = { texture, texture, texture, texture, texture }})
|
boat:set_properties({ textures = { texture, chest_tex } })
|
||||||
boat:set_yaw(placer:get_look_horizontal())
|
boat:set_yaw(placer:get_look_horizontal())
|
||||||
if not minetest.is_creative_enabled(placer:get_player_name()) then
|
if not minetest.is_creative_enabled(placer:get_player_name()) then
|
||||||
itemstack:take_item()
|
itemstack:take_item()
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
# textdomain: mcl_boats
|
||||||
|
Acacia Boat=アカシアのボート
|
||||||
|
Birch Boat=シラカバのボート
|
||||||
|
Boat=ボート
|
||||||
|
Boats are used to travel on the surface of water.=ボートは、水面を移動するために使われます。
|
||||||
|
Dark Oak Boat=ダークオークのボート
|
||||||
|
Jungle Boat=ジャングルのボート
|
||||||
|
Oak Boat=オークのボート
|
||||||
|
Rightclick on a water source to place the boat. Rightclick the boat to enter it. Use [Left] and [Right] to steer, [Forwards] to speed up and [Backwards] to slow down or move backwards. Use [Sneak] to leave the boat, punch the boat to make it drop as an item.=水源を右クリックすると、ボートが配置されます。ボートを右クリックすると、乗り込みます。[左][右]で舵取り、[前]で加速、[後]で減速または後退します。[スニーク]でボートから離れ、ボートをパンチするとアイテムとしてドロップします。
|
||||||
|
Spruce Boat=トウヒのボート
|
||||||
|
Water vehicle=水上用の乗物
|
||||||
|
Sneak to dismount=スニークで降りる
|
||||||
|
Obsidian Boat=黒曜石のボート
|
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
|
@ -1,3 +1,5 @@
|
||||||
|
local enable_damage = minetest.settings:get_bool("enable_damage")
|
||||||
|
|
||||||
function mcl_burning.get_storage(obj)
|
function mcl_burning.get_storage(obj)
|
||||||
return obj:is_player() and mcl_burning.storage[obj] or obj:get_luaentity()
|
return obj:is_player() and mcl_burning.storage[obj] or obj:get_luaentity()
|
||||||
end
|
end
|
||||||
|
@ -77,7 +79,7 @@ end
|
||||||
-- The effective burn duration is modified by obj's armor protection.
|
-- The effective burn duration is modified by obj's armor protection.
|
||||||
-- If obj was already burning, its burn duration is updated if the current
|
-- If obj was already burning, its burn duration is updated if the current
|
||||||
-- duration is less than burn_time.
|
-- duration is less than burn_time.
|
||||||
-- If obj is dead, fireproof or a creative player, this function does nothing.
|
-- If obj is dead, fireproof or enable_damage is disabled, this function does nothing.
|
||||||
--
|
--
|
||||||
function mcl_burning.set_on_fire(obj, burn_time)
|
function mcl_burning.set_on_fire(obj, burn_time)
|
||||||
if obj:get_hp() < 0 then
|
if obj:get_hp() < 0 then
|
||||||
|
@ -89,8 +91,9 @@ function mcl_burning.set_on_fire(obj, burn_time)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if obj:is_player() and minetest.is_creative_enabled(obj:get_player_name()) then
|
if obj:is_player() and not enable_damage then
|
||||||
burn_time = 0
|
burn_time = 0
|
||||||
|
return
|
||||||
else
|
else
|
||||||
local max_fire_prot_lvl = 0
|
local max_fire_prot_lvl = 0
|
||||||
local inv = mcl_util.get_inventory(obj)
|
local inv = mcl_util.get_inventory(obj)
|
||||||
|
|
|
@ -0,0 +1,36 @@
|
||||||
|
# mcl_dripping
|
||||||
|
|
||||||
|
Dripping Mod by kddekadenz, modified for MineClone 2 by Wuzzy, NO11 and AFCM
|
||||||
|
|
||||||
|
## Manual
|
||||||
|
|
||||||
|
- drops are generated rarely under solid nodes
|
||||||
|
- they will stay some time at the generated block and than they fall down
|
||||||
|
- when they collide with the ground, a sound is played and they are destroyed
|
||||||
|
|
||||||
|
Water and Lava have builtin drops registered.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
code & sounds: CC0
|
||||||
|
|
||||||
|
## API
|
||||||
|
|
||||||
|
```lua
|
||||||
|
mcl_dripping.register_drop({
|
||||||
|
-- The group the liquid's nodes belong to
|
||||||
|
liquid = "water",
|
||||||
|
-- The texture used (particles will take a random 2x2 area of it)
|
||||||
|
texture = "default_water_source_animated.png",
|
||||||
|
-- Define particle glow, ranges from `0` to `minetest.LIGHT_MAX`
|
||||||
|
light = 1,
|
||||||
|
-- The nodes (or node group) the particles will spawn under
|
||||||
|
nodes = { "group:opaque", "group:leaves" },
|
||||||
|
-- The sound that will be played then the particle detaches from the roof, see SimpleSoundSpec in lua_api.txt
|
||||||
|
sound = "drippingwater_drip",
|
||||||
|
-- The interval for the ABM to run
|
||||||
|
interval = 60,
|
||||||
|
-- The chance of the ABM
|
||||||
|
chance = 10,
|
||||||
|
})
|
||||||
|
```
|
|
@ -3,53 +3,99 @@
|
||||||
-- License of code, textures & sounds: CC0
|
-- License of code, textures & sounds: CC0
|
||||||
|
|
||||||
local math = math
|
local math = math
|
||||||
local function make_drop(pos,liquid,sound,interval)
|
|
||||||
|
mcl_dripping = {}
|
||||||
|
|
||||||
|
|
||||||
|
---@param pos Vector
|
||||||
|
---@param liquid string
|
||||||
|
---@param sound SimpleSoundSpec
|
||||||
|
---@param interval integer
|
||||||
|
---@param texture string
|
||||||
|
local function make_drop(pos, liquid, sound, interval, texture)
|
||||||
local pt = {
|
local pt = {
|
||||||
velocity = vector.new(0,0,0),
|
velocity = vector.zero(),
|
||||||
collision_removal = false,
|
collision_removal = false,
|
||||||
}
|
}
|
||||||
|
|
||||||
local t = math.random() + math.random(1, interval)
|
local t = math.random() + math.random(1, interval)
|
||||||
minetest.after(t,function()
|
|
||||||
|
minetest.after(t, function()
|
||||||
local x, z = math.random(-45, 45) / 100, math.random(-45, 45) / 100
|
local x, z = math.random(-45, 45) / 100, math.random(-45, 45) / 100
|
||||||
pt.pos = vector.offset(pos,x,-0.52,z)
|
|
||||||
pt.acceleration = vector.new(0,0,0)
|
pt.pos = vector.offset(pos, x, -0.52, z)
|
||||||
|
pt.acceleration = vector.zero()
|
||||||
pt.collisiondetection = false
|
pt.collisiondetection = false
|
||||||
pt.expirationtime = t
|
pt.expirationtime = t
|
||||||
|
|
||||||
pt.texture="[combine:2x2:" .. -math.random(1, 16) .. "," .. -math.random(1, 16) .. "=default_" .. liquid .. "_source_animated.png"
|
pt.texture = "[combine:2x2:" ..
|
||||||
|
-math.random(1, 16) .. "," .. -math.random(1, 16) .. "=" .. texture
|
||||||
|
|
||||||
minetest.add_particle(pt)
|
minetest.add_particle(pt)
|
||||||
minetest.after(t,function()
|
|
||||||
pt.acceleration = vector.new(0,-5,0)
|
minetest.after(t, function()
|
||||||
|
pt.acceleration = vector.new(0, -5, 0)
|
||||||
pt.collisiondetection = true
|
pt.collisiondetection = true
|
||||||
pt.expirationtime = math.random() + math.random(1, interval/2)
|
pt.expirationtime = math.random() + math.random(1, interval / 2)
|
||||||
|
|
||||||
minetest.add_particle(pt)
|
minetest.add_particle(pt)
|
||||||
minetest.sound_play({name = "drippingwater_" .. sound .. "drip"}, {pos = pos, gain = 0.5, max_hear_distance = 8}, true)
|
|
||||||
|
minetest.sound_play(sound, { pos = pos, gain = 0.5, max_hear_distance = 8 },
|
||||||
|
true)
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function register_drop(liquid, glow, sound, nodes, interval, chance)
|
---@class mcl_dripping_drop_definition
|
||||||
|
---@field liquid string The group the liquid's nodes belong to
|
||||||
|
---@field texture string The texture used (particles will take a random 2x2 area of it)
|
||||||
|
---@field light integer Define particle glow, ranges from `0` to `minetest.LIGHT_MAX`
|
||||||
|
---@field nodes string[] The nodes (or node group) the particles will spawn under
|
||||||
|
---@field interval integer The interval for the ABM to run
|
||||||
|
---@field chance integer The chance of the ABM
|
||||||
|
---@field sound SimpleSoundSpec The sound that will be played then the particle detaches from the roof
|
||||||
|
|
||||||
|
---@param def mcl_dripping_drop_definition
|
||||||
|
function mcl_dripping.register_drop(def)
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
label = "Create drops",
|
label = "Create drops",
|
||||||
nodenames = nodes,
|
nodenames = def.nodes,
|
||||||
neighbors = {"group:" .. liquid},
|
neighbors = { "group:" .. def.liquid },
|
||||||
interval = interval,
|
interval = def.interval,
|
||||||
chance = chance,
|
chance = def.chance,
|
||||||
action = function(pos)
|
action = function(pos)
|
||||||
local r = math.ceil(interval / 20)
|
local below = minetest.get_node(vector.offset(pos,0,-1,0)).name
|
||||||
local nn=minetest.find_nodes_in_area(vector.offset(pos,-r,0,-r),vector.offset(pos,r,0,r),nodes)
|
if below ~= "air" then return end
|
||||||
|
local r = math.ceil(def.interval / 20)
|
||||||
|
local nn = minetest.find_nodes_in_area(vector.offset(pos, -r, 0, -r), vector.offset(pos, r, 0, r), def.nodes)
|
||||||
--start a bunch of particle cycles to be able to get away
|
--start a bunch of particle cycles to be able to get away
|
||||||
--with longer abm cycles
|
--with longer abm cycles
|
||||||
table.shuffle(nn)
|
table.shuffle(nn)
|
||||||
for i=1,math.random(#nn) do
|
for i = 1, math.random(#nn) do
|
||||||
if nn[i] and minetest.get_item_group(minetest.get_node(vector.offset(nn[i], 0, 1, 0)).name, liquid) ~= 0
|
if minetest.get_item_group(minetest.get_node(vector.offset(nn[i], 0, 1, 0)).name, def.liquid) ~= 0 then
|
||||||
and minetest.get_node(vector.offset(nn[i], 0, -1, 0)).name == "air" then
|
make_drop(nn[i], def.liquid, def.sound, def.interval, def.texture)
|
||||||
make_drop(nn[i],liquid,sound,interval)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
register_drop("water", 1, "", {"group:opaque", "group:leaves"},60,10)
|
mcl_dripping.register_drop({
|
||||||
register_drop("lava", math.max(7, minetest.registered_nodes["mcl_core:lava_source"].light_source - 3), "lava", {"group:opaque"},60,10)
|
liquid = "water",
|
||||||
|
texture = "default_water_source_animated.png",
|
||||||
|
light = 1,
|
||||||
|
nodes = { "group:opaque", "group:leaves" },
|
||||||
|
sound = "drippingwater_drip",
|
||||||
|
interval = 60.3,
|
||||||
|
chance = 10,
|
||||||
|
})
|
||||||
|
|
||||||
|
mcl_dripping.register_drop({
|
||||||
|
liquid = "lava",
|
||||||
|
texture = "default_lava_source_animated.png",
|
||||||
|
light = math.max(7, minetest.registered_nodes["mcl_core:lava_source"].light_source - 3),
|
||||||
|
nodes = { "group:opaque" },
|
||||||
|
sound = "drippingwater_lavadrip",
|
||||||
|
interval = 110.1,
|
||||||
|
chance = 10,
|
||||||
|
})
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
Dripping Mod
|
|
||||||
by kddekadenz
|
|
||||||
|
|
||||||
modified for MineClone 2 by Wuzzy and NO11
|
|
||||||
|
|
||||||
|
|
||||||
Installing instructions:
|
|
||||||
|
|
||||||
1. Copy the mcl_dripping mod folder into games/gamemode/mods
|
|
||||||
|
|
||||||
2. Start game and enjoy :)
|
|
||||||
|
|
||||||
|
|
||||||
Manual:
|
|
||||||
|
|
||||||
-> drops are generated rarely under solid nodes
|
|
||||||
-> they will stay some time at the generated block and than they fall down
|
|
||||||
-> when they collide with the ground, a sound is played and they are destroyed
|
|
||||||
|
|
||||||
|
|
||||||
License:
|
|
||||||
|
|
||||||
code & sounds: CC0
|
|
||||||
|
|
||||||
|
|
||||||
Changelog:
|
|
||||||
|
|
||||||
16.04.2012 - first release
|
|
||||||
28.04.2012 - drops are now 3D; added lava drops; fixed generating of drops (not at edges now)
|
|