Compare commits
573 Commits
Beta-v0.1.
...
broken
Author | SHA1 | Date |
---|---|---|
thunderdog1138 | ade014fdab | |
thunderdog1138 | 7d7a8c4667 | |
thunderdog1138 | d53b3272e8 | |
thunderdog1138 | 97316abf39 | |
thunderdog1138 | a64e98099a | |
thunderdog1138 | 8213dde380 | |
thunderdog1138 | 461411d718 | |
thunderdog1138 | d87404dafd | |
thunderdog1138 | 20f330e6dc | |
thunderdog1138 | 19a914b53d | |
thunderdog1138 | 217a14cb52 | |
thunderdog1138 | 63a34391d9 | |
thunderdog1138 | ca72aabc51 | |
thunderdog1138 | 0fb59784c1 | |
thunderdog1138 | 675d469a8e | |
thunderdog1138 | f8143f7a9b | |
thunderdog1138 | 09aa54273e | |
thunderdog1138 | c16f831ae4 | |
thunderdog1138 | 1204a5e70e | |
thunderdog1138 | 6da715d33e | |
thunderdog1138 | 9eb8291ab5 | |
thunderdog1138 | d46ab94abe | |
thunderdog1138 | a66518fa0a | |
thunderdog1138 | 1d019d6f7a | |
thunderdog1138 | 28a25133f3 | |
thunderdog1138 | b9f532d6a8 | |
thunderdog1138 | ce41be62b2 | |
thunderdog1138 | 261e6a0aa4 | |
thunderdog1138 | 473ce7221e | |
thunderdog1138 | 51290665b9 | |
thunderdog1138 | c5ca89d219 | |
thunderdog1138 | 976045daef | |
thunderdog1138 | d43bd4f8ca | |
thunderdog1138 | a05695b9eb | |
thunderdog1138 | 982e1c1d9e | |
thunderdog1138 | 51ec8e6bdf | |
thunderdog1138 | dfd8c8065f | |
thunderdog1138 | 6c88635a87 | |
thunderdog1138 | 5ad864dce7 | |
thunderdog1138 | f50334b4e4 | |
thunderdog1138 | ccac5999e4 | |
thunderdog1138 | b0053daa97 | |
thunderdog1138 | e0b034262e | |
thunderdog1138 | 3c812572a2 | |
thunderdog1138 | d810f47a31 | |
thunderdog1138 | ca4b489300 | |
thunderdog1138 | afb3693690 | |
thunderdog1138 | 235a48487d | |
thunderdog1138 | 7fd50d0498 | |
thunderdog1138 | a6adeb645f | |
thunderdog1138 | c24eb9aac7 | |
thunderdog1138 | 034a92332f | |
thunderdog1138 | c694b1d6c2 | |
thunderdog1138 | a832b8bad9 | |
thunderdog1138 | e1e4176e29 | |
thunderdog1138 | b78bae063c | |
thunderdog1138 | 53049754d2 | |
thunderdog1138 | a8e670f1b6 | |
thunderdog1138 | 06a31c7ea3 | |
thunderdog1138 | afbe8a2d2c | |
thunderdog1138 | 715ce63f9d | |
thunderdog1138 | 8c59503b2d | |
thunderdog1138 | c715596bfb | |
thunderdog1138 | 5f03fc7a53 | |
thunderdog1138 | 4cd4337193 | |
thunderdog1138 | 6917a29bc9 | |
thunderdog1138 | 73fc029e36 | |
thunderdog1138 | 784f0f8ff0 | |
thunderdog1138 | 47126dcb93 | |
thunderdog1138 | 0c36c5e081 | |
thunderdog1138 | bfdfcb897d | |
thunderdog1138 | 6b54502859 | |
thunderdog1138 | ddf3b7b4ec | |
thunderdog1138 | 17589b54f5 | |
thunderdog1138 | eab6b8f305 | |
thunderdog1138 | 24a5b6ee58 | |
thunderdog1138 | f1a7a01bac | |
thunderdog1138 | 02ce2198bc | |
thunderdog1138 | 693d1fe681 | |
thunderdog1138 | eb4b54ae55 | |
thunderdog1138 | 49481eb992 | |
thunderdog1138 | 92df038d4a | |
thunderdog1138 | b744accad9 | |
thunderdog1138 | d90595e606 | |
thunderdog1138 | fda5f111d6 | |
thunderdog1138 | d91c23b305 | |
thunderdog1138 | ed9835b439 | |
thunderdog1138 | 956ee618da | |
thunderdog1138 | 529332537e | |
thunderdog1138 | 5b46976e86 | |
thunderdog1138 | 3248804e65 | |
thunderdog1138 | 3bbb5c62df | |
thunderdog1138 | 4d391afc49 | |
thunderdog1138 | 5ecfe3edc5 | |
thunderdog1138 | fca68856cd | |
thunderdog1138 | 6fa193a63f | |
thunderdog1138 | 2d30e5208d | |
thunderdog1138 | 2ea3dc8286 | |
thunderdog1138 | f7581c93d6 | |
thunderdog1138 | a65c99de26 | |
thunderdog1138 | 7f05716d94 | |
thunderdog1138 | 6d397ba109 | |
thunderdog1138 | 896b03d457 | |
thunderdog1138 | ffc492bced | |
thunderdog1138 | 71f5ab8969 | |
thunderdog1138 | 501a7a82dd | |
thunderdog1138 | 040c403368 | |
thunderdog1138 | 13af2a8448 | |
thunderdog1138 | 764229d1a6 | |
thunderdog1138 | 02b54ad6e7 | |
thunderdog1138 | abeffd8610 | |
thunderdog1138 | dc78c2465d | |
thunderdog1138 | 16da10e8e7 | |
thunderdog1138 | 9d43d2996b | |
thunderdog1138 | fae0ce841b | |
thunderdog1138 | d0f768123d | |
thunderdog1138 | a363a394e0 | |
thunderdog1138 | c7965c9e88 | |
thunderdog1138 | e1581931d6 | |
thunderdog1138 | 0edbb8522b | |
thunderdog1138 | 1d6af3711a | |
thunderdog1138 | 1fefd14aea | |
thunderdog1138 | 2f0856b805 | |
thunderdog1138 | cafe29deaa | |
thunderdog1138 | 8edb238753 | |
thunderdog1138 | 7bf90e88a2 | |
thunderdog1138 | c2c3eae22d | |
thunderdog1138 | 125fe8bcf1 | |
thunderdog1138 | fa392d4766 | |
thunderdog1138 | 6601e401b2 | |
thunderdog1138 | 00a9bbfc22 | |
thunderdog1138 | 02ed7c357f | |
thunderdog1138 | ff51cdd18d | |
thunderdog1138 | 8652bcc8ba | |
thunderdog1138 | b199de0213 | |
thunderdog1138 | 34e9cb9d97 | |
thunderdog1138 | 94523e04f7 | |
thunderdog1138 | adc944b9bd | |
thunderdog1138 | 0f0e4cd1b7 | |
thunderdog1138 | 786bd94a5e | |
thunderdog1138 | 85756d4685 | |
thunderdog1138 | 3f83105e98 | |
thunderdog1138 | 2cadd936bc | |
thunderdog1138 | 57846bc7f3 | |
thunderdog1138 | c864574ec3 | |
thunderdog1138 | e9b35f1f69 | |
thunderdog1138 | f335be652d | |
thunderdog1138 | 7d0679872e | |
thunderdog1138 | 1a33b4984c | |
thunderdog1138 | 2c0b6bdae8 | |
thunderdog1138 | 2944939504 | |
thunderdog1138 | bf53db06bb | |
thunderdog1138 | 67edf01a1d | |
thunderdog1138 | 0c4570e658 | |
thunderdog1138 | ae12a1895b | |
thunderdog1138 | 7ddab29721 | |
thunderdog1138 | b14b4b4f14 | |
thunderdog1138 | 167d90b23c | |
thunderdog1138 | 0713fff618 | |
thunderdog1138 | 347506be77 | |
thunderdog1138 | a9fbc943c2 | |
thunderdog1138 | 4e4c5d925f | |
thunderdog1138 | 8f4b90d82b | |
thunderdog1138 | e72d1b7b82 | |
thunderdog1138 | aa614492b5 | |
thunderdog1138 | 625343a1f7 | |
thunderdog1138 | 1dacb6850c | |
thunderdog1138 | 9c3916b1af | |
thunderdog1138 | 118f3a3e23 | |
thunderdog1138 | 023be669e8 | |
thunderdog1138 | 307087a74e | |
thunderdog1138 | 03757025f6 | |
thunderdog1138 | e3afc3e616 | |
thunderdog1138 | 28c09f57da | |
thunderdog1138 | d11b536c1d | |
thunderdog1138 | aeaca23efa | |
thunderdog1138 | 46f59c968f | |
thunderdog1138 | a245d7ee9d | |
thunderdog1138 | e8c49b546f | |
thunderdog1138 | 87fe8df225 | |
thunderdog1138 | 09a74121b0 | |
thunderdog1138 | 909b1bd10e | |
thunderdog1138 | 97e132cd84 | |
thunderdog1138 | fd145f1a0d | |
thunderdog1138 | 9dce7b7dbd | |
thunderdog1138 | 37d13688b7 | |
thunderdog1138 | 03a3129418 | |
thunderdog1138 | 93958967a9 | |
thunderdog1138 | 36e1e22ff1 | |
thunderdog1138 | d7141cab9b | |
thunderdog1138 | 045a0ac87a | |
thunderdog1138 | 391f5f3a07 | |
thunderdog1138 | 97bdf6c777 | |
thunderdog1138 | e3b7755223 | |
thunderdog1138 | 0d4eabb6e1 | |
thunderdog1138 | 7fcafc019d | |
thunderdog1138 | fd80266efe | |
thunderdog1138 | e6507cb522 | |
thunderdog1138 | 4561f6829a | |
thunderdog1138 | 8fcf7761c5 | |
thunderdog1138 | 2467028bdb | |
thunderdog1138 | 44836e9178 | |
thunderdog1138 | edc0b3ab63 | |
thunderdog1138 | 97182a09cd | |
thunderdog1138 | 36777fc2ee | |
thunderdog1138 | 52f0da9d9f | |
thunderdog1138 | 3f7cacf449 | |
thunderdog1138 | 705b91a402 | |
thunderdog1138 | ecf51d7441 | |
thunderdog1138 | 4c9e2f0371 | |
thunderdog1138 | 88c9ecf4ec | |
thunderdog1138 | 69235adad9 | |
thunderdog1138 | 3144248b51 | |
thunderdog1138 | 0583c47c88 | |
thunderdog1138 | 73684285ab | |
thunderdog1138 | caa7f2c4eb | |
thunderdog1138 | 547842d10e | |
thunderdog1138 | 62eaac4169 | |
thunderdog1138 | 0148df1b15 | |
thunderdog1138 | 97cbe3e82e | |
thunderdog1138 | 59f34704a0 | |
thunderdog1138 | 5f684dba04 | |
thunderdog1138 | f86170bee2 | |
thunderdog1138 | 77459f18eb | |
thunderdog1138 | 5d3d0e56af | |
thunderdog1138 | 6ca18cf2e7 | |
thunderdog1138 | 4873e3cc6d | |
thunderdog1138 | ffa8f9f70b | |
thunderdog1138 | 0760ad82dd | |
thunderdog1138 | a60d3547ca | |
thunderdog1138 | 3c78a1ac25 | |
thunderdog1138 | 7aff0a1ad4 | |
thunderdog1138 | 814be30bfe | |
thunderdog1138 | 7edcbfb8be | |
thunderdog1138 | a70867726a | |
thunderdog1138 | d91883fc39 | |
thunderdog1138 | ebc6d502ca | |
thunderdog1138 | 3d776ef679 | |
thunderdog1138 | 391d52e1c3 | |
thunderdog1138 | e4ad87b307 | |
thunderdog1138 | a708266527 | |
thunderdog1138 | 96e0ea61e6 | |
thunderdog1138 | 51ed0b6a8d | |
thunderdog1138 | 8af03b3bb4 | |
thunderdog1138 | d114f86afa | |
thunderdog1138 | d2f4536edf | |
thunderdog1138 | fe899935da | |
thunderdog1138 | a855cdbd78 | |
thunderdog1138 | 133ea7b4d6 | |
thunderdog1138 | 7a2837c7de | |
thunderdog1138 | c16de0f9f5 | |
thunderdog1138 | 9dab771577 | |
thunderdog1138 | fffeea91cb | |
thunderdog1138 | a14e7b29a9 | |
thunderdog1138 | 56eb8cb7a8 | |
thunderdog1138 | 92c082781c | |
thunderdog1138 | c06fafe372 | |
thunderdog1138 | 9acaf9bba0 | |
thunderdog1138 | 71877da8eb | |
thunderdog1138 | 79121cde01 | |
thunderdog1138 | ddd9192479 | |
thunderdog1138 | c81a3d5c41 | |
thunderdog1138 | 3790b7a3c6 | |
thunderdog1138 | 1af8586162 | |
thunderdog1138 | b61fad7ea3 | |
thunderdog1138 | 5d5a5fdfeb | |
thunderdog1138 | 87fc07f3c9 | |
thunderdog1138 | a9694181c5 | |
thunderdog1138 | f6ac135ded | |
thunderdog1138 | 4c68289fe1 | |
thunderdog1138 | ec5e5ea97e | |
thunderdog1138 | 9b0dcd76a5 | |
thunderdog1138 | 778a75256c | |
thunderdog1138 | 59e408fedb | |
thunderdog1138 | c939431e51 | |
thunderdog1138 | 47fe6467bf | |
thunderdog1138 | 9eadb80840 | |
thunderdog1138 | 21533bc868 | |
thunderdog1138 | 55e9e7b497 | |
thunderdog1138 | b78a04b83d | |
thunderdog1138 | a37a72bb5b | |
thunderdog1138 | 66cdc63fc9 | |
thunderdog1138 | 154eb09848 | |
thunderdog1138 | fe12b653f8 | |
thunderdog1138 | 0cff9919b4 | |
thunderdog1138 | ab06c807e6 | |
thunderdog1138 | 2bec93e9ee | |
thunderdog1138 | 19f41e38f9 | |
thunderdog1138 | 56d60d38f4 | |
thunderdog1138 | 0e27336202 | |
thunderdog1138 | c573f0790e | |
thunderdog1138 | a6cc783337 | |
thunderdog1138 | 22027c7a96 | |
thunderdog1138 | 88ab891352 | |
thunderdog1138 | 1c5536c6a3 | |
thunderdog1138 | d337a23de2 | |
thunderdog1138 | a0c5d1a6ca | |
thunderdog1138 | d9ad657d10 | |
thunderdog1138 | 5f2f6bec3d | |
thunderdog1138 | 4c5c458bf6 | |
thunderdog1138 | 531288621e | |
thunderdog1138 | b2d2eef7e1 | |
thunderdog1138 | 1d0ccdcf51 | |
thunderdog1138 | 105609d115 | |
thunderdog1138 | bf61eb716b | |
thunderdog1138 | 2956a6f98f | |
thunderdog1138 | aa86db1d1e | |
thunderdog1138 | 724ef20af2 | |
thunderdog1138 | 7fc2b0858f | |
thunderdog1138 | b1a9be6be9 | |
thunderdog1138 | 8803faacb0 | |
thunderdog1138 | c02e08bb57 | |
thunderdog1138 | d7a58b6074 | |
thunderdog1138 | 4e559b1d04 | |
thunderdog1138 | d2b1efec48 | |
thunderdog1138 | 20eb682919 | |
thunderdog1138 | d2951f4789 | |
thunderdog1138 | f9500a99a7 | |
thunderdog1138 | fbc5054681 | |
thunderdog1138 | 0e943146ad | |
thunderdog1138 | 6f70a2c62c | |
thunderdog1138 | 939f595606 | |
thunderdog1138 | 1bb971acd8 | |
thunderdog1138 | c66e05812d | |
thunderdog1138 | 26ae73f0fa | |
thunderdog1138 | e006a0e897 | |
thunderdog1138 | 09c99e40e3 | |
thunderdog1138 | cce3401e41 | |
thunderdog1138 | 5be40df9cd | |
thunderdog1138 | a468d34621 | |
thunderdog1138 | 7d2d304214 | |
thunderdog1138 | 4f97b971d6 | |
thunderdog1138 | d01c875368 | |
thunderdog1138 | 03d14e734b | |
thunderdog1138 | f8ad8cb0f9 | |
thunderdog1138 | 72895a125b | |
thunderdog1138 | 3199889541 | |
thunderdog1138 | 57797f00b6 | |
thunderdog1138 | 75d4929b8f | |
thunderdog1138 | 63cc781697 | |
thunderdog1138 | 4281a321dc | |
thunderdog1138 | 83c410f2e1 | |
thunderdog1138 | aff1e44a6e | |
thunderdog1138 | 1738831111 | |
thunderdog1138 | 65ce2d8543 | |
thunderdog1138 | b82ca570fc | |
thunderdog1138 | a0585184f0 | |
thunderdog1138 | a7b09b27ab | |
thunderdog1138 | 1bc0c2d309 | |
thunderdog1138 | 6bf1970ce6 | |
thunderdog1138 | 83d2b4247a | |
thunderdog1138 | e0a4b909e9 | |
thunderdog1138 | 98ade54bf7 | |
thunderdog1138 | e6c519a20c | |
thunderdog1138 | c23c579e1a | |
thunderdog1138 | 755a5fdcfe | |
thunderdog1138 | 62419b1282 | |
thunderdog1138 | f65f02164d | |
thunderdog1138 | f5612f24a5 | |
thunderdog1138 | 46d785d9c1 | |
thunderdog1138 | 00893839cd | |
thunderdog1138 | 0d86b45e0c | |
thunderdog1138 | 6ebf4cbcab | |
thunderdog1138 | b14dc661cc | |
thunderdog1138 | 25e8b87bcc | |
thunderdog1138 | 6e4b3f68bd | |
thunderdog1138 | 70c9f47259 | |
thunderdog1138 | 19821d117b | |
thunderdog1138 | fc7f8a611c | |
thunderdog1138 | 17ea90aa8d | |
thunderdog1138 | 604f5e2b91 | |
thunderdog1138 | 441f8788e5 | |
thunderdog1138 | d866a13291 | |
thunderdog1138 | d699767d18 | |
thunderdog1138 | f85803171f | |
thunderdog1138 | efc1565177 | |
thunderdog1138 | 0c22ed55e1 | |
thunderdog1138 | e5948b9374 | |
thunderdog1138 | e9ca405401 | |
thunderdog1138 | 86b68d1ed6 | |
thunderdog1138 | 2adbf1abd3 | |
thunderdog1138 | ba5c4c9ae6 | |
thunderdog1138 | 864afc31e9 | |
thunderdog1138 | 3511aad4b8 | |
thunderdog1138 | bf9a1addad | |
thunderdog1138 | 72c8402c8b | |
thunderdog1138 | c41ed303ee | |
thunderdog1138 | 7cb8a7d06e | |
thunderdog1138 | 173879104f | |
thunderdog1138 | 4daa2aff11 | |
thunderdog1138 | ca3dcb8ad9 | |
thunderdog1138 | 76bdd3a292 | |
thunderdog1138 | 78b6fac683 | |
thunderdog1138 | 174314695e | |
thunderdog1138 | d68047260b | |
thunderdog1138 | d0bcc9cfab | |
thunderdog1138 | dd824a27b8 | |
thunderdog1138 | 6aa4214b3b | |
thunderdog1138 | 38acb4939c | |
thunderdog1138 | ce877d634b | |
thunderdog1138 | 6a9b092d31 | |
thunderdog1138 | 0ac78554b5 | |
thunderdog1138 | 52fc8f70f5 | |
thunderdog1138 | 6d7fbd3423 | |
thunderdog1138 | 1203237060 | |
thunderdog1138 | a1bbaf71ea | |
thunderdog1138 | 3c4748c7fa | |
thunderdog1138 | ab312116a1 | |
thunderdog1138 | 62bf382b51 | |
thunderdog1138 | f76ab4e975 | |
thunderdog1138 | 5da5a3eac4 | |
thunderdog1138 | ed6daeaeaa | |
thunderdog1138 | d47503437b | |
thunderdog1138 | 587f1043eb | |
thunderdog1138 | f97ecb9c57 | |
thunderdog1138 | 78c27f5595 | |
thunderdog1138 | c161da3c7f | |
thunderdog1138 | da5b7e2e7b | |
thunderdog1138 | f7aa3e860f | |
thunderdog1138 | f6713e5734 | |
thunderdog1138 | cc32ac8430 | |
thunderdog1138 | 15b61f1060 | |
thunderdog1138 | 7353531458 | |
thunderdog1138 | ae868be2de | |
thunderdog1138 | b85a3e5982 | |
thunderdog1138 | 31d59e9810 | |
thunderdog1138 | 0ced46e08d | |
thunderdog1138 | cdc55b195a | |
thunderdog1138 | 92e661107e | |
thunderdog1138 | e89c818e89 | |
thunderdog1138 | e347e93e69 | |
thunderdog1138 | 1a726bc56d | |
thunderdog1138 | c1030c8733 | |
thunderdog1138 | fd4b7a7014 | |
thunderdog1138 | 3f8c276941 | |
thunderdog1138 | a93c49a901 | |
thunderdog1138 | 1f36d2b67c | |
thunderdog1138 | 4820a40de1 | |
thunderdog1138 | f69cb6be7d | |
thunderdog1138 | f01efa43b5 | |
thunderdog1138 | 08d2367b3b | |
thunderdog1138 | 6aba591882 | |
thunderdog1138 | e9656261b6 | |
thunderdog1138 | fb4d173330 | |
thunderdog1138 | 6ee7a70785 | |
thunderdog1138 | 4292f8c60f | |
thunderdog1138 | bbe152c730 | |
thunderdog1138 | 0f03a31e8a | |
thunderdog1138 | 01e46ba0b6 | |
thunderdog1138 | d5db6ed648 | |
thunderdog1138 | b50d15f547 | |
thunderdog1138 | 9d057335df | |
thunderdog1138 | 023233cd80 | |
thunderdog1138 | 05de1d807c | |
thunderdog1138 | cc1f215dd1 | |
thunderdog1138 | 67c0f9071e | |
thunderdog1138 | 6f7899710c | |
thunderdog1138 | 0caa082bf4 | |
thunderdog1138 | d9eee35931 | |
thunderdog1138 | ab6c8a6f10 | |
thunderdog1138 | 85a438e2ef | |
thunderdog1138 | 2c955df008 | |
thunderdog1138 | 9b4b7e5f49 | |
thunderdog1138 | 9df3b19cdf | |
thunderdog1138 | 54c87eb5e3 | |
thunderdog1138 | 2fc43daa39 | |
thunderdog1138 | 7c6cb79052 | |
thunderdog1138 | 92a03c21dd | |
thunderdog1138 | e256b259b1 | |
thunderdog1138 | 29107e4496 | |
thunderdog1138 | 17ea358aa8 | |
thunderdog1138 | 7e5a844b93 | |
thunderdog1138 | 7cd0e4919f | |
thunderdog1138 | 23a543c9d8 | |
thunderdog1138 | fde3c41801 | |
thunderdog1138 | bf1d8604f8 | |
thunderdog1138 | 0aab7c6d35 | |
thunderdog1138 | aa839d70a0 | |
thunderdog1138 | 6e75e273d7 | |
thunderdog1138 | 15474fdf9d | |
thunderdog1138 | a5e5d2bbe6 | |
thunderdog1138 | de182cb8f6 | |
thunderdog1138 | 0cb95f70c1 | |
thunderdog1138 | 68d2e926d9 | |
thunderdog1138 | 4af5477cfc | |
thunderdog1138 | 63d4a1814b | |
thunderdog1138 | f77a2bce8a | |
thunderdog1138 | 3643166afc | |
thunderdog1138 | a23b6ae794 | |
thunderdog1138 | cc0777c83a | |
thunderdog1138 | 33d93165e4 | |
thunderdog1138 | 462ef7cc63 | |
thunderdog1138 | bcd8c3ffcf | |
thunderdog1138 | 8f13f51b11 | |
thunderdog1138 | 4b8e2b7b35 | |
thunderdog1138 | afaa74fbd8 | |
thunderdog1138 | 6c24f37d2e | |
thunderdog1138 | 2ad894e091 | |
thunderdog1138 | 3b3510a9c3 | |
thunderdog1138 | 61bbc0c5d2 | |
thunderdog1138 | 472974eb14 | |
thunderdog1138 | 5562ba4f6b | |
thunderdog1138 | 9e6375c26b | |
thunderdog1138 | 391e090c49 | |
thunderdog1138 | 2364cc3f76 | |
thunderdog1138 | f63d6c3449 | |
thunderdog1138 | a4ff6c843e | |
thunderdog1138 | 533ca5e34c | |
thunderdog1138 | 174d81a518 | |
thunderdog1138 | cb2a2bfd44 | |
thunderdog1138 | f71272f2a4 | |
thunderdog1138 | 2dd88bba69 | |
thunderdog1138 | 6432387f61 | |
thunderdog1138 | d80081dc71 | |
thunderdog1138 | 6740915f3a | |
thunderdog1138 | f5b165b304 | |
thunderdog1138 | 4975236d03 | |
thunderdog1138 | c136e0b4b1 | |
thunderdog1138 | 75b4e10837 | |
thunderdog1138 | 560f96bfa1 | |
thunderdog1138 | c2094e10fa | |
thunderdog1138 | 265cd9e0e4 | |
thunderdog1138 | d948b41d81 | |
thunderdog1138 | a8557cfdc9 | |
thunderdog1138 | 2bd37f26a0 | |
thunderdog1138 | 70e1d3e713 | |
thunderdog1138 | 2a9195f561 | |
thunderdog1138 | 45b38682c3 | |
thunderdog1138 | 2a63097687 | |
thunderdog1138 | 526b3fa20a | |
thunderdog1138 | 059e72f453 | |
thunderdog1138 | c56b7a59bc | |
thunderdog1138 | 760aa4c675 | |
thunderdog1138 | 55eded2a6e | |
thunderdog1138 | b54a174fe2 | |
thunderdog1138 | 5d810eb769 | |
thunderdog1138 | 3b8ddf9a65 | |
thunderdog1138 | 17a7928900 | |
thunderdog1138 | d07fd97760 | |
thunderdog1138 | 42fd4914c3 | |
thunderdog1138 | 6bce39ea17 | |
thunderdog1138 | f5a779ccac | |
thunderdog1138 | 42cefb4a9d | |
thunderdog1138 | 4c1d49cad5 | |
thunderdog1138 | 65bf3cf75f | |
thunderdog1138 | 106fbeb71b | |
thunderdog1138 | b6b5a73387 | |
thunderdog1138 | cfda478d68 | |
thunderdog1138 | 9c18a8887a | |
thunderdog1138 | 3c9e4e95a9 | |
thunderdog1138 | 789594b425 | |
thunderdog1138 | e388b525be | |
thunderdog1138 | 0df81f8ea8 | |
thunderdog1138 | 14f95964f7 | |
thunderdog1138 | 5b1e2d22a0 | |
thunderdog1138 | 02d6d14149 | |
thunderdog1138 | c92986978b | |
thunderdog1138 | 1ceab9f829 | |
thunderdog1138 | 28e978a00c | |
thunderdog1138 | 32756df940 | |
thunderdog1138 | 8bd07a13ea | |
thunderdog1138 | d6fecdb493 | |
thunderdog1138 | c2dd91d98d | |
thunderdog1138 | 9261795a89 | |
thunderdog1138 | 8a6bc65853 | |
thunderdog1138 | 375f987c4f | |
thunderdog1138 | f899f7f9d0 | |
thunderdog1138 | 2fb1f51df1 | |
thunderdog1138 | 20b2c94fb1 | |
thunderdog1138 | 4a300c5c5f | |
thunderdog1138 | 1c8c7feb70 | |
thunderdog1138 | a28d06dd0d | |
thunderdog1138 | d00fe4cf71 |
|
@ -1,3 +1,3 @@
|
|||
name = Star Wars
|
||||
name = Star Wars broken
|
||||
author = thunderdog1138
|
||||
description = Star Wars themed version of the Minetest game.
|
||||
|
|
|
@ -1,674 +0,0 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
|
@ -1,81 +0,0 @@
|
|||
--------------------------
|
||||
-- Advanced Lightsabers --
|
||||
--------------------------
|
||||
------- Ver 1.1 ----------
|
||||
|
||||
local colors={"green","blue","yellow","purple","red","white","black"}
|
||||
|
||||
local hilts={"single","cross","double"}
|
||||
|
||||
minetest.register_craftitem("adv_lightsabers:lightsaber_internals", { -- Lightsaber Internals
|
||||
description = "Lightsaber Internals",
|
||||
inventory_image = "lightsaber_internals.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem("adv_lightsabers:kyber_crystal", { -- Uncolored Lightsaber Crystal
|
||||
description = "Kyber Crystal",
|
||||
inventory_image = "kyber_crystal.png",
|
||||
stack_max = 1,
|
||||
})
|
||||
|
||||
for _,color in ipairs(colors) do
|
||||
for _,hilt in ipairs(hilts) do
|
||||
minetest.register_craftitem("adv_lightsabers:kyber_crystal_"..color, { -- Colored Kyber Crystal
|
||||
description = "Kyber Crystal",
|
||||
inventory_image = "kyber_crystal_"..color..".png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem("adv_lightsabers:lightsaber_hilt_"..hilt, { -- Lightsaber Hilt
|
||||
description = "Lightsaber Hilt",
|
||||
inventory_image = "hilt_"..hilt.."_inv.png"
|
||||
})
|
||||
|
||||
minetest.register_craft({ -- Lightsaber Crafting Recipe
|
||||
output = "adv_lightsabers:lightsaber_"..hilt.."_"..color.."_off",
|
||||
recipe = {
|
||||
{"adv_lightsabers:lightsaber_hilt_"..hilt,""},
|
||||
{"adv_lightsabers:lightsaber_internals","adv_lightsabers:kyber_crystal_"..color}
|
||||
}
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
minetest.override_item("adv_lightsabers:kyber_crystal_black", {
|
||||
description = "Dark Kyber Crystal"
|
||||
})
|
||||
|
||||
minetest.register_craft({ -- Lightsaber Internals Crafting Recipe
|
||||
output = "adv_lightsabers:lightsaber_internals",
|
||||
recipe = {
|
||||
{"default:durasteel_block","default:durasteel_ingot","default:durasteel_ingot"},
|
||||
{"default:bronze_block","default:gold_ingot","default:durasteel_ingot"},
|
||||
{"default:durasteel_block","default:durasteel_ingot","default:durasteel_ingot"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({ -- Lightsaber Hilt (Single) Crafting Recipe
|
||||
output = "adv_lightsabers:lightsaber_hilt_single",
|
||||
recipe = {
|
||||
{"default:durasteel_ingot"},
|
||||
{"default:bronze_ingot"},
|
||||
{"default:durasteel_ingot"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({ -- Lightsaber Hilt (Cross) Crafting Recipe
|
||||
output = "adv_lightsabers:lightsaber_hilt_cross",
|
||||
recipe = {
|
||||
{"default:bronze_ingot","default:durasteel_ingot","default:bronze_ingot"},
|
||||
{"","default:bronze_ingot",""},
|
||||
{"","default:durasteel_ingot",""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({ -- Lightsaber Hilt (Double) Crafting Recipe
|
||||
output = "adv_lightsabers:lightsaber_hilt_double",
|
||||
recipe = {
|
||||
{"default:durasteel_block"},
|
||||
{"default:bronze_block"},
|
||||
{"default:durasteel_block"}
|
||||
}
|
||||
})
|
|
@ -1,314 +0,0 @@
|
|||
--------------------------
|
||||
-- Advanced Lightsabers --
|
||||
--------------------------
|
||||
------- Ver 1.1 ----------
|
||||
|
||||
local force_ability = {}
|
||||
local ability_cooldown = {}
|
||||
local stunned = {}
|
||||
local floating = {}
|
||||
local player_physics = {}
|
||||
|
||||
minetest.register_privilege("force_abilities", {
|
||||
description = "Allows player touse Force Abilities",
|
||||
give_to_singleplayer = false
|
||||
})
|
||||
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
ability_cooldown[player:get_player_name()] = 0.0
|
||||
force_ability[player:get_player_name()] = {}
|
||||
stunned[player:get_player_name()] = false
|
||||
floating[player:get_player_name()] = false
|
||||
player_physics[player:get_player_name()] = player:get_physics_override()
|
||||
end)
|
||||
|
||||
minetest.register_on_leaveplayer(function(player)
|
||||
ability_cooldown[player:get_player_name()] = nil
|
||||
force_ability[player:get_player_name()] = nil
|
||||
floating[player:get_player_name()] = nil
|
||||
stunned[player:get_player_name()] = nil
|
||||
end)
|
||||
|
||||
local function cooldown(player,duration)
|
||||
local playername = player:get_player_name()
|
||||
ability_cooldown[playername] = duration
|
||||
minetest.after(duration,function()
|
||||
ability_cooldown[playername] = 0.0
|
||||
minetest.chat_send_player(playername, "Force Cooldown is up")
|
||||
end)
|
||||
return ability_cooldown[playername]
|
||||
end
|
||||
|
||||
|
||||
-------------------
|
||||
-- Menu Formspec --
|
||||
-------------------
|
||||
|
||||
local function force_menu_form()
|
||||
local formspec = {
|
||||
"size[6,3.476]",
|
||||
"real_coordinates[true]",
|
||||
"button[0.5,2.3;1.6,0.8;jump;Force Jump]",
|
||||
"button[2.25,2.3;1.6,0.8;throw;Saber Throw]",
|
||||
"button[4,2.3;1.6,0.8;push;Force Push]",
|
||||
"button[0.5,1.3;1.6,0.8;choke;Force Choke]",
|
||||
"button[2.25,1.3;1.6,0.8;bond;Crystal Bond]",
|
||||
"button[4,1.3;1.6,0.8;dash;Force Dash]",
|
||||
"button[0.5,0.3;1.6,0.8;heal;Force Heal]",
|
||||
"button[2.25,0.3;1.6,0.8;bleed;Crystal Bleed]",
|
||||
"button[4,0.3;1.6,0.8;stun;Force Stun]"
|
||||
}
|
||||
return table.concat(formspec, "")
|
||||
end
|
||||
|
||||
local function show_force_menu(player)
|
||||
minetest.show_formspec(player, "adv_lightsabers:force_menu", force_menu_form(player))
|
||||
end
|
||||
|
||||
--------------------------------------
|
||||
-- Use raycast to get pointed_thing --
|
||||
--------------------------------------
|
||||
|
||||
local function ray_pointed_thing(player)
|
||||
local dir = player:get_look_dir()
|
||||
local pos = player:get_pos()
|
||||
pos.y = pos.y + player:get_properties().eye_height or 1.625
|
||||
local dest = vector.add(pos, vector.multiply(dir, 20))
|
||||
local ray = minetest.raycast(pos, dest, true, false)
|
||||
for pointed_thing in ray do
|
||||
if pointed_thing.type == "object" then
|
||||
local pointedobject = pointed_thing.ref
|
||||
if pointedobject:is_player() and pointedobject:get_player_name() ~= player:get_player_name() then
|
||||
return pointedobject
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
---------------------
|
||||
-- Force Abilities --
|
||||
---------------------
|
||||
|
||||
local function force_jump(player) -- Heightened Jump
|
||||
if player:get_player_control().sneak == true and player:get_player_control().jump == true then
|
||||
player:add_player_velocity({x=0,y=8,z=0})
|
||||
cooldown(player,20)
|
||||
end
|
||||
end
|
||||
|
||||
local function force_push(player) -- Push entities a far distance
|
||||
local pointedobject = ray_pointed_thing(player)
|
||||
if player:get_player_control().sneak == true and player:get_player_control().LMB == true then
|
||||
if pointedobject and pointedobject:is_player() then
|
||||
local dir = player:get_look_dir()
|
||||
pointedobject:add_player_velocity(vector.multiply(dir,25))
|
||||
cooldown(player,20)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local function force_choke(player) -- Lift a Player off the ground and slowly choke them
|
||||
local pointedobject = ray_pointed_thing(player)
|
||||
if player:get_player_control().sneak == true and player:get_player_control().LMB == true then
|
||||
if pointedobject and pointedobject:is_player() then
|
||||
pointedobject:add_player_velocity({x=0,y=5,z=0})
|
||||
floating[pointedobject:get_player_name()] = true
|
||||
pointedobject:punch(player,1.0,{full_punch_interval = 0.1,damage_groups = {fleshy = 1}},nil)
|
||||
minetest.after(1,function()
|
||||
pointedobject:punch(player,1.0,{full_punch_interval = 0.1,damage_groups = {fleshy = 1}},nil)
|
||||
end)
|
||||
minetest.after(2,function()
|
||||
pointedobject:punch(player,1.0,{full_punch_interval = 0.1,damage_groups = {fleshy = 1}},nil)
|
||||
end)
|
||||
minetest.after(3,function()
|
||||
pointedobject:punch(player,1.0,{full_punch_interval = 0.1,damage_groups = {fleshy = 1}},nil)
|
||||
end)
|
||||
minetest.after(7.5,function()
|
||||
pointedobject:set_physics_override(1.0,1.0,1.0,true,true,false)
|
||||
end)
|
||||
cooldown(player,20)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local function force_dash(player) -- Give yourself a short but quick burst of speed
|
||||
if player:get_player_control().sneak == true
|
||||
and player:get_player_control().up == true
|
||||
and player:get_player_control().down == true then
|
||||
local dir = player:get_look_dir()
|
||||
dir.y = dir.y * 0.1
|
||||
player:add_player_velocity(vector.multiply(dir,25))
|
||||
cooldown(player,20)
|
||||
end
|
||||
end
|
||||
|
||||
local function force_heal(player) -- Heal yourself by 4 hearts
|
||||
if player:get_player_control().sneak == true and player:get_player_control().RMB then
|
||||
local hp = player:get_hp()
|
||||
player:set_hp(hp + 8)
|
||||
cooldown(player,20)
|
||||
end
|
||||
end
|
||||
|
||||
local function force_stun(player) -- Freeze Players in place for 5 seconds
|
||||
local pointedobject = ray_pointed_thing(player)
|
||||
if player:get_player_control().sneak == true and player:get_player_control().LMB == true then
|
||||
if pointedobject and pointedobject:is_player() then
|
||||
stunned[pointedobject:get_player_name()] = true
|
||||
minetest.after(5,function()
|
||||
stunned[pointedobject:get_player_name()] = false
|
||||
end)
|
||||
cooldown(player,20)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
---------------
|
||||
-- Overrides --
|
||||
---------------
|
||||
|
||||
local function stun()
|
||||
for _,player in ipairs(minetest.get_connected_players()) do
|
||||
local playername = player:get_player_name()
|
||||
if stunned[playername] == true then
|
||||
player:set_physics_override({speed = 0})
|
||||
minetest.after(10,function()
|
||||
stunned[player:get_player_name()] = false
|
||||
player:set_physics_override({speed = player_physics[player:get_player_name()].speed})
|
||||
end)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local function levitate()
|
||||
for _,player in ipairs(minetest.get_connected_players()) do
|
||||
local playername = player:get_player_name()
|
||||
if floating[playername] == true then
|
||||
player:set_physics_override({speed = 0, gravity = 0})
|
||||
minetest.after(4,function()
|
||||
floating[player:get_player_name()] = false
|
||||
player:set_physics_override({speed = player_physics[player:get_player_name()].speed,
|
||||
gravity = player_physics[player:get_player_name()].gravity
|
||||
})
|
||||
end)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
----------
|
||||
-- Menu --
|
||||
----------
|
||||
|
||||
local function force_menu()
|
||||
for _,player in ipairs(minetest.get_connected_players()) do
|
||||
if minetest.check_player_privs(player:get_player_name(), {force_abilities = true}) then
|
||||
local playername = player:get_player_name()
|
||||
if player:get_player_control().LMB == true
|
||||
and player:get_player_control().up == true
|
||||
and player:get_player_control().down == true then
|
||||
show_force_menu(player:get_player_name())
|
||||
end
|
||||
if force_ability[playername] == "force_jump" and ability_cooldown[playername] == 0.0 then
|
||||
force_jump(player)
|
||||
elseif force_ability[playername] == "force_push" and ability_cooldown[playername] == 0.0 then
|
||||
force_push(player)
|
||||
elseif force_ability[playername] == "force_choke" and ability_cooldown[playername] == 0.0 then
|
||||
force_choke(player)
|
||||
elseif force_ability[playername] == "force_dash" and ability_cooldown[playername] == 0.0 then
|
||||
force_dash(player)
|
||||
elseif force_ability[playername] == "force_heal" and ability_cooldown[playername] == 0.0 then
|
||||
force_heal(player)
|
||||
elseif force_ability[playername] == "force_stun" and ability_cooldown[playername] == 0.0 then
|
||||
force_stun(player)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||
if formname ~= "adv_lightsabers:force_menu" then
|
||||
return
|
||||
end
|
||||
if fields.jump then
|
||||
local playername = player:get_player_name()
|
||||
force_ability[playername] = "force_jump"
|
||||
minetest.chat_send_player(playername,"Force Ability:Force Jump")
|
||||
end
|
||||
if fields.throw then
|
||||
local playername = player:get_player_name()
|
||||
force_ability[playername] = "saber_throw"
|
||||
minetest.chat_send_player(playername,"Force Ability:Saber Throw")
|
||||
end
|
||||
if fields.push then
|
||||
local playername = player:get_player_name()
|
||||
force_ability[playername] = "force_push"
|
||||
minetest.chat_send_player(playername,"Force Ability:Force Push")
|
||||
end
|
||||
if fields.choke then
|
||||
local playername = player:get_player_name()
|
||||
force_ability[playername] = "force_choke"
|
||||
minetest.chat_send_player(playername,"Force Ability:Force Choke")
|
||||
end
|
||||
if fields.bond then
|
||||
local playername = player:get_player_name()
|
||||
if player:get_wielded_item():get_name() == "adv_lightsabers:kyber_crystal" then
|
||||
minetest.chat_send_player(playername,"You have bonded with your Kyber Crystal")
|
||||
if math.random(1,10) == 1 then
|
||||
player:set_wielded_item("adv_lightsabers:kyber_crystal_blue")
|
||||
elseif math.random(1,10) == 2 then
|
||||
player:set_wielded_item("adv_lightsabers:kyber_crystal_blue")
|
||||
elseif math.random(1,10) == 3 then
|
||||
player:set_wielded_item("adv_lightsabers:kyber_crystal_blue")
|
||||
elseif math.random(1,10) == 4 then
|
||||
player:set_wielded_item("adv_lightsabers:kyber_crystal_blue")
|
||||
elseif math.random(1,10) == 5 then
|
||||
player:set_wielded_item("adv_lightsabers:kyber_crystal_green")
|
||||
elseif math.random(1,10) == 6 then
|
||||
player:set_wielded_item("adv_lightsabers:kyber_crystal_green")
|
||||
elseif math.random(1,10) == 7 then
|
||||
player:set_wielded_item("adv_lightsabers:kyber_crystal_green")
|
||||
elseif math.random(1,10) == 8 then
|
||||
player:set_wielded_item("adv_lightsabers:kyber_crystal_green")
|
||||
elseif math.random(1,10) == 9 then
|
||||
player:set_wielded_item("adv_lightsabers:kyber_crystal_yellow")
|
||||
else
|
||||
player:set_wielded_item("adv_lightsabers:kyber_crystal_purple")
|
||||
end
|
||||
elseif player:get_wielded_item():get_name() == "adv_lightsabers:kyber_crystal_red" then
|
||||
minetest.chat_send_player(playername,"You have healed your Kyber Crystal")
|
||||
player:set_wielded_item("adv_lightsabers:kyber_crystal_white")
|
||||
end
|
||||
end
|
||||
if fields.dash then
|
||||
local playername = player:get_player_name()
|
||||
force_ability[playername] = "force_dash"
|
||||
minetest.chat_send_player(playername,"Force Ability:Force Dash")
|
||||
end
|
||||
if fields.heal then
|
||||
local playername = player:get_player_name()
|
||||
force_ability[playername] = "force_heal"
|
||||
minetest.chat_send_player(playername,"Force Ability:Force Heal")
|
||||
end
|
||||
if fields.bleed then
|
||||
local playername = player:get_player_name()
|
||||
if player:get_wielded_item():get_name() == "adv_lightsabers:kyber_crystal_blue"
|
||||
or player:get_wielded_item():get_name() == "adv_lightsabers:kyber_crystal_green"
|
||||
or player:get_wielded_item():get_name() == "adv_lightsabers:kyber_crystal_yellow"
|
||||
or player:get_wielded_item():get_name() == "adv_lightsabers:kyber_crystal_purple"
|
||||
or player:get_wielded_item():get_name() == "adv_lightsabers:kyber_crystal_white" then
|
||||
minetest.chat_send_player(playername,"You have bled your Kyber Crystal")
|
||||
player:set_wielded_item("adv_lightsabers:kyber_crystal_red")
|
||||
end
|
||||
end
|
||||
if fields.stun then
|
||||
local playername = player:get_player_name()
|
||||
force_ability[playername] = "force_stun"
|
||||
minetest.chat_send_player(playername,"Force Ability:Force Stun")
|
||||
end
|
||||
end)
|
||||
|
||||
minetest.register_globalstep(function()
|
||||
force_menu()
|
||||
stun()
|
||||
levitate()
|
||||
end)
|
|
@ -1,13 +0,0 @@
|
|||
--------------------------
|
||||
-- Advanced Lightsabers --
|
||||
--------------------------
|
||||
------- Ver 1.1 ----------
|
||||
|
||||
local modpath = minetest.get_modpath("adv_lightsabers")
|
||||
|
||||
dofile(modpath.."/force_api.lua")
|
||||
dofile(modpath.."/register_lightsabers.lua")
|
||||
dofile(modpath.."/craftitems.lua")
|
||||
dofile(modpath.."/ores.lua")
|
||||
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
name = adv_lightsabers
|
||||
depends = default
|
||||
description = Relatively Advanced Lightsabers for Minetest Game.
|
|
@ -1,46 +0,0 @@
|
|||
--------------------------
|
||||
-- Advanced Lightsabers --
|
||||
--------------------------
|
||||
------- Ver 1.1 ----------
|
||||
|
||||
minetest.register_node("adv_lightsabers:kyber_ore", {
|
||||
description = "Kyber Ore",
|
||||
tiles = {"stone.png^kyber_ore.png"},
|
||||
paramtype = "light",
|
||||
groups = {cracky = 1,level = 2},
|
||||
drop = "adv_lightsabers:kyber_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = 3,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "adv_lightsabers:kyber_ore",
|
||||
wherein = "default:stone",
|
||||
clust_scarcity = 14 * 14 * 14,
|
||||
clust_num_ores = 1,
|
||||
clust_size = 1,
|
||||
y_max = 64,
|
||||
y_min = -1024,
|
||||
})
|
||||
|
||||
minetest.register_node("adv_lightsabers:kyber_ore_black", {
|
||||
description = "Dark Kyber Ore",
|
||||
tiles = {"stone.png^kyber_ore_black.png"},
|
||||
paramtype = "light",
|
||||
groups = {cracky = 1,level = 2},
|
||||
drop = "adv_lightsabers:kyber_crystal_black",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = 3,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "adv_lightsabers:kyber_ore_black",
|
||||
wherein = "default:stone",
|
||||
clust_scarcity = 28 * 28 * 28,
|
||||
clust_num_ores = 1,
|
||||
clust_size = 1,
|
||||
y_max = 64,
|
||||
y_min = -1024,
|
||||
})
|
|
@ -1,446 +0,0 @@
|
|||
--------------------------
|
||||
-- Advanced Lightsabers --
|
||||
--------------------------
|
||||
------- Ver 1.1 ----------
|
||||
|
||||
local adv_lightsabers = {}
|
||||
local player_armor = {}
|
||||
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
player_armor[player:get_player_name()] = player:get_armor_groups()
|
||||
end)
|
||||
|
||||
function adv_lightsabers.play_sound(player,soundfile)
|
||||
minetest.sound_play(soundfile,{
|
||||
object = minetest.get_player_by_name(player:get_player_name()),
|
||||
gain = 1.0,
|
||||
max_hear_distance = 24,
|
||||
loop = false,
|
||||
})
|
||||
end
|
||||
|
||||
function adv_lightsabers.lightsaber_attack(player,pointed_thing,swing,clash)
|
||||
adv_lightsabers.play_sound(player,swing)
|
||||
if pointed_thing.type == "object" and pointed_thing.ref:is_player() then
|
||||
local pointed_weapon = pointed_thing.ref:get_wielded_item():get_name()
|
||||
if minetest.registered_items[pointed_weapon].groups.lightsaber == 1
|
||||
and pointed_thing.ref:get_player_control().LMB == true then
|
||||
adv_lightsabers.play_sound(player,clash)
|
||||
else
|
||||
pointed_thing.ref:punch(player,1.0,{full_punch_interval = 0.1,damage_groups = {fleshy = 8}},nil)
|
||||
local dir = player:get_look_dir()
|
||||
dir.y = dir.y * 1.5
|
||||
pointed_thing.ref:add_player_velocity(vector.multiply(dir,5))
|
||||
end
|
||||
elseif pointed_thing.type == "object" and not pointed_thing.ref:is_player() then
|
||||
pointed_thing.ref:punch(player,1.0,{full_punch_interval = 0.1,damage_groups = {fleshy = 8}},nil)
|
||||
end
|
||||
end
|
||||
|
||||
local colors={"green","blue","yellow","purple","red","white","black"}
|
||||
|
||||
local hilts={"single","cross","double"}
|
||||
|
||||
for _,color in ipairs(colors) do
|
||||
for _,type in ipairs(hilts) do
|
||||
|
||||
local t = 0
|
||||
|
||||
minetest.register_globalstep(function(dtime) -- Idle Hum/Crackle
|
||||
t=t+dtime
|
||||
if t>1.3 then
|
||||
for _,player in ipairs(minetest.get_connected_players()) do
|
||||
if player:get_wielded_item():get_name() == "adv_lightsabers:lightsaber_cross_"..color.."_on" then
|
||||
adv_lightsabers.play_sound(player,"adv_lightsabers_idle_cross")
|
||||
elseif player:get_wielded_item():get_name() == "adv_lightsabers:lightsaber_single_"..color.."_on"
|
||||
or player:get_wielded_item():get_name() == "adv_lightsabers:lightsaber_double_"..color.."_on" then
|
||||
adv_lightsabers.play_sound(player,"adv_lightsabers_idle")
|
||||
end
|
||||
end
|
||||
t=0
|
||||
end
|
||||
end)
|
||||
|
||||
local armor_groups = { fleshy = 10 }
|
||||
|
||||
minetest.register_globalstep(function() -- Blocking
|
||||
for _,player in ipairs(minetest.get_connected_players()) do
|
||||
if player:get_wielded_item():get_name() == "adv_lightsabers:lightsaber_"..type.."_"..color.."_on" then
|
||||
if player:get_player_control().LMB == true then
|
||||
player:set_armor_groups(armor_groups)
|
||||
else
|
||||
player:set_armor_groups({fleshy=player_armor[player:get_player_name()].fleshy})
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
local function remove_self(self,pos) -- Remove lightsaber
|
||||
self.removing = true
|
||||
self.object:remove()
|
||||
if not self.returned then
|
||||
minetest.add_item(pos,"adv_lightsabers:lightsaber_"..type.."_"..color.."_off")
|
||||
end
|
||||
end
|
||||
|
||||
local function is_owner_at_pos(self,pos) -- Check if Lightsaber owner is at current position
|
||||
for _,player in pairs(minetest.get_objects_inside_radius(pos,1.5)) do
|
||||
if player:is_player() and player:get_player_name() == self.owner then
|
||||
return true, player
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local function return_to_owner(self,pos,vel) -- Return to Owner
|
||||
local owner = minetest.get_player_by_name(self.owner)
|
||||
if not owner or self.owner == nil then remove_self(self,pos) return end
|
||||
local owner_pos = owner:get_pos()
|
||||
owner_pos.y = owner_pos.y + 1
|
||||
local dir = vector.direction(pos,owner_pos)
|
||||
for _,entity in pairs(minetest.get_objects_inside_radius(pos,2)) do
|
||||
if entity:is_player() and entity:get_player_name() ~= self.owner then -- Punch Player
|
||||
entity:punch(self.object,2.0,{full_punch_interval = 0.1,damage_groups = {fleshy = 6}},nil)
|
||||
end
|
||||
local luaentity = entity:get_luaentity() -- Punch Mob
|
||||
if luaentity and not self.removing then
|
||||
if luaentity.name ~= self.object:get_luaentity().name then
|
||||
if entity:get_armor_groups().fleshy then
|
||||
entity:punch(self.object,2.0,{full_punch_interval = 0.1,damage_groups = {fleshy = 6}},nil)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
self.returning_to_owner = true
|
||||
self.object:set_velocity(vector.multiply(dir,vel or 15))
|
||||
local get_owner, player = is_owner_at_pos(self,pos)
|
||||
if get_owner then
|
||||
self.removing = true
|
||||
if player:get_wielded_item():get_name() == "" then
|
||||
player:set_wielded_item("adv_lightsabers:lightsaber_"..type.."_"..color.."_on")
|
||||
self.returned = true
|
||||
self.object:remove()
|
||||
elseif player:get_wielded_item():get_name() ~= "" then
|
||||
remove_self(self,pos)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local function punch_entities(self,pos,dist) -- Punch Players and Entities
|
||||
for _,entity in pairs(minetest.get_objects_inside_radius(pos,2)) do
|
||||
if entity:is_player() and entity:get_player_name() ~= self.owner then -- Punch Player
|
||||
entity:punch(self.object,2.0,{full_punch_interval = 0.1,damage_groups = {fleshy = 6}},nil)
|
||||
if dist > 10 then
|
||||
return_to_owner(self,pos,15)
|
||||
else
|
||||
return_to_owner(self,pos,7.5)
|
||||
end
|
||||
return
|
||||
end
|
||||
local luaentity = entity:get_luaentity()
|
||||
if luaentity and not self.removing then -- Punch Mob
|
||||
if luaentity.name ~= self.object:get_luaentity().name then
|
||||
if entity:get_armor_groups().fleshy then
|
||||
entity:punch(self.object,2.0,{full_punch_interval = 0.1,damage_groups = {fleshy = 6}},nil)
|
||||
if dist > 10 then
|
||||
return_to_owner(self,pos,15)
|
||||
else
|
||||
return_to_owner(self,pos,7.5)
|
||||
end
|
||||
return
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_entity("adv_lightsabers:lightsaber_"..type.."_"..color.."_ent", { -- Register entity
|
||||
physical = false,
|
||||
visual = "wielditem",
|
||||
visual_size = {x=.25,y=.25,z=.25},
|
||||
textures = {"adv_lightsabers:lightsaber_"..type.."_"..color.."_on"},
|
||||
collisionbox = {-0.125,-0.125,-0.125,0.125,0.125,0.125},
|
||||
glow = 10,
|
||||
owner = "",
|
||||
timer = 0,
|
||||
on_activate = function(self)
|
||||
self.object:set_armor_groups({immortal=1})
|
||||
local pos = self.object:get_pos()
|
||||
for _,player in pairs(minetest.get_objects_inside_radius(pos,1.0)) do
|
||||
if player:is_player() then
|
||||
local name = player:get_player_name()
|
||||
self.owner = name
|
||||
end
|
||||
end
|
||||
local rot = self.object:get_rotation()
|
||||
self.object:set_rotation({x=rot.x,y=rot.y,z=-40})
|
||||
if self.owner == nil then remove_self(self,pos) return end
|
||||
end,
|
||||
on_step = function(self)
|
||||
local pos = self.object:get_pos()
|
||||
local owner = minetest.get_player_by_name(self.owner)
|
||||
if not owner or self.owner == nil then remove_self(self,pos) return end
|
||||
self.timer = self.timer + 1
|
||||
local rot = self.object:get_rotation()
|
||||
local dist = vector.distance(pos,owner:get_pos())
|
||||
self.object:set_rotation({x=rot.x,y=rot.y+1,z=rot.z})
|
||||
if self.timer >= 35 and self.owner ~= nil then
|
||||
if dist > 10 then
|
||||
return_to_owner(self,pos,15)
|
||||
else
|
||||
return_to_owner(self,pos,7.5)
|
||||
end
|
||||
end
|
||||
punch_entities(self,pos,dist)
|
||||
local node = minetest.get_node_or_nil(pos)
|
||||
if node and minetest.registered_nodes[node.name].walkable then
|
||||
if dist > 10 then
|
||||
return_to_owner(self,pos,15)
|
||||
else
|
||||
return_to_owner(self,pos,7.5)
|
||||
end
|
||||
end
|
||||
end,
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
local function saber_throw(itemstack,player,type,color)
|
||||
local pos = player:get_pos()
|
||||
pos.y = pos.y + 1
|
||||
local dir = player:get_look_dir()
|
||||
local saber = minetest.add_entity(pos,"adv_lightsabers:lightsaber_"..type.."_"..color.."_ent")
|
||||
itemstack:take_item(1)
|
||||
saber:set_velocity(vector.multiply(dir,20))
|
||||
return itemstack
|
||||
end
|
||||
|
||||
function adv_lightsabers.register_lightsaber(type,color)
|
||||
|
||||
-- Single Blade Lightsaber
|
||||
|
||||
if type == "single" then
|
||||
|
||||
minetest.register_craftitem("adv_lightsabers:lightsaber_single_"..color.."_off", {
|
||||
description = "Lightsaber",
|
||||
inventory_image = "hilt_single_inv.png",
|
||||
stack_max = 1,
|
||||
on_use = function(itemstack,player)
|
||||
local activate = "adv_lightsabers_activate"
|
||||
itemstack:replace("adv_lightsabers:lightsaber_single_"..color.."_on")
|
||||
adv_lightsabers.play_sound(player,activate)
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("adv_lightsabers:lightsaber_single_"..color.."_on", {
|
||||
description = "Lightsaber",
|
||||
inventory_image = "hilt_single_inv.png",
|
||||
wield_image = "blade_single_"..color..".png^hilt_single.png",
|
||||
wield_scale = {x = 2,y = 2,z = 1},
|
||||
stack_max = 1,
|
||||
on_use = function(_,player,pointed_thing)
|
||||
local swing = "adv_lightsabers_swing"
|
||||
local clash = "adv_lightsabers_clash"
|
||||
adv_lightsabers.lightsaber_attack(player,pointed_thing,swing,clash)
|
||||
end,
|
||||
on_secondary_use = function(itemstack,player)
|
||||
if player:get_player_control().sneak == true then
|
||||
saber_throw(itemstack,player,type,color)
|
||||
return itemstack
|
||||
else
|
||||
local deactivate = "adv_lightsabers_deactivate"
|
||||
itemstack:replace("adv_lightsabers:lightsaber_single_"..color.."_off")
|
||||
adv_lightsabers.play_sound(player,deactivate)
|
||||
return itemstack
|
||||
end
|
||||
end,
|
||||
on_place = function(itemstack,player)
|
||||
local deactivate = "adv_lightsabers_deactivate"
|
||||
itemstack:replace("adv_lightsabers:lightsaber_single_"..color.."_off")
|
||||
adv_lightsabers.play_sound(player,deactivate)
|
||||
return itemstack
|
||||
end,
|
||||
groups = {not_in_creative_inventory=1,lightsaber=1},
|
||||
})
|
||||
end
|
||||
|
||||
-- Crossguarded Lightsaber
|
||||
|
||||
if type == "cross" then
|
||||
|
||||
minetest.register_craftitem("adv_lightsabers:lightsaber_cross_"..color.."_off", {
|
||||
description = "Crossguarded Lightsaber",
|
||||
inventory_image = "hilt_cross_inv.png",
|
||||
stack_max = 1,
|
||||
on_use = function(itemstack,player)
|
||||
local activate = "adv_lightsabers_activate_cross"
|
||||
itemstack:replace("adv_lightsabers:lightsaber_cross_"..color.."_on")
|
||||
adv_lightsabers.play_sound(player,activate)
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("adv_lightsabers:lightsaber_cross_"..color.."_on", {
|
||||
description = "Crossguarded Lightsaber",
|
||||
inventory_image = "hilt_cross_inv.png",
|
||||
wield_image = "blade_cross_"..color..".png^hilt_cross.png",
|
||||
wield_scale = {x = 2,y = 2,z = 1},
|
||||
stack_max = 1,
|
||||
on_use = function(_,player,pointed_thing)
|
||||
local swing = "adv_lightsabers_swing_cross"
|
||||
local clash = "adv_lightsabers_clash_cross"
|
||||
adv_lightsabers.lightsaber_attack(player,pointed_thing,swing,clash)
|
||||
end,
|
||||
on_secondary_use = function(itemstack,player)
|
||||
if player:get_player_control().sneak == true then
|
||||
saber_throw(itemstack,player,type,color)
|
||||
return itemstack
|
||||
else
|
||||
local deactivate = "adv_lightsabers_deactivate_cross"
|
||||
itemstack:replace("adv_lightsabers:lightsaber_cross_"..color.."_off")
|
||||
adv_lightsabers.play_sound(player,deactivate)
|
||||
return itemstack
|
||||
end
|
||||
end,
|
||||
on_place = function(itemstack,player)
|
||||
local deactivate = "adv_lightsabers_deactivate_cross"
|
||||
itemstack:replace("adv_lightsabers:lightsaber_cross_"..color.."_off")
|
||||
adv_lightsabers.play_sound(player,deactivate)
|
||||
return itemstack
|
||||
end,
|
||||
groups = {not_in_creative_inventory=1,lightsaber=1},
|
||||
})
|
||||
end
|
||||
|
||||
-- Double Bladed Lightsaber
|
||||
|
||||
if type == "double" then
|
||||
|
||||
minetest.register_craftitem("adv_lightsabers:lightsaber_double_"..color.."_off", {
|
||||
description = "Double Bladed Lightsaber",
|
||||
inventory_image = "hilt_double_inv.png",
|
||||
stack_max = 1,
|
||||
on_use = function(itemstack,player)
|
||||
local activate = "adv_lightsabers_activate"
|
||||
itemstack:replace("adv_lightsabers:lightsaber_double_"..color.."_on")
|
||||
adv_lightsabers.play_sound(player,activate)
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("adv_lightsabers:lightsaber_double_"..color.."_on", {
|
||||
description = "Lightsaber",
|
||||
inventory_image = "hilt_double_inv.png",
|
||||
wield_image = "hilt_double.png^blade_double_"..color..".png",
|
||||
wield_scale = {x = 4,y = 4,z = 1},
|
||||
stack_max = 1,
|
||||
on_use = function(_,player,pointed_thing)
|
||||
local swing = "adv_lightsabers_swing"
|
||||
local clash = "adv_lightsabers_clash"
|
||||
adv_lightsabers.lightsaber_attack(player,pointed_thing,swing,clash)
|
||||
end,
|
||||
on_secondary_use = function(itemstack,player)
|
||||
if player:get_player_control().sneak == true then
|
||||
saber_throw(itemstack,player,type,color)
|
||||
return itemstack
|
||||
else
|
||||
local deactivate = "adv_lightsabers_deactivate"
|
||||
itemstack:replace("adv_lightsabers:lightsaber_double_"..color.."_off")
|
||||
adv_lightsabers.play_sound(player,deactivate)
|
||||
return itemstack
|
||||
end
|
||||
end,
|
||||
on_place = function(itemstack,player)
|
||||
local deactivate = "adv_lightsabers_deactivate"
|
||||
itemstack:replace("adv_lightsabers:lightsaber_double_"..color.."_off")
|
||||
adv_lightsabers.play_sound(player,deactivate)
|
||||
return itemstack
|
||||
end,
|
||||
groups = {not_in_creative_inventory=1,lightsaber=1},
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
-- Red Single Blade Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("single","red")
|
||||
|
||||
-- Green Single Blade Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("single","green")
|
||||
|
||||
-- Blue Single Blade Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("single","blue")
|
||||
|
||||
-- Yellow Single Blade Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("single","yellow")
|
||||
|
||||
-- Purple Single Blade Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("single","purple")
|
||||
|
||||
-- White Single Blade Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("single","white")
|
||||
|
||||
-- Darksaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("single","black")
|
||||
|
||||
minetest.override_item("adv_lightsabers:lightsaber_single_black_off", {
|
||||
description = "Darksaber"
|
||||
})
|
||||
|
||||
minetest.override_item("adv_lightsabers:lightsaber_single_black_on", {
|
||||
description = "Darksaber"
|
||||
})
|
||||
|
||||
-- Red Crossguarded Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("cross","red")
|
||||
|
||||
-- Green Crossguarded Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("cross","green")
|
||||
|
||||
-- Blue Crossguarded Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("cross","blue")
|
||||
|
||||
-- Yellow Crossguarded Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("cross","yellow")
|
||||
|
||||
-- Purple Crossguarded Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("cross","purple")
|
||||
|
||||
-- White Crossguarded Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("cross","white")
|
||||
|
||||
-- Red Double Bladed Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("double","red")
|
||||
|
||||
-- Green Double Bladed Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("double","green")
|
||||
|
||||
-- Blue Double Bladed Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("double","blue")
|
||||
|
||||
-- Yellow Double Bladed Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("double","yellow")
|
||||
|
||||
-- Purple Double Bladed Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("double","purple")
|
||||
|
||||
-- White Double Bladed Lightsaber --
|
||||
|
||||
adv_lightsabers.register_lightsaber("double","white")
|
Before Width: | Height: | Size: 397 KiB |
|
@ -1,18 +0,0 @@
|
|||
Baked Clay
|
||||
|
||||
This mod lets the player bake clay into hardened blocks and colour them with
|
||||
dye (8x baked clay and 1x dye in centre), stairs and slabs are also available.
|
||||
|
||||
https://forum.minetest.net/viewtopic.php?id=8890
|
||||
|
||||
Changelog:
|
||||
|
||||
- 0.7 - Added support for stairsplus so that stairs are registered properly
|
||||
- 0.6 - Added 3 new flowers and a new grass that are used for missing dyes
|
||||
- 0.5 - Now using minecraft recipe to colour baked clay (8x baked clay, 1x dye in centre)
|
||||
- 0.4 - Code tweak and tidy
|
||||
- 0.3 - Added Stairs and Slabs for each colour
|
||||
- 0.2 - Any colour of baked clay can be re-dyed into another colour
|
||||
- 0.1 - Initial Release
|
||||
|
||||
Lucky Blocks: 8
|
|
@ -1,4 +0,0 @@
|
|||
default
|
||||
stairs
|
||||
moreblocks?
|
||||
lucky_block?
|
|
@ -1 +0,0 @@
|
|||
Adds the ability to bake clay into blocks and colour them with dye.
|
|
@ -1,132 +0,0 @@
|
|||
|
||||
-- Baked Clay by TenPlus1
|
||||
|
||||
local clay = {
|
||||
{"white", "White"},
|
||||
{"grey", "Grey"},
|
||||
{"black", "Black"},
|
||||
{"red", "Red"},
|
||||
{"yellow", "Yellow"},
|
||||
{"green", "Green"},
|
||||
{"cyan", "Cyan"},
|
||||
{"blue", "Blue"},
|
||||
{"magenta", "Magenta"},
|
||||
{"orange", "Orange"},
|
||||
{"violet", "Violet"},
|
||||
{"brown", "Brown"},
|
||||
{"pink", "Pink"},
|
||||
{"dark_grey", "Dark Grey"},
|
||||
{"dark_green", "Dark Green"},
|
||||
}
|
||||
|
||||
local stairs_mod = minetest.get_modpath("stairs")
|
||||
local stairsplus_mod = minetest.get_modpath("moreblocks")
|
||||
and minetest.global_exists("stairsplus")
|
||||
|
||||
for _, clay in pairs(clay) do
|
||||
|
||||
-- node definition
|
||||
|
||||
minetest.register_node("bakedclay:" .. clay[1], {
|
||||
description = clay[2] .. " Baked Clay",
|
||||
tiles = {"baked_clay_" .. clay[1] ..".png"},
|
||||
groups = {cracky = 3, bakedclay = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- craft from dye and any baked clay
|
||||
|
||||
minetest.register_craft({
|
||||
output = "bakedclay:" .. clay[1] .. " 8",
|
||||
recipe = {
|
||||
{"group:bakedclay", "group:bakedclay", "group:bakedclay"},
|
||||
{"group:bakedclay", "dye:" .. clay[1], "group:bakedclay"},
|
||||
{"group:bakedclay", "group:bakedclay", "group:bakedclay"}
|
||||
},
|
||||
})
|
||||
|
||||
-- register stairsplus stairs if found
|
||||
if stairsplus_mod then
|
||||
|
||||
stairsplus:register_all("bakedclay", "baked_clay_" .. clay[1], "bakedclay:" .. clay[1], {
|
||||
description = clay[2] .. " Baked Clay",
|
||||
tiles = {"baked_clay_" .. clay[1] .. ".png"},
|
||||
groups = {cracky = 3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
stairsplus:register_alias_all("bakedclay", clay[1], "bakedclay", "baked_clay_" .. clay[1])
|
||||
minetest.register_alias("stairs:slab_bakedclay_".. clay[1], "bakedclay:slab_baked_clay_" .. clay[1])
|
||||
minetest.register_alias("stairs:stair_bakedclay_".. clay[1], "bakedclay:stair_baked_clay_" .. clay[1])
|
||||
|
||||
-- register all stair types for stairs redo
|
||||
elseif stairs_mod and stairs.mod then
|
||||
|
||||
stairs.register_all("bakedclay_" .. clay[1], "bakedclay:" .. clay[1],
|
||||
{cracky = 3},
|
||||
{"baked_clay_" .. clay[1] .. ".png"},
|
||||
clay[2] .. " Baked Clay",
|
||||
default.node_sound_stone_defaults())
|
||||
|
||||
-- register stair and slab using default stairs
|
||||
elseif stairs_mod then
|
||||
|
||||
stairs.register_stair_and_slab("bakedclay_".. clay[1], "bakedclay:".. clay[1],
|
||||
{cracky = 3},
|
||||
{"baked_clay_" .. clay[1] .. ".png"},
|
||||
clay[2] .. " Baked Clay Stair",
|
||||
clay[2] .. " Baked Clay Slab",
|
||||
default.node_sound_stone_defaults())
|
||||
end
|
||||
end
|
||||
|
||||
-- cook clay block into white baked clay
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "bakedclay:white",
|
||||
recipe = "default:clay_block",
|
||||
})
|
||||
|
||||
-- register a few extra dye colour options
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:dark_grey 3",
|
||||
recipe = {"dye:black", "dye:black", "dye:white"}
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:dark_green 3",
|
||||
recipe = {"dye:green", "dye:green", "dye:black"}
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:grey 3",
|
||||
recipe = {"dye:black", "dye:white", "dye:white"}
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:black 4",
|
||||
recipe = {"default:coal_lump"}
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:brown 4",
|
||||
recipe = {"default:dry_shrub"}
|
||||
})
|
||||
|
||||
-- 2x2 red bakedclay makes 16x clay brick
|
||||
minetest.register_craft( {
|
||||
output = "default:clay_brick 16",
|
||||
recipe = {
|
||||
{"bakedclay:red", "bakedclay:red"},
|
||||
{"bakedclay:red", "bakedclay:red"},
|
||||
}
|
||||
})
|
||||
|
||||
print ("[MOD] Baked Clay loaded")
|
|
@ -1,21 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016 TenPlus1
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
|
@ -1 +0,0 @@
|
|||
name = bakedclay
|
Before Width: | Height: | Size: 5.1 KiB |
|
@ -50,7 +50,7 @@ beds.register_bed("beds:fancy_bed", {
|
|||
recipe = {
|
||||
{"", "", "group:stick"},
|
||||
{"wool:white", "wool:white", "wool:white"},
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
{"group:soft_wood", "group:soft_wood", "group:soft_wood"},
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -66,7 +66,7 @@ beds.register_bed("beds:bed", {
|
|||
"bed_under.png",
|
||||
"bed_side_bottom_r.png",
|
||||
"bed_side_bottom_r.png^[transformfx",
|
||||
"bed_transparent.png",
|
||||
"transparent.png",
|
||||
"bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
|
@ -75,7 +75,7 @@ beds.register_bed("beds:bed", {
|
|||
"bed_side_top_r.png",
|
||||
"bed_side_top_r.png^[transformfx",
|
||||
"bed_side_top.png",
|
||||
"bed_transparent.png",
|
||||
"transparent.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
|
@ -85,7 +85,7 @@ beds.register_bed("beds:bed", {
|
|||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
||||
recipe = {
|
||||
{"wool:white", "wool:white", "wool:white"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
{"group:soft_wood", "group:soft_wood", "group:soft_wood"}
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Before Width: | Height: | Size: 540 B After Width: | Height: | Size: 540 B |
Before Width: | Height: | Size: 537 B After Width: | Height: | Size: 537 B |
Before Width: | Height: | Size: 390 B After Width: | Height: | Size: 390 B |
Before Width: | Height: | Size: 387 B After Width: | Height: | Size: 387 B |
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 316 B After Width: | Height: | Size: 316 B |
Before Width: | Height: | Size: 561 B After Width: | Height: | Size: 561 B |
Before Width: | Height: | Size: 537 B After Width: | Height: | Size: 537 B |
Before Width: | Height: | Size: 611 B After Width: | Height: | Size: 611 B |
Before Width: | Height: | Size: 596 B After Width: | Height: | Size: 596 B |
Before Width: | Height: | Size: 583 B After Width: | Height: | Size: 583 B |
Before Width: | Height: | Size: 616 B After Width: | Height: | Size: 616 B |
Before Width: | Height: | Size: 495 B After Width: | Height: | Size: 495 B |
Before Width: | Height: | Size: 556 B After Width: | Height: | Size: 556 B |
Before Width: | Height: | Size: 304 B After Width: | Height: | Size: 304 B |
Before Width: | Height: | Size: 143 B After Width: | Height: | Size: 143 B |
|
@ -24,7 +24,7 @@ function binoculars.update_player_property(player)
|
|||
local new_zoom_fov = 0
|
||||
|
||||
if player:get_inventory():contains_item(
|
||||
"main", "binoculars:macrobinoculars") then
|
||||
"main", "binoculars:binoculars") then
|
||||
new_zoom_fov = 10
|
||||
elseif creative_enabled then
|
||||
new_zoom_fov = 15
|
||||
|
@ -58,9 +58,9 @@ minetest.after(4.7, cyclic_update)
|
|||
|
||||
-- Binoculars item
|
||||
|
||||
minetest.register_craftitem("binoculars:macrobinoculars", {
|
||||
description = S("Macrobinoculars") .. "\n" .. S("Use with 'Zoom' key"),
|
||||
inventory_image = "macrobinoculars.png",
|
||||
minetest.register_craftitem("binoculars:binoculars", {
|
||||
description = S("Binoculars") .. "\n" .. S("Use with 'Zoom' key"),
|
||||
inventory_image = "binoculars.png",
|
||||
stack_max = 1,
|
||||
|
||||
on_use = function(itemstack, user, pointed_thing)
|
||||
|
@ -72,7 +72,7 @@ minetest.register_craftitem("binoculars:macrobinoculars", {
|
|||
-- Crafting
|
||||
|
||||
minetest.register_craft({
|
||||
output = "binoculars:macrobinoculars",
|
||||
output = "binoculars:binoculars",
|
||||
recipe = {
|
||||
{"default:obsidian_glass", "", "default:obsidian_glass"},
|
||||
{"default:bronze_ingot", "default:bronze_ingot", "default:bronze_ingot"},
|
||||
|
|
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 219 B |
|
@ -238,8 +238,8 @@ minetest.register_entity("boats:boat", boat)
|
|||
|
||||
minetest.register_craftitem("boats:boat", {
|
||||
description = S("Boat"),
|
||||
inventory_image = "boat_inventory.png",
|
||||
wield_image = "boat_wield.png",
|
||||
inventory_image = "inventory.png",
|
||||
wield_image = "wield.png",
|
||||
wield_scale = {x = 2, y = 2, z = 1},
|
||||
liquids_pointable = true,
|
||||
groups = {flammable = 2},
|
||||
|
@ -282,8 +282,8 @@ minetest.register_craft({
|
|||
output = "boats:boat",
|
||||
recipe = {
|
||||
{"", "", "" },
|
||||
{"group:wood", "", "group:wood"},
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
{"group:soft_wood", "", "group:soft_wood"},
|
||||
{"group:soft_wood", "group:soft_wood", "group:soft_wood"},
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Before Width: | Height: | Size: 851 B After Width: | Height: | Size: 851 B |
Before Width: | Height: | Size: 546 B After Width: | Height: | Size: 546 B |
Before Width: | Height: | Size: 740 B After Width: | Height: | Size: 740 B |
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 656 B |
Before Width: | Height: | Size: 637 B After Width: | Height: | Size: 637 B |
Before Width: | Height: | Size: 700 B After Width: | Height: | Size: 700 B |
Before Width: | Height: | Size: 662 B After Width: | Height: | Size: 662 B |
Before Width: | Height: | Size: 205 B After Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 221 B |
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 221 B |
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 221 B |
|
@ -389,8 +389,8 @@ minetest.register_entity("carts:cart", cart_entity)
|
|||
|
||||
minetest.register_craftitem("carts:cart", {
|
||||
description = S("Cart") .. "\n" .. S("(Sneak+Click to pick up)"),
|
||||
inventory_image = minetest.inventorycube("cart_top.png", "cart_side.png", "cart_side.png"),
|
||||
wield_image = "cart_side.png",
|
||||
inventory_image = minetest.inventorycube("carts_cart_top.png", "carts_cart_side.png", "carts_cart_side.png"),
|
||||
wield_image = "carts_cart_side.png",
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
local under = pointed_thing.under
|
||||
local node = minetest.get_node(under)
|
||||
|
|
|
@ -17,9 +17,9 @@ carts:register_rail("carts:rail", {
|
|||
minetest.register_craft({
|
||||
output = "carts:rail 18",
|
||||
recipe = {
|
||||
{"default:durasteel_ingot", "group:wood", "default:durasteel_ingot"},
|
||||
{"default:durasteel_ingot", "group:soft_wood", "default:durasteel_ingot"},
|
||||
{"default:durasteel_ingot", "", "default:durasteel_ingot"},
|
||||
{"default:durasteel_ingot", "group:wood", "default:durasteel_ingot"},
|
||||
{"default:durasteel_ingot", "group:soft_wood", "default:durasteel_ingot"},
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -38,9 +38,9 @@ carts:register_rail("carts:powerrail", {
|
|||
minetest.register_craft({
|
||||
output = "carts:powerrail 18",
|
||||
recipe = {
|
||||
{"default:durasteel_ingot", "group:wood", "default:durasteel_ingot"},
|
||||
{"default:durasteel_ingot", "default:gold_ingot", "default:durasteel_ingot"},
|
||||
{"default:durasteel_ingot", "group:wood", "default:durasteel_ingot"},
|
||||
{"default:durasteel_ingot", "group:soft_wood", "default:durasteel_ingot"},
|
||||
{"default:durasteel_ingot", "default:mese_crystal", "default:durasteel_ingot"},
|
||||
{"default:durasteel_ingot", "group:soft_wood", "default:durasteel_ingot"},
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -57,8 +57,8 @@ carts:register_rail("carts:brakerail", {
|
|||
minetest.register_craft({
|
||||
output = "carts:brakerail 18",
|
||||
recipe = {
|
||||
{"default:durasteel_ingot", "group:wood", "default:durasteel_ingot"},
|
||||
{"default:durasteel_ingot", "group:soft_wood", "default:durasteel_ingot"},
|
||||
{"default:durasteel_ingot", "default:coal_lump", "default:durasteel_ingot"},
|
||||
{"default:durasteel_ingot", "group:wood", "default:durasteel_ingot"},
|
||||
{"default:durasteel_ingot", "group:soft_wood", "default:durasteel_ingot"},
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 459 B |
Before Width: | Height: | Size: 486 B After Width: | Height: | Size: 486 B |
Before Width: | Height: | Size: 522 B After Width: | Height: | Size: 522 B |
Before Width: | Height: | Size: 612 B After Width: | Height: | Size: 612 B |
After Width: | Height: | Size: 684 B |
Before Width: | Height: | Size: 676 B After Width: | Height: | Size: 676 B |
Before Width: | Height: | Size: 580 B After Width: | Height: | Size: 580 B |
After Width: | Height: | Size: 618 B |
Before Width: | Height: | Size: 614 B After Width: | Height: | Size: 614 B |
Before Width: | Height: | Size: 602 B After Width: | Height: | Size: 602 B |
After Width: | Height: | Size: 660 B |
Before Width: | Height: | Size: 661 B After Width: | Height: | Size: 661 B |
Before Width: | Height: | Size: 707 B After Width: | Height: | Size: 707 B |
After Width: | Height: | Size: 698 B |
Before Width: | Height: | Size: 697 B After Width: | Height: | Size: 697 B |
|
@ -1,22 +0,0 @@
|
|||
## Files related to minetest development cycle
|
||||
/*.patch
|
||||
# GNU Patch reject file
|
||||
*.rej
|
||||
|
||||
## Editors and Development environments
|
||||
*~
|
||||
*.swp
|
||||
*.bak*
|
||||
*.orig
|
||||
# Vim
|
||||
*.vim
|
||||
# Kate
|
||||
.*.kate-swp
|
||||
.swp.*
|
||||
# Eclipse (LDT)
|
||||
.project
|
||||
.settings/
|
||||
.buildpath
|
||||
.metadata
|
||||
# Idea IDE
|
||||
.idea/*
|
|
@ -1,18 +0,0 @@
|
|||
unused_args = false
|
||||
allow_defined_top = true
|
||||
|
||||
read_globals = {
|
||||
"minetest",
|
||||
"default",
|
||||
"sfinv",
|
||||
"sfinv_buttons",
|
||||
"vector",
|
||||
"string",
|
||||
"table",
|
||||
"ItemStack",
|
||||
}
|
||||
|
||||
globals = {
|
||||
"craftguide",
|
||||
"core",
|
||||
}
|
|
@ -1,214 +0,0 @@
|
|||
## API
|
||||
|
||||
### Custom recipes
|
||||
|
||||
Custom recipes are nonconventional crafts outside the main crafting grid.
|
||||
They can be registered in-game dynamically and have a size beyond 3x3 items.
|
||||
|
||||
**Note:** the registration format differs from the default registration format in everything.
|
||||
The width is automatically calculated depending where you place the commas. Look at the examples attentively.
|
||||
|
||||
#### Registering a custom crafting type (example)
|
||||
|
||||
```Lua
|
||||
craftguide.register_craft_type("digging", {
|
||||
description = "Digging",
|
||||
icon = "default_tool_steelpick.png",
|
||||
})
|
||||
```
|
||||
|
||||
#### Registering a custom crafting recipe (examples)
|
||||
|
||||
```Lua
|
||||
craftguide.register_craft({
|
||||
type = "digging",
|
||||
result = "default:cobble 2",
|
||||
items = {"default:stone"},
|
||||
})
|
||||
```
|
||||
|
||||
```Lua
|
||||
craftguide.register_craft({
|
||||
result = "default:cobble 16",
|
||||
items = {
|
||||
"default:stone, default:stone, default:stone",
|
||||
"default:stone, , default:stone",
|
||||
"default:stone, default:stone, default:stone",
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
Recipes can be registered in a Minecraft-like way:
|
||||
|
||||
```Lua
|
||||
craftguide.register_craft({
|
||||
grid = {
|
||||
"X #",
|
||||
" ## ",
|
||||
"X#X#",
|
||||
"X X",
|
||||
},
|
||||
key = {
|
||||
['#'] = "default:wood",
|
||||
['X'] = "default:glass",
|
||||
},
|
||||
result = "default:mese 3",
|
||||
})
|
||||
```
|
||||
|
||||
Multiples recipes can also be registered:
|
||||
|
||||
```Lua
|
||||
craftguide.register_craft({
|
||||
{
|
||||
result = "default:mese",
|
||||
items = {
|
||||
"default:mese_crystal, default:mese_crystal",
|
||||
"default:mese_crystal, default:mese_crystal",
|
||||
}
|
||||
},
|
||||
|
||||
big = {
|
||||
result = "default:mese 4",
|
||||
items = {
|
||||
"default:mese_crystal, default:mese_crystal",
|
||||
"default:mese_crystal, default:mese_crystal",
|
||||
"default:mese_crystal, default:mese_crystal",
|
||||
"default:mese_crystal, default:mese_crystal",
|
||||
}
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
Recipes can be registered from a given URL containing a JSON file (HTTP support is required¹):
|
||||
|
||||
```Lua
|
||||
craftguide.register_craft({
|
||||
url = "https://raw.githubusercontent.com/minetest-mods/craftguide/master/test.json"
|
||||
})
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Recipe filters
|
||||
|
||||
Recipe filters can be used to filter the recipes shown to players. Progressive
|
||||
mode is implemented as a recipe filter.
|
||||
|
||||
#### `craftguide.add_recipe_filter(name, function(recipes, player))`
|
||||
|
||||
Adds a recipe filter with the given name. The filter function should return the
|
||||
recipes to be displayed, given the available recipes and an `ObjectRef` to the
|
||||
user. Each recipe is a table of the form returned by
|
||||
`minetest.get_craft_recipe`.
|
||||
|
||||
Example function to hide recipes for items from a mod called "secretstuff":
|
||||
|
||||
```lua
|
||||
craftguide.add_recipe_filter("Hide secretstuff", function(recipes)
|
||||
local filtered = {}
|
||||
for _, recipe in ipairs(recipes) do
|
||||
if recipe.output:sub(1,12) ~= "secretstuff:" then
|
||||
filtered[#filtered + 1] = recipe
|
||||
end
|
||||
end
|
||||
|
||||
return filtered
|
||||
end)
|
||||
```
|
||||
|
||||
#### `craftguide.set_recipe_filter(name, function(recipe, player))`
|
||||
|
||||
Removes all recipe filters and adds a new one.
|
||||
|
||||
#### `craftguide.remove_recipe_filter(name)`
|
||||
|
||||
Removes the recipe filter with the given name.
|
||||
|
||||
#### `craftguide.get_recipe_filters()`
|
||||
|
||||
Returns a map of recipe filters, indexed by name.
|
||||
|
||||
---
|
||||
|
||||
### Search filters
|
||||
|
||||
Search filters are used to perform specific searches inside the search field.
|
||||
They can be used like so: `<optional name>+<filter name>=<value1>,<value2>,<...>`
|
||||
|
||||
Examples:
|
||||
|
||||
- `+groups=cracky,crumbly`: search for groups `cracky` and `crumbly` in all items.
|
||||
- `sand+groups=falling_node`: search for group `falling_node` for items which contain `sand` in their names.
|
||||
|
||||
Notes:
|
||||
- If `optional name` is omitted, the search filter will apply to all items, without pre-filtering.
|
||||
- Filters can be combined.
|
||||
- The `groups` filter is currently implemented by default.
|
||||
|
||||
#### `craftguide.add_search_filter(name, function(item, values))`
|
||||
|
||||
Adds a search filter with the given name.
|
||||
The search function should return a boolean value (whether the given item should be listed or not).
|
||||
|
||||
Example function to show items which contain at least a recipe of given width(s):
|
||||
|
||||
```lua
|
||||
craftguide.add_search_filter("widths", function(item, widths)
|
||||
local has_width
|
||||
local recipes = recipes_cache[item]
|
||||
|
||||
if recipes then
|
||||
for i = 1, #recipes do
|
||||
local recipe_width = recipes[i].width
|
||||
for j = 1, #widths do
|
||||
local width = tonumber(widths[j])
|
||||
if width == recipe_width then
|
||||
has_width = true
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return has_width
|
||||
end)
|
||||
```
|
||||
|
||||
#### `craftguide.remove_search_filter(name)`
|
||||
|
||||
Removes the search filter with the given name.
|
||||
|
||||
#### `craftguide.get_search_filters()`
|
||||
|
||||
Returns a map of search filters, indexed by name.
|
||||
|
||||
---
|
||||
|
||||
### Miscellaneous
|
||||
|
||||
#### `craftguide.show(player_name, item, show_usages)`
|
||||
|
||||
Opens the Crafting Guide with the current filter applied.
|
||||
|
||||
* `player_name`: string param.
|
||||
* `item`: optional, string param. If set, this item is pre-selected. If the item does not exist or has no recipe, use the player's previous selection. By default, player's previous selection is used
|
||||
* `show_usages`: optional, boolean param. If true, show item usages.
|
||||
|
||||
#### `craftguide.group_stereotypes`
|
||||
|
||||
This is the table indexing the item groups by stereotypes.
|
||||
You can add a stereotype like so:
|
||||
|
||||
```Lua
|
||||
craftguide.group_stereotypes.radioactive = "mod:item"
|
||||
```
|
||||
|
||||
#### `craftguide.export_url`
|
||||
|
||||
If set, the mod will export all the cached recipes and usages in a JSON format
|
||||
to the given URL (HTTP support is required¹).
|
||||
|
||||
---
|
||||
|
||||
**¹** Add `craftguide` to the `secure.http_mods` or `secure.trusted_mods` setting in `minetest.conf`.
|
|
@ -1,24 +0,0 @@
|
|||
# ![Preview1](http://i.imgur.com/fIPNYkb.png) Crafting Guide
|
||||
|
||||
[![ContentDB](https://content.minetest.net/packages/jp/craftguide/shields/title/)](https://content.minetest.net/packages/jp/craftguide/) [![ContentDB](https://content.minetest.net/packages/jp/craftguide/shields/downloads/)](https://content.minetest.net/packages/jp/craftguide/)
|
||||
|
||||
#### `craftguide` is the most comprehensive crafting guide on Minetest.
|
||||
#### Consult the [Minetest Wiki](http://wiki.minetest.net/Crafting_guide) for more details.
|
||||
|
||||
This crafting guide is a blue book named *"Crafting Guide"* or a wooden sign.
|
||||
|
||||
This crafting guide features a **progressive mode**.
|
||||
This mode is a Terraria-like system that shows recipes you can craft
|
||||
from items you ever had in your inventory. To enable it: `craftguide_progressive_mode = true` in `minetest.conf`.
|
||||
|
||||
`craftguide` is also integrated in `sfinv` (Minetest Game inventory). To enable it:
|
||||
`craftguide_sfinv_only = true` in `minetest.conf`.
|
||||
|
||||
Use the command `/craft` to show the recipe(s) of the pointed node.
|
||||
|
||||
For developers, `craftguide` also has a [modding API](https://github.com/minetest-mods/craftguide/blob/master/API.md).
|
||||
|
||||
Love this mod? Donations are appreciated: https://www.paypal.me/jpg84240
|
||||
|
||||
|
||||
![Preview2](https://i.imgur.com/0FOCdWo.png)
|
|
@ -1,61 +0,0 @@
|
|||
License of source code
|
||||
----------------------
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015-2020 Jean-Patrick Guerrero and contributors.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
|
||||
Licenses of media (textures)
|
||||
----------------------------
|
||||
|
||||
Copyright © Diego Martínez (kaeza): craftguide_*_icon.png (CC BY-SA 3.0)
|
||||
|
||||
paramat (CC BY-SA 3.0):
|
||||
sfinv_crafting_arrow.png - derived from a texture by BlockMen (CC BY-SA 3.0)
|
||||
|
||||
You are free to:
|
||||
Share — copy and redistribute the material in any medium or format.
|
||||
Adapt — remix, transform, and build upon the material for any purpose, even commercially.
|
||||
The licensor cannot revoke these freedoms as long as you follow the license terms.
|
||||
|
||||
Under the following terms:
|
||||
|
||||
Attribution — You must give appropriate credit, provide a link to the license, and
|
||||
indicate if changes were made. You may do so in any reasonable manner, but not in any way
|
||||
that suggests the licensor endorses you or your use.
|
||||
|
||||
ShareAlike — If you remix, transform, or build upon the material, you must distribute
|
||||
your contributions under the same license as the original.
|
||||
|
||||
No additional restrictions — You may not apply legal terms or technological measures that
|
||||
legally restrict others from doing anything the license permits.
|
||||
|
||||
Notices:
|
||||
|
||||
You do not have to comply with the license for elements of the material in the public
|
||||
domain or where your use is permitted by an applicable exception or limitation.
|
||||
No warranties are given. The license may not give you all of the permissions necessary
|
||||
for your intended use. For example, other rights such as publicity, privacy, or moral
|
||||
rights may limit how you use the material.
|
||||
|
||||
For more details:
|
||||
http://creativecommons.org/licenses/by-sa/3.0/
|
|
@ -1,2 +0,0 @@
|
|||
name = craftguide
|
||||
description = The most comprehensive Crafting Guide on Minetest
|
|
@ -1,2 +0,0 @@
|
|||
# The progressive mode shows recipes you can craft from items you ever had in your inventory.
|
||||
craftguide_progressive_mode (Learn crafting recipes progressively) bool false
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"items": [
|
||||
"default:stone, default:stone, default:stone",
|
||||
"default:stone, , default:stone",
|
||||
"default:stone, default:stone, default:stone"
|
||||
],
|
||||
"result": "default:cobble 16"
|
||||
}
|
Before Width: | Height: | Size: 469 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 146 B |
Before Width: | Height: | Size: 146 B |
Before Width: | Height: | Size: 146 B |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 5.1 KiB |