Compare commits
1529 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 07c58d9b5d | |||
| de00cc47dc | |||
| 67105a9d8f | |||
| 935b5c80e4 | |||
| 850039f00e | |||
| 6f2d1fff04 | |||
| b7b8f77a87 | |||
| 5207757d2c | |||
| bb7528614a | |||
| 75ca82a7ca | |||
| bc3692ba35 | |||
| 3033d1a15a | |||
| 1ae66c97a0 | |||
| f6a3c56925 | |||
| 8c2deb467b | |||
| 245065a1ef | |||
| 45529e047b | |||
| 0bb7886a58 | |||
| 42f242f33a | |||
| f17115a89e | |||
| 290fc5d6d2 | |||
| 692bc03d1d | |||
| 160377eeb4 | |||
| e21c1bdbf9 | |||
| a0c16c2068 | |||
| c5bb1d2e18 | |||
| 3106be4659 | |||
| 8c5f26250a | |||
| 93bd05bf8e | |||
| 16bcba84db | |||
| 5fbc182da2 | |||
| 5d2c3fb4f5 | |||
| 61cc75df78 | |||
| 2350fbe1c0 | |||
| 9ef9fe31c6 | |||
| e6ad91695d | |||
| 87d2273403 | |||
| 243f3ead43 | |||
| d69b0def30 | |||
| 5939da0604 | |||
| 5594c87b21 | |||
| 4609540239 | |||
| 30306f9be7 | |||
| 894af59cb8 | |||
| 276272d325 | |||
| 512b6d9487 | |||
| 74ba358058 | |||
| f787d9c3d7 | |||
| dad837fba7 | |||
| daee899ba7 | |||
| b7fc129663 | |||
| bc56e1bb81 | |||
| 230c4035dd | |||
| 10b0cbc81a | |||
| d83aebfa4d | |||
| 207a94de84 | |||
| 84be480a2f | |||
| 1d47dc425b | |||
| 120252a635 | |||
| e0bfd2c24e | |||
| 469f2ab384 | |||
| a64ca7d730 | |||
| 1d0f27a04f | |||
| 8ef271f791 | |||
| 9d71f81e7a | |||
| d0bb2d8630 | |||
| 6895b5be36 | |||
| 1f37238c38 | |||
| e7643a5faa | |||
| 017dd1ca44 | |||
| 1483eab66c | |||
| 9be249b17c | |||
| f6957029fe | |||
| 91a73f1ab6 | |||
| 25fca7554e | |||
| 24c0489c76 | |||
| 1fde8043b0 | |||
| d1dfcb6e35 | |||
| 7e39a6044c | |||
| 44ddd2fbd8 | |||
| 0af40de105 | |||
| add775a79c | |||
| 7a1ab9cb2d | |||
| 77215b862b | |||
| ecc3de3224 | |||
| 54ee66e0fe | |||
| 2f98083a86 | |||
| 0469910665 | |||
| 5ac071b656 | |||
| 3ccda91764 | |||
| 915f0b8b08 | |||
| 1e6f1f46a7 | |||
| c0e0e3a443 | |||
| 4525b4f419 | |||
| bcd020ed13 | |||
| f5b093bda9 | |||
| 4a67b7ccc0 | |||
| 7a5cf864d9 | |||
| ba33c7a789 | |||
| 2ff8d14d4c | |||
| a0d768b76b | |||
| 1df26cdbaf | |||
| e366d0e856 | |||
| ad91f6abaa | |||
| 888ebc2062 | |||
| 0b2930044a | |||
| 234feedca9 | |||
| 9f1997a0ae | |||
| d7df87ed86 | |||
| 0f86226edf | |||
| 3860b0e859 | |||
| fdf87cd134 | |||
| c380d97e5a | |||
| 57775df251 | |||
| 4d1bd349b2 | |||
| df1789f946 | |||
| f9649ce6f4 | |||
| 1b9eacb748 | |||
| 40ff6b3f61 | |||
| fc272e002f | |||
| 47c925037f | |||
| 5f09092ef9 | |||
| a5f219e4d8 | |||
| e75fa4d8e7 | |||
| 5b541b5eb6 | |||
| 41a74564fb | |||
| fa0b7d6b03 | |||
| 89a9480e68 | |||
| 0ae7de3c97 | |||
| fb46c95d0f | |||
| b1c2ade4fa | |||
| 5ba8567614 | |||
| 697fc47dd6 | |||
| 554323b895 | |||
| 9d779625cb | |||
| 0c98d9e324 | |||
| d95bad71de | |||
| 183b20944e | |||
| 708b1b46d4 | |||
| f91462104f | |||
| 29dacadf50 | |||
| 50fff6ad74 | |||
| ae0b5b14c0 | |||
| 1f6c86c65c | |||
| 8286e1d783 | |||
| bbe44c00f1 | |||
| 9de452dc2f | |||
| a728b7c398 | |||
| 6c29c71b44 | |||
| e6c7b74626 | |||
| 02a7502144 | |||
| e5e0d8fa97 | |||
| a1d925c3f7 | |||
| a329af6b2d | |||
| 4e706d9cc9 | |||
| b9b0a9765c | |||
| 11b1e1ade7 | |||
| cda77c2450 | |||
| b8c49c1a2c | |||
| 49983fcc5e | |||
| 5f859ae6b3 | |||
| fe6e50c245 | |||
| fb1d0ade24 | |||
| dbf2c12753 | |||
| f5a1f8b455 | |||
| 2fb977e438 | |||
| a455a6d9ad | |||
| 640e2069f2 | |||
| d769a95a6a | |||
| a81b500826 | |||
| 538c1f59ae | |||
| 8482439292 | |||
| 8c2e0cfa3f | |||
| ce1860d376 | |||
| ac685177e3 | |||
| 183f8d78fc | |||
| a00b7fb13d | |||
| 6f2c72c10e | |||
| 2f332c6716 | |||
| bddfed1210 | |||
| 5b3c6ce980 | |||
| 19536e93f8 | |||
| f449311664 | |||
| 60d5ce676b | |||
| 94a75a9fd9 | |||
| 88f4e785ea | |||
| 12b2673dcb | |||
| 4698f6c8b5 | |||
| 58faa5d9ac | |||
| 1b9d246978 | |||
| 57b4fd3233 | |||
| db26310b57 | |||
| 410e6eed3f | |||
| f22beb8074 | |||
| 41f4886b7d | |||
| f38356ae87 | |||
| 48969c7e5f | |||
| c071e61132 | |||
| 2a2ab13a58 | |||
| 40087baea1 | |||
| 71dfe056df | |||
| 35aa0b5933 | |||
| 8d655b1053 | |||
| f72ff15fcc | |||
| 3aa35f66c8 | |||
| e365124429 | |||
| f207d3ab93 | |||
| 36111c7189 | |||
| 0174ddbf36 | |||
| 62983aa8fd | |||
| cc60d24ce1 | |||
| 7ad0f538ec | |||
| 5ad87c9c20 | |||
| 38a368d22e | |||
| 4066e9d2cc | |||
| 2efb70ec65 | |||
| 417fc59535 | |||
| 3494e9cfc2 | |||
| 6d7c2294e8 | |||
| c8003178e0 | |||
| 7c4d41985d | |||
| 881a3d7b4e | |||
| d7a5298084 | |||
| 458e99c5b0 | |||
| 3980f86142 | |||
| 679297ff57 | |||
| 38bbf18e21 | |||
| b858ab6d34 | |||
| ce86221d2f | |||
| ebd43a0869 | |||
| 4537a34a7d | |||
| 6b8dd0058f | |||
| 5715a33d4c | |||
| 33332ce52e | |||
| 8bc8877fc4 | |||
| abc4d94f33 | |||
| 93a65a5d9a | |||
| 8a8f80fb64 | |||
| 9cc1c836b3 | |||
| 4c36d1c02b | |||
| 23c1bf91f0 | |||
| 0a80ec475a | |||
| 7617633db6 | |||
| 92967550d2 | |||
| dc8bba64b2 | |||
| 6d93ad84d0 | |||
| d391b63e48 | |||
| a8cf0e3289 | |||
| ec881d7dad | |||
| de20d2f4f1 | |||
| 06724d12dc | |||
| 678cf6afcd | |||
| bb07f809b8 | |||
| 2ea4c4b890 | |||
| 413f850b33 | |||
| 1821c299d0 | |||
| f77e0b7bb1 | |||
| 35088ac7fe | |||
| f73a7fcc46 | |||
| 2583861e59 | |||
| 592a4fb618 | |||
| 353a78f23d | |||
| 8296488b4d | |||
| 97c00ed4cc | |||
| 65515b1185 | |||
| 7d2b9a4c42 | |||
| 45af439a90 | |||
| a6739a5f77 | |||
| df1f197796 | |||
| 2844761abf | |||
| a70b7d0869 | |||
| 28cf9e56ae | |||
| 36fa269bae | |||
| 80e2e51dc1 | |||
| 9bd2c78931 | |||
| b725af3336 | |||
| 57ba734258 | |||
| eedb52d5e3 | |||
| c3e38705b3 | |||
| 828b34abdf | |||
| 3cf216f29b | |||
| cf500cf16e | |||
| 5d258bb836 | |||
| 92b501fea4 | |||
| c5311c1b15 | |||
| 56a34c1719 | |||
| 34fbc5cfa7 | |||
| 082dcf3495 | |||
| 944ef4c953 | |||
| 97ec3c90ec | |||
| 0ff6bf705f | |||
| 6d7bb82978 | |||
| cb6bf8a3c2 | |||
| 1c87eadd49 | |||
| 02019b30b9 | |||
| 30e72522eb | |||
| 5fde93dfcb | |||
| af3ebcde27 | |||
| 6f1a5ffa95 | |||
| d02fc13f17 | |||
| 8df74eb61f | |||
| 1de2c9d30f | |||
| 2b701f117f | |||
| 40e93dc0f5 | |||
| b73618e1e5 | |||
| a3575e8dbc | |||
| 1e09f2fc73 | |||
| bdfe7b5f22 | |||
| 6bc2b6d41c | |||
| b991a1bab2 | |||
| b73d4c44d6 | |||
| df29a77704 | |||
| 814ff4a937 | |||
| 0838325e1c | |||
| 6dbfb73fc8 | |||
| 62e48e3ba9 | |||
| ed291cad9e | |||
| a1a3d24abf | |||
| 309f0ffbd6 | |||
| 4509ca0dc7 | |||
| 9e7d8975f1 | |||
| 5f47435072 | |||
| 1487a7bcf9 | |||
| 4a0d6203da | |||
| d50a002d26 | |||
| 894002bd18 | |||
| 91992c89fa | |||
| ab0069837d | |||
| 0e06ab14a7 | |||
| 657ae8c118 | |||
| 5dc3f09725 | |||
| 7a72f1c2bc | |||
| 68ae0abd0a | |||
| 9c8c3f32cc | |||
| 0d05f69555 | |||
| 14dfd25a95 | |||
| 25ede4d7a7 | |||
| 0bb9f7cced | |||
| fe978d5213 | |||
| 0c34266253 | |||
| 65cb434beb | |||
| 6c95e3c93d | |||
| f8246add4d | |||
| 4adb2d6093 | |||
| e8df265e1f | |||
| 9b256f63cd | |||
| 446f13c73a | |||
| 32dc89bcca | |||
| 10325ab016 | |||
| 3437b53b6b | |||
| f4c88c34e9 | |||
| f240af9465 | |||
| ff83d1ec79 | |||
| 32d279d976 | |||
| 7a4fea5eed | |||
| 3a8df30748 | |||
| ca765e4ec1 | |||
| 469488bbcf | |||
| 005231167d | |||
| 4338567d94 | |||
| 15e3c49fdd | |||
| b72fec5f8f | |||
| 78faadb970 | |||
| 1e1bf9996f | |||
| da501e5ae9 | |||
| 720e0be92c | |||
| d55d4a1eb7 | |||
| a255c44538 | |||
| 6596e606ce | |||
| 34a92239c1 | |||
| 85c320e4a4 | |||
| 5ca62e7404 | |||
| b6192279b2 | |||
| c14ec1d194 | |||
| 967510fb8f | |||
| 7ecc05393c | |||
| cebcc044f8 | |||
| 9b14c88cf6 | |||
| c5f07f41c3 | |||
| 15bebba6c4 | |||
| 9f303de37c | |||
| e2cbfda6e6 | |||
| 628603d21f | |||
| a6ea00196c | |||
| 3cc5ca72d8 | |||
| 9c4cc22033 | |||
| 84d42d5366 | |||
| b1848621fe | |||
| 9a1187f549 | |||
| 62c238006d | |||
| b1a8fa754b | |||
| 4dad4ecbe9 | |||
| 5b4060ff6a | |||
| d73fec3f6c | |||
| 74e26ace01 | |||
| 5d00644e37 | |||
| f776d86eb3 | |||
| a28ef5c8d3 | |||
| f0a7714c69 | |||
| f6a55f750b | |||
| 8cef617026 | |||
| 6045612442 | |||
| ff3a80b577 | |||
| 6cb9c7f2c7 | |||
| 173515e41b | |||
| 907b769770 | |||
| d8438de1a8 | |||
| bcd4c6c983 | |||
| 15e54c995f | |||
| 4ff64272c8 | |||
| 9b81f9e9d5 | |||
| ea47c126af | |||
| 1e82a687e7 | |||
| fe432c16f9 | |||
| f6e344e539 | |||
| f19b105dd8 | |||
| 6729343d9d | |||
| e7ab6e4826 | |||
| 683e4737aa | |||
| 57512969f1 | |||
| afd98e7a51 | |||
| b7e1cd5cd9 | |||
| 78eaef5cac | |||
| 6f2497a6cd | |||
| 0db9eaca7d | |||
| 39e8050092 | |||
| 8419da6ffa | |||
| f5670fdd86 | |||
| a515b4ca77 | |||
| 5790499249 | |||
| aea97ed858 | |||
| 1c4fbf1fdd | |||
| f2de89d5f9 | |||
| f89dfa749f | |||
| b43409d63c | |||
| 749e3e2642 | |||
| e6e66035dc | |||
| b6e6a649d2 | |||
| d4f1ca0ccd | |||
| 83355a74c0 | |||
| b7e99fb7ea | |||
| 0816ad6c0d | |||
| 2fe59a1f14 | |||
| 329fb980aa | |||
| 42d4addd0d | |||
| 240ba62bd4 | |||
| b060ace41c | |||
| f20e8c7adc | |||
| 1388c059ac | |||
| 45f883c7d9 | |||
| 4f76c76845 | |||
| 5d5509b8f4 | |||
| e7a8936c83 | |||
| 1223b67a25 | |||
| fb7f80eb04 | |||
| 577194e299 | |||
| 1208f2798d | |||
| 823231f4e8 | |||
| e465350e7e | |||
| f118293101 | |||
| 9eb995a7d5 | |||
| 9789ecdcb2 | |||
| e9f0f174ff | |||
| acb41a11b8 | |||
| 1e71608c6f | |||
| a406004454 | |||
| fc3b949281 | |||
| 12001f6fd1 | |||
| b154ae4841 | |||
| 19c3a2aa76 | |||
| 5196c851a7 | |||
| d821da4ea4 | |||
| cb107ae7db | |||
| f338b7308f | |||
| 8826a2926a | |||
| ed4b3c1b04 | |||
| c84234f9c1 | |||
| 68d41e5489 | |||
| 48f45e88a7 | |||
| 16d21b185d | |||
| a543700b4b | |||
| e1455ac132 | |||
| a9b6853b84 | |||
| dac95d57f2 | |||
| aac9170e5e | |||
| 018a1b884c | |||
| 192a475996 | |||
| 4d3b96b033 | |||
| 6547fc0ade | |||
| dbd23b903c | |||
| d636840cbd | |||
| 36b9376843 | |||
| e436f78e3f | |||
| 917879b926 | |||
| c9f91aaebe | |||
| 706e8b8382 | |||
| 4c32ad11b8 | |||
| 2adc2c1866 | |||
| 1492639076 | |||
| 6425fc431b | |||
| 25c7acdbe0 | |||
| 0a05877f8e | |||
| 319b369a85 | |||
| d8dc8eccea | |||
| d8e0372472 | |||
| d517b51c43 | |||
| 859d66a413 | |||
| 490e7983f0 | |||
| 24ae52054f | |||
| 7b67d2e2ff | |||
| 6e3d9b9ddc | |||
| ce7ca4d6c7 | |||
| ec4c51e850 | |||
| 40b521c4df | |||
| e694accb48 | |||
| f6f104a441 | |||
| 425255a59e | |||
| 5992bd4913 | |||
| e7b7935f9c | |||
| b46ae297f3 | |||
| 6b8695ff16 | |||
| b357e1b4fe | |||
| ab1c1af077 | |||
| 5e0d58b04c | |||
| 856f026a99 | |||
| c1bafa66ae | |||
| befd95274c | |||
| 0c4ee9a434 | |||
| 1a7a176d83 | |||
| 7d33539383 | |||
| bf0e49979c | |||
| b96a958391 | |||
| 7779b3e650 | |||
| d197ff4fb8 | |||
| 1e120515ab | |||
| 9cac10ea4a | |||
| a709f43663 | |||
| 5f81fd80df | |||
| ba2d19d8af | |||
| 5960368a33 | |||
| 7741dfdf31 | |||
| db3f53b85f | |||
| 74a732f373 | |||
| 91aadfd327 | |||
| 65870869ad | |||
| 1a09bb2e87 | |||
| d4884b9148 | |||
| c0f9193756 | |||
| 1803fb398d | |||
| 6a05977673 | |||
| 580a56194c | |||
| fd076b9115 | |||
| 68daf0dbcf | |||
| c82eab498b | |||
| c6eec92c2e | |||
| 2521748a3e | |||
| e08ed144f6 | |||
| eea7e65650 | |||
| b05ee809c8 | |||
| 04decd5a54 | |||
| 0e6a2f85d4 | |||
| fe380d551b | |||
| 3a548fd8ad | |||
| bf40faac70 | |||
| f6bb991ceb | |||
| 6ea866ffb2 | |||
| 72fa7b5b7c | |||
| 2f7fb9de93 | |||
| 36946ebd79 | |||
| bd3217d208 | |||
| ca86103a4e | |||
| 305d99189e | |||
| 0c1a9fdbce | |||
| 0176b0e42f | |||
| 594786af86 | |||
| 7d93c740c6 | |||
| d30a4fc521 | |||
| 00615a10e4 | |||
| 44fbb04079 | |||
| ff8ca8d29d | |||
| f081ac7cdb | |||
| c7d9e9b696 | |||
| fa86903ebb | |||
| 60ac83bcce | |||
| 4e6b6fab2a | |||
| ebd48a0f80 | |||
| 82026279c2 | |||
| 4c886bee4b | |||
| d6142e8dc1 | |||
| 0b378c0d57 | |||
| cc786dfbd0 | |||
| 5172bb5b4d | |||
| 73336c2c28 | |||
| 2f0f0585b4 | |||
| 2ee9a67bf3 | |||
| 256baddeb1 | |||
| 94fe3529a0 | |||
| 040d9a8e41 | |||
| d13602af09 | |||
| ca94f8ebd8 | |||
| a0c79d25b2 | |||
| 58b6b42100 | |||
| b58bfeab76 | |||
| 64a9290cde | |||
| cc56648ecc | |||
| def6f92170 | |||
| 04bbb78900 | |||
| adceb7bc44 | |||
| d89f96e162 | |||
| ee16459248 | |||
| 8d0b665280 | |||
| cd2d058ab4 | |||
| 2204d61ac1 | |||
| 0c24435c6b | |||
| e6f6ee5f84 | |||
| 7fa9d4b723 | |||
| 96d25fd927 | |||
| afe134985a | |||
| 8a7d6e2a4d | |||
| 51884c4fb8 | |||
| f4792cd9b0 | |||
| 8dcba62ec9 | |||
| 661c6271fd | |||
| ae920a4120 | |||
| c74781c896 | |||
| 3f91ee7809 | |||
| d39d7f2760 | |||
| 9537dcbdca | |||
| a3038c4b5f | |||
| 128d91bf00 | |||
| bf812d34b7 | |||
| f77f179d0c | |||
| ac59f0ca0a | |||
| fa9b27e30e | |||
| 3f177163e2 | |||
| f6e6071cf9 | |||
| 539dc74a60 | |||
| 79f3b106bf | |||
| 39bfb463e2 | |||
| 2458ed406b | |||
| 549a73f580 | |||
| 99a90ed822 | |||
| 0e81265220 | |||
| 9f2b34f135 | |||
| 829d9040e7 | |||
| 6166bfe0eb | |||
| 4fb9a1ce6d | |||
| 4ee9dd49ce | |||
| 8c20a70aa7 | |||
| 9a82417da3 | |||
| 289d1deb83 | |||
| 645e4cc6e7 | |||
| 8b20fb26b8 | |||
| e9dcefbec7 | |||
| 65184c9d69 | |||
| 557f96e6e9 | |||
| 246be76b24 | |||
| 3a71595404 | |||
| ac6c55c415 | |||
| 23099d6e08 | |||
| 18c87e132e | |||
| 5846d1a863 | |||
| 673d2ada01 | |||
| 780c87ade7 | |||
| 373c780cf9 | |||
| 306e34fb7a | |||
| d0ee312258 | |||
| 1d2d147d9f | |||
| 431b5ecc48 | |||
| 0015566911 | |||
| 32ce92f205 | |||
| e819fbbf42 | |||
| ea7d666d01 | |||
| efdb620705 | |||
| 859191b532 | |||
| a78a0a32fb | |||
| c546c3b995 | |||
| 3d8eefddd2 | |||
| 93e9973f10 | |||
| 480123503b | |||
| 10ba62cb47 | |||
| 5150a4b764 | |||
| bc7931f5a0 | |||
| dbc7acb96a | |||
| 647521fb19 | |||
| a6e44889c6 | |||
| 1c6716367e | |||
| d51b853445 | |||
| 5e3da9a093 | |||
| 4b488e268b | |||
| 4b13e4bdff | |||
| f1fd8b6a2d | |||
| 78772ab79f | |||
| d5eb4c2e1b | |||
| 0731d85177 | |||
| b241110d87 | |||
| fc055d67c8 | |||
| 9cffd04e5e | |||
| 294c768879 | |||
| a7c250d238 | |||
| 3827938f5b | |||
| ec72d457cb | |||
| c40065e03d | |||
| de328b9247 | |||
| 063b61b5df | |||
| 113f6355d9 | |||
| ddb9e36c7e | |||
| fb22946b49 | |||
| f0056982c2 | |||
| c020c68eff | |||
| f8be3dc6cb | |||
| b7ff72b848 | |||
| 68bc5f3cb3 | |||
| b3f2f0ed0b | |||
| 34c5529a96 | |||
| f5e0e6c051 | |||
| 8657707e61 | |||
| 31101601b9 | |||
| 61238bbf17 | |||
| c7db49ced6 | |||
| 0b5ca93e95 | |||
| 8306b4747a | |||
| 6c9a8dd84f | |||
| 8f707de21b | |||
| 6798b4daee | |||
| f89a9f4162 | |||
| 85f815d7e4 | |||
| f7905b87b4 | |||
| 291662eee5 | |||
| 0895221860 | |||
| 055d564b85 | |||
| 1460d28b4e | |||
| c191d6d243 | |||
| 57524bf65e | |||
| e031036beb | |||
| bc7fa3e084 | |||
| 14cf0d6b88 | |||
| db0b73ca38 | |||
| e6b076a4f1 | |||
| 0de78355b0 | |||
| daffa5e2fa | |||
| 38839a1553 | |||
| 40f7e8e514 | |||
| 44d04c5c27 | |||
| db6fecffbb | |||
| dcf5149945 | |||
| 1c19d7d396 | |||
| b3d9cd1bb9 | |||
| 511ddcb179 | |||
| 2a5f21204d | |||
| 80d00fb660 | |||
| 681e80c5bb | |||
| bbd1a4f9fb | |||
| a4df73fe29 | |||
| 8d4b293a32 | |||
| 0dfd99b41f | |||
| c259b99e33 | |||
| b071344b86 | |||
| 49c1a39465 | |||
| fc5b70245d | |||
| 7fecc1517d | |||
| f2b20bbe68 | |||
| 66a38fa978 | |||
| c05a668323 | |||
| 4809f37dbd | |||
| 63a438e87e | |||
| 5177c1ee3a | |||
| f83934db0e | |||
| 96f8d80f41 | |||
| 1ea2a5215d | |||
| df2975bcc5 | |||
| 4990aec9f5 | |||
| 21f2bb92a5 | |||
| dfcdc69797 | |||
| e5e5c57efb | |||
| cbe6ac32f4 | |||
| 885813aa47 | |||
| dd11d2762b | |||
| b61e19f46b | |||
| 649f652e0a | |||
| dc4167363d | |||
| bb90c18564 | |||
| 09f127148f | |||
| 8945bed954 | |||
| 57a0ef9041 | |||
| ca38812784 | |||
| 99c067d06d | |||
| 06d4fcea23 | |||
| c093cd79cf | |||
| 6c8779950b | |||
| d4f072a3a7 | |||
| 0f4094aaea | |||
| e5bdc93960 | |||
| 9a27d7fe3e | |||
| 7b8a70df17 | |||
| ac4c0619e4 | |||
| f3945d0196 | |||
| 04f6110ff7 | |||
| 353661dd2f | |||
| 930a939d4f | |||
| 45eea6da8f | |||
| f34e49f0af | |||
| f672590371 | |||
| 78f9ceeb51 | |||
| 0087f295b7 | |||
| 2cca4d658c | |||
| f9fcf555ca | |||
| 566011ef27 | |||
| b3da58f048 | |||
| ddb9af54bd | |||
| e938fa367f | |||
| d233a07f38 | |||
| 77a8ffaafd | |||
| 8462e0e048 | |||
| 27b8407d03 | |||
| 9af5092413 | |||
| 8885db2359 | |||
| 20fffb39a5 | |||
| 3978fa1c9b | |||
| ecae00229b | |||
| 5607271d2b | |||
| 57f291c41d | |||
| 05a58cb9a7 | |||
| b9857129ba | |||
| a291fe55b4 | |||
| 3e4b13bd04 | |||
| 9db6c7f88b | |||
| 7e754e51ca | |||
| b89e776cad | |||
| 28936291cf | |||
| 52f14fd5f6 | |||
| 0206b908f2 | |||
| 9a3b65e7de | |||
| 0707f460a3 | |||
| 53f3a15a2f | |||
| 1e40b428c6 | |||
| b198aa9a6d | |||
| 392af35e44 | |||
| 51840635e1 | |||
| c20b7d47c8 | |||
| 3a8ec4a4fd | |||
| e87ee49dba | |||
| 62c448421d | |||
| 79ccf33a0a | |||
| 6d620b88d8 | |||
| 7197d9e865 | |||
| 9e440f7b71 | |||
| 7a65161afd | |||
| df56f1a83f | |||
| 0ffab540a7 | |||
| da7c0c6011 | |||
| f059a7aa81 | |||
| a5219112e3 | |||
| 141205f5e1 | |||
| 1274b46b9d | |||
| ebff420a6e | |||
| c252c86174 | |||
| 359ed612e7 | |||
| 0b51371626 | |||
| 151e34c5cd | |||
| a6ac8a4798 | |||
| abdc652f23 | |||
| 54f9326bb5 | |||
| bfd74f3c21 | |||
| 7992aa75b8 | |||
| fdc07db9a0 | |||
| 9138ce5a32 | |||
| e54ae76af9 | |||
| 3bc9174b5a | |||
| 1fd231649a | |||
| 0303fbb804 | |||
| b534e11208 | |||
| c58ac1b0e8 | |||
| abc9b1407c | |||
| 85a8ef4c82 | |||
| c53a9fb453 | |||
| 1e68829d2f | |||
| 42468f6cab | |||
| 88a9446598 | |||
| a86129e017 | |||
| f8eed07a7d | |||
| bfc5d81628 | |||
| 0696e96a0d | |||
| da44f2f8eb | |||
| c7a4637b34 | |||
| 78a910829d | |||
| b7fbc2164e | |||
| a4ad0ae79d | |||
| 85c7d245d4 | |||
| cbcfab179d | |||
| e7ff8ced9f | |||
| 6f2949aa65 | |||
| 5a79d9282e | |||
| 5779218dac | |||
| 0f5e9a6a24 | |||
| 623a40ef0a | |||
| 064d34f570 | |||
| 483cd09a89 | |||
| b09447e2ce | |||
| 36b121053c | |||
| 4989190241 | |||
| f0ae1ec0b9 | |||
| 84bcc82e3d | |||
| 1f8f7f8cdf | |||
| c9516c0b9a | |||
| 48a3a7ce38 | |||
| 57383f708e | |||
| 156a08b67e | |||
| 4ec6dc663b | |||
| 53bf98ba90 | |||
| 35ddb517d3 | |||
| fe798ae4c8 | |||
| 087e3280c0 | |||
| 161cd0bfc8 | |||
| 7b6987edf3 | |||
| e8e36c8916 | |||
| 8c354ede1e | |||
| 820cbd6bde | |||
| 0d569cd97c | |||
| 81fff67374 | |||
| 1db56735ad | |||
| 8a06015247 | |||
| 202a0060b1 | |||
| 034ac1589c | |||
| 87c2575db6 | |||
| 0ba4506293 | |||
| 6bfee84df2 | |||
| e2235c8cb9 | |||
| 4806faedb3 | |||
| 50bba6cecd | |||
| 1ffe34c23a | |||
| 8cad4da7d9 | |||
| f3b43361d3 | |||
| 275089c5ac | |||
| 8896eb1490 | |||
| 363fa9f94d | |||
| 056724edda | |||
| 57d594e813 | |||
| 8bde748470 | |||
| b8c3b484bb | |||
| 84a56dd3d2 | |||
| ae40c21aad | |||
| d85d77db0b | |||
| 98332afe9b | |||
| 599c1eabb0 | |||
| bb16a12c87 | |||
| cf5ec5ba2e | |||
| 99d8ecd184 | |||
| c82048213e | |||
| 3bcb766bf1 | |||
| 0081b750a6 | |||
| 2398854c18 | |||
| c709a2b231 | |||
| 0caee8c26c | |||
| 694060aca6 | |||
| 5a639cf312 | |||
| 8dd27ee1ab | |||
| 65e75f40da | |||
| 4d3e8e3f51 | |||
| 05dc5d91e7 | |||
| 23d8443cff | |||
| 846f95cb1f | |||
| f4c116110b | |||
| 5d30e7e5cf | |||
| 60c59447b9 | |||
| f8f4a9175d | |||
| 811ab17e01 | |||
| 7f6df3419e | |||
| 7e63fc89f9 | |||
| a360f47e41 | |||
| 3bb438ff82 | |||
| 6a65b38669 | |||
| b6b83ccf3b | |||
| deee4a8089 | |||
| 6c7d2cffed | |||
| c1d3e85136 | |||
| 18e909e860 | |||
| 58dac07dbb | |||
| 3c8657ae49 | |||
| 048304d50d | |||
| 280d125387 | |||
| e080a1f684 | |||
| e568e68fec | |||
| 2906f5d4d8 | |||
| 1506687c95 | |||
| ff0649c5d2 | |||
| ad7b324d16 | |||
| 83b084339c | |||
| 0a8ca03af0 | |||
| d20c3861b8 | |||
| 5b628c1d0d | |||
| 2c5546f9f0 | |||
| 8895fc70d9 | |||
| 5a0e997f44 | |||
| 4a357c4821 | |||
| 84531ddf15 | |||
| 0638fba7a9 | |||
| 2129b6ba3f | |||
| bbda3822cc | |||
| f026a67a1a | |||
| 99a19ed138 | |||
| 77b9c45064 | |||
| 6514b9bf3e | |||
| 5dc8f42be4 | |||
| 92ebbc72c2 | |||
| c143277f3f | |||
| b21d423db7 | |||
| 0f6db38cb3 | |||
| 9d258137fa | |||
| 89196c2a66 | |||
| 2fb49d34cd | |||
| d4472f5592 | |||
| db9c7d8700 | |||
| 14d298988d | |||
| c8b8a4e61f | |||
| d302d43464 | |||
| 4938d9630a | |||
| 4eb4e8ff76 | |||
| 8b957669fe | |||
| aee56e31f2 | |||
| c9a6d64fb7 | |||
| 3905886f06 | |||
| 42caf2e7d5 | |||
| 602e61b65a | |||
| 7fc3275783 | |||
| 888580a431 | |||
| 1f3d16b83e | |||
| b646e070f5 | |||
| 316540120e | |||
| e7bfea9d3a | |||
| 7c1c18f5b0 | |||
| 04cd5ee11b | |||
| 1fd8d5efb8 | |||
| 2cd8d0fedc | |||
| d027dea990 | |||
| 7b44bce5cd | |||
| baf36bdb35 | |||
| bac6a6859b | |||
| 15ec0a945f | |||
| 92db7cd7d6 | |||
| db46653715 | |||
| ca5e5a1d8a | |||
| 107c2b2ecb | |||
| bd7e5ea410 | |||
| 2fea3fef3f | |||
| e9e4d3327e | |||
| 5cc608ccea | |||
| 1e8a075abd | |||
| a5db697aed | |||
| 0c1ca59954 | |||
| 29d68f9c46 | |||
| 34ec2f02a8 | |||
| 81a0c5bcf1 | |||
| 3c0a6ea729 | |||
| 30d86f57aa | |||
| 598dba008d | |||
| 675cac1bfb | |||
| 5db7942087 | |||
| 055490a60b | |||
| 267be5fcd7 | |||
| 5c04414c03 | |||
| cae3e27252 | |||
| 3c2da38009 | |||
| 9fdb7ef59c | |||
| 5146b8f10d | |||
| 9cdb21a86d | |||
| 4050af68f6 | |||
| 6ee435af3c | |||
| 353f2e2bd6 | |||
| 3ccddc6f4b | |||
| 61a24cfd41 | |||
| 2f8f32f1a3 | |||
| c6ebb07687 | |||
| 5a0df98b8f | |||
| e987eba454 | |||
| 7a5f7e7ca0 | |||
| 29e4a5faed | |||
| 3776894cfb | |||
| c0af04b133 | |||
| 8f38ed39e4 | |||
| 6582277533 | |||
| b4ab3dff7b | |||
| 93a9c8d2cf | |||
| 45c46ababd | |||
| ffacfec4dd | |||
| 0d768e7328 | |||
| 0223c54c93 | |||
| 2b78cdf451 | |||
| e2fad3fd9b | |||
| 89b1ca6a22 | |||
| 553520093f | |||
| 41611f5449 | |||
| 7fa83e21f9 | |||
| 6f67e98f6d | |||
| 044cbccde7 | |||
| 4a06b93606 | |||
| ff5d7bf769 | |||
| 658162c43b | |||
| 7c4c07043d | |||
| 38981c0a6c | |||
| 2d8d5efaad | |||
| 616ab70d74 | |||
| f2bb834771 | |||
| b85352ce76 | |||
| 10e4cbbdba | |||
| 6c59bb3156 | |||
| 4b86beb090 | |||
| 9457601569 | |||
| 0ed23c4fcd | |||
| 98f0100076 | |||
| efd88ea60c | |||
| b5779f0a44 | |||
| d270ed45df | |||
| 6c9a10a2a4 | |||
| ee6f07cce0 | |||
| 0aaa0181bd | |||
| bd7758f8b4 | |||
| 913853d7a5 | |||
| a43a973dd5 | |||
| 203e8c942c | |||
| 75b22913b4 | |||
| 96a264e3f3 | |||
| 86d743b419 | |||
| 6f0e582530 | |||
| 69d2efe8ea | |||
| 99d97466f8 | |||
| d6ce022e00 | |||
| ee6766eadd | |||
| c05830fc57 | |||
| a547fa3d52 | |||
| 8e140c8e96 | |||
| d314841c20 | |||
| dfb7969119 | |||
| dbab7105f2 | |||
| 3bbbccad96 | |||
| 20e949fa2d | |||
| e8758fc8b5 | |||
| 62aa3bac4c | |||
| 26a8bbda7c | |||
| 9e2cf1facc | |||
| 2b0a1a6e0e | |||
| f1a1af3056 | |||
| 25dff1b69e | |||
| dfd58b5939 | |||
| 8898baf8ba | |||
| cebff34972 | |||
| 4edb1ea8f0 | |||
| cc31cea9c2 | |||
| 6c2ef4d07a | |||
| 2ff8ef54a2 | |||
| be8dec36dd | |||
| 13db97764b | |||
| de1e7968f2 | |||
| c41e49afc4 | |||
| 09bfe65cc0 | |||
| 9132081661 | |||
| 09c52ba44b | |||
| 30d5c41b7e | |||
| 6c04c7e958 | |||
| e9ff43c8a1 | |||
| 7f32dfbde0 | |||
| 23bbc772c1 | |||
| a17d18f136 | |||
| b9e0d8297b | |||
| c4139e05d5 | |||
| 3970e35701 | |||
| 28a776b519 | |||
| 18fa760994 | |||
| 49555011d7 | |||
| 07223c70d1 | |||
| 4b080dbd5d | |||
| 1e16bda44a | |||
| c90ec0edcb | |||
| e8937b1d5c | |||
| 2ed667272c | |||
| b8b74c3d86 | |||
| ba0ca5afc4 | |||
| a2a2491fc9 | |||
| 979018a919 | |||
| ed63ac0758 | |||
| 62ee9625ed | |||
| b389d09213 | |||
| fda536297a | |||
| a3c086c344 | |||
| 82fda67cc4 | |||
| 9257d1e86c | |||
| 447f6934f0 | |||
| b42ab9d79f | |||
| 29a197de28 | |||
| 1dd52f2902 | |||
| 348683aa57 | |||
| e5666399df | |||
| 0ec694873a | |||
| 492c18fc67 | |||
| 425ddde883 | |||
| 9e9d726e3f | |||
| 942f1efca7 | |||
| 4e0fd1f329 | |||
| 0c167aed8a | |||
| 302ba1a704 | |||
| 6dd0a5d8e9 | |||
| 9dde4db36b | |||
| adc031fc05 | |||
| ddd97519f8 | |||
| acabf845bc | |||
| fae87acbc3 | |||
| 48439d4286 | |||
| 9987370ebe | |||
| 2ff55f2451 | |||
| c025b76d31 | |||
| 854f10d0c1 | |||
| 703dd607ee | |||
| 4e9a75944f | |||
| c83a5a10ed | |||
| 86e901a834 | |||
| 2f6f3878b1 | |||
| 596ebfe64d | |||
| c0addc74ef | |||
| 19dc8ceb2c | |||
| 772b6cbaa2 | |||
| e54c6396e3 | |||
| 4f9322e46a | |||
| c374054e17 | |||
| 4cb05600d7 | |||
| e56b4b9360 | |||
| 083ff14d91 | |||
| 22d5661995 | |||
| b15b40bad0 | |||
| e959b714d5 | |||
| 970b1466dd | |||
| e01f78307c | |||
| d995f4760e | |||
| fef8b2392b | |||
| 937f91fa75 | |||
| e5fe9d715e | |||
| 17c8a91b6a | |||
| ab52ccb646 | |||
| e546817f44 | |||
| 0c85c6105f | |||
| f71c029961 | |||
| b95aa93825 | |||
| f68a356391 | |||
| d3f1209b77 | |||
| 836668bf4e | |||
| ad7c8f51b1 | |||
| 8150c718fb | |||
| 2af99d0a39 | |||
| eced8ccca1 | |||
| 0a689a5cdb | |||
| a149ceb008 | |||
| 2f36cd9590 | |||
| cb62738f68 | |||
| 6902525471 | |||
| 83bac488b9 | |||
| 751f88a171 | |||
| dacb3e3b0d | |||
| c1a6636623 | |||
| 313c70cf26 | |||
| e22721ff91 | |||
| e49828610d | |||
| 909b6646cf | |||
| 971055338c | |||
| f74d61ec03 | |||
| 4c699c8e0c | |||
| 43e9a57845 | |||
| 0f2a648dd0 | |||
| e9352ad289 | |||
| 19c02a1bbd | |||
| dd08df5712 | |||
| b602f76ded | |||
| 031093ead2 | |||
| 0b1c97a3ef | |||
| 72d6631a1e | |||
| a19c382742 | |||
| c0f600de63 | |||
| 382a3ae4e0 | |||
| 4dab7bc345 | |||
| 4156653968 | |||
| 4d029913e7 | |||
| 06bba1c7d7 | |||
| ca9abdbdd5 | |||
| 29cfbb46ec | |||
| 3dff1d4550 | |||
| d2f3109dbc | |||
| 5e13bda4b3 | |||
| 4b2bd15059 | |||
| 15f6cf7afd | |||
| 72383246a4 | |||
| bab9408777 | |||
| ec956c7716 | |||
| 8bb8bfcce0 | |||
| 85a23edc64 | |||
| 02c43dd20f | |||
| 410dd9eebf | |||
| 308bec1612 | |||
| 13190733f1 | |||
| d46d2b6706 | |||
| 23077070a7 | |||
| dc4564327d | |||
| 5276dde1a7 | |||
| a5297456a8 | |||
| 25dfd12d15 | |||
| db30316325 | |||
| 6d59eccbac | |||
| 3e71b9d030 | |||
| 035b97c6d8 | |||
| 6d399c86af | |||
| 5f7f23f980 | |||
| 50da1e0f65 | |||
| 46ab1ec968 | |||
| 78f80afc63 | |||
| 01733d0593 | |||
| c4e657293c | |||
| f8fdeca1a6 | |||
| fd3eaa9531 | |||
| dc59dbd7db | |||
| e991f15195 | |||
| 679e521e76 | |||
| 3a684d06e5 | |||
| dbfc230eb6 | |||
| edd42fc022 | |||
| 1c164600d1 | |||
| 59340d6944 | |||
| 759ff6aea1 | |||
| 71532e8dbb | |||
| 4496736c20 | |||
| e9124aa4fe | |||
| 299565417d | |||
| 4430344dc3 | |||
| 9795ad8166 | |||
| 72fee2f6f1 | |||
| 448e094d55 | |||
| 6f56901c61 | |||
| ac417ccb91 | |||
| f19c325ac4 | |||
| 6366ed1a5a | |||
| b3827154f7 | |||
| c3e79334d2 | |||
| ecf0348346 | |||
| 1c0f2c1ff6 | |||
| 4f8278e1cf | |||
| 4dba86eb81 | |||
| 4d828a397c | |||
| 9f43baa208 | |||
| c0a7b9ee3e | |||
| 085b4e376f | |||
| 5a522981a6 | |||
| 9fe553d7e7 | |||
| 96aaf90517 | |||
| b0bffd504c | |||
| 43dfb22529 | |||
| d1e702b64f | |||
| 8486c4944a | |||
| 7db2c8032a | |||
| df2deed81e | |||
| 8a5a5d19c3 | |||
| 9cd2a0355f | |||
| 2b2a3e9938 | |||
| 25377436ed | |||
| ae312656c9 | |||
| 0c1ebdb7c0 | |||
| 3471e005af | |||
| 2074281fd5 | |||
| d22bfc066d | |||
| 3ca62f62a6 | |||
| f29270c0e6 | |||
| e9c50345d2 | |||
| dde61179fa | |||
| d2e0d4c365 | |||
| 11cc79dfe2 | |||
| e7f08a9e11 | |||
| 43e6df87c6 | |||
| 1bb53ba39e | |||
| a6abe9c8a5 | |||
| e804f188ef | |||
| e4db7cf7a9 | |||
| f2b7f7cce7 | |||
| d98df6c88f | |||
| 885bb181e5 | |||
| 47123382c4 | |||
| a4ba80dbf6 | |||
| d7f2574e92 | |||
| a9f28bca04 | |||
| a1dbfe6bbf | |||
| 1d7609a42e | |||
| 37892a8736 | |||
| 3acf508393 | |||
| 858c1ad603 | |||
| 4d8f8a4df1 | |||
| cf2fa00213 | |||
| f7cf6353e7 | |||
| 6f2c02c214 | |||
| e02f285e4a | |||
| a1c1cee1bb | |||
| 1ac0ee7e65 | |||
| bc739fd304 | |||
| 6c4a9ebf6b | |||
| b880d41181 | |||
| 0610476fdb | |||
| c0f271e366 | |||
| d3cfe1f7b1 | |||
| ef342cdb62 | |||
| 8261e232f6 | |||
| 2e212b9f7e | |||
| 057d033ec9 | |||
| de13514039 | |||
| 9a759cffd0 | |||
| 2681bd0efb | |||
| 785f240fe4 | |||
| 30fc49bc2f | |||
| fbede0bd66 | |||
| caf1702a87 | |||
| 79e8b37c80 | |||
| fa8cb35257 | |||
| 412fc4ebec | |||
| 736cbc7c16 | |||
| e5d8a50224 | |||
| f441ae1b54 | |||
| 0b02ee2c80 | |||
| 59c9b3eeb5 | |||
| 7408423738 | |||
| 4c500a28dc | |||
| 3a731f33bb | |||
| 6e19188afe | |||
| 6bb591b8b7 | |||
| 130c8086eb | |||
| ac88c03ac0 | |||
| b915e10b3e | |||
| d911374ed3 | |||
| 2e8022e818 | |||
| 8b0f80dcfd | |||
| ec3a3c2282 | |||
| e602a2ad78 | |||
| 20589a3a94 | |||
| b724486d90 | |||
| c3cc655b21 | |||
| f2281d26f7 | |||
| 79c33ee1fb | |||
| 624c3e7acd | |||
| cb8ecf48df | |||
| 155256fec0 | |||
| 941d5fdfcc | |||
| 0813a94bd9 | |||
| 3c04baa253 | |||
| 4f0ff330b7 | |||
| cfeae38cc3 | |||
| a0709b67cd | |||
| c007472a0c | |||
| 8f6b4611a3 | |||
| 42654dbfc9 | |||
| 2eba84a11a | |||
| 0dc601b788 | |||
| 118a3227e6 | |||
| a5a93df6a9 | |||
| 8808cd1914 | |||
| 0d85973a3b | |||
| 36d1b3e076 | |||
| 562f4af16c | |||
| ef3b08f307 | |||
| 36b35159b1 | |||
| 25f9776ef5 | |||
| 0df18e0765 | |||
| 1582f28675 | |||
| 89a68d7c54 | |||
| 088950fcea | |||
| 816ed0a1af | |||
| 53d911f227 | |||
| 2e0b71fd4e | |||
| dd3df1b3af | |||
| 281316a173 | |||
| 89911613e0 | |||
| 39a4b3295b | |||
| 68c30b1476 | |||
| 0585bbf155 | |||
| 70416a10db | |||
| ac3a3899cd | |||
| 74ad6d03f7 | |||
| be19817830 | |||
| e22f2bd6cb | |||
| 8041d14b7d | |||
| fa8e28d4d6 | |||
| 3a3a063152 | |||
| 4c417895df | |||
| ad3141d465 | |||
| 63e93e4848 | |||
| 0f48f1c555 | |||
| b454ad91a9 | |||
| b50cc33965 | |||
| 6b36a0705e | |||
| 8401f1efca | |||
| 2339c05535 | |||
| eba1c36e59 | |||
| 8da59a131c | |||
| 635fcfb97e | |||
| 20923b2df8 | |||
| bb7701dd1f | |||
| 3571afe593 | |||
| f1fdf61cd0 | |||
| 448f6032df | |||
| 239ac1f09b | |||
| f67b7817a8 | |||
| 126fc30ae5 | |||
| d04aa16c7d | |||
| 0e78d4b120 | |||
| 0261ddb03c | |||
| 93e997dcb6 | |||
| ad0e7ae601 | |||
| 6ec6cd88db | |||
| 9483769064 | |||
| 7baa3a78ef | |||
| 1102c7726e | |||
| e827a0d5d3 | |||
| 19b2919388 | |||
| 48699d218c | |||
| 92f589c6ed | |||
| 59c4140d30 | |||
| f76caebbc4 | |||
| 11f8eacc24 | |||
| 409d51d27f | |||
| a851fceb48 | |||
| 7ba1e2cd6d | |||
| 1c5d64ba45 | |||
| 75a1429ce9 | |||
| b0c57fca88 | |||
| d6d3e22655 | |||
| c737aa0c2f | |||
| 7f8af0e7de | |||
| 355ba7ec67 | |||
| 536ea1343c |
+14
-7
@@ -7,15 +7,22 @@ clone_folder: C:\Projects\Cataclysm-DDA
|
||||
cache:
|
||||
- c:\tools\vcpkg\installed
|
||||
- c:\Users\appveyor\AppData\Local\vcpkg\
|
||||
install:
|
||||
- cmd: cd c:\tools\vcpkg\
|
||||
- cmd: git pull
|
||||
- cmd: bootstrap-vcpkg.bat -disableMetrics
|
||||
- cmd: vcpkg --triplet %PLATFORM%-windows-static install sdl2 sdl2-image sdl2-mixer[dynamic-load,libflac,mpg123,libmodplug,libvorbis] sdl2-ttf gettext --recurse
|
||||
build:
|
||||
project: /msvc-full-features/Cataclysm-vcpkg-static.sln
|
||||
parallel: true
|
||||
verbosity: minimal
|
||||
test_script:
|
||||
- cmd: Cataclysm-test-vcpkg-static-Release-Win32.exe --rng-seed time --min-duration 0.2
|
||||
skip_commits:
|
||||
only_commits:
|
||||
files:
|
||||
- 'doc/**'
|
||||
- 'lgtm/**'
|
||||
- 'tools/**'
|
||||
- '.github/**'
|
||||
- '.appveyor.yml'
|
||||
- 'msvc-full-features/**'
|
||||
- 'src/**'
|
||||
- 'tests/**'
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ cert-*,\
|
||||
-cert-err58-cpp,\
|
||||
clang-diagnostic-*,\
|
||||
cppcoreguidelines-slicing,\
|
||||
google-explicit-constructor,\
|
||||
llvm-namespace-comment,\
|
||||
misc-*,\
|
||||
modernize-*,\
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
# options affecting formatting
|
||||
format:
|
||||
# how wide to allow formatted cmake files
|
||||
line_width: 100
|
||||
# how many spaces to tab for indent
|
||||
tab_size: 4
|
||||
# if true, separate flow control names from their parentheses
|
||||
separate_ctrl_name_with_space: true # currently ignored by cmake-lint
|
||||
# if true, separate function names from parentheses with a
|
||||
separate_fn_name_with_space: false # currently ignored by cmake-lint
|
||||
# if a statement is wrapped to more than one line, than dangle
|
||||
# the closing parenthesis on its own line.
|
||||
dangle_parens: false # currently ignored by cmake-lint
|
||||
# Format command names consistently as 'lower' or 'upper' case
|
||||
# 'canonical': like in official documentation
|
||||
command_case: 'canonical' # currently ignored by cmake-lint
|
||||
# Format keywords consistently as 'lower' or 'upper' case
|
||||
keyword_case: 'upper' # currently ignored by cmake-lint
|
||||
# options affecting comment reflow and formatting
|
||||
markup:
|
||||
# enable comment markup parsing and reflow
|
||||
enable_markup: false
|
||||
# options affecting linter
|
||||
lint:
|
||||
# list of lint codes to disable
|
||||
# C0113: Missing COMMENT in statement which allows it
|
||||
disabled_codes: ['C0113']
|
||||
# regular expression pattern describing valid function names
|
||||
function_pattern: '[a-z_]+'
|
||||
# regular expression pattern describing valid names for private variables
|
||||
# WEIRD: strangely named "directory variable name" in lint output
|
||||
private_var_pattern: '_[0-9A-Z_]+'
|
||||
# regular expression pattern describing valid names for public variables (strangely named "directories"?)
|
||||
# WEIRD: strangely named "directory variable name" in lint output
|
||||
public_var_pattern: '[0-9A-Z]+'
|
||||
# regular expression pattern describing valid macro names
|
||||
macro_pattern: '[a-z_]+'
|
||||
# regular expression pattern describing valid names for function/macro
|
||||
# arguments and loop variables
|
||||
argument_var_pattern: '[A-Z][A-Z0-9_]+'
|
||||
# require no more than this many newlines between statements
|
||||
max_statement_spacing: 2
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
[flake8]
|
||||
exclude = .git,__pycache__,lang/json
|
||||
ignore =
|
||||
# The following errors were present when starting to use flake8; they need
|
||||
# to be triaged to determine which we should fix and which we should leave
|
||||
# permanently ignored
|
||||
# E265 forces comments to have a space after the '#'. We have a bunch of
|
||||
# optional debugging code commented out this way, and not having a space is
|
||||
# a convenient way to distinguish it from proper comments. Maybe we should
|
||||
# delete that code, but unless that happens leaving E265 disabled.
|
||||
E265,
|
||||
# W503 and W504 require line breaks after or before binary operators; you
|
||||
# can only have one enabled
|
||||
|
||||
+2
-1
@@ -3,7 +3,7 @@
|
||||
#In fact, the code "owners" designation is meant to encourage third party
|
||||
#individuals to contribute to the mod, with the curators notified for reviews.
|
||||
|
||||
/data/mods/Aftershock/ @Maleclypse @John-Candlebury
|
||||
/data/mods/Aftershock/ @Maleclypse @John-Candlebury @Mom-Bun
|
||||
/data/mods/DinoMod/ @ephemeralstoryteller @damien @LyleSY
|
||||
/data/mods/Graphical_Overmap/ @Kilvoctu @Larwck
|
||||
/data/mods/MMA/ @Hymore246
|
||||
@@ -28,3 +28,4 @@ magic*.h @KorGgenT
|
||||
/data/json/snippets/ @I-am-Erk
|
||||
/gfx/ @I-am-Erk
|
||||
/tools/ @int-ua
|
||||
/lang/ @BrettDong
|
||||
|
||||
+15
-4
@@ -165,16 +165,27 @@ If you are also looking for suggestions then add a [CR] before the title text
|
||||
|
||||
It is not required to solve or reference an open issue to file a PR, however, if you do so, you need to explain the problem your PR is solving in full detail.
|
||||
|
||||
### All PRs should have a "Summary" line
|
||||
### All PRs should have a "Summary" section with one line
|
||||
Summary is a one-line description of your change that will be extracted and added to [the project changelog](../data/changelog.txt).
|
||||
|
||||
The format is: ```SUMMARY: Category "description"```
|
||||
The format is:
|
||||
```
|
||||
#### Summary
|
||||
Category "description"
|
||||
```
|
||||
|
||||
The categories to choose from are: Features, Content, Interface, Mods, Balance, Bugfixes, Performance, Infrastructure, Build, I18N.
|
||||
|
||||
Example: ```SUMMARY: Content "Adds new mutation category 'Mouse'"```
|
||||
Example:
|
||||
```
|
||||
#### Summary
|
||||
Content "Adds new mutation category 'Mouse'"
|
||||
```
|
||||
Or, if you want it treated as a minor tweak that doesn't appear in the changelog:
|
||||
```SUMMARY: None```
|
||||
```
|
||||
#### Summary
|
||||
None
|
||||
```
|
||||
|
||||
See [the Changelog Guidelines](../doc/CHANGELOG_GUIDELINES.md) for explanations of the categories.
|
||||
|
||||
|
||||
@@ -1,45 +1,24 @@
|
||||
<!-- HOW TO USE: Under each "#### Heading" below, enter information relevant to your pull request.
|
||||
Leave the headings unless they don't apply to your PR, and remove the comment blocks (surrounded with <!–– and ––>) when you are done.
|
||||
|
||||
NOTE: Please grant permission for repository maintainers to edit your PR. It is EXTREMELY common for PRs to be held up due to trivial changes being requested and the author being unavailable to make them.
|
||||
-->
|
||||
NOTE: Please grant permission for repository maintainers to edit your PR. It is EXTREMELY common for PRs to be held up due to trivial changes being requested and the author being unavailable to make them. -->
|
||||
|
||||
#### Summary
|
||||
|
||||
<!-- This section should consist of exactly one line, formatted like this:
|
||||
|
||||
SUMMARY: [Category] "[Briefly describe the change in these quotation marks]"
|
||||
|
||||
Do not enter the square brackets []. Category must be one of these:
|
||||
|
||||
- Features
|
||||
- Content
|
||||
- Interface
|
||||
- Mods
|
||||
- Balance
|
||||
- Bugfixes
|
||||
- Performance
|
||||
- Infrastructure
|
||||
- Build
|
||||
- I18N
|
||||
|
||||
Category "Brief description"
|
||||
<!-- This section should consist of exactly one line, edit the one above.
|
||||
Category must be one of these: Features, Content, Interface, Mods, Balance, Bugfixes, Performance, Infrastructure, Build, I18N. Or replace the whole line with just the word None for no changelog entry.
|
||||
For more on the meaning of each category, see:
|
||||
https://github.com/CleverRaven/Cataclysm-DDA/blob/master/doc/CHANGELOG_GUIDELINES.md
|
||||
|
||||
If approved and merged, your summary will be added to the project changelog:
|
||||
https://github.com/CleverRaven/Cataclysm-DDA/blob/master/data/changelog.txt
|
||||
-->
|
||||
https://github.com/CleverRaven/Cataclysm-DDA/blob/master/data/changelog.txt -->
|
||||
|
||||
#### Purpose of change
|
||||
|
||||
<!-- With a few sentences, describe your reasons for making this change. If it relates to an existing issue, you can link it with a # followed by the Github issue number, like #1234. If your pull request *fully* resolves an issue, include the word "Fix" or "Fixes" before the issue number, like: Fixes #1234.
|
||||
|
||||
If there is no related issue, explain here what issue, feature, or other concern you are addressing. If this is a bugfix, include steps to reproduce the original bug, so your fix can be verified.
|
||||
-->
|
||||
<!-- With a few sentences, describe your reasons for making this change. If it relates to an existing issue, you can link it with a # followed by the GitHub issue number, like #1234. If your pull request *fully* resolves an issue, include the word "Fix" or "Fixes" before the issue number, like: Fixes #1234.
|
||||
If there is no related issue, explain here what issue, feature, or other concern you are addressing. If this is a bugfix, include steps to reproduce the original bug, so your fix can be verified. -->
|
||||
|
||||
#### Describe the solution
|
||||
|
||||
<!-- How does the feature work, or how does this fix a bug? The easier you make your solution to understand, the faster it can get merged. -->
|
||||
<!-- How does the feature work, or how does this fix a bug? The easier you make your solution to understand, the faster it can get merged. -->
|
||||
|
||||
#### Describe alternatives you've considered
|
||||
|
||||
@@ -47,8 +26,8 @@ If there is no related issue, explain here what issue, feature, or other concern
|
||||
|
||||
#### Testing
|
||||
|
||||
<!-- Describe what steps you took to test that this PR resolved the bug or added the feature, and what tests you performed to make sure it didn't cause any regressions. Also include testing suggestions for reviewers and maintainers. -->
|
||||
<!-- Describe what steps you took to test that this PR resolved the bug or added the feature, and what tests you performed to make sure it didn't cause any regressions. Also include testing suggestions for reviewers and maintainers. -->
|
||||
|
||||
#### Additional context
|
||||
|
||||
<!-- Add any other context (such as mock-ups, proof of concepts or screenshots) about the feature or bugfix here. -->
|
||||
<!-- Add any other context (such as mock-ups, proof of concepts or screenshots) about the feature or bugfix here. -->
|
||||
|
||||
@@ -26,6 +26,7 @@ exemptLabels:
|
||||
- "0.E Content Freeze"
|
||||
- "0.F Feature Freeze"
|
||||
- "0.F Content Freeze"
|
||||
- "0.F String Freeze"
|
||||
|
||||
# Set to true to ignore issues in a project (defaults to false)
|
||||
exemptProjects: true
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
name: Check printf format string in translations
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'lang/po/*.po'
|
||||
- 'tools/check_po_printf_format.py'
|
||||
|
||||
jobs:
|
||||
check-po-printf:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: "Install dependencies"
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install python3-pip
|
||||
sudo pip3 install polib
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@v2
|
||||
- name: "Check printf format string in translations"
|
||||
run: ./tools/check_po_printf_format.py
|
||||
@@ -0,0 +1,31 @@
|
||||
name: cmake-format linting
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '**/CMakeLists.txt'
|
||||
- '**.cmake'
|
||||
- '**.cmake.in'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '**/CMakeLists.txt'
|
||||
- '**.cmake'
|
||||
- '**.cmake.in'
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout repository
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: install cmakelang
|
||||
run: python3 -m pip install -U cmakelang
|
||||
- name: run cmake-lint
|
||||
run: python3 -m cmakelang.lint CMakeLists.txt src/CMakeLists.txt data/CMakeLists.txt lang/CMakeLists.txt src/chkjson/CMakeLists.txt tools/format/CMakeLists.txt tools/clang-tidy-plugin/CMakeLists.txt cmake_uninstall.cmake.in -c .cmake-format.yml
|
||||
|
||||
@@ -37,40 +37,74 @@ jobs:
|
||||
matrix:
|
||||
include:
|
||||
- compiler: g++-9
|
||||
os: ubuntu-latest
|
||||
cmake: 0
|
||||
tiles: 0
|
||||
test-stage: 1
|
||||
native: linux64
|
||||
gold: 1
|
||||
lto: 1
|
||||
title: GCC 9, Ubuntu, Curses, LTO
|
||||
- compiler: g++-7
|
||||
os: ubuntu-latest
|
||||
cmake: 1
|
||||
tiles: 1
|
||||
native: linux64
|
||||
title: GCC 7, Ubuntu, Tiles, CMake
|
||||
- compiler: g++-8
|
||||
os: ubuntu-latest
|
||||
cmake: 0
|
||||
tiles: 1
|
||||
sanitize: address
|
||||
native: linux64
|
||||
title: GCC 8, Ubuntu, Tiles, ASan
|
||||
- compiler: clang++-9
|
||||
os: ubuntu-latest
|
||||
cmake: 0
|
||||
tiles: 1
|
||||
sanitize: address,undefined
|
||||
runs-on: ubuntu-latest
|
||||
native: linux64
|
||||
title: Clang 9, Ubuntu, Tiles, ASan, UBSan
|
||||
- compiler: clang++
|
||||
os: macos-10.15
|
||||
cmake: 0
|
||||
tiles: 1
|
||||
native: osx
|
||||
title: Clang 12, macOS 10.15, Tiles
|
||||
name: ${{ matrix.title }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
CMAKE: ${{ matrix.cmake }}
|
||||
COMPILER: ${{ matrix.compiler }}
|
||||
OS: ${{ matrix.os }}
|
||||
TILES: ${{ matrix.tiles }}
|
||||
SOUND: ${{ matrix.tiles }}
|
||||
SANITIZE: ${{ matrix.sanitize }}
|
||||
TEST_STAGE: ${{ matrix.test-stage }}
|
||||
EXTRA_TEST_OPTS: --error-format=github-action
|
||||
NATIVE: ${{ matrix.native }}
|
||||
GOLD: ${{ matrix.gold }}
|
||||
LTO: ${{ matrix.lto }}
|
||||
RELEASE: 1
|
||||
steps:
|
||||
- name: checkout repository
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: install dependencies
|
||||
- name: install dependencies (ubuntu)
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install libncursesw5-dev libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev \
|
||||
libsdl2-mixer-dev libpulse-dev ccache gettext
|
||||
libsdl2-mixer-dev libpulse-dev ccache gettext parallel
|
||||
- name: install old GCC (ubuntu)
|
||||
if: runner.os == 'Linux' && (matrix.compiler == 'g++-7' || matrix.compiler == 'g++-8')
|
||||
run: |
|
||||
sudo apt-get install g++-7 g++-8
|
||||
- name: install dependencies (mac)
|
||||
if: runner.os == 'macOS'
|
||||
run: |
|
||||
HOMEBREW_NO_AUTO_UPDATE=yes HOMEBREW_NO_INSTALL_CLEANUP=yes brew install sdl2 sdl2_image sdl2_ttf sdl2_mixer gettext ccache parallel
|
||||
- name: prepare
|
||||
run: bash ./build-scripts/requirements.sh
|
||||
- name: Get Date
|
||||
@@ -78,14 +112,22 @@ jobs:
|
||||
run: |
|
||||
echo "::set-output name=date::$(/bin/date -u "+%Y%m%d%H%M")"
|
||||
shell: bash
|
||||
- name: ccache cache files
|
||||
- name: ccache cache files (ubuntu)
|
||||
if: runner.os == 'Linux'
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ccache-${{ matrix.compiler }}-${{ steps.get-date.outputs.date }}
|
||||
key: ccache-linux-${{ matrix.compiler }}-${{ steps.get-date.outputs.date }}
|
||||
restore-keys: |
|
||||
ccache-${{ matrix.compiler }}-
|
||||
ccache-
|
||||
ccache-linux-${{ matrix.compiler }}-
|
||||
- name: ccache cache files (mac)
|
||||
if: runner.os == 'macOS'
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: /Users/runner/Library/Caches/ccache
|
||||
key: ccache-mac-${{ matrix.compiler }}-${{ steps.get-date.outputs.date }}
|
||||
restore-keys: |
|
||||
ccache-mac-${{ matrix.compiler }}-
|
||||
- uses: ammaraskar/gcc-problem-matcher@master
|
||||
- name: build and test
|
||||
run: bash ./build-scripts/build.sh
|
||||
|
||||
@@ -12,5 +12,5 @@ jobs:
|
||||
- name: "Validate SUMMARY"
|
||||
uses: CleverRaven/pr-validator@master
|
||||
with:
|
||||
description-regex: '(\n|^)\s*`{0,3}SUMMARY: +(None|((Features|Content|Interface|Mods|Balance|Bugfixes|Performance|Infrastructure|Build|I18N) +".*"))`{0,3}\s*(\n|$)'
|
||||
description-regex: '(\n|^)#### Summary\s+`{0,3}(SUMMARY:\s+)?(None|((Features|Content|Interface|Mods|Balance|Bugfixes|Performance|Infrastructure|Build|I18N) +".*"))`{0,3}\s*(\n|$)'
|
||||
description-regex-flags: 'i'
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
name: "Experimental Release"
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
release:
|
||||
name: Create Release
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Push tag
|
||||
id: tag_version
|
||||
uses: mathieudutour/github-tag-action@v5.5
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
custom_tag: ${{ github.run_number }}
|
||||
tag_prefix: experimental-
|
||||
- name: Create release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ steps.tag_version.outputs.new_tag }}
|
||||
release_name: "Experimental Build #${{ github.run_number }}"
|
||||
body: |
|
||||
These are the outputs for the experimental build of commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})
|
||||
draft: false
|
||||
prerelease: true
|
||||
windows:
|
||||
needs: release
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- name: Windows Tiles x64
|
||||
mxe: x86_64
|
||||
artifact: windows-tiles-x64
|
||||
- name: Windows Tiles x32
|
||||
mxe: i686
|
||||
artifact: windows-tiles-x32
|
||||
name: ${{ matrix.name }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt install astyle autoconf automake autopoint bash bison bzip2 cmake flex gettext git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev libtool libltdl-dev libssl-dev libxml-parser-perl lzip make mingw-w64 openssl p7zip-full patch perl pkg-config python ruby scons sed unzip wget xz-utils g++-multilib libc6-dev-i386 libtool-bin
|
||||
- name: Install MXE
|
||||
run: |
|
||||
sudo apt install software-properties-common lsb-release
|
||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 86B72ED9
|
||||
sudo add-apt-repository "deb [arch=amd64] https://pkg.mxe.cc/repos/apt `lsb_release -sc` main"
|
||||
sudo apt update
|
||||
sudo apt install mxe-{i686,x86-64}-w64-mingw32.static-{sdl2,sdl2-ttf,sdl2-image,sdl2-mixer,gettext}
|
||||
- name: Build CDDA
|
||||
env:
|
||||
PLATFORM: /usr/lib/mxe/usr/bin/${{ matrix.mxe }}-w64-mingw32.static-
|
||||
run: |
|
||||
cat >VERSION.txt <<EOL
|
||||
build type: ${{ matrix.artifact }}
|
||||
build number: ${{ github.run_number }}
|
||||
commit sha: ${{ github.sha }}
|
||||
commit url: https://github.com/${{ github.repository }}/commit/${{ github.sha }}
|
||||
EOL
|
||||
|
||||
make -j$((`nproc`+0)) CROSS="${PLATFORM}" TILES=1 SOUND=1 RELEASE=1 LOCALIZE=1 BACKTRACE=0 PCH=0 bindist
|
||||
mv cataclysmdda-0.E.zip cdda-${{ matrix.artifact }}-b${{ github.run_number }}.zip
|
||||
- name: Upload release asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ needs.release.outputs.upload_url }}
|
||||
asset_path: cdda-${{ matrix.artifact }}-b${{ github.run_number }}.zip
|
||||
asset_name: cdda-${{ matrix.artifact }}-b${{ github.run_number }}.zip
|
||||
asset_content_type: application/zip
|
||||
@@ -0,0 +1,25 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- 'doc/JSON_INFO.md'
|
||||
name: TOC Generator
|
||||
jobs:
|
||||
generateTOC:
|
||||
if: github.repository == 'CleverRaven/Cataclysm-DDA'
|
||||
name: Update the table of contents
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: npx doctoc doc/JSON_INFO.md --github
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v3
|
||||
with:
|
||||
commit-message: Update the table of contents
|
||||
branch: update-toc
|
||||
title: Update the table of contents in doc/JSON_INFO.md
|
||||
body: |
|
||||
```sh
|
||||
npx doctoc doc/JSON_INFO.md --github
|
||||
```
|
||||
@@ -1,5 +1,7 @@
|
||||
name: "Push translation template"
|
||||
|
||||
concurrency: push_transifex
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
||||
@@ -134,6 +134,7 @@ Cataclysm.dmg
|
||||
.idea/
|
||||
|
||||
# test executables and generated data
|
||||
/tests/obj
|
||||
/tests/cata_test
|
||||
/tests/line_test
|
||||
/tests/map_iterator_test
|
||||
|
||||
+1
-1
@@ -118,7 +118,7 @@ jobs:
|
||||
directories:
|
||||
- $HOME/.ccache
|
||||
|
||||
- env: CLANG=clang++ NATIVE=osx OSX_MIN=10.13 TILES=1 SOUND=1 BREWGETTEXT=1
|
||||
- env: CLANG=clang++ OSX_MIN=10.13 TILES=1 SOUND=1
|
||||
name: "Xcode 10.2 Make build with Tiles and sound (macOS)"
|
||||
os: osx
|
||||
osx_image: xcode10.2
|
||||
|
||||
+295
-307
@@ -1,82 +1,68 @@
|
||||
# Main project build script
|
||||
cmake_minimum_required(VERSION 3.1.4)
|
||||
|
||||
PROJECT(CataclysmDDA)
|
||||
project(CataclysmDDA)
|
||||
|
||||
SET(CMAKE_MODULE_PATH
|
||||
${CMAKE_MODULE_PATH}
|
||||
${CMAKE_SOURCE_DIR}/CMakeModules
|
||||
)
|
||||
set(CMAKE_MODULE_PATH
|
||||
${CMAKE_MODULE_PATH}
|
||||
${CMAKE_SOURCE_DIR}/CMakeModules)
|
||||
|
||||
SET(CMAKE_TLS_VERIFY ON)
|
||||
set(CMAKE_TLS_VERIFY ON)
|
||||
|
||||
# Build options
|
||||
option(TILES "Build graphical tileset version." "OFF")
|
||||
option(CURSES "Build curses version." "ON")
|
||||
option(SOUND "Support for in-game sounds & music." "OFF")
|
||||
option(BACKTRACE "Support for printing stack backtraces on crash" "ON")
|
||||
option(LIBBACKTRACE "Print backtrace with libbacktrace." "OFF")
|
||||
option(USE_HOME_DIR "Use user's home directory for save files." "ON")
|
||||
option(LOCALIZE "Support for language localizations. Also enable UTF support." "ON")
|
||||
option(LANGUAGES "Compile localization files for specified languages." "")
|
||||
option(DYNAMIC_LINKING "Use dynamic linking. Or use static to remove MinGW dependency instead." "ON")
|
||||
option(JSON_FORMAT "Build JSON formatter" "OFF")
|
||||
option(CATA_CCACHE "Try to find and build with ccache" "ON")
|
||||
option(TILES "Build graphical tileset version." "OFF")
|
||||
option(CURSES "Build curses version." "ON")
|
||||
option(SOUND "Support for in-game sounds & music." "OFF")
|
||||
option(BACKTRACE "Support for printing stack backtraces on crash" "ON")
|
||||
option(LIBBACKTRACE "Print backtrace with libbacktrace." "OFF")
|
||||
option(USE_HOME_DIR "Use user's home directory for save files." "ON")
|
||||
option(LOCALIZE "Support for language localizations. Also enable UTF support." "ON")
|
||||
option(LANGUAGES "Compile localization files for specified languages." "")
|
||||
option(DYNAMIC_LINKING
|
||||
"Use dynamic linking. Or use static to remove MinGW dependency instead." "ON")
|
||||
option(JSON_FORMAT "Build JSON formatter" "OFF")
|
||||
option(CATA_CCACHE "Try to find and build with ccache" "ON")
|
||||
option(CATA_CLANG_TIDY_PLUGIN "Build Cata's custom clang-tidy plugin" "OFF")
|
||||
set(CATA_CLANG_TIDY_INCLUDE_DIR "" CACHE STRING "Path to internal clang-tidy headers required for plugin (e.g. ClangTidy.h)")
|
||||
set(CATA_CLANG_TIDY_INCLUDE_DIR "" CACHE STRING
|
||||
"Path to internal clang-tidy headers required for plugin (e.g. ClangTidy.h)")
|
||||
set(CATA_CHECK_CLANG_TIDY "" CACHE STRING "Path to check_clang_tidy.py for plugin tests")
|
||||
set(GIT_BINARY "" CACHE STRING "Git binary name or path.")
|
||||
set(PREFIX "" CACHE STRING "Location of Data & GFX directories")
|
||||
set(GIT_BINARY "" CACHE STRING "Git binary name or path.")
|
||||
set(PREFIX "" CACHE STRING "Location of Data & GFX directories")
|
||||
|
||||
include(CTest)
|
||||
|
||||
message(STATUS "${PROJECT} build environment --")
|
||||
message(STATUS "Build realm is: ${CMAKE_SYSTEM_NAME} ${CMAKE_HOST_SYSTEM_PROCESSOR}")
|
||||
|
||||
if (NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
endif ()
|
||||
|
||||
add_definitions(-DCMAKE)
|
||||
|
||||
include(GetGitRevisionDescription)
|
||||
git_describe(GIT_VERSION --tags --always --match "[0-9A-Z]*.[0-9A-Z]*")
|
||||
|
||||
MESSAGE("\n * Cataclysm: Dark Days Ahead is a turn-based survival game set in a post-apocalyptic world.")
|
||||
MESSAGE(" _________ __ .__ ")
|
||||
MESSAGE(" \\_ ___ \\ _____ _/ |_ _____ ____ | | ___.__ ______ _____ ")
|
||||
MESSAGE(" / \\ \\/ \\__ \\ \\ __\\\\__ \\ _/ ___\\ | | < | | / ___/ / \\ ")
|
||||
MESSAGE(" \\ \\____ / __ \\_ | | / __ \\_\\ \\___ | |__ \\___ | \\___ \\ | Y Y \\ ")
|
||||
MESSAGE(" \\______ /\(____ / |__| \(____ / \\___ >|____/ / ____|/____ >|__|_| / ")
|
||||
MESSAGE(" \\/ \\/ \\/ \\/ \\/ \\/ \\/ ")
|
||||
MESSAGE(" --= Dark Days Ahead =--")
|
||||
MESSAGE("\n * https://cataclysmdda.org/\n")
|
||||
|
||||
MESSAGE(STATUS "${PROJECT} build environment -- \n")
|
||||
|
||||
MESSAGE(STATUS "Build realm is : ${CMAKE_SYSTEM_NAME} ${CMAKE_HOST_SYSTEM_PROCESSOR}")
|
||||
|
||||
IF(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
ENDIF(NOT CMAKE_BUILD_TYPE)
|
||||
|
||||
ADD_DEFINITIONS(-DCMAKE)
|
||||
|
||||
if (NOT ${GIT_VERSION} MATCHES GIT-NOTFOUND)
|
||||
string(REPLACE "-NOTFOUND" "" GIT_VERSION ${GIT_VERSION})
|
||||
FILE(WRITE ${CMAKE_SOURCE_DIR}/src/version.h
|
||||
"// NOLINT(cata-header-guard)\n\#define VERSION \"${GIT_VERSION}\"\n")
|
||||
MESSAGE(STATUS "${PROJECT_NAME} build version is : ${GIT_VERSION}\n")
|
||||
ADD_DEFINITIONS(-DGIT_VERSION)
|
||||
ELSE (NOT ${GIT_VERSION} MATCHES GIT-NOTFOUND)
|
||||
MESSAGE("")
|
||||
ENDIF(NOT ${GIT_VERSION} MATCHES GIT-NOTFOUND)
|
||||
file(WRITE ${CMAKE_SOURCE_DIR}/src/version.h
|
||||
"// NOLINT(cata-header-guard)\n\#define VERSION \"${GIT_VERSION}\"\n")
|
||||
message(STATUS "${PROJECT_NAME} build version is: ${GIT_VERSION}")
|
||||
add_definitions(-DGIT_VERSION)
|
||||
endif ()
|
||||
|
||||
#OS Check Placeholders. Will be used for BINDIST
|
||||
IF (${CMAKE_SYSTEM_NAME} MATCHES Linux)
|
||||
SET(_OS_LINUX_ 1)
|
||||
ENDIF (${CMAKE_SYSTEM_NAME} MATCHES Linux)
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES Linux)
|
||||
set(_OS_LINUX_ 1)
|
||||
endif ()
|
||||
|
||||
IF (${CMAKE_SYSTEM_NAME} MATCHES FreeBSD)
|
||||
SET(_OS_FREEBSD_ 1)
|
||||
ENDIF (${CMAKE_SYSTEM_NAME} MATCHES FreeBSD)
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES FreeBSD)
|
||||
set(_OS_FREEBSD_ 1)
|
||||
endif ()
|
||||
|
||||
IF(${CMAKE_SYSTEM_NAME} MATCHES Darwin)
|
||||
SET(_OS_DARWIN_ 1)
|
||||
SET(LOCALIZE OFF)
|
||||
MESSAGE(STATUS "Disable internationalization on Darwin as it is not supported")
|
||||
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES Darwin)
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES Darwin)
|
||||
set(_OS_DARWIN_ 1)
|
||||
set(LOCALIZE OFF)
|
||||
message(STATUS "Internationalization on Darwin is not supported")
|
||||
endif ()
|
||||
|
||||
include(CheckCXXCompilerFlag)
|
||||
|
||||
@@ -87,286 +73,291 @@ include(CheckCXXCompilerFlag)
|
||||
#SET(CMAKE_SHARED_LIBRARY_C_FLAGS "${CMAKE_SHARED_LIBRARY_C_FLAGS} -m32")
|
||||
#SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "${CMAKE_SHARED_LIBRARY_CXX_FLAGS} -m32")
|
||||
|
||||
IF (NOT DYNAMIC_LINKING)
|
||||
SET(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.dll.a")
|
||||
SET(BUILD_SHARED_LIBRARIES OFF)
|
||||
if (NOT DYNAMIC_LINKING)
|
||||
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.dll.a")
|
||||
set(BUILD_SHARED_LIBRARIES OFF)
|
||||
check_cxx_compiler_flag (-static HAVE_STATIC_FLAG)
|
||||
IF(HAVE_STATIC_FLAG)
|
||||
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static")
|
||||
ENDIF(HAVE_STATIC_FLAG)
|
||||
if (HAVE_STATIC_FLAG)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static")
|
||||
endif ()
|
||||
# Workaround for cmake link library guesser
|
||||
SET(CMAKE_EXE_LINK_DYNAMIC_C_FLAGS) # remove -Wl,-Bdynamic
|
||||
SET(CMAKE_EXE_LINK_DYNAMIC_CXX_FLAGS)
|
||||
SET(CMAKE_SHARED_LIBRARY_C_FLAGS) # remove -fPIC
|
||||
SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS)
|
||||
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS) # remove -rdynamic
|
||||
SET(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS)
|
||||
ELSE (NOT DYNAMIC_LINKING)
|
||||
IF(MINGW AND NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
# Avoid depending on MinGW runtime DLLs
|
||||
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libgcc -static-libstdc++")
|
||||
ENDIF(MINGW AND NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
ENDIF (NOT DYNAMIC_LINKING)
|
||||
set(CMAKE_EXE_LINK_DYNAMIC_C_FLAGS) # remove -Wl,-Bdynamic
|
||||
set(CMAKE_EXE_LINK_DYNAMIC_CXX_FLAGS)
|
||||
set(CMAKE_SHARED_LIBRARY_C_FLAGS) # remove -fPIC
|
||||
set(CMAKE_SHARED_LIBRARY_CXX_FLAGS)
|
||||
set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS) # remove -rdynamic
|
||||
set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS)
|
||||
else ()
|
||||
if (MINGW AND NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
# Avoid depending on MinGW runtime DLLs
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libgcc -static-libstdc++")
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
# System specific actions
|
||||
IF (${CMAKE_SYSTEM_NAME} MATCHES Linux OR ${CMAKE_SYSTEM_NAME} MATCHES FreeBSD)
|
||||
IF(NOT DATA_PREFIX)
|
||||
SET( DATA_PREFIX ${CMAKE_INSTALL_PREFIX}/share/cataclysm-dda)
|
||||
ENDIF(NOT DATA_PREFIX)
|
||||
IF(NOT LOCALE_DIR)
|
||||
SET( LOCALE_DIR ${CMAKE_INSTALL_PREFIX}/share/locale)
|
||||
ENDIF(NOT LOCALE_DIR)
|
||||
IF(NOT BIN_PREFIX)
|
||||
SET( BIN_PREFIX ${CMAKE_INSTALL_PREFIX}/bin)
|
||||
ENDIF(NOT BIN_PREFIX)
|
||||
IF(NOT DESKTOP_ENTRY_PATH)
|
||||
SET( DESKTOP_ENTRY_PATH ${CMAKE_INSTALL_PREFIX}/share/applications)
|
||||
ENDIF(NOT DESKTOP_ENTRY_PATH)
|
||||
IF(NOT PIXMAPS_ENTRY_PATH)
|
||||
SET( PIXMAPS_ENTRY_PATH ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor)
|
||||
ENDIF(NOT PIXMAPS_ENTRY_PATH)
|
||||
IF(NOT PIXMAPS_UNITY_ENTRY_PATH)
|
||||
SET( PIXMAPS_UNITY_ENTRY_PATH ${CMAKE_INSTALL_PREFIX}/share/icons/ubuntu-mono-dark)
|
||||
ENDIF(NOT PIXMAPS_UNITY_ENTRY_PATH)
|
||||
IF(NOT MANPAGE_ENTRY_PATH)
|
||||
SET( MANPAGE_ENTRY_PATH ${CMAKE_INSTALL_PREFIX}/share/man)
|
||||
ENDIF(NOT MANPAGE_ENTRY_PATH)
|
||||
ENDIF (${CMAKE_SYSTEM_NAME} MATCHES Linux OR ${CMAKE_SYSTEM_NAME} MATCHES FreeBSD)
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES Linux OR ${CMAKE_SYSTEM_NAME} MATCHES FreeBSD)
|
||||
if (NOT DATA_PREFIX)
|
||||
set(DATA_PREFIX ${CMAKE_INSTALL_PREFIX}/share/cataclysm-dda)
|
||||
endif ()
|
||||
if (NOT LOCALE_DIR)
|
||||
set(LOCALE_DIR ${CMAKE_INSTALL_PREFIX}/share/locale)
|
||||
endif ()
|
||||
if (NOT BIN_PREFIX)
|
||||
set(BIN_PREFIX ${CMAKE_INSTALL_PREFIX}/bin)
|
||||
endif ()
|
||||
if (NOT DESKTOP_ENTRY_PATH)
|
||||
set(DESKTOP_ENTRY_PATH ${CMAKE_INSTALL_PREFIX}/share/applications)
|
||||
endif ()
|
||||
if (NOT PIXMAPS_ENTRY_PATH)
|
||||
set(PIXMAPS_ENTRY_PATH ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor)
|
||||
endif ()
|
||||
if (NOT PIXMAPS_UNITY_ENTRY_PATH)
|
||||
set(PIXMAPS_UNITY_ENTRY_PATH ${CMAKE_INSTALL_PREFIX}/share/icons/ubuntu-mono-dark)
|
||||
endif ()
|
||||
if (NOT MANPAGE_ENTRY_PATH)
|
||||
set(MANPAGE_ENTRY_PATH ${CMAKE_INSTALL_PREFIX}/share/man)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
IF (${CMAKE_SYSTEM_NAME} MATCHES Windows)
|
||||
IF(NOT DATA_PREFIX)
|
||||
SET(DATA_PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||
ENDIF(NOT DATA_PREFIX)
|
||||
IF(NOT LOCALE_DIR)
|
||||
SET(LOCALE_DIR ${CMAKE_INSTALL_PREFIX})
|
||||
ENDIF(NOT LOCALE_DIR)
|
||||
IF(NOT BIN_PREFIX)
|
||||
SET(BIN_PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||
ENDIF(NOT BIN_PREFIX)
|
||||
ENDIF (${CMAKE_SYSTEM_NAME} MATCHES Windows)
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES Windows)
|
||||
if (NOT DATA_PREFIX)
|
||||
set(DATA_PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||
endif ()
|
||||
if (NOT LOCALE_DIR)
|
||||
set(LOCALE_DIR ${CMAKE_INSTALL_PREFIX})
|
||||
endif ()
|
||||
if (NOT BIN_PREFIX)
|
||||
set(BIN_PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
|
||||
MESSAGE(STATUS "${PROJECT_NAME} build options --\n")
|
||||
message(STATUS "${PROJECT_NAME} build options --")
|
||||
|
||||
# Preset variables
|
||||
IF(NOT LANGUAGES)
|
||||
if (NOT LANGUAGES)
|
||||
# English is included to workaround a libintl bug that affects performance
|
||||
# on MinGW targets. See lang/CMakeList.txt for more information.
|
||||
SET (LANGUAGES en de es_AR es_ES fr it_IT ja ko pt_BR ru zh_CN zh_TW)
|
||||
ENDIF(NOT LANGUAGES)
|
||||
set(LANGUAGES en de es_AR es_ES fr it_IT ja ko pt_BR ru zh_CN zh_TW)
|
||||
endif ()
|
||||
|
||||
IF (GIT_BINARY)
|
||||
SET(GIT_EXECUTABLE ${GIT_BINARY})
|
||||
ELSE (GIT_BINARY)
|
||||
FIND_PACKAGE(Git)
|
||||
IF (NOT GIT_FOUND)
|
||||
MESSAGE(WARNING "Git binary not found. Build version will be set to NULL. Install Git package or use -DGIT_BINARY to set path to git binary.")
|
||||
ENDIF (NOT GIT_FOUND)
|
||||
ENDIF (GIT_BINARY)
|
||||
if (GIT_BINARY)
|
||||
set(GIT_EXECUTABLE ${GIT_BINARY})
|
||||
else ()
|
||||
find_package(Git)
|
||||
if (NOT GIT_FOUND)
|
||||
message(WARNING
|
||||
"Git binary not found. Build version will be set to NULL. \
|
||||
Install Git package or use -DGIT_BINARY to set path to git binary.")
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
IF (PREFIX)
|
||||
ADD_DEFINITIONS(-DPREFIX=${PREFIX})
|
||||
ENDIF (PREFIX)
|
||||
if (PREFIX)
|
||||
add_definitions(-DPREFIX=${PREFIX})
|
||||
endif ()
|
||||
|
||||
# Can't compile curses and tiles build's at same time
|
||||
IF(TILES)
|
||||
SET(CURSES OFF)
|
||||
ENDIF(TILES)
|
||||
if (TILES)
|
||||
set(CURSES OFF)
|
||||
endif ()
|
||||
|
||||
# Set build types and display info
|
||||
IF(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
MESSAGE("\n")
|
||||
MESSAGE(STATUS "Build ${PROJECT} in development mode --\n")
|
||||
MESSAGE(STATUS "Binaries will be located in: " ${CMAKE_SOURCE_DIR})
|
||||
SET(CMAKE_VERBOSE_MAKEFILE ON)
|
||||
if (CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
message(STATUS "Build ${PROJECT} in development mode --")
|
||||
message(STATUS "Binaries will be located in: " ${CMAKE_SOURCE_DIR})
|
||||
set(CMAKE_VERBOSE_MAKEFILE ON)
|
||||
# Since CataclysmDDA does not respect PREFIX for development builds
|
||||
# and has funny path handlers, we should create resulting Binaries
|
||||
# in the source directory
|
||||
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY
|
||||
${CMAKE_SOURCE_DIR}
|
||||
CACHE PATH "Single Directory for all Executables."
|
||||
)
|
||||
SET(BIN_PREFIX ${CMAKE_SOURCE_DIR})
|
||||
ELSE (CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
MESSAGE(STATUS "CMAKE_INSTALL_PREFIX : ${CMAKE_INSTALL_PREFIX}")
|
||||
MESSAGE(STATUS "BIN_PREFIX : ${BIN_PREFIX}")
|
||||
MESSAGE(STATUS "DATA_PREFIX : ${DATA_PREFIX}")
|
||||
IF(LOCALIZE)
|
||||
MESSAGE(STATUS "LOCALE_PATH : ${LOCALE_DIR}")
|
||||
ENDIF(LOCALIZE)
|
||||
MESSAGE(STATUS "DESKTOP_ENTRY_PATH : ${DESKTOP_ENTRY_PATH}")
|
||||
MESSAGE(STATUS "PIXMAPS_ENTRY_PATH : ${PIXMAPS_ENTRY_PATH}")
|
||||
MESSAGE(STATUS "PIXMAPS_UNITY_ENTRY_PATH : ${PIXMAPS_UNITY_ENTRY_PATH}")
|
||||
MESSAGE(STATUS "MANPAGE_ENTRY_PATH : ${MANPAGE_ENTRY_PATH}\n")
|
||||
ADD_DEFINITIONS(-DRELEASE)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR} CACHE PATH
|
||||
"Single Directory for all Executables.")
|
||||
set(BIN_PREFIX ${CMAKE_SOURCE_DIR})
|
||||
else ()
|
||||
message(STATUS "CMAKE_INSTALL_PREFIX : ${CMAKE_INSTALL_PREFIX}")
|
||||
message(STATUS "BIN_PREFIX : ${BIN_PREFIX}")
|
||||
message(STATUS "DATA_PREFIX : ${DATA_PREFIX}")
|
||||
if (LOCALIZE)
|
||||
message(STATUS "LOCALE_PATH : ${LOCALE_DIR}")
|
||||
endif ()
|
||||
message(STATUS "DESKTOP_ENTRY_PATH : ${DESKTOP_ENTRY_PATH}")
|
||||
message(STATUS "PIXMAPS_ENTRY_PATH : ${PIXMAPS_ENTRY_PATH}")
|
||||
message(STATUS "PIXMAPS_UNITY_ENTRY_PATH : ${PIXMAPS_UNITY_ENTRY_PATH}")
|
||||
message(STATUS "MANPAGE_ENTRY_PATH : ${MANPAGE_ENTRY_PATH}")
|
||||
add_definitions(-DRELEASE)
|
||||
# Use PREFIX as storage of data,gfx, etc.. Useful only on *nix OS.
|
||||
IF (PREFIX AND NOT WIN32)
|
||||
ADD_DEFINITIONS(-DDATA_DIR_PREFIX)
|
||||
ENDIF (PREFIX AND NOT WIN32)
|
||||
ENDIF (CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
if (PREFIX AND NOT WIN32)
|
||||
add_definitions(-DDATA_DIR_PREFIX)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
MESSAGE(STATUS "GIT_BINARY : ${GIT_EXECUTABLE}")
|
||||
MESSAGE(STATUS "DYNAMIC_LINKING : ${DYNAMIC_LINKING}")
|
||||
MESSAGE(STATUS "TILES : ${TILES}")
|
||||
MESSAGE(STATUS "CURSES : ${CURSES}")
|
||||
MESSAGE(STATUS "SOUND : ${SOUND}")
|
||||
MESSAGE(STATUS "BACKTRACE : ${BACKTRACE}")
|
||||
MESSAGE(STATUS "LOCALIZE : ${LOCALIZE}")
|
||||
MESSAGE(STATUS "USE_HOME_DIR : ${USE_HOME_DIR}\n")
|
||||
message(STATUS "GIT_BINARY : ${GIT_EXECUTABLE}")
|
||||
message(STATUS "DYNAMIC_LINKING : ${DYNAMIC_LINKING}")
|
||||
message(STATUS "TILES : ${TILES}")
|
||||
message(STATUS "CURSES : ${CURSES}")
|
||||
message(STATUS "SOUND : ${SOUND}")
|
||||
message(STATUS "BACKTRACE : ${BACKTRACE}")
|
||||
message(STATUS "LOCALIZE : ${LOCALIZE}")
|
||||
message(STATUS "USE_HOME_DIR : ${USE_HOME_DIR}")
|
||||
message(STATUS "LANGUAGES : ${LANGUAGES}")
|
||||
message(STATUS "See doc/COMPILING/COMPILING-CMAKE.md for details and more info --")
|
||||
|
||||
MESSAGE(STATUS "LANGUAGES : ${LANGUAGES}\n")
|
||||
|
||||
MESSAGE(STATUS "See INSTALL file for details and more info --\n")
|
||||
|
||||
IF(MSVC)
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
add_definitions(-D_AMD64_)
|
||||
else()
|
||||
add_definitions(-D_X86_)
|
||||
endif()
|
||||
ELSE()
|
||||
SET(CATA_WARNINGS
|
||||
"-Werror -Wall -Wextra \
|
||||
-Wformat-signedness \
|
||||
-Wlogical-op \
|
||||
-Wmissing-declarations \
|
||||
-Wmissing-noreturn \
|
||||
-Wnon-virtual-dtor \
|
||||
-Wold-style-cast \
|
||||
-Woverloaded-virtual \
|
||||
-Wpedantic \
|
||||
-Wsuggest-override \
|
||||
-Wunused-macros \
|
||||
-Wzero-as-null-pointer-constant \
|
||||
-Wno-unknown-warning-option")
|
||||
IF (NOT ${CMAKE_SYSTEM_NAME} MATCHES Windows)
|
||||
SET(CATA_WARNINGS "${CATA_WARNINGS} -Wredundant-decls")
|
||||
ENDIF()
|
||||
SET(CATA_OTHER_FLAGS "${CATA_OTHER_FLAGS} -fsigned-char")
|
||||
if (MSVC)
|
||||
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
add_definitions(-D_AMD64_)
|
||||
else ()
|
||||
add_definitions(-D_X86_)
|
||||
endif ()
|
||||
else (MSVC)
|
||||
set(CATA_WARNINGS
|
||||
"-Werror -Wall -Wextra \
|
||||
-Wformat-signedness \
|
||||
-Wlogical-op \
|
||||
-Wmissing-declarations \
|
||||
-Wmissing-noreturn \
|
||||
-Wnon-virtual-dtor \
|
||||
-Wold-style-cast \
|
||||
-Woverloaded-virtual \
|
||||
-Wpedantic \
|
||||
-Wsuggest-override \
|
||||
-Wunused-macros \
|
||||
-Wzero-as-null-pointer-constant \
|
||||
-Wno-unknown-warning-option")
|
||||
if (NOT ${CMAKE_SYSTEM_NAME} MATCHES Windows)
|
||||
set(CATA_WARNINGS "${CATA_WARNINGS} -Wredundant-decls")
|
||||
endif ()
|
||||
set(CATA_OTHER_FLAGS "${CATA_OTHER_FLAGS} -fsigned-char")
|
||||
# Compact the whitespace in the warning string
|
||||
string(REGEX REPLACE "[\t ]+" " " CATA_WARNINGS "${CATA_WARNINGS}")
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CATA_WARNINGS} ${CATA_OTHER_FLAGS}")
|
||||
SET(CMAKE_CXX_FLAGS_DEBUG "-Og -g")
|
||||
ENDIF()
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CATA_WARNINGS} ${CATA_OTHER_FLAGS}")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-Og -g")
|
||||
endif ()
|
||||
|
||||
SET(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
|
||||
# Force out-of-source build
|
||||
IF(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
|
||||
MESSAGE(FATAL_ERROR
|
||||
"This project requires an out of source build. Remove the file 'CMakeCache.txt' found in this directory before continuing, create a separate build
|
||||
directory and run 'cmake [options] <srcs>' from there.\nSee INSTALL file for details and more info\n"
|
||||
)
|
||||
ENDIF(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
|
||||
if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
|
||||
message(FATAL_ERROR
|
||||
"This project requires an out of source build. \
|
||||
Remove the file 'CMakeCache.txt' found in this directory before continuing; \
|
||||
create a separate build directory and run 'cmake [options] <srcs>' from there. \
|
||||
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
|
||||
endif ()
|
||||
|
||||
#SET(THREADS_USE_PTHREADS_WIN32 True)
|
||||
SET(CMAKE_THREAD_PREFER_PTHREAD True)
|
||||
FIND_PACKAGE(Threads REQUIRED)
|
||||
#set(THREADS_USE_PTHREADS_WIN32 True)
|
||||
set(CMAKE_THREAD_PREFER_PTHREAD True)
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
# Check for build types and libraries
|
||||
IF(TILES)
|
||||
if (TILES)
|
||||
# Find SDL, SDL_ttf & SDL_image for graphical install
|
||||
MESSAGE(STATUS "Searching for SDL2 library --")
|
||||
FIND_PACKAGE(SDL2)
|
||||
IF(NOT SDL2_FOUND)
|
||||
MESSAGE(FATAL_ERROR
|
||||
"This project requires SDL2 to be installed to be compiled in graphical mode. Please install the SDL2 development libraries, or try compiling
|
||||
without the -DTILES=1 for a text only compilation.\nSee INSTALL file for details and more info\n"
|
||||
)
|
||||
ENDIF(NOT SDL2_FOUND)
|
||||
message(STATUS "Searching for SDL2 library --")
|
||||
find_package(SDL2)
|
||||
if (NOT SDL2_FOUND)
|
||||
message(FATAL_ERROR
|
||||
"This project requires SDL2 to be installed to compile in graphical mode. \
|
||||
Please install the SDL2 development libraries, \
|
||||
or try compiling without -DTILES=1 for a text-only compilation. \
|
||||
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
|
||||
endif ()
|
||||
|
||||
IF (NOT DYNAMIC_LINKING)
|
||||
# SDL, SDL_Image, SDL_ttf deps are required for static build
|
||||
MESSAGE(STATUS "Searching for SDL deps libraries --")
|
||||
FIND_PACKAGE(Freetype REQUIRED)
|
||||
FIND_PACKAGE(PNG REQUIRED)
|
||||
FIND_PACKAGE(JPEG REQUIRED)
|
||||
FIND_PACKAGE(ZLIB REQUIRED)
|
||||
FIND_PACKAGE(BZip2 REQUIRED)
|
||||
ENDIF (NOT DYNAMIC_LINKING)
|
||||
if (NOT DYNAMIC_LINKING)
|
||||
# SDL, SDL_Image, SDL_ttf deps are required for static build
|
||||
message(STATUS "Searching for SDL deps libraries --")
|
||||
find_package(Freetype REQUIRED)
|
||||
find_package(PNG REQUIRED)
|
||||
find_package(JPEG REQUIRED)
|
||||
find_package(ZLIB REQUIRED)
|
||||
find_package(BZip2 REQUIRED)
|
||||
endif ()
|
||||
|
||||
MESSAGE(STATUS "Searching for SDL2_TTF library --")
|
||||
FIND_PACKAGE(SDL2_ttf)
|
||||
IF(NOT SDL2_TTF_FOUND)
|
||||
MESSAGE(FATAL_ERROR
|
||||
"This project requires SDL2_ttf to be installed to be compiled in graphical mode. Please install the SDL2_ttf development libraries, or try
|
||||
compiling without the -DTILES=1 for a text only compilation.\nSee INSTALL file for details and moreinfo\n"
|
||||
)
|
||||
ENDIF(NOT SDL2_TTF_FOUND)
|
||||
message(STATUS "Searching for SDL2_TTF library --")
|
||||
find_package(SDL2_ttf)
|
||||
if (NOT SDL2_TTF_FOUND)
|
||||
message(FATAL_ERROR
|
||||
"This project requires SDL2_ttf to be installed to compile in graphical mode. \
|
||||
Please install the SDL2_ttf development libraries, \
|
||||
or try compiling without -DTILES=1 for a text-only compilation. \
|
||||
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
|
||||
endif ()
|
||||
|
||||
MESSAGE(STATUS "Searching for SDL2_image library --\n")
|
||||
FIND_PACKAGE(SDL2_image)
|
||||
IF(NOT SDL2_IMAGE_FOUND)
|
||||
MESSAGE(FATAL_ERROR
|
||||
"This project requires SDL2_image to be installed to be compiled in graphical mode. Please install the SDL2_image development libraries, or try
|
||||
compiling without the -DTILES=1 for a text only compilation.\nSee INSTALL file for details and more info\n"
|
||||
)
|
||||
ENDIF(NOT SDL2_IMAGE_FOUND)
|
||||
ADD_DEFINITIONS(-DTILES)
|
||||
ENDIF(TILES)
|
||||
message(STATUS "Searching for SDL2_image library --")
|
||||
find_package(SDL2_image)
|
||||
if (NOT SDL2_IMAGE_FOUND)
|
||||
message(FATAL_ERROR
|
||||
"This project requires SDL2_image to be installed to compile in graphical mode. \
|
||||
Please install the SDL2_image development libraries, \
|
||||
or try compiling without -DTILES=1 for a text-only compilation. \
|
||||
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
|
||||
endif ()
|
||||
add_definitions(-DTILES)
|
||||
endif ()
|
||||
|
||||
IF(CURSES)
|
||||
if (CURSES)
|
||||
# Find the ncurses library for a text based compile
|
||||
MESSAGE(STATUS "Searching for Curses library --\n")
|
||||
SET(CURSES_NEED_NCURSES TRUE)
|
||||
SET(CURSES_NEED_WIDE TRUE)
|
||||
FIND_PACKAGE(Curses)
|
||||
IF(NOT CURSES_FOUND)
|
||||
MESSAGE(FATAL_ERROR
|
||||
"This project requires ncurses to be installed to be compiled in text only mode. Please install the ncurses development libraries, or try compiling
|
||||
with the -DTILES=1 for a graphical compilation.\nSee INSTALL file for details and more info\n"
|
||||
)
|
||||
ENDIF(NOT CURSES_FOUND)
|
||||
ENDIF(CURSES)
|
||||
message(STATUS "Searching for Curses library --")
|
||||
set(CURSES_NEED_NCURSES TRUE)
|
||||
set(CURSES_NEED_WIDE TRUE)
|
||||
find_package(Curses)
|
||||
if (NOT CURSES_FOUND)
|
||||
message(FATAL_ERROR
|
||||
"This project requires ncurses to be installed to be compiled in text-only mode. \
|
||||
Please install the ncurses development libraries, \
|
||||
or try compiling with -DTILES=1 for a graphical compilation. \
|
||||
See doc/COMPILING/COMPILING-CMAKE.md for details and more info")
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
IF(SOUND)
|
||||
if (SOUND)
|
||||
# You need TILES to be able to use SOUND
|
||||
IF(NOT TILES)
|
||||
MESSAGE(FATAL_ERROR
|
||||
"You must enable graphical support with -DTILES=1 to be able to enable sound support.\nSee INSTALL file for details and more info\n"
|
||||
)
|
||||
ENDIF(NOT TILES)
|
||||
if (NOT TILES)
|
||||
message(FATAL_ERROR
|
||||
"You must enable graphical support with -DTILES=1 \
|
||||
to be able to enable sound support. \
|
||||
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
|
||||
endif ()
|
||||
|
||||
# Sound requires SDL_mixer library
|
||||
MESSAGE(STATUS "Searching for SDL2_mixer library --\n")
|
||||
FIND_PACKAGE(SDL2_mixer)
|
||||
IF(NOT SDL2_MIXER_FOUND)
|
||||
MESSAGE(FATAL_ERROR
|
||||
"You need the SDL2_mixer development library to be able to compile with sound enabled.\nSee INSTALL file for details and more info\n"
|
||||
)
|
||||
ENDIF(NOT SDL2_MIXER_FOUND)
|
||||
ENDIF(SOUND)
|
||||
message(STATUS "Searching for SDL2_mixer library --")
|
||||
find_package(SDL2_mixer)
|
||||
if (NOT SDL2_MIXER_FOUND)
|
||||
message(FATAL_ERROR
|
||||
"You need the SDL2_mixer development library \
|
||||
to be able to compile with sound enabled. \
|
||||
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
IF(BACKTRACE)
|
||||
ADD_DEFINITIONS(-DBACKTRACE)
|
||||
IF(LIBBACKTRACE)
|
||||
ADD_DEFINITIONS(-DLIBBACKTRACE)
|
||||
ENDIF(LIBBACKTRACE)
|
||||
ENDIF(BACKTRACE)
|
||||
if (BACKTRACE)
|
||||
add_definitions(-DBACKTRACE)
|
||||
if (LIBBACKTRACE)
|
||||
add_definitions(-DLIBBACKTRACE)
|
||||
endif (LIBBACKTRACE)
|
||||
endif (BACKTRACE)
|
||||
|
||||
# Ok. Now create build and install recipes
|
||||
IF(LOCALIZE)
|
||||
IF(WIN32)
|
||||
FIND_PACKAGE(Libintl)
|
||||
IF(NOT LIBINTL_FOUND)
|
||||
MESSAGE(FATAL_ERROR
|
||||
"You need the libintl development library to be able to compile with Localize support.\nSee INSTALL file for details and more info\n"
|
||||
)
|
||||
ENDIF(NOT LIBINTL_FOUND)
|
||||
FIND_PACKAGE(Iconv)
|
||||
IF(NOT ICONV_FOUND)
|
||||
MESSAGE(FATAL_ERROr
|
||||
"You need the iconv development library to be able to compile with Localize support.\nSee INSTALL file for details and more info\n"
|
||||
)
|
||||
ENDIF(NOT ICONV_FOUND)
|
||||
ENDIF(WIN32)
|
||||
if (LOCALIZE)
|
||||
if (WIN32)
|
||||
find_package(Libintl)
|
||||
if (NOT LIBINTL_FOUND)
|
||||
message(FATAL_ERROR
|
||||
"You need the libintl development library \
|
||||
to be able to compile with LOCALIZE support. \
|
||||
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
|
||||
endif ()
|
||||
find_package(Iconv)
|
||||
if (NOT ICONV_FOUND)
|
||||
message(FATAL_ERROR
|
||||
"You need the iconv development library \
|
||||
to be able to compile with LOCALIZE support. \
|
||||
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
|
||||
endif ()
|
||||
endif ()
|
||||
add_subdirectory(lang)
|
||||
ADD_DEFINITIONS(-DLOCALIZE)
|
||||
ENDIF(LOCALIZE)
|
||||
add_definitions(-DLOCALIZE)
|
||||
endif ()
|
||||
|
||||
IF(USE_HOME_DIR)
|
||||
ADD_DEFINITIONS(-DUSE_HOME_DIR)
|
||||
ENDIF(USE_HOME_DIR)
|
||||
if (USE_HOME_DIR)
|
||||
add_definitions(-DUSE_HOME_DIR)
|
||||
endif ()
|
||||
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(data)
|
||||
@@ -381,21 +372,18 @@ if (CATA_CLANG_TIDY_PLUGIN)
|
||||
add_subdirectory(tools/clang-tidy-plugin)
|
||||
endif()
|
||||
|
||||
CONFIGURE_FILE(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
|
||||
IMMEDIATE @ONLY
|
||||
)
|
||||
configure_file(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
|
||||
IMMEDIATE @ONLY)
|
||||
|
||||
ADD_CUSTOM_TARGET(uninstall
|
||||
"${CMAKE_COMMAND}"
|
||||
-P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
|
||||
)
|
||||
add_custom_target(uninstall
|
||||
"${CMAKE_COMMAND}"
|
||||
-P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
|
||||
|
||||
find_program(CCACHE_FOUND ccache)
|
||||
if(CCACHE_FOUND AND CATA_CCACHE)
|
||||
if (CCACHE_FOUND AND CATA_CCACHE)
|
||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
|
||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
# vim:noet
|
||||
|
||||
@@ -10,6 +10,8 @@ PLF List and PLF Colony (src/list.h, src/colony.h) are licensed under the zLib l
|
||||
|
||||
getpost (tools/json_tools/format/getpost.h) is licensed under the MIT license, see file for text of license.
|
||||
|
||||
libintl-lite is licensed under Boost Software License 1.0. Visit https://www.boost.org/users/license.html to read the license.
|
||||
|
||||
libbacktrace is licensed under a BSD license (https://github.com/ianlancetaylor/libbacktrace/blob/master/LICENSE). The full license text is as follows:
|
||||
|
||||
# Copyright (C) 2012-2016 Free Software Foundation, Inc.
|
||||
|
||||
@@ -55,6 +55,8 @@
|
||||
# make SANITIZE=address
|
||||
# Change mapsize (reality bubble size)
|
||||
# make MAPSIZE=<size>
|
||||
# Enable the string id debugging helper
|
||||
# make STRING_ID_DEBUG=1
|
||||
# Adjust names of build artifacts (for example to allow easily toggling between build types).
|
||||
# make BUILD_PREFIX="release-"
|
||||
# Generate a build artifact prefix from the other build flags.
|
||||
@@ -186,6 +188,21 @@ ifdef MSYSTEM
|
||||
MSYS2 = 1
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring clang,$(COMPILER)))
|
||||
CLANG = $(COMPILER)
|
||||
endif
|
||||
|
||||
OS = $(shell uname -s)
|
||||
|
||||
ifneq ($(findstring Darwin,$(OS)),)
|
||||
ifndef NATIVE
|
||||
NATIVE = osx
|
||||
endif
|
||||
ifndef CLANG
|
||||
CLANG = 1
|
||||
endif
|
||||
endif
|
||||
|
||||
# Default to disabling clang
|
||||
ifndef CLANG
|
||||
CLANG = 0
|
||||
@@ -235,8 +252,6 @@ ifdef AUTO_BUILD_PREFIX
|
||||
export BUILD_PREFIX
|
||||
endif
|
||||
|
||||
OS = $(shell uname -s)
|
||||
|
||||
# if $(OS) contains 'BSD'
|
||||
ifneq ($(findstring BSD,$(OS)),)
|
||||
BSD = 1
|
||||
@@ -248,6 +263,10 @@ else
|
||||
CCACHEBIN = ccache
|
||||
endif
|
||||
|
||||
ifeq ($(STRING_ID_DEBUG), 1)
|
||||
DEFINES += -DCATA_STRING_ID_DEBUGGING
|
||||
endif
|
||||
|
||||
# This sets CXX and so must be up here
|
||||
ifneq ($(CLANG), 0)
|
||||
# Allow setting specific CLANG version
|
||||
@@ -259,9 +278,18 @@ ifneq ($(CLANG), 0)
|
||||
ifeq ($(NATIVE), osx)
|
||||
USE_LIBCXX = 1
|
||||
endif
|
||||
ifeq ($(BSD), 1)
|
||||
ifndef USE_LIBCXX
|
||||
USE_LIBCXX = 1
|
||||
endif
|
||||
endif
|
||||
ifdef USE_LIBCXX
|
||||
OTHERS += -stdlib=libc++
|
||||
LDFLAGS += -stdlib=libc++
|
||||
else
|
||||
# clang with glibc 2.31+ will cause linking error on math functions
|
||||
# this is a workaround (see https://github.com/google/filament/issues/2146)
|
||||
CXXFLAGS += -fno-builtin
|
||||
endif
|
||||
ifeq ($(CCACHE), 1)
|
||||
CXX = CCACHE_CPP2=1 $(CCACHEBIN) $(CROSS)$(CLANGCMD)
|
||||
@@ -278,9 +306,14 @@ else
|
||||
endif
|
||||
|
||||
# Expand at reference time to avoid recursive reference
|
||||
OS_COMPILER := $(CXX)
|
||||
ifneq ($(COMPILER),)
|
||||
OS_COMPILER := $(COMPILER)
|
||||
OS_LINKER := $(COMPILER)
|
||||
else
|
||||
OS_COMPILER := $(CXX)
|
||||
OS_LINKER := $(CXX)
|
||||
endif
|
||||
# Appears that the default value of $LD is unsuitable on most systems
|
||||
OS_LINKER := $(CXX)
|
||||
ifeq ($(CCACHE), 1)
|
||||
CXX = $(CCACHEBIN) $(CROSS)$(OS_COMPILER)
|
||||
LD = $(CCACHEBIN) $(CROSS)$(OS_LINKER)
|
||||
@@ -299,7 +332,7 @@ CXXFLAGS += -ffast-math
|
||||
LDFLAGS += $(PROFILE)
|
||||
|
||||
ifneq ($(SANITIZE),)
|
||||
SANITIZE_FLAGS := -fsanitize=$(SANITIZE) -fno-sanitize-recover=all
|
||||
SANITIZE_FLAGS := -fsanitize=$(SANITIZE) -fno-sanitize-recover=all -fno-omit-frame-pointer
|
||||
CXXFLAGS += $(SANITIZE_FLAGS)
|
||||
LDFLAGS += $(SANITIZE_FLAGS)
|
||||
endif
|
||||
@@ -346,6 +379,7 @@ ifeq ($(RELEASE), 1)
|
||||
LTOFLAGS += -flto=jobserver -flto-odr-type-merging
|
||||
endif
|
||||
endif
|
||||
LTOFLAGS += -Wodr
|
||||
CXXFLAGS += $(LTOFLAGS)
|
||||
|
||||
# OTHERS += -mmmx -m3dnow -msse -msse2 -msse3 -mfpmath=sse -mtune=native
|
||||
@@ -450,7 +484,7 @@ ifeq ($(NATIVE), linux64)
|
||||
TARGETSYSTEM=LINUX
|
||||
ifdef GOLD
|
||||
CXXFLAGS += -fuse-ld=gold
|
||||
LDFLAGS += -fuse-ld=gold
|
||||
LDFLAGS += -fuse-ld=gold -Wl,--detect-odr-violations
|
||||
endif
|
||||
else
|
||||
# Linux 32-bit
|
||||
@@ -460,17 +494,29 @@ else
|
||||
TARGETSYSTEM=LINUX
|
||||
ifdef GOLD
|
||||
CXXFLAGS += -fuse-ld=gold
|
||||
LDFLAGS += -fuse-ld=gold
|
||||
LDFLAGS += -fuse-ld=gold -Wl,--detect-odr-violations
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# OSX
|
||||
ifeq ($(NATIVE), osx)
|
||||
ifneq ($(CLANG), 0)
|
||||
OSX_MIN = 10.7
|
||||
else
|
||||
OSX_MIN = 10.5
|
||||
ifeq ($(OSX_MIN),)
|
||||
ifneq ($(findstring Darwin,$(OS)),)
|
||||
OSX_MIN = $(shell sw_vers -productVersion | awk -F '.' '{print $$1 "." $$2}')
|
||||
else
|
||||
ifneq ($(CLANG), 0)
|
||||
ifneq ($(SANITIZE),)
|
||||
# sanitizers does not function properly (e.g. false positive errors) if OSX_MIN < 10.9
|
||||
# https://github.com/llvm/llvm-project/blob/release/11.x/compiler-rt/CMakeLists.txt#L183
|
||||
OSX_MIN = 10.9
|
||||
else
|
||||
OSX_MIN = 10.7
|
||||
endif
|
||||
else
|
||||
OSX_MIN = 10.5
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
DEFINES += -DMACOSX
|
||||
CXXFLAGS += -mmacosx-version-min=$(OSX_MIN)
|
||||
@@ -495,15 +541,15 @@ ifeq ($(NATIVE), osx)
|
||||
LDFLAGS += -L$(LIBSDIR)/gettext/lib
|
||||
CXXFLAGS += -I$(LIBSDIR)/gettext/include
|
||||
endif
|
||||
# recent versions of brew will not allow you to link
|
||||
ifeq ($(BREWGETTEXT), 1)
|
||||
# native ARM Homebrew is installed to /opt/homebrew
|
||||
ifneq ("$(wildcard /opt/homebrew)", "")
|
||||
LDFLAGS += -L/opt/homebrew/lib
|
||||
CXXFLAGS += -I/opt/homebrew/include
|
||||
else
|
||||
LDFLAGS += -L/usr/local/opt/gettext/lib
|
||||
CXXFLAGS += -I/usr/local/opt/gettext/include
|
||||
# link to gettext from Homebrew if it exists
|
||||
# Homebrew may be installed in /usr/local or /opt/homebrew
|
||||
ifneq ("$(wildcard /usr/local/opt/gettext)", "")
|
||||
LDFLAGS += -L/usr/local/opt/gettext/lib
|
||||
CXXFLAGS += -I/usr/local/opt/gettext/include
|
||||
else
|
||||
ifneq ("$(wildcard /opt/homebrew/opt/gettext)", "")
|
||||
LDFLAGS += -L/opt/homebrew/opt/gettext/lib
|
||||
CXXFLAGS += -I/opt/homebrew/opt/gettext/include
|
||||
endif
|
||||
endif
|
||||
ifeq ($(MACPORTS), 1)
|
||||
@@ -754,6 +800,10 @@ ifeq ($(BSD), 1)
|
||||
ifeq ($(LOCALIZE),1)
|
||||
LDFLAGS += -lintl -liconv
|
||||
endif
|
||||
|
||||
# libexecinfo, libintl and libiconv may be located in /usr/local on BSD
|
||||
CXXFLAGS += -I/usr/local/include
|
||||
LDFLAGS += -L/usr/local/lib
|
||||
endif
|
||||
|
||||
# Global settings for Windows targets (at end)
|
||||
@@ -878,7 +928,7 @@ ifeq ($(LTO), 1)
|
||||
endif
|
||||
endif
|
||||
|
||||
all: version $(CHECKS) $(TARGET) $(L10N) $(TESTS) validate-pr
|
||||
all: version $(CHECKS) $(TARGET) $(L10N) $(TESTS)
|
||||
@
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
@@ -900,7 +950,7 @@ $(BUILD_PREFIX)$(TARGET_NAME).a: $(OBJS)
|
||||
.PHONY: version
|
||||
version:
|
||||
@( VERSION_STRING=$(VERSION) ; \
|
||||
[ -e ".git" ] && GITVERSION=$$( git describe --tags --always --dirty --match "[0-9A-Z]*.[0-9A-Z]*" ) && VERSION_STRING=$$GITVERSION ; \
|
||||
[ -e ".git" ] && GITVERSION=$$( git describe --tags --always --match "[0-9A-Z]*.[0-9A-Z]*" ) && DIRTYFLAG=$$( [ -z "$$(git diff --numstat | grep -v lang/po/)" ] || echo "-dirty") && VERSION_STRING=$$GITVERSION$$DIRTYFLAG ; \
|
||||
[ -e "$(SRC_DIR)/version.h" ] && OLDVERSION=$$(grep VERSION $(SRC_DIR)/version.h|cut -d '"' -f2) ; \
|
||||
if [ "x$$VERSION_STRING" != "x$$OLDVERSION" ]; then printf '// NOLINT(cata-header-guard)\n#define VERSION "%s"\n' "$$VERSION_STRING" | tee $(SRC_DIR)/version.h ; fi \
|
||||
)
|
||||
@@ -927,16 +977,13 @@ $(CHKJSON_BIN): $(CHKJSON_SOURCES)
|
||||
json-check: $(CHKJSON_BIN)
|
||||
./$(CHKJSON_BIN)
|
||||
|
||||
clean: clean-tests clean-object_creator
|
||||
clean: clean-tests clean-object_creator clean-pch
|
||||
rm -rf *$(TARGET_NAME) *$(TILES_TARGET_NAME)
|
||||
rm -rf *$(TILES_TARGET_NAME).exe *$(TARGET_NAME).exe *$(TARGET_NAME).a
|
||||
rm -rf *obj *objwin
|
||||
rm -rf *$(BINDIST_DIR) *cataclysmdda-*.tar.gz *cataclysmdda-*.zip
|
||||
rm -f $(SRC_DIR)/version.h
|
||||
rm -f $(CHKJSON_BIN)
|
||||
rm -f pch/*pch.hpp.gch
|
||||
rm -f pch/*pch.hpp.pch
|
||||
rm -f pch/*pch.hpp.d
|
||||
|
||||
distclean:
|
||||
rm -rf *$(BINDIST_DIR)
|
||||
@@ -1149,7 +1196,7 @@ endif
|
||||
|
||||
style-json: json_blacklist $(JSON_FORMATTER_BIN)
|
||||
ifndef CROSS
|
||||
find data -name "*.json" -print0 | grep -v -z -F -f json_blacklist | \
|
||||
find data gfx -name "*.json" -print0 | grep -v -z -F -f json_blacklist | \
|
||||
xargs -0 -L 1 $(JSON_FORMATTER_BIN)
|
||||
else
|
||||
@echo Cannot run json formatter in cross compiles.
|
||||
@@ -1180,12 +1227,12 @@ object_creator: version $(BUILD_PREFIX)cataclysm.a
|
||||
clean-object_creator:
|
||||
$(MAKE) -C object_creator clean
|
||||
|
||||
validate-pr:
|
||||
ifneq ($(CYGWIN),1)
|
||||
@build-scripts/validate_pr_in_jenkins
|
||||
endif
|
||||
clean-pch:
|
||||
rm -f pch/*pch.hpp.gch
|
||||
rm -f pch/*pch.hpp.pch
|
||||
rm -f pch/*pch.hpp.d
|
||||
|
||||
.PHONY: tests check ctags etags clean-tests install lint validate-pr
|
||||
.PHONY: tests check ctags etags clean-tests clean-object_creator clean-pch install lint
|
||||
|
||||
-include $(SOURCES:$(SRC_DIR)/%.cpp=$(DEPDIR)/%.P)
|
||||
-include ${OBJS:.o=.d}
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
/app/jni/SDL2_mixer
|
||||
/app/jni/SDL2_ttf
|
||||
/app/jni/libhidapi
|
||||
/app/jni/libintl-lite
|
||||
/app/jni/lua
|
||||
/app/jni/mpg-123
|
||||
/app/build
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,23 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
###########################
|
||||
#
|
||||
# libintl-lite shared library
|
||||
#
|
||||
###########################
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := libintl-lite
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
|
||||
|
||||
LOCAL_SRC_FILES := libintl.cpp
|
||||
|
||||
LOCAL_CPP_FEATURES := exceptions rtti
|
||||
|
||||
LOCAL_LDLIBS := -llog
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
@@ -0,0 +1,23 @@
|
||||
Boost Software License - Version 1.0 - August 17th, 2003
|
||||
|
||||
Permission is hereby granted, free of charge, to any person or organization
|
||||
obtaining a copy of the software and accompanying documentation covered by
|
||||
this license (the "Software") to use, reproduce, display, distribute,
|
||||
execute, and transmit the Software, and to prepare derivative works of the
|
||||
Software, and to permit third-parties to whom the Software is furnished to
|
||||
do so, all subject to the following:
|
||||
|
||||
The copyright notices in the Software and this entire statement, including
|
||||
the above license grant, this restriction and the following disclaimer,
|
||||
must be included in all copies of the Software, in whole or in part, and
|
||||
all derivative works of the Software, unless such copies or derivative
|
||||
works are solely in the form of machine-executable object code generated by
|
||||
a source language processor.
|
||||
|
||||
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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
Boost Software License - Version 1.0 - August 17th, 2003
|
||||
|
||||
Permission is hereby granted, free of charge, to any person or organization
|
||||
obtaining a copy of the software and accompanying documentation covered by
|
||||
this license (the "Software") to use, reproduce, display, distribute,
|
||||
execute, and transmit the Software, and to prepare derivative works of the
|
||||
Software, and to permit third-parties to whom the Software is furnished to
|
||||
do so, all subject to the following:
|
||||
|
||||
The copyright notices in the Software and this entire statement, including
|
||||
the above license grant, this restriction and the following disclaimer,
|
||||
must be included in all copies of the Software, in whole or in part, and
|
||||
all derivative works of the Software, unless such copies or derivative
|
||||
works are solely in the form of machine-executable object code generated by
|
||||
a source language processor.
|
||||
|
||||
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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef LIBINTL_INTERNAL_MESSAGECATALOG_HPP_
|
||||
#define LIBINTL_INTERNAL_MESSAGECATALOG_HPP_
|
||||
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
|
||||
namespace libintllite
|
||||
{
|
||||
|
||||
namespace internal
|
||||
{
|
||||
|
||||
class MessageCatalog
|
||||
{
|
||||
private:
|
||||
MessageCatalog( const MessageCatalog & );
|
||||
MessageCatalog &operator=( const MessageCatalog & );
|
||||
|
||||
uint32_t numberOfStrings;
|
||||
const std::string *sortedOrigStringsArray;
|
||||
const std::string *translatedStringsArray;
|
||||
|
||||
public:
|
||||
// The ownership of these arrays is transfered to the created message
|
||||
// catalog object!
|
||||
// Does not throw exceptions!
|
||||
MessageCatalog( uint32_t numberOfStrings,
|
||||
const std::string *sortedOrigStringsArray,
|
||||
const std::string *translatedStringsArray ) :
|
||||
numberOfStrings( numberOfStrings ),
|
||||
sortedOrigStringsArray( sortedOrigStringsArray ),
|
||||
translatedStringsArray( translatedStringsArray ) {
|
||||
}
|
||||
|
||||
~MessageCatalog() {
|
||||
delete[] this->sortedOrigStringsArray;
|
||||
delete[] this->translatedStringsArray;
|
||||
}
|
||||
|
||||
// Returns NULL, if the original string was not found.
|
||||
// Does not throw exceptions!
|
||||
const std::string *getTranslatedStrPtr( const std::string &orig ) const {
|
||||
const std::string *lastSortedOrigStringEndIter
|
||||
= this->sortedOrigStringsArray + this->numberOfStrings;
|
||||
const std::string *origStrPtr = std::lower_bound( this->sortedOrigStringsArray,
|
||||
lastSortedOrigStringEndIter,
|
||||
orig );
|
||||
#ifdef __ANDROID__
|
||||
// Bugfix from j-jorge's branch of libintl-lite: https://github.com/j-jorge/libintl-lite/commit/40e5a41e9b19e3252d348e0548f85e66fa44a79e
|
||||
// However, libintl-lite does not seem to support plural form strings + translations properly, so I've had to modify the fix further.
|
||||
// Plural strings are stored as "<singular>NUL<plural>NUL<plural>..." for as many plurals are in the language, eg. Russian has 4, French has 2, Japanese has 1.
|
||||
// So we only compare the first singular string as per gettext MO files spec here: https://www.gnu.org/software/gettext/manual/html_node/MO-Files.html
|
||||
// We do this via c_str() which clamps at the first NUL character.
|
||||
// Later on once we have a match, we will dig out the proper plural translation from this megastring.
|
||||
if( !origStrPtr || ( origStrPtr == lastSortedOrigStringEndIter ) ||
|
||||
( std::string( ( *origStrPtr ).c_str() ) != std::string( orig.c_str() ) ) )
|
||||
#else
|
||||
if( !origStrPtr || ( origStrPtr == lastSortedOrigStringEndIter ) )
|
||||
#endif
|
||||
{
|
||||
return NULL;
|
||||
} else {
|
||||
return &this->translatedStringsArray[origStrPtr - this->sortedOrigStringsArray];
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace internal
|
||||
|
||||
} // namespace libintllite
|
||||
|
||||
#endif // LIBINTL_INTERNAL_MESSAGECATALOG_HPP_
|
||||
@@ -0,0 +1,222 @@
|
||||
/*
|
||||
Boost Software License - Version 1.0 - August 17th, 2003
|
||||
|
||||
Permission is hereby granted, free of charge, to any person or organization
|
||||
obtaining a copy of the software and accompanying documentation covered by
|
||||
this license (the "Software") to use, reproduce, display, distribute,
|
||||
execute, and transmit the Software, and to prepare derivative works of the
|
||||
Software, and to permit third-parties to whom the Software is furnished to
|
||||
do so, all subject to the following:
|
||||
|
||||
The copyright notices in the Software and this entire statement, including
|
||||
the above license grant, this restriction and the following disclaimer,
|
||||
must be included in all copies of the Software, in whole or in part, and
|
||||
all derivative works of the Software, unless such copies or derivative
|
||||
works are solely in the form of machine-executable object code generated by
|
||||
a source language processor.
|
||||
|
||||
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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef LIBINTL_INTERNAL_UTIL_HPP_
|
||||
#define LIBINTL_INTERNAL_UTIL_HPP_
|
||||
|
||||
#if defined(WIN32) || defined(WINCE)
|
||||
typedef unsigned int uint32_t;
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
namespace libintllite
|
||||
{
|
||||
|
||||
namespace internal
|
||||
{
|
||||
|
||||
// Helper functions for handling numbers and char array conversions:
|
||||
|
||||
static inline bool isBigEndian()
|
||||
{
|
||||
uint32_t checkNumber = 0x1100;
|
||||
return ( *reinterpret_cast<const char *>( &checkNumber ) != 0 );
|
||||
}
|
||||
|
||||
static inline uint32_t swapUInt32Bytes( uint32_t number )
|
||||
{
|
||||
const char *numberAsCharArray = reinterpret_cast<const char *>( &number );
|
||||
|
||||
uint32_t swappedNumber;
|
||||
char *swappedNumberAsCharArray = reinterpret_cast<char *>( &swappedNumber );
|
||||
swappedNumberAsCharArray[0] = numberAsCharArray[3];
|
||||
swappedNumberAsCharArray[1] = numberAsCharArray[2];
|
||||
swappedNumberAsCharArray[2] = numberAsCharArray[1];
|
||||
swappedNumberAsCharArray[3] = numberAsCharArray[0];
|
||||
return swappedNumber;
|
||||
}
|
||||
|
||||
static inline uint32_t charArrayToUInt32( const char uint32CharArray[4] )
|
||||
{
|
||||
return *reinterpret_cast<const uint32_t *>( uint32CharArray );
|
||||
}
|
||||
|
||||
static inline bool readUIn32FromFile( FILE *fileHandle, bool needsBeToLeConversion,
|
||||
uint32_t &outReadUInt32 )
|
||||
{
|
||||
char uint32CharArray[4];
|
||||
if( ( fread( uint32CharArray, 1, 4, fileHandle ) ) != 4 ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if( needsBeToLeConversion ) {
|
||||
outReadUInt32 = swapUInt32Bytes( charArrayToUInt32( uint32CharArray ) );
|
||||
return true;
|
||||
} else {
|
||||
outReadUInt32 = charArrayToUInt32( uint32CharArray );
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// RAII classes:
|
||||
|
||||
template <class T>
|
||||
class ArrayGurard
|
||||
{
|
||||
private:
|
||||
ArrayGurard( const ArrayGurard & );
|
||||
ArrayGurard &operator=( const ArrayGurard & );
|
||||
|
||||
T *&arrayRef;
|
||||
bool released;
|
||||
|
||||
public:
|
||||
explicit ArrayGurard( T *&arrayRef ) :
|
||||
arrayRef( arrayRef ),
|
||||
released( false ) {
|
||||
}
|
||||
|
||||
~ArrayGurard() {
|
||||
if( !this->released ) {
|
||||
delete[] this->arrayRef;
|
||||
}
|
||||
}
|
||||
|
||||
const T *release() {
|
||||
this->released = true;
|
||||
return this->arrayRef;
|
||||
}
|
||||
};
|
||||
|
||||
class CloseFileHandleGuard
|
||||
{
|
||||
private:
|
||||
CloseFileHandleGuard( const CloseFileHandleGuard & );
|
||||
CloseFileHandleGuard &operator=( const CloseFileHandleGuard & );
|
||||
|
||||
FILE *&fileHandleRef;
|
||||
|
||||
public:
|
||||
explicit CloseFileHandleGuard( FILE *&fileHandleRef ) :
|
||||
fileHandleRef( fileHandleRef ) {
|
||||
}
|
||||
|
||||
~CloseFileHandleGuard() {
|
||||
if( this->fileHandleRef ) {
|
||||
fclose( this->fileHandleRef );
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// Helper function to load strings from a .mo file and stores them in a given array
|
||||
|
||||
static bool loadMoFileStringsToArray( FILE *moFile,
|
||||
uint32_t numberOfStrings,
|
||||
uint32_t stringsTableOffsetFromFileBegin,
|
||||
bool needsBeToLeConversion,
|
||||
std::string *outStringsFromMoFileArray )
|
||||
{
|
||||
if( fseek( moFile, stringsTableOffsetFromFileBegin, SEEK_SET ) != 0 ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
uint32_t *stringsLengthsArray = NULL;
|
||||
ArrayGurard<uint32_t> stringsLengthsArrayGuard( stringsLengthsArray );
|
||||
stringsLengthsArray = new uint32_t[numberOfStrings];
|
||||
if( !stringsLengthsArray ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
uint32_t firstStringOffset;
|
||||
uint32_t lastStringOffset;
|
||||
{
|
||||
uint32_t currentStringLength;
|
||||
uint32_t currentStringOffset;
|
||||
for( uint32_t i = 0; i < numberOfStrings; i++ ) {
|
||||
if( !readUIn32FromFile( moFile, needsBeToLeConversion, currentStringLength ) ) {
|
||||
return false;
|
||||
}
|
||||
if( !readUIn32FromFile( moFile, needsBeToLeConversion, currentStringOffset ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
stringsLengthsArray[i] = currentStringLength;
|
||||
|
||||
if( i == 0 ) {
|
||||
firstStringOffset = currentStringOffset;
|
||||
}
|
||||
|
||||
if( i == ( numberOfStrings - 1 ) ) {
|
||||
lastStringOffset = currentStringOffset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
char *stringCharsArray = NULL;
|
||||
ArrayGurard<char> stringCharsArrayGuard( stringCharsArray );
|
||||
|
||||
uint32_t stringCharsArraySize = lastStringOffset + stringsLengthsArray[numberOfStrings - 1] + 1 -
|
||||
firstStringOffset;
|
||||
if( stringCharsArraySize == 0 ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if( fseek( moFile, firstStringOffset, SEEK_SET ) != 0 ) {
|
||||
return false;
|
||||
}
|
||||
stringCharsArray = new char[stringCharsArraySize];
|
||||
if( !stringCharsArray ) {
|
||||
return false;
|
||||
}
|
||||
if( fread( stringCharsArray, 1, stringCharsArraySize, moFile ) != stringCharsArraySize ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const char *stringsCharsArrayIter = stringCharsArray;
|
||||
for( uint32_t i = 0; i < numberOfStrings; i++ ) {
|
||||
#ifdef __ANDROID__
|
||||
// Bugfix from j-jorge's branch of libintl-lite: https://github.com/j-jorge/libintl-lite/commit/240f38c005ba9afce9c3c3629d624d904cb09403
|
||||
const char *currentStrEndIter = stringsCharsArrayIter + stringsLengthsArray[i];
|
||||
outStringsFromMoFileArray[i] = std::string( stringsCharsArrayIter, currentStrEndIter );
|
||||
stringsCharsArrayIter = currentStrEndIter + 1 /* skip the NULL char at the end of the string */ ;
|
||||
#else
|
||||
const char *currentStrEndIter = stringsCharsArrayIter + stringsLengthsArray[i] + 1;
|
||||
outStringsFromMoFileArray[i] = std::string( stringsCharsArrayIter, currentStrEndIter );
|
||||
stringsCharsArrayIter = currentStrEndIter;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
} // namespace internal
|
||||
|
||||
} // namespace libintllite
|
||||
|
||||
#endif // LIBINTL_INTERNAL_UTIL_HPP_
|
||||
@@ -0,0 +1,360 @@
|
||||
/*
|
||||
Boost Software License - Version 1.0 - August 17th, 2003
|
||||
|
||||
Permission is hereby granted, free of charge, to any person or organization
|
||||
obtaining a copy of the software and accompanying documentation covered by
|
||||
this license (the "Software") to use, reproduce, display, distribute,
|
||||
execute, and transmit the Software, and to prepare derivative works of the
|
||||
Software, and to permit third-parties to whom the Software is furnished to
|
||||
do so, all subject to the following:
|
||||
|
||||
The copyright notices in the Software and this entire statement, including
|
||||
the above license grant, this restriction and the following disclaimer,
|
||||
must be included in all copies of the Software, in whole or in part, and
|
||||
all derivative works of the Software, unless such copies or derivative
|
||||
works are solely in the form of machine-executable object code generated by
|
||||
a source language processor.
|
||||
|
||||
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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "libintl.h"
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(WIN32) || defined(WINCE)
|
||||
typedef unsigned int uint32_t;
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#include <iostream>
|
||||
#endif
|
||||
|
||||
#include "MessageCatalog.hpp"
|
||||
#include "Util.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
using namespace libintllite;
|
||||
using namespace libintllite::internal;
|
||||
|
||||
static char *currentDefaultDomain = NULL;
|
||||
static map<char *, MessageCatalog *> loadedMessageCatalogPtrsByDomain;
|
||||
|
||||
libintl_lite_bool_t loadMessageCatalog( const char *domain, const char *moFilePath )
|
||||
{
|
||||
try {
|
||||
if( sizeof( uint32_t ) != 4 ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
if( !moFilePath || !domain ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
FILE *moFile = NULL;
|
||||
CloseFileHandleGuard closeFileHandleGuard( moFile );
|
||||
moFile = fopen( moFilePath, "rb" );
|
||||
if( !moFile ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
uint32_t magicNumber;
|
||||
if( !readUIn32FromFile( moFile, false, magicNumber ) ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
if( ( magicNumber != 0x950412de ) && ( magicNumber != 0xde120495 ) ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
uint32_t fileFormatRevision;
|
||||
if( !readUIn32FromFile( moFile, false, fileFormatRevision ) ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
if( fileFormatRevision != 0 ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
bool needsBeToLeConversion = isBigEndian();
|
||||
|
||||
uint32_t numberOfStrings;
|
||||
if( !readUIn32FromFile( moFile, needsBeToLeConversion, numberOfStrings ) ) {
|
||||
return false;
|
||||
}
|
||||
if( numberOfStrings == 0 ) {
|
||||
return LIBINTL_LITE_BOOL_TRUE;
|
||||
}
|
||||
|
||||
uint32_t offsetOrigTable;
|
||||
if( !readUIn32FromFile( moFile, needsBeToLeConversion, offsetOrigTable ) ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
uint32_t offsetTransTable;
|
||||
if( !readUIn32FromFile( moFile, needsBeToLeConversion, offsetTransTable ) ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
string *sortedOrigStringsArray = NULL;
|
||||
ArrayGurard<string> sortedOrigStringsArrayGuard( sortedOrigStringsArray );
|
||||
sortedOrigStringsArray = new string[numberOfStrings];
|
||||
if( !sortedOrigStringsArray ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
if( !loadMoFileStringsToArray( moFile,
|
||||
numberOfStrings,
|
||||
offsetOrigTable,
|
||||
needsBeToLeConversion,
|
||||
sortedOrigStringsArray ) ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
string *translatedStringsArray = NULL;
|
||||
ArrayGurard<string> translatedStringsArrayGuard( translatedStringsArray );
|
||||
translatedStringsArray = new string[numberOfStrings];
|
||||
if( !translatedStringsArray ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
if( !loadMoFileStringsToArray( moFile,
|
||||
numberOfStrings,
|
||||
offsetTransTable,
|
||||
needsBeToLeConversion,
|
||||
translatedStringsArray ) ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
MessageCatalog *newMessageCatalogPtr = new MessageCatalog( numberOfStrings,
|
||||
sortedOrigStringsArray,
|
||||
translatedStringsArray );
|
||||
if( !newMessageCatalogPtr ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
sortedOrigStringsArrayGuard.release();
|
||||
translatedStringsArrayGuard.release();
|
||||
|
||||
char *domainDup = strdup( domain );
|
||||
if( !domainDup ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
closeLoadedMessageCatalog( domain );
|
||||
loadedMessageCatalogPtrsByDomain[domainDup] = newMessageCatalogPtr;
|
||||
|
||||
return LIBINTL_LITE_BOOL_TRUE;
|
||||
} catch( ... ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
void closeLoadedMessageCatalog( const char *domain )
|
||||
{
|
||||
if( domain ) {
|
||||
for( map<char *, MessageCatalog *>::iterator i = loadedMessageCatalogPtrsByDomain.begin();
|
||||
i != loadedMessageCatalogPtrsByDomain.end();
|
||||
i++ ) {
|
||||
if( strcmp( i->first, domain ) == 0 ) {
|
||||
free( i->first );
|
||||
delete i->second;
|
||||
loadedMessageCatalogPtrsByDomain.erase( i );
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void closeAllLoadedMessageCatalogs()
|
||||
{
|
||||
for( map<char *, MessageCatalog *>::iterator i = loadedMessageCatalogPtrsByDomain.begin();
|
||||
i != loadedMessageCatalogPtrsByDomain.end();
|
||||
i++ ) {
|
||||
free( i->first );
|
||||
delete i->second;
|
||||
}
|
||||
loadedMessageCatalogPtrsByDomain.clear();
|
||||
free( currentDefaultDomain );
|
||||
currentDefaultDomain = NULL;
|
||||
}
|
||||
|
||||
const char *textdomain( const char *domain )
|
||||
{
|
||||
if( domain ) {
|
||||
char *newDefaultDomain = strdup( domain );
|
||||
if( !newDefaultDomain ) {
|
||||
return NULL;
|
||||
}
|
||||
free( currentDefaultDomain );
|
||||
currentDefaultDomain = newDefaultDomain;
|
||||
return newDefaultDomain;
|
||||
} else {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
const char *gettext( const char *origStr )
|
||||
{
|
||||
return dgettext( NULL, origStr );
|
||||
}
|
||||
|
||||
const char *dgettext( const char *domain, const char *origStr )
|
||||
{
|
||||
if( !origStr ) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if( !domain ) {
|
||||
if( currentDefaultDomain ) {
|
||||
domain = currentDefaultDomain;
|
||||
} else {
|
||||
return origStr;
|
||||
}
|
||||
}
|
||||
|
||||
const MessageCatalog *msgCat = NULL;
|
||||
for( map<char *, MessageCatalog *>::iterator i = loadedMessageCatalogPtrsByDomain.begin();
|
||||
!msgCat && ( i != loadedMessageCatalogPtrsByDomain.end() );
|
||||
i++ ) {
|
||||
if( strcmp( i->first, domain ) == 0 ) {
|
||||
msgCat = i->second;
|
||||
}
|
||||
}
|
||||
|
||||
if( !msgCat ) {
|
||||
return origStr;
|
||||
}
|
||||
|
||||
const string *translatedStrPtr = msgCat->getTranslatedStrPtr( origStr );
|
||||
if( translatedStrPtr ) {
|
||||
return translatedStrPtr->c_str();
|
||||
} else {
|
||||
return origStr;
|
||||
}
|
||||
}
|
||||
|
||||
const char *ngettext( const char *origStr, const char *origStrPlural, unsigned long n )
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
try {
|
||||
// First let's get the translated megastring that contains all the plural translations separated by NUL chars
|
||||
const char *translatedStr = gettext( origStr );
|
||||
|
||||
// Now determine correct plural form to use. This data is described in .PO files "Plural-Forms" metadata.
|
||||
const char *language = getenv( "LANGUAGE" );
|
||||
|
||||
// Bail out if we don't have data, or the result of gettext is the exact same pointer to the source string (so we don't have a translated megastring to look at)
|
||||
if( !translatedStr || !language || translatedStr == origStr ) {
|
||||
if( n == 1 ) {
|
||||
return origStr;
|
||||
} else {
|
||||
return origStrPlural;
|
||||
}
|
||||
}
|
||||
|
||||
int nplurals = 2;
|
||||
int plural = n != 1;
|
||||
if( strcmp( language, "en" ) == 0 ) {
|
||||
nplurals = 2;
|
||||
plural = ( n != 1 );
|
||||
} else if( strcmp( language, "fr" ) == 0 ) {
|
||||
nplurals = 2;
|
||||
plural = ( n > 1 );
|
||||
} else if( strcmp( language, "de" ) == 0 ) {
|
||||
nplurals = 2;
|
||||
plural = ( n != 1 );
|
||||
} else if( strcmp( language, "it_IT" ) == 0 ) {
|
||||
nplurals = 2;
|
||||
plural = ( n != 1 );
|
||||
} else if( strcmp( language, "es_AR" ) == 0 ) {
|
||||
nplurals = 2;
|
||||
plural = ( n != 1 );
|
||||
} else if( strcmp( language, "es_ES" ) == 0 ) {
|
||||
nplurals = 2;
|
||||
plural = ( n != 1 );
|
||||
} else if( strcmp( language, "ja" ) == 0 ) {
|
||||
nplurals = 1;
|
||||
plural = 0;
|
||||
} else if( strcmp( language, "ko" ) == 0 ) {
|
||||
nplurals = 1;
|
||||
plural = 0;
|
||||
} else if( strcmp( language, "pt_BR" ) == 0 ) {
|
||||
nplurals = 2;
|
||||
plural = ( n > 1 );
|
||||
} else if( strcmp( language, "pt_PT" ) == 0 ) {
|
||||
nplurals = 2;
|
||||
plural = n != 1;
|
||||
} else if( strcmp( language, "ru" ) == 0 ) {
|
||||
nplurals = 4;
|
||||
plural = ( n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && ( n % 100 < 12 ||
|
||||
n % 100 > 14 ) ? 1 : n % 10 == 0 || ( n % 10 >= 5 && n % 10 <= 9 ) || ( n % 100 >= 11 &&
|
||||
n % 100 <= 14 ) ? 2 : 3 );
|
||||
} else if( strcmp( language, "zh_CN" ) == 0 ) {
|
||||
nplurals = 1;
|
||||
plural = 0;
|
||||
} else if( strcmp( language, "zh_TW" ) == 0 ) {
|
||||
nplurals = 1;
|
||||
plural = 0;
|
||||
}
|
||||
|
||||
// Now we know which plural form to use, move the string pointer past the appropriate # of NUL characters.
|
||||
// This is a bit scary because it relies on the .MO file always storing the correct number of plurals,
|
||||
// otherwise we could overrun the string buffer. Seems to work fine though... (nervous laughter)
|
||||
for( int i = 0; i < plural; ++i ) {
|
||||
translatedStr += strlen( translatedStr ) + 1; // advance to the start of the next string
|
||||
}
|
||||
return translatedStr;
|
||||
} catch( const std::exception &err ) {
|
||||
std::cerr << "Error in libintl-lite ngettext(): " << err.what() << std::endl;
|
||||
if( n == 1 ) {
|
||||
return origStr;
|
||||
} else {
|
||||
return origStrPlural;
|
||||
}
|
||||
}
|
||||
#else
|
||||
if( n == 1 ) {
|
||||
return gettext( origStr );
|
||||
} else {
|
||||
return gettext( origStrPlural );
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
const char *dngettext( const char *domain, const char *origStr, const char *origStrPlural,
|
||||
unsigned long n )
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
// not implemented yet
|
||||
return NULL;
|
||||
#else
|
||||
if( n == 1 ) {
|
||||
return dgettext( domain, origStr );
|
||||
} else {
|
||||
return dgettext( domain, origStrPlural );
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef __ANDROID__
|
||||
libintl_lite_bool_t bindtextdomain( const char *domain, const char *moFilePath )
|
||||
{
|
||||
return loadMessageCatalog( domain, moFilePath );
|
||||
}
|
||||
|
||||
libintl_lite_bool_t bind_textdomain_codeset( const char *domain, const char *oFilePath )
|
||||
{
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
Boost Software License - Version 1.0 - August 17th, 2003
|
||||
|
||||
Permission is hereby granted, free of charge, to any person or organization
|
||||
obtaining a copy of the software and accompanying documentation covered by
|
||||
this license (the "Software") to use, reproduce, display, distribute,
|
||||
execute, and transmit the Software, and to prepare derivative works of the
|
||||
Software, and to permit third-parties to whom the Software is furnished to
|
||||
do so, all subject to the following:
|
||||
|
||||
The copyright notices in the Software and this entire statement, including
|
||||
the above license grant, this restriction and the following disclaimer,
|
||||
must be included in all copies of the Software, in whole or in part, and
|
||||
all derivative works of the Software, unless such copies or derivative
|
||||
works are solely in the form of machine-executable object code generated by
|
||||
a source language processor.
|
||||
|
||||
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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef LIBINTL_HPP_
|
||||
#define LIBINTL_HPP_
|
||||
|
||||
#define LIBINTL_LITE_API
|
||||
#if (defined(WIN32) || defined(WINCE)) && defined(LIBINTL_LITE_WIN32_SHARED)
|
||||
#undef LIBINTL_LITE_API
|
||||
#ifdef LIBINTL_LITE_EXPORTS
|
||||
#define LIBINTL_LITE_API __declspec(dllexport)
|
||||
#else
|
||||
#define LIBINTL_LITE_API __declspec(dllimport)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
typedef int libintl_lite_bool_t;
|
||||
#define LIBINTL_LITE_BOOL_TRUE 1
|
||||
#define LIBINTL_LITE_BOOL_FALSE 0
|
||||
|
||||
/**
|
||||
* Loads a message catalog from a given (GNU-compatible) .mo file.
|
||||
* Returns true, if the message catalog was loaded successfully and
|
||||
* false otherwise.
|
||||
* This function is specific to libintl-lite and serves as a simple
|
||||
* replacement for bindtextdomain() function of GNU gettext.
|
||||
* The parameter "domain" must not be NULL!
|
||||
* This function is NOT thread safe!
|
||||
* Pay attention to the thread safety remarks of the gettext() function!
|
||||
*/
|
||||
LIBINTL_LITE_API libintl_lite_bool_t loadMessageCatalog( const char *domain,
|
||||
const char *moFilePath );
|
||||
|
||||
/**
|
||||
* Closes a message catalog for the specified domain and releases its obtained resources.
|
||||
* This function is NOT thread safe!
|
||||
* Pay attention to the thread safety remarks of the gettext() function!
|
||||
*/
|
||||
LIBINTL_LITE_API void closeLoadedMessageCatalog( const char *domain );
|
||||
|
||||
/**
|
||||
* Closes all loaded message catalogs releases their obtained resources.
|
||||
* This function is NOT thread safe!
|
||||
* Pay attention to the thread safety remarks of the gettext() function!
|
||||
*/
|
||||
LIBINTL_LITE_API void closeAllLoadedMessageCatalogs();
|
||||
|
||||
/**
|
||||
* Sets the default text domain for gettext() / ngettext() calls.
|
||||
* This function is NOT thread safe!
|
||||
*/
|
||||
LIBINTL_LITE_API const char *textdomain( const char *domain );
|
||||
|
||||
/**
|
||||
* Returns a pointer to the NULL-terminated string in the loaded for the default
|
||||
* message catalog, or origString if origStr is NULL, textdomain() was not called,
|
||||
* no message catalog for the specified domain is loaded or no translated message
|
||||
* could be found.
|
||||
* This function is thread-safe, but loadMessageCatalog(), textdomain(),
|
||||
* closeLoadedMessageCatalog() or closeAllLoadedMessageCatalogs()
|
||||
* must not be called at the same time! A returned string in the current
|
||||
* loaded message catalog will be deleted, if loadMessageCatalog() or
|
||||
* closeLoadedMessageCatalog() is called for the used domain afterwards!
|
||||
* Does not perform any character set conversion!
|
||||
*/
|
||||
LIBINTL_LITE_API const char *gettext( const char *origStr );
|
||||
|
||||
/**
|
||||
* Works like the gettext() function, but uses the message catalog for a specified domain.
|
||||
*/
|
||||
LIBINTL_LITE_API const char *dgettext( const char *domain, const char *origStr );
|
||||
|
||||
/**
|
||||
* Works like the gettext() function, but distinguishes between singular
|
||||
* and plural form of a message.
|
||||
* Always returns the suitable singular string, if n == 1, and the plural string
|
||||
* otherwise, regardless of the language.
|
||||
*/
|
||||
LIBINTL_LITE_API const char *ngettext( const char *origStr, const char *origStrPlural,
|
||||
unsigned long n );
|
||||
|
||||
/**
|
||||
* Works like the ngettext() function, but uses the message catalog for a specified domain.
|
||||
*/
|
||||
LIBINTL_LITE_API const char *dngettext( const char *domain, const char *origStr,
|
||||
const char *origStrPlural, unsigned long n );
|
||||
|
||||
#ifdef __ANDROID__
|
||||
// Two extra signatures required as per: http://blog.stuff-o-matic.com/post/2013/09/07/Porting-a-C-game-to-Android,-the-case-of-Andy-s-Super-Great-Park
|
||||
LIBINTL_LITE_API libintl_lite_bool_t bindtextdomain( const char *domain, const char *moFilePath );
|
||||
LIBINTL_LITE_API libintl_lite_bool_t bind_textdomain_codeset( const char *domain,
|
||||
const char *moFilePath );
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // LIBINTL_HPP_
|
||||
@@ -4,10 +4,6 @@ include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := main
|
||||
|
||||
SDL_PATH := ../SDL2
|
||||
|
||||
LOCAL_C_INCLUDES := $(SDL_PATH)/include
|
||||
|
||||
LOCAL_CPP_FEATURES := exceptions rtti
|
||||
|
||||
# Add your application source files here...
|
||||
@@ -18,7 +14,7 @@ LOCAL_SHARED_LIBRARIES := libhidapi SDL2 SDL2_mixer SDL2_image SDL2_ttf libintl-
|
||||
|
||||
LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog
|
||||
|
||||
LOCAL_CFLAGS += -DTILES=1 -DSDL_SOUND=1 -DCATA_NO_CPP11_STRING_CONVERSIONS=1 -DLOCALIZE=1 -Wextra -Wall -fsigned-char -ffast-math
|
||||
LOCAL_CFLAGS += -DTILES=1 -DSDL_SOUND=1 -DBACKTRACE=1 -DLOCALIZE=1 -Wextra -Wall -fsigned-char -ffast-math
|
||||
|
||||
LOCAL_LDFLAGS += $(LOCAL_CFLAGS)
|
||||
|
||||
|
||||
@@ -57,4 +57,8 @@ public class CataclysmDDA extends SDLActivity {
|
||||
public boolean getDefaultSetting(final String settingsName, boolean defaultValue) {
|
||||
return PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).getBoolean(settingsName, defaultValue);
|
||||
}
|
||||
|
||||
public String getSystemLang() {
|
||||
return getResources().getConfiguration().locale.toLanguageTag().replace('-', '_');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package com.cleverraven.cataclysmdda;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.File;
|
||||
import java.io.FileReader;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.InputStream;
|
||||
import java.io.IOException;
|
||||
@@ -14,11 +16,13 @@ import android.app.Activity;
|
||||
import android.app.Dialog;
|
||||
import android.app.ProgressDialog;
|
||||
import android.app.AlertDialog;
|
||||
import android.content.ContentResolver;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.pm.PackageInfo;
|
||||
import android.content.res.AssetManager;
|
||||
import android.net.Uri;
|
||||
import android.os.*;
|
||||
import android.preference.PreferenceManager;
|
||||
import android.util.Log;
|
||||
@@ -28,7 +32,7 @@ public class SplashScreen extends Activity {
|
||||
private static final int INSTALL_DIALOG_ID = 0;
|
||||
private ProgressDialog installDialog;
|
||||
|
||||
public CharSequence[] mSettingsNames = { "Software rendering", "Force fullscreen", "Trap Back button" };
|
||||
public CharSequence[] mSettingsNames;
|
||||
public boolean[] mSettingsValues = { false, false, true };
|
||||
|
||||
private String getVersionName() {
|
||||
@@ -42,6 +46,49 @@ public class SplashScreen extends Activity {
|
||||
}
|
||||
}
|
||||
|
||||
private void showCrashAlert() {
|
||||
String externalFilesDir = getExternalFilesDir(null).getPath();
|
||||
File crashAlertPrompt = new File(externalFilesDir + "/config/crash.log.prompt");
|
||||
try {
|
||||
crashAlertPrompt.delete();
|
||||
if(crashAlertPrompt.exists()) { // Sometimes .delete() doesn't really delete the file and I don't know why
|
||||
crashAlertPrompt.getCanonicalFile().delete();
|
||||
}
|
||||
} catch(IOException e) {
|
||||
return;
|
||||
}
|
||||
File crashLog = new File(externalFilesDir + "/config/crash.log");
|
||||
StringBuilder text = new StringBuilder();
|
||||
text.append(getString(R.string.crashMessage));
|
||||
text.append("\n\n");
|
||||
try {
|
||||
BufferedReader br = new BufferedReader(new FileReader(crashLog));
|
||||
String line;
|
||||
while((line = br.readLine()) != null) {
|
||||
text.append(line);
|
||||
text.append("\n");
|
||||
}
|
||||
br.close();
|
||||
} catch (IOException e) {
|
||||
return;
|
||||
}
|
||||
final String message = text.toString();
|
||||
this.runOnUiThread(new Runnable() {
|
||||
public void run() {
|
||||
AlertDialog errorAlert = new AlertDialog.Builder(SplashScreen.this)
|
||||
.setTitle(getString(R.string.crashAlert))
|
||||
.setCancelable(false)
|
||||
.setMessage(message)
|
||||
.setPositiveButton("OK", new DialogInterface.OnClickListener() {
|
||||
public void onClick(DialogInterface dialog, int id) {
|
||||
SplashScreen.this.startGameActivity(false);
|
||||
}
|
||||
}).create();
|
||||
errorAlert.show();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
Log.e(TAG, "onCreate()");
|
||||
@@ -49,7 +96,14 @@ public class SplashScreen extends Activity {
|
||||
|
||||
// Start the game if already installed, otherwise start installing...
|
||||
if (getVersionName().equals(PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).getString("installed", ""))) {
|
||||
startGameActivity(false);
|
||||
// Show an alert box if the game crashed last time
|
||||
String externalFilesDir = getExternalFilesDir(null).getPath();
|
||||
File crashAlertPrompt = new File(externalFilesDir + "/config/crash.log.prompt");
|
||||
if(crashAlertPrompt.exists()) {
|
||||
showCrashAlert();
|
||||
} else {
|
||||
startGameActivity(false);
|
||||
}
|
||||
}
|
||||
else {
|
||||
new InstallProgramTask().execute();
|
||||
@@ -145,23 +199,30 @@ public class SplashScreen extends Activity {
|
||||
}
|
||||
}).create();
|
||||
|
||||
mSettingsNames = new CharSequence[] {
|
||||
getString(R.string.softwareRendering),
|
||||
getString(R.string.forceFullscreen),
|
||||
getString(R.string.trapBackButton)
|
||||
};
|
||||
|
||||
settingsAlert = new AlertDialog.Builder(SplashScreen.this)
|
||||
.setTitle("Settings")
|
||||
.setTitle(getString(R.string.settings))
|
||||
.setMultiChoiceItems(SplashScreen.this.mSettingsNames, SplashScreen.this.mSettingsValues, new DialogInterface.OnMultiChoiceClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which, boolean isChecked) {
|
||||
SplashScreen.this.mSettingsValues[which] = isChecked;
|
||||
}})
|
||||
.setCancelable(false)
|
||||
.setPositiveButton("Start game", new DialogInterface.OnClickListener() {
|
||||
.setPositiveButton(getString(R.string.startGame), new DialogInterface.OnClickListener() {
|
||||
public void onClick(DialogInterface dialog, int id) {
|
||||
for (int i = 0; i < mSettingsNames.length; ++i)
|
||||
PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).edit().putBoolean(SplashScreen.this.mSettingsNames[i].toString(), SplashScreen.this.mSettingsValues[i]).commit();
|
||||
PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).edit().putBoolean("Software rendering", SplashScreen.this.mSettingsValues[0]).commit();
|
||||
PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).edit().putBoolean("Force fullscreen", SplashScreen.this.mSettingsValues[1]).commit();
|
||||
PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).edit().putBoolean("Trap Back button", SplashScreen.this.mSettingsValues[2]).commit();
|
||||
SplashScreen.this.startGameActivity(false);
|
||||
return;
|
||||
}
|
||||
})
|
||||
.setNeutralButton("Show help", new DialogInterface.OnClickListener() {
|
||||
.setNeutralButton(getString(R.string.showHelp), new DialogInterface.OnClickListener() {
|
||||
public void onClick(DialogInterface dialog, int id) {
|
||||
helpAlert.show();
|
||||
return;
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="installTitle">Instalando información de juego…</string>
|
||||
<string name="upgradeTitle">Actualizando información de juego…</string>
|
||||
<string name="helpTitle">Ayuda y Controles</string>
|
||||
<string name="helpMessage">\"Deslizar\" para moverse (si tenés apretado aparece el joystick virtual). \"Click\" para confirmar la selección en el menú o Pausar un turno en el juego (mantené apretado para Pausar varios turnos). \"Doble click\" para cancelar o volver en el menú (funciona como la tecla Escape). \"Pellizcar\" para hacer zoom (en el juego). Usá el botón físico \"Volver\" para activar el teclado virtual (mantené apretado para los atajos de teclado).</string>
|
||||
<string name="softwareRendering">Render por software</string>
|
||||
<string name="forceFullscreen">Forzar pantalla completa</string>
|
||||
<string name="trapBackButton">Fijar botón Volver</string>
|
||||
<string name="settings">Configuración</string>
|
||||
<string name="startGame">Empezar juego</string>
|
||||
<string name="showHelp">Mostrar ayuda</string>
|
||||
<string name="crashAlert">El juego no fue cerrado correctamente la última vez</string>
|
||||
<string name="crashMessage">El registro del error localizado en ./config/crash.log puede ayudar a los desarrolladores a solucionar errores.</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="installTitle">Instalando los datos del juego...</string>
|
||||
<string name="upgradeTitle">Actualizando los datos del juego...</string>
|
||||
<string name="helpTitle">Ayuda & Controles</string>
|
||||
<string name="helpMessage">\"Deslizar\" para el movimiento direccional (mantenlo presionado para el joystick virtual). \"Toque\" para confirmar la selección en el menú o Pausar un turno en-juego (mantenlo presionado para varios turnos en-juego). \"Toque doble\" para cancelar o ir hacia atrás en los menús (funciona como la tecla Escape). \"Pellizcar\" para zoom dentro/fuera (en-juego). Usa el botón \"Atrás\" físico para mostrar/ocultar el teclado virtual (mantenlo pulsado para alternar los atajos de teclado).</string>
|
||||
<string name="softwareRendering">Render por software</string>
|
||||
<string name="forceFullscreen">Forzar pantalla completa</string>
|
||||
<string name="trapBackButton">Capturar Botón de atrás</string>
|
||||
<string name="settings">Opciones</string>
|
||||
<string name="startGame">Comenzar el juego</string>
|
||||
<string name="showHelp">Mostrar ayuda</string>
|
||||
<string name="crashAlert">El juego no finalizó correctamente la última vez</string>
|
||||
<string name="crashMessage">El informe de fallos que se encuentra en ./config/crash.log puede ayudar a los desarrolladores a solucionar los errores del programa. </string>
|
||||
</resources>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="installTitle">ゲームデータをインストール中...</string>
|
||||
<string name="upgradeTitle">ゲームデータをアップグレード中...</string>
|
||||
<string name="helpTitle">ヘルプ & 操作</string>
|
||||
<string name="helpMessage">特定方向にスワイプ(仮想ジョイスティックの場合は長押し)で移動。タップで選択項目の決定と1ターンその場で静止(長押しで数ターン静止)。ダブルタップでキャンセルとメニューに戻る(Escキー機能)。ピンチでズームイン/アウト(ゲーム内画面)。戻るボタンで仮想キーボード切替(長押しでキーボードショートカット切替)。</string>
|
||||
<string name="softwareRendering">ソフトウェアレンダリング</string>
|
||||
<string name="forceFullscreen">強制フルスクリーン</string>
|
||||
<string name="trapBackButton">戻るボタン例外処理</string>
|
||||
<string name="settings">設定</string>
|
||||
<string name="startGame">ゲーム開始</string>
|
||||
<string name="showHelp">ヘルプ表示</string>
|
||||
<string name="crashAlert">前回のプレイ時にゲームが正常に終了しませんでした</string>
|
||||
<string name="crashMessage">configフォルダ内のcrash.logに記録されるクラッシュレポートは、開発者がプログラムエラーを解決する役に立つ場合があります。</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="installTitle">Instalowanie danych gry...</string>
|
||||
<string name="upgradeTitle">Aktualizowanie danych gry...</string>
|
||||
<string name="helpTitle">Pomoc & sterowanie</string>
|
||||
<string name="helpMessage">"Przesuń" by sterować w boku (przytrzymaj do wirtualnego joysticka). "Stuknij" by potwierdzić wybór w menu albo spauzować jedną turę w grze (trzymaj by spauzować kilka tur w grze). "Stuknij dwa razy" by anulować albo wrócić do menu (działa jak przycisk Escape). "Szczypnij" by zbliżyć/oddalić (w grze). Użyj fizycznego przycisku "wstecz" by włączyć wirtualną klawiaturę (przytrzymaj by przełączyć skróty klawiszowe).</string>
|
||||
<string name="softwareRendering">Renderowanie programowe</string>
|
||||
<string name="forceFullscreen">Wymuś pełny ekran</string>
|
||||
<string name="trapBackButton">Zablokuj przycisk wstecz</string>
|
||||
<string name="settings">Ustawienia</string>
|
||||
<string name="startGame">Zacznij grę</string>
|
||||
<string name="showHelp">Pokaż pomoc</string>
|
||||
<string name="crashAlert">Gra nie zamknęła się poprawnie ostatnim razem</string>
|
||||
<string name="crashMessage">Raport crashu zlokalizowany w ./config/crash.log może pomóc twórcom naprawić błędy programu.</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="installTitle">Установка игровых данных...</string>
|
||||
<string name="upgradeTitle">Обновление игровых данных...</string>
|
||||
<string name="helpTitle">Помощь и управление</string>
|
||||
<string name="helpMessage">Свайп для движения в выбранном направлении (зажать для показа виртуального джойстика). Одно нажатие для подтверждения выбора в меню или паузы на один ход (зажать для паузы на несколько ходов). Двойное нажатие для отмены или выхода из меню (работает как кнопка Escape). Растяните или сведите пальцы на экране для увеличения/уменьшения (в игре). Используйте кнопку \"Назад\" для показа виртуальной клавиатуры (зажмите для отображения «горячих клавиш»).</string>
|
||||
<string name="softwareRendering">Программный рендеринг</string>
|
||||
<string name="forceFullscreen">Полный экран</string>
|
||||
<string name="trapBackButton">Перехват функций кнопки «Назад»</string>
|
||||
<string name="settings">Настройки</string>
|
||||
<string name="startGame">Начать игру</string>
|
||||
<string name="showHelp">Показать подсказки</string>
|
||||
<string name="crashAlert">В прошлый раз игра завершилась некорректно</string>
|
||||
<string name="crashMessage">Отчёт об остановке приложения находится в папке ./config/crash.log. Он может помочь разработчикам устранить ошибки в игре.</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="installTitle">正在解压游戏数据…</string>
|
||||
<string name="upgradeTitle">正在合并游戏数据…</string>
|
||||
<string name="helpTitle">游戏控制帮助</string>
|
||||
<string name="helpMessage">[屏幕上滑动]可定向移动([按住]可显示虚拟操纵杆,可在设置中选择关闭)。
|
||||
[轻触屏幕]可确认菜单中的选项\'或\'在游戏中等待一个回合([长按]可等待几个回合)。
|
||||
[双击屏幕]可取消当前操作\'或\'返回菜单(类似于Escape键)。
|
||||
游戏中[双指并拢手势]可放大/缩小视图当前分辨率(仅限开启贴图包状态下)。
|
||||
[点击系统后退键(手机上的小于号键,在菜单键旁边)]可切出虚拟键盘,按住直至弹窗出现可隐藏/显示下方快捷键栏。
|
||||
*设置中可绑定四个双指方向滑动快捷键;例双指向下滑动绑定键为\"i\",即可游戏内双指向下滑动打开物品栏。</string>
|
||||
<string name="softwareRendering">软件渲染
|
||||
(不可开启)</string>
|
||||
<string name="forceFullscreen">强制全屏
|
||||
(开启后不显示通知栏与虚拟键)</string>
|
||||
<string name="trapBackButton">限制返回
|
||||
(禁止返回按键退出APP)</string>
|
||||
<string name="settings">预设
|
||||
(进入游戏后请到 设置-图形 中修改终端宽高比)</string>
|
||||
<string name="startGame">载入游戏</string>
|
||||
<string name="showHelp">查看帮助</string>
|
||||
<string name="crashAlert">上一次游戏遇到错误异常退出</string>
|
||||
<string name="crashMessage">日志文件位于Android/data/CataclysmDDA/files/config/crash.log,可有助于开发者解决程序错误。</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="installTitle">正在安裝遊戲資料...</string>
|
||||
<string name="upgradeTitle">正在更新遊戲資料...</string>
|
||||
<string name="helpTitle">幫助與控制</string>
|
||||
<string name="helpMessage">滑動屏幕移動遊戲角色或菜單選項。點擊屏幕確認選擇或在遊戲中休息一回合。雙擊屏幕取消菜單或回退。雙指縮放畫面遠近。點擊系統回退鍵打開虛擬鍵盤。</string>
|
||||
<string name="softwareRendering">軟件渲染</string>
|
||||
<string name="forceFullscreen">強制全屏</string>
|
||||
<string name="trapBackButton">捕捉返回鍵</string>
|
||||
<string name="settings">設定</string>
|
||||
<string name="startGame">開始遊戲</string>
|
||||
<string name="showHelp">顯示幫助</string>
|
||||
</resources>
|
||||
@@ -4,4 +4,12 @@
|
||||
<string name="upgradeTitle">Upgrading game data...</string>
|
||||
<string name="helpTitle">Help & Controls</string>
|
||||
<string name="helpMessage">"Swipe" for directional movement (hold for virtual joystick). "Tap" to confirm selection in menu or Pause one turn in-game (hold to Pause several turns in-game). "Double tap" to cancel or go back in menus (works like Escape key). "Pinch" to zoom in/out (in-game). Use hardware "Back" button to toggle virtual keyboard (hold to toggle keyboard shortcuts).</string>
|
||||
<string name="softwareRendering">Software rendering</string>
|
||||
<string name="forceFullscreen">Force fullscreen</string>
|
||||
<string name="trapBackButton">Trap Back button</string>
|
||||
<string name="settings">Settings</string>
|
||||
<string name="startGame">Start game</string>
|
||||
<string name="showHelp">Show help</string>
|
||||
<string name="crashAlert">The game did not quit properly last time</string>
|
||||
<string name="crashMessage">The crash report located in ./config/crash.log may help developers troubleshoot program errors.</string>
|
||||
</resources>
|
||||
|
||||
+29
-20
@@ -2,16 +2,11 @@
|
||||
|
||||
# Build script intended for use in Travis CI and Github workflow
|
||||
|
||||
echo "Using bash version $BASH_VERSION"
|
||||
set -exo pipefail
|
||||
|
||||
num_jobs=3
|
||||
|
||||
function run_tests
|
||||
{
|
||||
# --min-duration shows timing lines for tests with a duration of at least that many seconds.
|
||||
$WINE "$@" --min-duration 0.2 --use-colour yes --rng-seed time $EXTRA_TEST_OPTS
|
||||
}
|
||||
|
||||
# We might need binaries installed via pip, so ensure that our personal bin dir is on the PATH
|
||||
export PATH=$HOME/.local/bin:$PATH
|
||||
|
||||
@@ -39,6 +34,25 @@ ccache --zero-stats
|
||||
ccache -M 5G
|
||||
ccache --show-stats
|
||||
|
||||
function run_test
|
||||
{
|
||||
set -eo pipefail
|
||||
test_exit_code=0 sed_exit_code=0 exit_code=0
|
||||
$WINE $1 --min-duration 0.2 --use-colour yes --rng-seed time $EXTRA_TEST_OPTS "$2" 2>&1 | sed -E 's/^(::(warning|error|debug)[^:]*::)?/\1'"$3"'/' || test_exit_code="${PIPESTATUS[0]}" sed_exit_code="${PIPESTATUS[1]}"
|
||||
if [ "$test_exit_code" -ne "0" ]
|
||||
then
|
||||
echo "$3test exited with code $test_exit_code"
|
||||
exit_code=1
|
||||
fi
|
||||
if [ "$sed_exit_code" -ne "0" ]
|
||||
then
|
||||
echo "$3sed exited with code $sed_exit_code"
|
||||
exit_code=1
|
||||
fi
|
||||
return $exit_code
|
||||
}
|
||||
export -f run_test
|
||||
|
||||
if [ "$CMAKE" = "1" ]
|
||||
then
|
||||
bin_path="./"
|
||||
@@ -151,8 +165,8 @@ then
|
||||
make -j$num_jobs
|
||||
cd ..
|
||||
# Run regular tests
|
||||
[ -f "${bin_path}cata_test" ] && run_tests "${bin_path}cata_test"
|
||||
[ -f "${bin_path}cata_test-tiles" ] && run_tests "${bin_path}cata_test-tiles"
|
||||
[ -f "${bin_path}cata_test" ] && parallel --verbose --linebuffer "run_test $(printf %q "${bin_path}")'/cata_test' {} '('{}')=> '" ::: "crafting_skill_gain" "[slow] ~crafting_skill_gain" "~[slow] ~[.]"
|
||||
[ -f "${bin_path}cata_test-tiles" ] && parallel --verbose --linebuffer "run_test $(printf %q "${bin_path}")'/cata_test-tiles' {} '('{}')=> '" ::: "crafting_skill_gain" "[slow] ~crafting_skill_gain" "~[slow] ~[.]"
|
||||
fi
|
||||
elif [ "$NATIVE" == "android" ]
|
||||
then
|
||||
@@ -169,19 +183,14 @@ then
|
||||
# fills the log with nonsense.
|
||||
TERM=dumb ./gradlew assembleExperimentalRelease -Pj=$num_jobs -Plocalize=false -Pabi_arm_32=false -Pabi_arm_64=true -Pdeps=/home/travis/build/CleverRaven/Cataclysm-DDA/android/app/deps.zip
|
||||
else
|
||||
make -j "$num_jobs" RELEASE=1 CCACHE=1 BACKTRACE=1 CROSS="$CROSS_COMPILATION" LINTJSON=0
|
||||
make -j "$num_jobs" RELEASE=1 CCACHE=1 CROSS="$CROSS_COMPILATION" LINTJSON=0
|
||||
|
||||
if [ "$TRAVIS_OS_NAME" == "osx" ]
|
||||
export ASAN_OPTIONS=detect_odr_violation=1
|
||||
export UBSAN_OPTIONS=print_stacktrace=1
|
||||
parallel --verbose --linebuffer "run_test './tests/cata_test' {} '('{}')=> '" ::: "crafting_skill_gain" "[slow] ~crafting_skill_gain" "~[slow] ~[.]"
|
||||
if [ -n "$MODS" ]
|
||||
then
|
||||
run_tests ./tests/cata_test
|
||||
else
|
||||
run_tests ./tests/cata_test &
|
||||
if [ -n "$MODS" ]
|
||||
then
|
||||
run_tests ./tests/cata_test --user-dir=modded $MODS 2>&1 | sed 's/^/MOD> /' &
|
||||
wait -n
|
||||
fi
|
||||
wait -n
|
||||
parallel --verbose --linebuffer "run_test './tests/cata_test --user-dir=modded '$(printf %q "${MODS}") {} 'Mods-('{}')=> '" ::: "crafting_skill_gain" "[slow] ~crafting_skill_gain" "~[slow] ~[.]"
|
||||
fi
|
||||
|
||||
if [ -n "$TEST_STAGE" ]
|
||||
@@ -190,7 +199,7 @@ else
|
||||
# the mod data can be successfully loaded
|
||||
|
||||
mods="$(./build-scripts/get_all_mods.py)"
|
||||
run_tests ./tests/cata_test --user-dir=all_modded --mods="$mods" '~*'
|
||||
run_test './tests/cata_test --user-dir=all_modded --mods='"${mods}" '~*' ''
|
||||
fi
|
||||
fi
|
||||
ccache --show-stats
|
||||
|
||||
@@ -4,19 +4,19 @@
|
||||
"owner": "cata-catch2",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(?:.\\[[0-9;]+m)*(?:\\.\\./)*([^:]*):(\\d+): .*FAILED:.*$",
|
||||
"regexp": "(?:\\(.*\\)=>[\\s\\t]*)(?:.\\[[0-9;]+m)*[\\s\\t]*(?:\\.\\./)*([^:]*):(\\d+): .*FAILED:.*$",
|
||||
"file": 1,
|
||||
"line": 2
|
||||
},
|
||||
{
|
||||
"regexp": "^(?:.\\[[0-9;]+m)* (.+)$",
|
||||
"regexp": "(?:\\(.*\\)=>[\\s\\t]*)(?:.\\[[0-9;]+m)*[\\s\\t]*(.+)$",
|
||||
"code": 1
|
||||
},
|
||||
{
|
||||
"regexp": "^(?:.\\[[0-9;]+m)*(with expansion|due to a fatal error condition):$"
|
||||
"regexp": "(?:\\(.*\\)=>[\\s\\t]*)(?:.\\[[0-9;]+m)*[\\s\\t]*(with expansion|due to a fatal error condition):$"
|
||||
},
|
||||
{
|
||||
"regexp": "^(?:.\\[[0-9;]+m)* (.+)$",
|
||||
"regexp": "(?:\\(.*\\)=>[\\s\\t]*)(?:.\\[[0-9;]+m)*[\\s\\t]*(.+)$",
|
||||
"message": 1
|
||||
}
|
||||
]
|
||||
|
||||
@@ -36,6 +36,9 @@ if [[ "$TRAVIS_EVENT_TYPE" == "pull_request" ]]; then
|
||||
fi
|
||||
|
||||
set -x
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||
$travis_retry sudo apt-get --yes install parallel
|
||||
fi
|
||||
|
||||
if [ -n "${CODE_COVERAGE}" ]; then
|
||||
$travis_retry pip install --user wheel --upgrade
|
||||
@@ -87,7 +90,7 @@ if [ -n "${MXE_TARGET}" ]; then
|
||||
fi
|
||||
|
||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
HOMEBREW_NO_AUTO_UPDATE=yes HOMEBREW_NO_INSTALL_CLEANUP=yes brew install sdl2 sdl2_image sdl2_ttf sdl2_mixer gettext ncurses ccache
|
||||
HOMEBREW_NO_AUTO_UPDATE=yes HOMEBREW_NO_INSTALL_CLEANUP=yes brew install sdl2 sdl2_image sdl2_ttf sdl2_mixer gettext ncurses ccache parallel
|
||||
fi
|
||||
|
||||
if [[ "$NATIVE" == "android" ]]; then
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ -z "$ghprbPullId" ]; then exit 0; fi
|
||||
|
||||
allowed_section_titles='Features|Content|Interface|Mods|Balance|Bugfixes|Performance|Infrastructure|Build|I18N'
|
||||
|
||||
echo 'Validating Summary line from pull request.'
|
||||
echo "$ghprbPullLongDescription" | grep -Pi '(^|(\\r)?\\n)\s*`{0,3}SUMMARY: +(None|(('"${allowed_section_titles}"') +\\?".*?\\?"))`{0,3}\s*((\\r)?\\n|$)'
|
||||
if [ $? -eq 0 ]; then
|
||||
echo 'Summary looks good.'
|
||||
exit 0
|
||||
else
|
||||
echo 'Invalid Summary line, please provide a summary similar to the following:'
|
||||
echo 'SUMMARY: Features "Added ability to fly."'
|
||||
exit 1
|
||||
fi
|
||||
+1
-1
@@ -39,7 +39,7 @@ then
|
||||
BIN=
|
||||
for bin in cataclysm-tiles cataclysm
|
||||
do
|
||||
[ -f "$bin" ] && BIN="$bin" && break
|
||||
[ -f "$bin" ] && BIN="$bin" break
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
+22
-21
@@ -1,22 +1,23 @@
|
||||
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
||||
MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
|
||||
ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
||||
if (NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
||||
message(FATAL_ERROR
|
||||
"Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
|
||||
endif ()
|
||||
|
||||
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" FILE_LIST)
|
||||
string(REGEX REPLACE "\n" ";" FILE_LIST "${FILE_LIST}")
|
||||
foreach (FILE_NAME ${FILE_LIST})
|
||||
message(STATUS "Uninstalling \"$ENV{DESTDIR}${FILE_NAME}\"")
|
||||
if (EXISTS "$ENV{DESTDIR}${FILE_NAME}")
|
||||
exec_program(
|
||||
"@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${FILE_NAME}\""
|
||||
OUTPUT_VARIABLE RM_OUT
|
||||
RETURN_VALUE RM_RETVAL)
|
||||
if ("${RM_RETVAL}" STREQUAL 0)
|
||||
else ()
|
||||
message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${FILE_NAME}\"")
|
||||
endif ()
|
||||
else ()
|
||||
message(STATUS "File \"$ENV{DESTDIR}${FILE_NAME}\" does not exist.")
|
||||
endif ()
|
||||
endforeach ()
|
||||
|
||||
FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
|
||||
STRING(REGEX REPLACE "\n" ";" files "${files}")
|
||||
FOREACH(file ${files})
|
||||
MESSAGE(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
|
||||
IF(EXISTS "$ENV{DESTDIR}${file}")
|
||||
EXEC_PROGRAM(
|
||||
"@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
|
||||
OUTPUT_VARIABLE rm_out
|
||||
RETURN_VALUE rm_retval
|
||||
)
|
||||
IF("${rm_retval}" STREQUAL 0)
|
||||
ELSE("${rm_retval}" STREQUAL 0)
|
||||
MESSAGE(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
|
||||
ENDIF("${rm_retval}" STREQUAL 0)
|
||||
ELSE(EXISTS "$ENV{DESTDIR}${file}")
|
||||
MESSAGE(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
|
||||
ENDIF(EXISTS "$ENV{DESTDIR}${file}")
|
||||
ENDFOREACH(file)
|
||||
|
||||
+26
-31
@@ -1,39 +1,34 @@
|
||||
# Cataclysm data files
|
||||
cmake_minimum_required(VERSION 3.1.4)
|
||||
|
||||
SET(CATACLYSM_DATA_DIRS
|
||||
${CMAKE_SOURCE_DIR}/data/font
|
||||
${CMAKE_SOURCE_DIR}/data/json
|
||||
${CMAKE_SOURCE_DIR}/data/mods
|
||||
${CMAKE_SOURCE_DIR}/data/names
|
||||
${CMAKE_SOURCE_DIR}/data/raw
|
||||
${CMAKE_SOURCE_DIR}/data/motd
|
||||
${CMAKE_SOURCE_DIR}/data/credits
|
||||
${CMAKE_SOURCE_DIR}/data/title
|
||||
)
|
||||
set(CATACLYSM_DATA_DIRS
|
||||
${CMAKE_SOURCE_DIR}/data/font
|
||||
${CMAKE_SOURCE_DIR}/data/json
|
||||
${CMAKE_SOURCE_DIR}/data/mods
|
||||
${CMAKE_SOURCE_DIR}/data/names
|
||||
${CMAKE_SOURCE_DIR}/data/raw
|
||||
${CMAKE_SOURCE_DIR}/data/motd
|
||||
${CMAKE_SOURCE_DIR}/data/credits
|
||||
${CMAKE_SOURCE_DIR}/data/title)
|
||||
|
||||
IF(SOUND)
|
||||
SET(CATACLYSM_DATA_DIRS
|
||||
${CATACLYSM_DATA_DIRS}
|
||||
${CMAKE_SOURCE_DIR}/data/sound
|
||||
)
|
||||
ENDIF(SOUND)
|
||||
if (SOUND)
|
||||
set(CATACLYSM_DATA_DIRS
|
||||
${CATACLYSM_DATA_DIRS}
|
||||
${CMAKE_SOURCE_DIR}/data/sound)
|
||||
endif ()
|
||||
|
||||
IF(TILES)
|
||||
SET(CATACLYSM_DATA_DIRS
|
||||
${CATACLYSM_DATA_DIRS}
|
||||
${CMAKE_SOURCE_DIR}/gfx
|
||||
)
|
||||
ENDIF(TILES)
|
||||
if (TILES)
|
||||
set(CATACLYSM_DATA_DIRS
|
||||
${CATACLYSM_DATA_DIRS}
|
||||
${CMAKE_SOURCE_DIR}/gfx)
|
||||
endif ()
|
||||
|
||||
SET(CATACLYSM_DATA_FILES
|
||||
${CMAKE_SOURCE_DIR}/data/changelog.txt
|
||||
${CMAKE_SOURCE_DIR}/data/cataicon.ico
|
||||
${CMAKE_SOURCE_DIR}/data/fontdata.json
|
||||
${CMAKE_SOURCE_DIR}/LICENSE.txt
|
||||
)
|
||||
set(CATACLYSM_DATA_FILES
|
||||
${CMAKE_SOURCE_DIR}/data/changelog.txt
|
||||
${CMAKE_SOURCE_DIR}/data/cataicon.ico
|
||||
${CMAKE_SOURCE_DIR}/data/fontdata.json
|
||||
${CMAKE_SOURCE_DIR}/LICENSE.txt)
|
||||
|
||||
IF(RELEASE)
|
||||
if (RELEASE)
|
||||
install(DIRECTORY ${CATACLYSM_DATA_DIRS} DESTINATION ${DATA_PREFIX})
|
||||
install(FILES ${CATACLYSM_DATA_FILES} DESTINATION ${DATA_PREFIX})
|
||||
ENDIF(RELEASE)
|
||||
endif ()
|
||||
|
||||
+396
-139
@@ -1,7 +1,72 @@
|
||||
# 0.F (2020-09-01)
|
||||
# 0.F (2021-04-15)
|
||||
|
||||
3974 files changed, 5440251 insertions(+), 3904330 deletions(-)
|
||||
10,463 commits
|
||||
~454 contributors
|
||||
|
||||
New game entities (core): 4510
|
||||
Items: 987
|
||||
228 misc items, 199 books, 196 articles of clothing, 161 guns and gun related items,
|
||||
151 comestibles, 99 tools, 53 ammunition types
|
||||
Mapgen: 778
|
||||
424 overmap terrains, 198 palettes, 62 start locations, 41 city buildings, 25 map extras,
|
||||
20 overmap specials, 5 overmap locations, 3 region setting
|
||||
Crafting: 562
|
||||
223 construction groups, 201 requirements, 60 proficiencies, 50 constructions,
|
||||
17 recipe groups, 10 recipe categories, 1 construction category
|
||||
Achievements: 363
|
||||
115 achievements, 107 event statistics, 100 event transformations, 26 score entries, 15 conducts
|
||||
Item Traits: 325
|
||||
171 item groups, 97 materials, 20 ammunition types, 18 ammo effects, 13 tool qualities,
|
||||
2 vitamins, 3 item actions, 1 fault
|
||||
Player Traits: 263
|
||||
144 professions, 41 effect types, 28 skills, 17 mutations, 14 activity types,
|
||||
4 skill display types, 3 behaviors, 3 movement modes, 3 scent types, 2 morale types,
|
||||
1 butchery requirement, 1 disease type, 1 mutation types, 1 trait group
|
||||
NPCs and NPC interactions: 237
|
||||
255 talk topics, 29 missions, 29 scenarios, 15 npcs, 6 npc classes, 3 factions
|
||||
Map Traits: 234
|
||||
149 terrains, 12 weather types, 64 furnitures, 5 gates, 3 field types, 1 terrain transformation
|
||||
Monsters: 228
|
||||
151 monster types, 72 harvest entries, 4 species, 1 anatomy entry
|
||||
Vehicles: 140
|
||||
80 vehicle parts, 41 vehicles, 12 vehicle part categories, 7 vehicle groups
|
||||
Magic: 40
|
||||
23 spells, 7 enchantments, 6 emit definitions, 4 relic definitions
|
||||
Misc: 363
|
||||
258 json flags, 104 ascii art, 1 loot zone
|
||||
|
||||
New game entities (mods): 3231
|
||||
Items: 773
|
||||
179 misc items, 172 books, 161 comestibles, 85 tools, 83 articles of clothing,
|
||||
65 guns and gun-related items, 21 ammunition types, 7 compact bionic modules
|
||||
Player traits: 749
|
||||
273 mutations, 214 trait groups, 96 professions, 64 techniques, 47 scenarios, 21 effect types,
|
||||
9 martial arts, 8 bionics, 8 start locations, 6 mutation categories, 2 proficiencies, 1 skill
|
||||
Mapgen: 430
|
||||
154 item groups, 202 overmap terrains, 39 palettes, 30 overmap specials,
|
||||
5 city buildings, 2 map extras
|
||||
Monsters: 406
|
||||
360 monster types, 32 harvest entries, 11 species, 3 monster attacks
|
||||
NPCs and NPC interactions: 234
|
||||
144 talk topics, 59 npc classes, 15 mission definitions, 13 npcs, 3 factions
|
||||
Map traits: 190
|
||||
103 terrains, 56 furnitures, 10 terrain transformations,
|
||||
9 gates, 6 field types, 4 traps, 2 emit definitions
|
||||
Vehicles: 185
|
||||
141 vehicle parts, 27 vehicle groups, 17 vehicles
|
||||
Magic: 155
|
||||
132 spells, 23 enchantments
|
||||
Crafting: 48
|
||||
32 requirements, 7 tool qualities, 5 construction groups, 2 constructions,
|
||||
1 recipe category, 1 recipe group
|
||||
Item Traits: 39
|
||||
20 materials, 11 ammunition types, 8 ammo effects
|
||||
Achievements: 22
|
||||
14 achievements, 3 event statistics, 3 event transformations, 2 score entries
|
||||
|
||||
## Features:
|
||||
Added option to randomize INITIAL_DAY.
|
||||
Adds option to randomize INITIAL_DAY.
|
||||
Allow vehicles with autopilot to follow you.
|
||||
Monster factions can unconditionally hate other factions.
|
||||
Allows mutations to cast spells via enchantments.
|
||||
@@ -11,42 +76,51 @@ Auto eat and drink from auto-zones during long activities/waiting.
|
||||
Flyable Helicopters.
|
||||
Towing vehicles.
|
||||
User defined height and age.
|
||||
Add support for json-defined achievements to provide more goals to strive for.
|
||||
Lock picking overhaul.
|
||||
Rot items away in reality bubble.
|
||||
Display holiday on main menu screen based on system time.
|
||||
Separate bullet damage type from cut/stab.
|
||||
Adds support for json-defined achievements to provide more goals to strive for.
|
||||
Overhauls lock picking.
|
||||
Appropriate items can now rot away when in the reality bubble.
|
||||
Displays holidays on main menu screen based on system time.
|
||||
Separates bullet damage type from cut/stab.
|
||||
Makes consuming items take time.
|
||||
Implement damage over time spell infrastructure.
|
||||
Nested Container system.
|
||||
Add support for conducts (self-imposed play constraints tracked by the game).
|
||||
Enables damage over time for spells.
|
||||
Enables nested containers.
|
||||
Adds support for conducts (self-imposed play constraints tracked by the game).
|
||||
Custom achievement/conduct requirement descriptions.
|
||||
[Magiclysm] Add spell level and number of spells known achievements.
|
||||
Allow event_statistic to be defined as first and last events in an event stream.
|
||||
Enable mouse input for inventory.
|
||||
[Magiclysm] Adds spell level and number of spells known achievements.
|
||||
Enables mouse input for inventory.
|
||||
Worn gloves count as unarmed weapons when no weapon is held.
|
||||
Any corpse can rise again as a zombie.
|
||||
Added ability to stop bleeding, disinfect wounds, and inject antibiotics in case of infected wounds or tetanus to an autodoc.
|
||||
Added to autodocs the ability to stop bleeding, disinfect wounds, and inject antibiotics in case of infected wounds or tetanus.
|
||||
Allow randomizing scenario and profession in new character menu.
|
||||
Workout and exercise.
|
||||
Vehicles: ground vehicle z-level transitions and z+1 bridges.
|
||||
Remove static/random NPC options, adjust random NPC rates.
|
||||
Blood and blood loss overhaul.
|
||||
Overhauls blood and blood loss.
|
||||
Artifact procgen - artifacts that spawn use the new relic data.
|
||||
Grappling hooks can be deployed for climbing, just like ladders.
|
||||
Add proficiencies, representing specific knowledge in a certain area not covered by normal skills.
|
||||
Add facing to vehicle parts and tiles for better vehicle rendering.
|
||||
Add activation abilities and charges to relics.
|
||||
Adds proficiencies, representing specific knowledge in particular areas more precisely than by normal skills.
|
||||
Adds facing to vehicle parts and tiles for better vehicle rendering.
|
||||
Adds activation abilities and charges to relics.
|
||||
Tiles: improve furniture rotation and connections.
|
||||
Show which achievements have been completed in past games.
|
||||
Artifacts regenerate ammo option.
|
||||
Shows which achievements have been completed in past games.
|
||||
Artifacts may now regenerate ammo.
|
||||
Adds ACTIVE enchantment condition.
|
||||
Allows recipes to specify individual activity levels.
|
||||
Adds weariness, a sort of long term stamina that limits characters' ability to be extremely active 24/7.
|
||||
Reports faction camp build sites and improves faction camp tutorial.
|
||||
Allows customizing initial date in scenarios.
|
||||
Allows nanofabricator templates to contain recipes from any item group.
|
||||
Adds different bleeding types for different species.
|
||||
Adds bleeding butchery action.
|
||||
Autodoc installation programs added that almost guarantee flawless installation of supported bionics.
|
||||
Removes the obsolete 'carrion spawn rate scaling factor' world configuration option.
|
||||
|
||||
## Content:
|
||||
Gun volume and weight audit.
|
||||
Move most urban development houses to vanilla.
|
||||
Add Survivor RV and car.
|
||||
Populate rooftops with monsters.
|
||||
Large addition of chemicals, chemistry tools and recipes.
|
||||
Moves most urban development houses from a mod to vanilla.
|
||||
Adds Survivor RV and car.
|
||||
Populates appropriate rooftops with monsters.
|
||||
Adds many chemicals, chemistry tools, and recipes.
|
||||
Mi-go, masters, and necromancers can open doors.
|
||||
Adds a bulk shipping crate possibility to the supplydrop map extra.
|
||||
New zombie: necro-boomer.
|
||||
@@ -56,30 +130,91 @@ Make bugs much more mutated.
|
||||
Reformats the 'chat with a friend' feature in NPCs to be more flexible, and to provide some more lore insights.
|
||||
Adds 'What the hell happened' stories to NPCs, keyed off backgrounds.
|
||||
Feral Humans with blob psychosis.
|
||||
Allow plank and branch bundles to be made from cordage, vines, or wire.
|
||||
Allows plank and branch bundles to be made from cordage, vines, or wire.
|
||||
Microlabs can contain artifacts in containment.
|
||||
Add NPC_class and NPC json templates and instructions.
|
||||
Adapts almost all vehicle definitions to use directional parts (most of the work by Curstwist).
|
||||
Adds NPC_class and NPC json templates and instructions.
|
||||
Adapts almost all vehicle definitions to use directional parts.
|
||||
Update UltiCa tileset and make it default.
|
||||
Add a number of flying zombies.
|
||||
Adds a number of flying zombies.
|
||||
Adds a new alternate needs panel to the label mode.
|
||||
Added many proficiencies and uses for them.
|
||||
Adds frog mother monster.
|
||||
Adds mega mutant monsters.
|
||||
Adds a selection of mutated woodland creatures.
|
||||
New 'phase skulker' zombies teleport and haunt between the hallways of microlabs.
|
||||
Make mutant organs and lungs contain toxins.
|
||||
Adds streetlights to sidewalks; also adds traffic lights, stop lines, and pedestrian crossings to intersections.
|
||||
Adds Rust Zombies.
|
||||
Diversifies venom sources and effects.
|
||||
Adds a star fort with working cannon and zombie reenactors.
|
||||
Adds Hot Springs location.
|
||||
Adds a terrain flag 'NO_SHOOT' to prevent projectiles from striking or going through that tile type.
|
||||
Enables using a rope to carry large items.
|
||||
Adds large dermatik nest and tweaks dermatiks.
|
||||
Adds a new layout for the island prison challenge scenario.
|
||||
Adds tazer drones.
|
||||
Adds a demo of the Cuteclysm tileset, which is loosely inspired by the aesthetics of 16-bit Japanese RPGs.
|
||||
|
||||
## Interface:
|
||||
Introduce and migrate most windows to ui_adaptor, which handles redrawing windows when others are closed and the game is resized.
|
||||
Crafting GUI - Highlight hidden recipe info.
|
||||
Overhaul target selection and aiming UI.
|
||||
Display missing and obsolete mods for current world.
|
||||
Require grenades and other explosives to be wielded before activation.
|
||||
Add bigger mini-maps to all sidebar layouts.
|
||||
Add keycode support to uilist.
|
||||
Introduces, and migrates most windows to, ui_adaptor, which handles redrawing windows when others are closed and the game is resized.
|
||||
Highlights hidden recipe info in the crafting GUI.
|
||||
Overhauls target selection and aiming UI.
|
||||
Displays missing and obsolete mods for current world.
|
||||
Requires grenades and other explosives to be wielded before activation.
|
||||
Adds bigger mini-maps to all sidebar layouts.
|
||||
Adds keycode support to uilist.
|
||||
Allows attempting to disable robots by 'e'xamining them.
|
||||
Warns if a friendly creature or non-hostile NPC enters the line of fire.
|
||||
Replaces the CAL/kg column of the (E)at menu with a more meaningful Satiety column.
|
||||
Adds a Mod to use MSX characters and monsters with the Ultica tileset.
|
||||
Shows crafting failure rates due to missing proficiencies.
|
||||
Displays contained items like 'water (plastic bottle)' instead of as 'plastic bottle of water'.
|
||||
Keeps track of preferred aiming mode.
|
||||
Makes Chibi Ultica a stand-alone tileset.
|
||||
Brings back MSX+.
|
||||
Adds item length and pocket volume entries to menus.
|
||||
Adds fast scrolling to many menus with long lists.
|
||||
Adds responsive screen behavior to the new character menu for small terminal sizes.
|
||||
Shows weariness and activity levels in sidebar panels.
|
||||
Warns before crafting armor or clothing you won't be able to wear.
|
||||
|
||||
## Mods:
|
||||
[Magiclysm] Manatouched mutation tree.
|
||||
Add Dark Skies Above, a partial conversion mod based around an alien invasion rather than a zombie apocalypse.
|
||||
Overhaul Blazemod and split into seperate mods.
|
||||
[MMA] Add Ki Strike trait.
|
||||
Polymorph spells to transform your foes.
|
||||
Spells using components system.
|
||||
Aftershock: Add autodoc tiers and augmentation clinics.
|
||||
Overhauls Blazemod and splits it into separate mods.
|
||||
[MMA] Adds Ki Strike trait.
|
||||
[Magiclysm] Adds polymorph spells so you can transform your foes.
|
||||
[Magiclysm] Adds a spell component system and more-powerful spells to use it.
|
||||
Aftershock: Adds autodoc tiers and augmentation clinics.
|
||||
[DinoMod] Adds location variants with dinosaurs.
|
||||
Aftershock: Megacity-oriented overmap generation adjustments
|
||||
Aftershock: Adds new Melee oriented bionics.
|
||||
[DinoMod] Adds Acrocanthosaurus and overhauls dino baby code.
|
||||
[Magiclysm] Adds a new mutation line: Black Dragon.
|
||||
Adjusts fog frequency in black dragon lair plus other (minor) map adjustments.
|
||||
Adds monsters 'Scutellosaurus', 'Maiasaura', and 'Coelophysis'.
|
||||
[Magiclysm] Attunements - Special abilities gained by mastering two schools of magic.
|
||||
Adds monsters 'Pachyrhinosaurus', 'Pentaceratops', and 'Torosaurus'.
|
||||
[DinoMod] Organizes dinos into three main factions with defined inter-faction behavior.
|
||||
[DinoMod] Rebalances Jurassic spawns and monsters for realism and fixes predator in-fighting.
|
||||
Cap monsters at 1000 kg so butchering kind of works.
|
||||
[Magiclysm] implement summonable motorcycle
|
||||
[Magiclysm] Adds a new house with technomancer-themed loot.
|
||||
[Aftershock] Replaces Vanilla autodocs with Aftershock Average Autodocs.
|
||||
[DinoMod] Adds monsters 'Brontosaurus', 'Alamosaurus', and 'Brachiosaurus'.
|
||||
[Magiclysm] Rings of wizardry and mojocycle tweaks
|
||||
[Magiclysm] Adds bullet armor to magic rings and bracers of protection.
|
||||
[DinoMod] Converts 'dinoexhibit' to use templates, adds a roof, and adds a baby dino variant.
|
||||
[DinoMod] Ankylosaurs Abound: Adds Dyoplosaurus, Nodosaurus, and Edmontonia.
|
||||
[Aftershock] Adds an astrobiology lab.
|
||||
[DinoMod] Adds Amargasaurus and Kosmoceratops as well as variants.
|
||||
[Magiclysm] Adds Orcs and Ogres.
|
||||
[Aftershock] Adds a design document.
|
||||
[DinoMod] Adds mod-specific mutation trees Stego and Tyrant.
|
||||
[Aftershock] Adds new laser and plasma pistols.
|
||||
[Magiclysm] Adds three new Attunement spells (Frozen Winds, Auroral wave, and Immolate).
|
||||
[Magiclysm] Adds Workshop Elves, Yule Cats, and Leprechauns.
|
||||
[Aftershock] Adds Formless Ruins - a new aboveground, low-risk dungeon type.
|
||||
[Dark Skies Above] DSA is reborn as an actively-developed, total-conversion mod.
|
||||
|
||||
## Balance:
|
||||
Large item price audit.
|
||||
@@ -90,103 +225,196 @@ More complex satiety calculations.
|
||||
NPCs to use ranged weapons against all enemies, and automatic fire against dangerous enemies.
|
||||
Antifungal drugs work over time.
|
||||
Don't damage hands when smashing but use your most armored part instead.
|
||||
Guarantee at least one transversable path in the collapsed tower basement.
|
||||
Make Solar Sensitivity mutation respect clothing coverage, precious.
|
||||
Unlock NPC recruiting when you build the faction camp radio console.
|
||||
Fixed clean_water recipes with purification tablets and charcoal water purifier.
|
||||
Brings reloading components closer to reality, make brass casings spawn in packs, and makes gunpowder units 100 mg.
|
||||
Missed scenario starts without a random NPC.
|
||||
Monsters with larger eyes see farther than smaller variants.
|
||||
Ankle storage items don't affect feet-related mutations anymore.
|
||||
Gives the default Survivor profession more weather-appropriate clothes for the default start.
|
||||
Eating raw meat does not hurt your morale as much if you have traits like Hunter or Predator.
|
||||
Very-fast-moving zombie animals only attack once per turn.
|
||||
Spawns anesthesia supplies in autodocs.
|
||||
Rebalances spawn rates for overmap specials.
|
||||
Mycus Fireproofing now also gives heat immunity.
|
||||
Tweaks Infection impact by lowering fatigue drain and removing pain.
|
||||
Adjusts ordinary clothing to not meaningfully contribute to protection values.
|
||||
|
||||
## Bugfixes:
|
||||
Prevents possible negative damage from explosions.
|
||||
Removes scent diffusion over water by implementing NO_SCENT flag.
|
||||
Give electric motors equal power in both forward and reverse.
|
||||
Fix wield action costing double than it should.
|
||||
Fix spells not gaining levels on cast.
|
||||
Fix for light sources rendering player invisible at certain ranges.
|
||||
Fix crash when NPC gives player equipment.
|
||||
Fix "Unable to find and assign mission target" message when accepting mission.
|
||||
Gives electric motors equal power in forward and reverse.
|
||||
Fixes wield action costing double what it should have.
|
||||
Fixes spells not gaining levels on cast.
|
||||
Fixes light sources rendering the player invisible at certain ranges.
|
||||
Fixes a crash when an NPC gives the player equipment.
|
||||
Fixes "Unable to find and assign mission target" messages when accepting a mission.
|
||||
No more floor items when trading with follower NPCs.
|
||||
Fix crash by not accessing null basecamp.
|
||||
Helicopters: Allow descending into open air while moving, and disallow roof teleporting.
|
||||
Fix cold item rotting in freezer and add more rotting tests.
|
||||
Place cursor at highlighted item name in construction and crafting menus as expected by screen readers.
|
||||
Spawn regular ants under regular anthills.
|
||||
melee: Make sure that melee weapon accuracy improves hit rates.
|
||||
Reduce level of vehicle heater/cooler as its now too much after 1-second turns.
|
||||
Wake up player if too cold due to hypothermia.
|
||||
Fixes crashes from trying to access a nonexistant basecamp.
|
||||
Helicopters: Allows descending into open air while moving, and disallows roof teleporting.
|
||||
Fixes cold items rotting in a freezer and adds more rotting tests.
|
||||
Spawns regular ants under regular anthills.
|
||||
Melee: Makes sure that melee weapon accuracy improves hit rates.
|
||||
Adjusts vehicle heater/cooler for 1-second turns.
|
||||
Wakes up the player if about to go into hypothermia.
|
||||
Fixes a segfault during initializing crafts.
|
||||
fixes segfault when attempting to siphon from vehicle with multiple tanks.
|
||||
Fix creatures blocking descend even if they can be displaced.
|
||||
Fix OnGetHit effects not triggering if player cannot block.
|
||||
Refactor monster spawning code to avoid crash.
|
||||
Reset game mode before loading normal saves.
|
||||
Minimize UI flickering on curses.
|
||||
Fix crash upon examining vehicles containing minireactor.
|
||||
Fix segfault on harvest.
|
||||
Fix loading of legacy characters without bodies.
|
||||
Fix explosions not affecting terrain.
|
||||
Do not process held item twice.
|
||||
Fix crash when trying to reloading item inside advanced inventory
|
||||
Blobs are slimes. name them such.
|
||||
Fix freezing to death when wet.
|
||||
Fix weapon techniques not triggering.
|
||||
Prevent some obscure crashes by adding nullptr checks to unsafe pointer accesses.
|
||||
Fixes a segfault from attempting to siphon from vehicle with multiple tanks.
|
||||
Fixes creatures blocking descent even if they can be displaced.
|
||||
Fixes OnGetHit effects not triggering if the player cannot block.
|
||||
Refactors the monster spawning code to avoid crashes.
|
||||
Resets the game mode before loading normal saves.
|
||||
Minimizes UI flickering in curses mode.
|
||||
Fixes crash upon examining vehicles containing minireactor.
|
||||
Fixes segfault on harvest.
|
||||
Fixes loading of legacy characters without bodies.
|
||||
Fixes explosions not affecting terrain.
|
||||
Avoids processing held items twice.
|
||||
Fixes a crash when trying to reload an item inside of advanced inventory
|
||||
Renames (when appropriate) blobs as slimes.
|
||||
Fixes massive, unrealistic temperature drops when wet.
|
||||
Fixes weapon techniques not triggering.
|
||||
Prevents some obscure crashes by adding nullptr checks to unsafe pointer accesses.
|
||||
Vehicles: make sure going in reverse isn't more efficient than going forward.
|
||||
Fix doubled artifact effects on stats.
|
||||
Containers can't hold too large items contained in other containers.
|
||||
Prevent temperature being 0 after loading a save.
|
||||
Consume components in nested containers when crafting.
|
||||
Fix stuck joystick on Android.
|
||||
Adjust sunlight casting to illuminate exterior walls.
|
||||
Fixed limb blocking not triggering.
|
||||
Vehicles: make shock absorbers actually absorb shock damage.
|
||||
Fix NPC dying immediately on accepting inhaler mission
|
||||
Fix crash when attempting to butcher a corpse.
|
||||
Fix gear getting damaged when weather has no damaging effects.
|
||||
Fixes doubled artifact effects on stats.
|
||||
Containers can't hold too-large items, even when contained in other containers.
|
||||
Prevents temperature being 0 after loading a save.
|
||||
Consumes components in nested containers when crafting.
|
||||
Fixes stuck joystick on Android.
|
||||
Adjusts sunlight casting to properly illuminate exterior walls.
|
||||
Fixes limb blocking not triggering.
|
||||
Vehicles: shock absorbers actually now absorb shock damage.
|
||||
Fixes NPC dying immediately on accepting inhaler mission
|
||||
Fixes crash when attempting to butcher a corpse.
|
||||
Fixes gear getting damaged by weather when weather has no damaging effects.
|
||||
Improves invalidation of max_populated_zlev cache, fixing lighting in some teleportation scenarios.
|
||||
Prevents dodging or blocking while insensible.
|
||||
Fixes apparent light asymmetry when the sun shines through a single-tile hole in the roof.
|
||||
Makes installation time mandatory for gunmods.
|
||||
Makes tents and vehicles block sunlight.
|
||||
Prevents scent map from being saved with an invalid utf8 sequence.
|
||||
Monsters no longer bash obstacles based on sound. This prevents groups of monsters from getting stuck in a loop of bashing based on the sound of other monsters bashing.
|
||||
Picking up an item stack fills up your pockets if it doesn't fit into one pocket.
|
||||
Wielding combines item stacks if possible.
|
||||
Robots can no longer be disabled by a single melee hit.
|
||||
Fixes auto-consume zones in vehicles.
|
||||
Fixes monster special attack range-limiting code.
|
||||
Falling vehicles: prevents bouncing after the first collision with the ground.
|
||||
Fixes issues with sound (walking on boats, sound triggering twice).
|
||||
Ensures that casings are stackable, fixing pickup performance issues.
|
||||
Allows quartering organ-less corpses without field dressing.
|
||||
Triggers explosions only after processing all items.
|
||||
Fixes scenarios having wildly different start dates and potentially crashing the game.
|
||||
Allows fire to spread to adjecent tiles with items.
|
||||
Prevents log spam from a broken bone.
|
||||
Makes reachability cache fully consistent with map::sees, fixing some problems with mirrors.
|
||||
Fixes NPC-assisted time-cost calculation.
|
||||
Killing a monster that fused with a mission kill target now successfully completes the mission.
|
||||
Bashes that do zero damage now can't stun.
|
||||
Fixes a crash due to dereferencing a null carrier pointer in item::process_tool.
|
||||
Prevents a seg fault in auto-consume.
|
||||
Vehicles: Fixes towed vehicle drag by unsetting their parking brakes.
|
||||
Fixes sarcophagus elevator reactivation.
|
||||
Fixes doors that NPCs could not pass without intervention.
|
||||
Prevents disassemblies on a workbench from vanishing.
|
||||
Fixes errors from crashes between a towed vehicle and its towing vehicle.
|
||||
Bases returned materials from salvaging on mass instead of volume.
|
||||
Fixes unable to run message when mounted - allows a mount to run when your legs are broken.
|
||||
Fixes errors from abandoning a faction camp.
|
||||
Makes NPCs able to fight back while guarding or patrolling.
|
||||
Fixes use-after-free error in sounds::process_sound_markers(player).
|
||||
Makes the Zombie technician's pull metal weapon attack drop items at the technician's feet.
|
||||
Fixes errors due to a bad memory access in drop_activity_actor::do_turn().
|
||||
Resolves a partial item spawn issue.
|
||||
Prevents xp 'underflow' due to negative focus.
|
||||
Dragged vehicles and furniture no longer leave a trail of memorized tiles in darkness.
|
||||
Prevents a crash by disallowing turning vehicles on ramps.
|
||||
Fixes crashes from towing cables snapping or trying to stretch between z-levels.
|
||||
Fixes a game freeze from happening when the player cannot carry a mission reward.
|
||||
Fixes crashes in `map::player_in_field` caused by iterator invalidation.
|
||||
Fixes a division by zero error when drinking water.
|
||||
Fixes NPC followers being blind after waking up.
|
||||
Fixes looks_like for vehicle parts.
|
||||
Fixes Roots and Metabolic rehydration mutations so they actually relieve/eliminate the need for water.
|
||||
Fixes localization not working if the LANG environmental variable is not set.
|
||||
Avoids creating starving characters from older templates.
|
||||
Fixes furniture being 'destroyed' when grab-moving.
|
||||
Fixes crashes from canceling reloading a container that is on the ground.
|
||||
Fixes NPCs still being hungry - and unhappy about it - after eating from faction camp stores.
|
||||
Reins in the plant mutation category's photosynthesis ability to be more representative of real photosynthesis.
|
||||
Prevents cross-z-level melee attacks when the target is not actually visible.
|
||||
Avoids doing character body updates more than once per turn
|
||||
When harvesting crops, drops the result on the player's square.
|
||||
Improves road system connectivity across overmaps.
|
||||
|
||||
## Performance:
|
||||
Add option to enable batching when it is available in SDL.
|
||||
Adds an option to enable batching when it is available in SDL.
|
||||
Skip unnecessary weather calculations for root cellar.
|
||||
Cache drop_invalid_inventory and weight_carried.
|
||||
Check for safemode emptiness before calling monster check.
|
||||
Cache clairvoyance field.
|
||||
Performance improvements related to map::process_fields.
|
||||
Overhaul shadowcasting to be iterative instead of recursive.
|
||||
Use plf linked list impl for shadowcasting.
|
||||
Improve string_id comparison performance, add unit test and benchmarks.
|
||||
Improves rendering speed by optimizing find_tile_looks_like method (FPS improved ~15%)
|
||||
Greatly reduces overhead from processing idle vehicles.
|
||||
Optimizes Creature::has_effect (performance improved ~9.5%)
|
||||
Adds a specialization for static/interned string_ids (performance improved ~30%))
|
||||
Improve performance of builds with enabled localization by ≈20% by caching translations.
|
||||
Major optimization of field processing.
|
||||
Adds reachability cache/filter that can reject bresenham-based LOS checks in O(1) time.
|
||||
Uses field_cache in map::get_field to speedup fire check in npc::assess_danger.
|
||||
Speeds up quicksave by limiting ui redraw rate.
|
||||
Prevents slow processing of NPC overmap travel when `goal` is unreachable.
|
||||
Fixes the performance bug caused by `verify_vehicle_cache` recalculation.
|
||||
Adds lightweight crafting inventory cache to improve NPC construction processing time.
|
||||
Reduces save size by skipping serialization of some item pockets and relic data.
|
||||
Adds RLE compression for JSON serialization/deserializations of data on items, reducing savefile size.
|
||||
Improves performance of initializing the achievements tracker.
|
||||
When NPCs are fleeing from explosions, skips considering routing through tiles without a floor.
|
||||
Speeds up fungus-related code processing by 30%+.
|
||||
Optimizes item migrations to decrease load times.
|
||||
Restores graphics speed for large screens with lots of text.
|
||||
|
||||
## Infrastructure:
|
||||
Add basic infrastructure for diseases.
|
||||
Allow for specialization of activity parameters.
|
||||
Improved event transformations and statistic tracking.
|
||||
Jsonize Autodoc quality.
|
||||
Add tests for character BMI / kcal / weight.
|
||||
Jsonize body parts.
|
||||
Jsonize mood modifier from bodyparts.
|
||||
Allow multiple overmap terrains in start location.
|
||||
Make test failures from other platforms more easily reproducible.
|
||||
Enforce a standard header guard format.
|
||||
Add clang-tidy check to catch incorrect use of RNGs.
|
||||
Adds guide to pricing items to doc folder.
|
||||
Add enchantments to bionics.
|
||||
Add test for health effect on healing rate.
|
||||
Add tests for BMI effect on speed.
|
||||
Update Catch2 to v2.12.0 (from 2.9.1).
|
||||
Adds basic infrastructure for diseases.
|
||||
Allows for specialization of activity parameters.
|
||||
Jsonizes Autodoc quality.
|
||||
Adds tests for character BMI / kcal / weight.
|
||||
Jsonizes body parts.
|
||||
Jsonizes mood modifier from body part conditions (e.g., wet).
|
||||
Allows multiple different overmap terrains for start locations.
|
||||
Makes test failures from other platforms more easily reproducible.
|
||||
Adds clang-tidy check to catch incorrect use of RNGs.
|
||||
Adds a guide to pricing items (see the doc folder).
|
||||
Adds enchantments to bionics.
|
||||
Adds test for health effect on healing rate.
|
||||
Adds tests for BMI effect on speed.
|
||||
Updates Catch2 (for running tests) to v2.13.0 (from 2.9.1).
|
||||
Achievements have better up-front checking to detect definition errors.
|
||||
Tests use a different config directory by default.
|
||||
Migrate ACT_PICKUP to the activity actor system.
|
||||
Integrate behavior tree implementation into monster AI.
|
||||
Move ascii arts to their own file to avoid bloat.
|
||||
Enforce that functions should not have separate x, y parameters.
|
||||
Add tests for sun-related functions.
|
||||
Jsonize Anatomy: replace enum body_part with bodypart_id.
|
||||
Implement installation requirement for CBMs.
|
||||
Migrates ACT_PICKUP to the activity actor system.
|
||||
Integrates a behavior tree implementation into monster AI.
|
||||
Moves ascii art to its own file to avoid bloat.
|
||||
Enforces that functions should not have separate x, y parameters.
|
||||
Adds tests for sun-related functions.
|
||||
Implements installation requirements for CBMs.
|
||||
Fields can now override local light levels.
|
||||
Convert itype_id to string_id<itype>.
|
||||
Test and refactor item info display functions.
|
||||
Converted itype_id to string_id<itype> for better internal code consistency.
|
||||
Tests refactored item info display functions.
|
||||
Milling products can be defined in JSON.
|
||||
Add a Clang Build Analyzer build step to CI.
|
||||
Refactor rectangle and box types.
|
||||
Adds a Clang Build Analyzer build step to CI.
|
||||
Refactored rectangle and box types.
|
||||
Mutations can be reflexively triggered without player input.
|
||||
Enforce use of points as local variables.
|
||||
Add table.py to make tables of JSON data.
|
||||
Add a guide for intermediate mapgen help.
|
||||
Options: remove the option to not use z-levels.
|
||||
Provide point types with coordinate system type safety.
|
||||
Move weather from being hardcoded into json.
|
||||
Update Catch2 to 2.13.0.
|
||||
Enforces the use of points as local variables.
|
||||
Adds table.py to make tables of JSON data.
|
||||
Adds a guide for intermediate mapgen help.
|
||||
Options: removes the option to not use z-levels at all (3d vision is still experimental)
|
||||
Provides point types with coordinate system type safety.
|
||||
Moves weather from being hardcoded into json.
|
||||
Changes some awkward terrains into furnitures for better layering.
|
||||
Create a machine-readable memorial file at game over.
|
||||
Creates a machine-readable memorial file at game over.
|
||||
Dialogue: create an talker API for speakers in a dialogue.
|
||||
Make rectangle and cuboid generic with respect to point type.
|
||||
Configure GitHub build matrix to permit more C++ build testing to happen there.
|
||||
@@ -194,37 +422,66 @@ Check for zero weight items.
|
||||
All .py scripts ported to Python 3 and checked with PEP8 on moderate settings.
|
||||
table.py partial object-oriented redesign.
|
||||
Script to list what IDs are present in a tileset.
|
||||
Revamp vehicle parts shapes to allow chirality - left/right/front/rear.
|
||||
Remove old artifact code.
|
||||
Script that generates a list of possible overlay ids.
|
||||
Add error-checking of recipe (sub)categories.
|
||||
Unblacklist most remaining blacklisted mods for automated consistency checking.
|
||||
Report log messages for failed tests.
|
||||
Reinstate blueprint autocalc.
|
||||
Add a compiler error problem matcher.
|
||||
Revamps vehicle parts shapes to allow chirality - left/right/front/rear.
|
||||
Removes old artifact code.
|
||||
Adds a script that generates a list of possible overlay ids.
|
||||
Adds error-checking of recipe (sub)categories.
|
||||
Unblacklists most remaining blacklisted mods, enabling more automated consistency checking.
|
||||
Reports log messages for failed tests.
|
||||
Reinstates blueprint autocalc.
|
||||
Refactored vision_test; introduces a map_test_case framework to make building similar tests easier.
|
||||
Adds tests for better_pocket and best_pocket.
|
||||
Renames skills in preparation for some future improvements; merges speech & barter.
|
||||
Merges trapping and lockpicking skills into a new 'devices' skill, and expands its scope somewhat.
|
||||
Adds default time and fail multipliers to proficiencies for easier JSON entry.
|
||||
Introduces a STATIC( ) macro that can make the definition of static constants easier to type and read.
|
||||
Adds typesafe angle type.
|
||||
Adds check that Generic Guns migrates all guns, magazines, and ammo.
|
||||
Enables JSON member visitation checks outside of tests (better consistency checking).
|
||||
Displays multi-line JSON error messages correctly when building on Github.
|
||||
Python tool added to easily translate map coordinates.
|
||||
Enables a JSON check for mods in the Github build matrix.
|
||||
Uses (and checks for using) the correct season length for tests.
|
||||
Uses GNU Parallel to run tests concurrently, enabling concurrent tests in MacOS builds.
|
||||
Improves scooter tile representation by adding scooter vehicle parts, which scooters spawn with.
|
||||
Reduces file size of composed tilesheets from compose.py.
|
||||
Implements C++ symbol demangling in crash reports on MacOS, MinGW, and Linux.
|
||||
Adds tests of automatic triggers for mutations.
|
||||
Generates a crash report on Android.
|
||||
|
||||
## Build:
|
||||
Create a GitHub workflow for running clang-tidy.
|
||||
Remove Travis clang-tidy job.
|
||||
Add -fsigned-char to CMakeLists.txt.
|
||||
Moves clang-tidy runs from Travis to GitHub.
|
||||
Adds -fsigned-char to CMakeLists.txt.
|
||||
Makes json linter feedback more readable.
|
||||
Fix clang-tidy header guard check on Windows.
|
||||
Progress feedback for JSON formatting script.
|
||||
Fixes clang-tidy header guard checks on Windows.
|
||||
Gives progress feedback while running the JSON formatting script.
|
||||
Set 'disable MS telemetry' flag in VCPKG setup guide.
|
||||
Automatic handling of vcpkg dependencies.
|
||||
Vehicles: Update doc/JSON_INFO.md for all fields in vehicle_part.
|
||||
Improve use of precompiled headers.
|
||||
compose.py: allow default sized tilesheets to specify offsets.
|
||||
Enable compiling an Android build under Windows.
|
||||
Tools: add a Python script to reformat vehicles to use parts arrays.
|
||||
Tools: adds a Python script to reformat vehicles to use parts arrays.
|
||||
Suppresses Homebrew update for faster Mac OS builds.
|
||||
Adds problem matchers for json errors, compiler errors, DebugLog emissions, and Catch2 errors.
|
||||
Adds check enforcing almost-never-auto convention.
|
||||
Adds a GitHub workflow running flake8 to check the Python scripts.
|
||||
Consistently styles code in CMakeLists.txt files.
|
||||
Adds CMake linting.
|
||||
Captures ODR violations using GOLD linker, ASAN, or LTO.
|
||||
|
||||
## I18N and A11Y:
|
||||
Fix translation of martial art initate message and computer translation.
|
||||
Add support for specifying identical singular and plural forms using `str_sp`.
|
||||
Remove name_plural and replace it with str_pl.
|
||||
Add helper for localized sorting.
|
||||
Record locales in debug.log to assist with i18n debugging.
|
||||
Add translator glossary and explain etymology of Exodii.
|
||||
Fixes translations of martial art initiate and computer terminal messages.
|
||||
Adds support for specifying identical singular and plural forms using `str_sp`.
|
||||
Removes name_plural and replaces it with str_pl (matching `str_sp` and basic singular `str`).
|
||||
Adds a helper for localized sorting.
|
||||
Records locales in debug.log to assist i18n debugging.
|
||||
Adds the start of a translator glossary and explains the etymology of Exodii.
|
||||
Uses class translation in many more places for more flexible translation support.
|
||||
Infrastructure: Automates translation template push.
|
||||
Enables using additional languages (Arabic, Czech, Danish, Dutch, Greek, Indonesian, Icelandic, Italian, Norwegian, Serbian, Turkish, and Ukrainian) with the game.
|
||||
Places cursor at highlighted item name in construction and crafting menus, as expected by screen readers.
|
||||
Adds translations of the Android installation interface.
|
||||
|
||||
# 0.E (Ellison)
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Max length of a line is 78 characters; the following line is for reference
|
||||
# Longer lines will be automatically folded
|
||||
# Lines longer than 78 characters will be wrapped automatically
|
||||
# The following line is for reference
|
||||
##############################################################################
|
||||
<color_white>Original author:</color> <color_white>Project Manager:</color>
|
||||
<color_yellow>Whales</color> (<color_dark_gray>retired</color>) <color_yellow>KevinGranade</color>
|
||||
@@ -21,8 +21,8 @@
|
||||
<color_yellow>Qrox</color> - For readable backtraces in Windows builds.
|
||||
<color_yellow>ZhilkinSerg</color> - For mergetesting.
|
||||
|
||||
<color_white>For a full list of contributors please see:</color>
|
||||
<color_cyan>https://github.com/CleverRaven/Cataclysm-DDA/contributors</color>
|
||||
<color_white>For a full list of contributors please see the git repo:</color>
|
||||
<color_cyan>https://github.com/CleverRaven/Cataclysm-DDA</color>
|
||||
|
||||
<color_light_cyan>Cataclysm</color>: <color_light_blue>Dark Days Ahead</color> is released under <color_white>CC-BY-SA 3.0</color>:
|
||||
<color_cyan>https://creativecommons.org/licenses/by-sa/3.0/</color>
|
||||
<color_cyan>https://creativecommons.org/licenses/by-sa/3.0/</color>
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
# El largo máximo de una línea es 78 caracteres; la siguiente línea es de referencia
|
||||
# Las líneas más largas serán abreviadas
|
||||
##############################################################################
|
||||
<color_white>Autor original:</color> <color_white>Director del proyecto:</color>
|
||||
<color_yellow>Whales</color> (<color_dark_gray>retirado</color>) <color_yellow>KevinGranade</color>
|
||||
|
||||
<color_white>Desarrolladores actuales:</color>
|
||||
<color_yellow>mlangsdorf</color> - Vehículos, botes, campamentos y guías para mods.
|
||||
<color_yellow>I-am-Erk</color> - El legado de Ultica continúa.
|
||||
<color_yellow>KorGgenT</color> - No me deja saber dónde poner mis tablas de madera.
|
||||
|
||||
<color_white>Agradecimientos especiales:</color>
|
||||
<color_yellow>Aivean</color> - Por un desempeño asombroso.
|
||||
<color_yellow>anothersimulacrum </color> - Por fatigarme.
|
||||
<color_yellow>jbytheway</color> - Por reducir el flakiness, los problemas de matching y consolidar los requisitos de Python.
|
||||
<color_yellow>BrettDong</color> - Por las traducciones y otras cosas.
|
||||
<color_yellow>Qrox</color> - Por mostrar la locación de los mensajes de error.
|
||||
<color_yellow>LyleSY</color> - Por los dinosaurios.
|
||||
|
||||
<color_white>Agradecimientos especiales por contribución artística:</color>
|
||||
<color_yellow>acepleiades</color>, <color_yellow>barsoosayque</color>, <color_yellow>Fris0uman</color>, <color_yellow>int-ua</color> y muchos más.
|
||||
|
||||
<color_white>Para ver la lista completa de colaboradores, por favor, visitá:</color>
|
||||
<color_cyan>https://github.com/CleverRaven/Cataclysm-DDA/contributors</color>
|
||||
|
||||
<color_light_cyan>Cataclysm</color>: <color_light_blue>Dark Days Ahead</color> is released under <color_white>CC-BY-SA 3.0</color>:
|
||||
<color_cyan>https://creativecommons.org/licenses/by-sa/3.0/</color>
|
||||
@@ -0,0 +1,27 @@
|
||||
# Longitud Max de la linea es 75 caracteres; sigue la linea de referencia
|
||||
# Las lineas largas serán automáticamente plegadas
|
||||
##############################################################################
|
||||
<color_white>Autor original:</color> <color_white>Jefe de Proyecto:</color>
|
||||
<color_yellow>Whales</color> (<color_dark_gray>retirado</color>) <color_yellow>KevinGranade</color>
|
||||
|
||||
<color_white>Actuales Desarrolladores Principales:</color>
|
||||
<color_yellow>mlangsdorf</color> - Vehículos, botes, campos base y guías de modding.
|
||||
<color_yellow>I-am-Erk</color> - Legado Ultica vive.
|
||||
<color_yellow>KorGgenT</color> - No me dejan saber donde poner mis dos por cuatro.
|
||||
|
||||
<color_white>Agradecimientos especiales a:</color>
|
||||
<color_yellow>Aivean </color> - Por su sobresaliente rendimiento.
|
||||
<color_yellow>anothersimulacrum </color> - Por hacerme sentir cansado.
|
||||
<color_yellow>jbytheway </color> - Por reducir la flaqueza de Python, el emparejamiento de problemas y la consolidación de los requisitos de los planos.
|
||||
<color_yellow>BrettDong</color> - Por las traducciones y mas.
|
||||
<color_yellow>Qrox</color> - Por mostrar la ubicación de los mensajes de error.
|
||||
<color_yellow>LyleSY</color> - Por los dinosaurrss.
|
||||
|
||||
<color_white>Especialmente gracias a los contribuidores de arte:</color>
|
||||
<color_yellow>acepleiades</color>, <color_yellow>barsoosayque</color>, <color_yellow>Fris0uman</color>, <color_yellow>int-ua</color>, y muchos mas.
|
||||
|
||||
<color_white>Por favor para ver la lista completa de contribuidores:</color>
|
||||
<color_cyan>https://github.com/CleverRaven/Cataclysm-DDA/contributors</color>
|
||||
|
||||
<color_light_cyan>Cataclysm</color>: <color_light_blue>Dark Days Ahead</color> esta liberado como <color_white>CC-BY-SA 3.0</color>:
|
||||
<color_cyan>https://creativecommons.org/licenses/by-sa/3.0/</color>
|
||||
@@ -0,0 +1,27 @@
|
||||
# 一行当たりの最大文字数は78文字です。次の行を参考にしてください。
|
||||
# 長い行は自動的に折り返されます
|
||||
##############################################################################
|
||||
<color_white>オリジナルの作者:</color> <color_white>プロジェクト管理者:</color>
|
||||
<color_yellow>Whales</color> (<color_dark_gray>引退</color>) <color_yellow>KevinGranade</color>
|
||||
|
||||
<color_white>現在の主要な開発者:</color>
|
||||
<color_yellow>mlangsdorf</color> - 車両、ボート、拠点、MOD作成ガイド
|
||||
<color_yellow>I-am-Erk</color> - Ulticaタイルセット保守管理
|
||||
<color_yellow>KorGgenT</color> - その他の細々とした作業
|
||||
|
||||
<color_white>スペシャルサンクス:</color>
|
||||
<color_yellow>Aivean</color> - 大幅なパフォーマンス向上への尽力
|
||||
<color_yellow>anothersimulacrum </color> - 心配事の増加
|
||||
<color_yellow>jbytheway</color> - Pythonの不安定性の軽減、問題の整合性とブループリント要件の統合
|
||||
<color_yellow>BrettDong</color> - 翻訳など
|
||||
<color_yellow>Qrox</color> - エラーメッセージのロケーション表示
|
||||
<color_yellow>LyleSY</color> - 恐竜
|
||||
|
||||
<color_white>技術に関するスペシャルサンクス:</color>
|
||||
<color_yellow>acepleiades</color>、<color_yellow>barsoosayque</color>、<color_yellow>Fris0uman</color>、<color_yellow>int-ua</color>、その他たくさんの方々
|
||||
|
||||
<color_white>全貢献者リスト:</color>
|
||||
<color_cyan>https://github.com/CleverRaven/Cataclysm-DDA/contributors</color>
|
||||
|
||||
<color_light_cyan>Cataclysm</color>: <color_light_blue>Dark Days Ahead</color>は<color_white>CC-BY-SA 3.0</color>の下にリリースされています:
|
||||
<color_cyan>https://creativecommons.org/licenses/by-sa/3.0/</color>
|
||||
@@ -0,0 +1,27 @@
|
||||
# Maksymalna długość linii to 78 znaków; poniższa linia jest dla przykładu
|
||||
# Dłuższe linie zostaną automatycznie zawinięte
|
||||
##############################################################################
|
||||
<color_white>Oryginalny autor:</color> <color_white>Menedżer projektu:</color>
|
||||
<color_yellow>Whales</color> (<color_dark_gray>na emeryturze</color>) <color_yellow>KevinGranade</color>
|
||||
|
||||
<color_white>Obecni główni programiści:</color>
|
||||
<color_yellow>mlangsdorf</color> - pojazdy, łódki, bazy i poradniki modowania.
|
||||
<color_yellow>I-am-Erk</color> - dziedzictwo Ultica żyje dalej.
|
||||
<color_yellow>KorGgenT</color> - nie mówienie mi gdzie kłaść moje deski.
|
||||
|
||||
<color_white>Specjalne podziękowania dla:</color>
|
||||
<color_yellow>Aivean</color> - za wyjątkową wydajność.
|
||||
<color_yellow>anothersimulacrum </color> - za zmęczenie mnie.
|
||||
<color_yellow>jbytheway</color> - za ograniczenie dziwactw Pythona, dopasowanie problemów i połączenie wymogów schematów.
|
||||
<color_yellow>BrettDong</color> - za tłumaczenia i więcej.
|
||||
<color_yellow>Qrox</color> - za pokazanie miejsca wiadomości z błędami.
|
||||
<color_yellow>LyleSY</color> - za dinozaurrry.
|
||||
|
||||
<color_white>Specjalne podziękowania za kontrybucje grafik:</color>
|
||||
<color_yellow>acepleiades</color>, <color_yellow>barsoosayque</color>, <color_yellow>Fris0uman</color>, <color_yellow>int-ua</color> i wielu innych.
|
||||
|
||||
<color_white>Pełna lista kontrybutorów dostępna na:</color>
|
||||
<color_cyan>https://github.com/CleverRaven/Cataclysm-DDA/contributors</color>
|
||||
|
||||
<color_light_cyan>Cataclysm</color>: <color_light_blue>Dark Days Ahead</color> jest wydany na licencji <color_white>CC-BY-SA 3.0</color>:
|
||||
<color_cyan>https://creativecommons.org/licenses/by-sa/3.0/</color>
|
||||
+19
-20
@@ -1,28 +1,27 @@
|
||||
# Max length of a line is 78 characters; the following line is for reference
|
||||
# Longer lines will be automatically folded
|
||||
# Максимальная длина строки - 78 символов; следующая строка для справки
|
||||
# Длинные строки будут автоматически перенесены
|
||||
##############################################################################
|
||||
<color_white>Оригинальный автор:</color> <color_white>Менеджер проекта:</color>
|
||||
<color_yellow>Whales</color> (<color_dark_gray>не активен</color>) <color_yellow>KevinGranade</color>
|
||||
<color_white>Автор идеи:</color> <color_white>Руководитель проекта:</color>
|
||||
<color_yellow>Whales</color>(<color_dark_gray>отошел от разработки</color>) <color_yellow>KevinGranade</color>
|
||||
|
||||
<color_white>Текущие основные разработчики:</color>
|
||||
<color_yellow>mlangsdorf</color> - Машины, лодки, лагеря и гайды по моддингу.
|
||||
<color_yellow>I-am-Erk</color> - Ultica, диалоги, NPC и хлам в шкафах.
|
||||
<color_yellow>KorGgenT</color> - Колдоклизм и кишечные колики.
|
||||
<color_white>Главные разработчики:</color>
|
||||
<color_yellow>mlangsdorf</color> - транспорт, лодки, лагеря и руководства по созданию модификаций.
|
||||
<color_yellow>I-am-Erk</color> - Наследие Ultica живёт.
|
||||
<color_yellow>KorGgenT</color> - Не даёт подсказок, куда класть доски.
|
||||
|
||||
<color_white>Особая благодарность:</color>
|
||||
<color_yellow>Narc</color> - За поддержку автоматической системы сборки Jenkins.
|
||||
<color_yellow>Rivet-the-Zombie</color> - За PR в день (и как ей не лень?).
|
||||
<color_yellow>BevapDin</color> - За обзоры и рефакторинг кода.
|
||||
<color_yellow>BrettDong</color> - За переводы.
|
||||
<color_yellow>curstwist</color> - За крышевание зданий, NPC и чейнжлоги.
|
||||
<color_yellow>davidpwbrown</color> - За авто-перемещения и авто-езду. Ну и за коневодство тоже.
|
||||
<color_yellow>jbytheway</color> - За работу над CI и умение отстаивать свою точку зрения.
|
||||
<color_yellow>Hymore246</color> - За переработку боевых искусств.
|
||||
<color_yellow>Qrox</color> - За читабельную трассировку в Windows-билдах.
|
||||
<color_yellow>ZhilkinSerg</color> - За тестирование и слияние изменений.
|
||||
<color_yellow>Aivean</color> - За выдающуюся производительность.
|
||||
<color_yellow>anothersimulacrum </color> - За приятную усталость.
|
||||
<color_yellow>jbytheway</color> - За разбор проблем Python, сопоставление проблем и консолидацию требований к чертежам.
|
||||
<color_yellow>BrettDong</color> - За переводы и многое другое.
|
||||
<color_yellow>Qrox</color> - За показ места, вызывающего сообщения об ошибках.
|
||||
<color_yellow>LyleSY</color> - За динозаврррров.
|
||||
|
||||
<color_white>Полный список участников находится здесь:</color>
|
||||
<color_white>Особая благодарность за художественный вклад:</color>
|
||||
<color_yellow>acepleiades</color>, <color_yellow>barsoosayque</color>, <color_yellow>Fris0uman</color>, <color_yellow>int-ua</color>, и многим другим.
|
||||
|
||||
<color_white>Полный список участников разработки доступен здесь:</color>
|
||||
<color_cyan>https://github.com/CleverRaven/Cataclysm-DDA/contributors</color>
|
||||
|
||||
<color_light_cyan>Катаклизм</color>: <color_light_blue>Тёмные дни впереди</color> выпущен под лицензией <color_white>CC-BY-SA 3.0</color>:
|
||||
<color_light_cyan>Cataclysm</color>: <color_light_blue>Dark Days Ahead</color> выпускается по лицензии <color_white>CC-BY-SA 3.0</color>:
|
||||
<color_cyan>https://creativecommons.org/licenses/by-sa/3.0/</color>
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
# 单行字数 <= 78,如下例
|
||||
# 超长的行会自动折叠
|
||||
##############################################################################
|
||||
<color_white>原作者:</color> <color_white>项目管理员:</color>
|
||||
<color_yellow>Whales</color>(<color_dark_gray>不再参与</color>) <color_yellow>KevinGranade</color>
|
||||
|
||||
<color_white>当前主要开发者:</color>
|
||||
<color_yellow>mlangsdorf</color> - 载具,船只,营地和mod制作的教程。
|
||||
<color_yellow>I-am-Erk</color> - 维护Ultica贴图包
|
||||
<color_yellow>KorGgenT</color> - 口袋系统与大魔法
|
||||
|
||||
<color_white>特别感谢:</color>
|
||||
<color_yellow>Aivean</color> - 程序优化
|
||||
<color_yellow>anothersimulacrum </color> - 疲劳系统
|
||||
<color_yellow>jbytheway</color> - Python程序修正、错误信息定位以及营地建造蓝图。
|
||||
<color_yellow>BrettD</color> - 翻译管理以及其他程序修正。
|
||||
<color_yellow>Qrox</color> - 定位并显示游戏程序错误信息
|
||||
<color_yellow>LyleSY</color> - 恐龙
|
||||
|
||||
<color_white>特别鸣谢艺术贡献者:</color>
|
||||
<color_yellow>acepleiades</color>, <color_yellow>barsoosayque</color>, <color_yellow>Fris0uman</color>, <color_yellow>int-ua</color>,以及其他贡献者。
|
||||
|
||||
<color_white>完整贡献者列表请见:</color>
|
||||
<color_cyan>https://github.com/CleverRaven/Cataclysm-DDA/contributors</color>
|
||||
|
||||
《<color_light_cyan>大灾变</color>·<color_light_blue>劫后余生</color>》按<color_white> CC-BY-SA 3.0 </color> 授权协议发布:
|
||||
<color_cyan>https://creativecommons.org/licenses/by-sa/3.0/</color>
|
||||
@@ -40,7 +40,7 @@
|
||||
{
|
||||
"id": "AO_FORCE_PULL",
|
||||
"type": "SPELL",
|
||||
"name": "Artifact Force Pull",
|
||||
"name": { "str": "Artifact Force Pull" },
|
||||
"description": "Pull objects.",
|
||||
"effect": "area_pull",
|
||||
"shape": "blast",
|
||||
@@ -55,7 +55,7 @@
|
||||
{
|
||||
"id": "AO_TELEPORTITIS",
|
||||
"type": "SPELL",
|
||||
"name": "Artifact Teleportitis",
|
||||
"name": { "str": "Artifact Teleportitis" },
|
||||
"description": "Causes you to teleport uncontrollably.",
|
||||
"message": "The world loses coherence, with images of nearby places forming and disappearing around you.",
|
||||
"valid_targets": [ "self" ],
|
||||
@@ -69,7 +69,7 @@
|
||||
{
|
||||
"id": "AO_SLOW",
|
||||
"type": "SPELL",
|
||||
"name": "Artifact Slow",
|
||||
"name": { "str": "Artifact Slow" },
|
||||
"description": "Slows you for a few turns.",
|
||||
"message": "The world shifts blue, and reality accelerates around you.",
|
||||
"valid_targets": [ "self" ],
|
||||
@@ -83,7 +83,7 @@
|
||||
{
|
||||
"id": "AO_TIME_STOP",
|
||||
"type": "SPELL",
|
||||
"name": "Artifact Time Stop",
|
||||
"name": { "str": "Artifact Time Stop" },
|
||||
"description": "Grants you a few turns of super speed.",
|
||||
"message": "Stale golden light floods the world, and reality stands still.",
|
||||
"valid_targets": [ "self" ],
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
{
|
||||
"type": "SPELL",
|
||||
"id": "AEP_EVIL_SPELL",
|
||||
"name": "EEEEEEVVVVVIIIIILLLL!",
|
||||
"name": { "str": "EEEEEEVVVVVIIIIILLLL!" },
|
||||
"description": "You debugged in this spell! It makes you evil for 30 minutes.",
|
||||
"valid_targets": [ "hostile", "ally", "self" ],
|
||||
"effect": "attack",
|
||||
|
||||
+27
-21
@@ -58,7 +58,8 @@
|
||||
"bash_protec": [ [ "eyes", 3 ] ],
|
||||
"cut_protec": [ [ "eyes", 3 ] ],
|
||||
"bullet_protec": [ [ "eyes", 3 ] ],
|
||||
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ]
|
||||
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
|
||||
"social_modifiers": { "intimidate": 10 }
|
||||
},
|
||||
{
|
||||
"id": "bio_armor_head",
|
||||
@@ -132,7 +133,8 @@
|
||||
"name": { "str": "Optical Dampers" },
|
||||
"description": "The lenses surgically installed over your eyes can be tinted to block out incoming light.",
|
||||
"included": true,
|
||||
"flags": [ "BIONIC_TOGGLED" ]
|
||||
"flags": [ "BIONIC_TOGGLED" ],
|
||||
"active_flags": [ "BLIND" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_blood_anal",
|
||||
@@ -298,7 +300,8 @@
|
||||
"name": { "str": "Bionic-Induced Deformity" },
|
||||
"description": "A combination of poor surgical installation and unpleasant scarring has lead to the malfunctioning bionic catastrophe you call your face. People who mind that you look like a dime-store Frankenstein will react poorly to your appearance.",
|
||||
"occupied_bodyparts": [ [ "head", 4 ], [ "mouth", 1 ] ],
|
||||
"flags": [ "BIONIC_FAULTY" ]
|
||||
"flags": [ "BIONIC_FAULTY" ],
|
||||
"social_modifiers": { "persuade": -50, "intimidate": 20 }
|
||||
},
|
||||
{
|
||||
"id": "bio_dex_enhancer",
|
||||
@@ -316,7 +319,7 @@
|
||||
"description": "You have been outfitted with three synthetic stomachs and industrial-grade intestines. Not only can you extract much more nutrition from food, but you are highly resistant to foodborne illness, and can sometimes eat rotten food.",
|
||||
"occupied_bodyparts": [ [ "torso", 20 ] ],
|
||||
"vitamin_absorb_mod": 1.5,
|
||||
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ]
|
||||
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF", "PARAIMMUNE", "IMMUNE_SPOIL" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_dis_acid",
|
||||
@@ -346,9 +349,10 @@
|
||||
"id": "bio_earplugs",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Sound Dampeners" },
|
||||
"description": "When this bionic is active, you can block hearing completely (with Enhanced Hearing deactivated) or dampen sound slightly (with Enhanced Hearing activated).",
|
||||
"description": "When this bionic is active, you can block hearing completely.",
|
||||
"included": true,
|
||||
"flags": [ "BIONIC_TOGGLED" ]
|
||||
"flags": [ "BIONIC_TOGGLED" ],
|
||||
"active_flags": [ "DEAF" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_ears",
|
||||
@@ -356,7 +360,7 @@
|
||||
"name": { "str": "Enhanced Hearing" },
|
||||
"description": "When this bionic is active, your hearing will be drastically improved, allowing you to hear ten times better than the average person. Additionally, high-intensity sounds will be automatically dampened before they can damage your hearing.",
|
||||
"occupied_bodyparts": [ [ "head", 3 ] ],
|
||||
"flags": [ "BIONIC_TOGGLED" ],
|
||||
"flags": [ "BIONIC_TOGGLED", "IMMUNE_HEARING_DAMAGE", "SUPER_HEARING" ],
|
||||
"included_bionics": [ "bio_earplugs" ]
|
||||
},
|
||||
{
|
||||
@@ -415,6 +419,7 @@
|
||||
"name": { "str": "Telescopic Eyes" },
|
||||
"description": "Much of the material in your inner eye has been surgically removed and replaced with an array of high-powered, auto-focusing lenses. They function as integrated binoculars, letting you see much farther than before, and any vision problems you might have had are now gone.",
|
||||
"occupied_bodyparts": [ [ "eyes", 2 ] ],
|
||||
"flags": [ "ENHANCED_VISION" ],
|
||||
"canceled_mutations": [
|
||||
"HYPEROPIC",
|
||||
"MYOPIC",
|
||||
@@ -443,7 +448,8 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Facial Distortion" },
|
||||
"description": "Through controlled application of electrochemical impulses, you are capable of altering your facial structure so as to subtly affect the reactions of others. This grants a bonus to all social interactions.",
|
||||
"occupied_bodyparts": [ [ "head", 3 ], [ "mouth", 1 ] ]
|
||||
"occupied_bodyparts": [ [ "head", 3 ], [ "mouth", 1 ] ],
|
||||
"social_modifiers": { "persuade": 10, "lie": 20, "intimidate": 10 }
|
||||
},
|
||||
{
|
||||
"id": "bio_faraday",
|
||||
@@ -463,6 +469,7 @@
|
||||
[ "foot_r", 1 ]
|
||||
],
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
|
||||
"active_flags": [ "ELECTRIC_IMMUNE" ],
|
||||
"act_cost": "5 J",
|
||||
"react_cost": "5 J",
|
||||
"time": 1
|
||||
@@ -596,6 +603,7 @@
|
||||
"description": "Your range of vision extends into the infrared, allowing you to see warm-blooded creatures in the dark or through smoke.",
|
||||
"occupied_bodyparts": [ [ "eyes", 1 ] ],
|
||||
"flags": [ "BIONIC_TOGGLED" ],
|
||||
"active_flags": [ "INFRARED" ],
|
||||
"act_cost": "5 J",
|
||||
"react_cost": "5 J",
|
||||
"time": 1
|
||||
@@ -677,7 +685,7 @@
|
||||
"name": { "str": "Nictating Membrane" },
|
||||
"description": "Your eyes have a thin membrane that closes over your eyes while underwater, negating any vision penalties.",
|
||||
"occupied_bodyparts": [ [ "eyes", 1 ] ],
|
||||
"flags": [ "BIONIC_NPC_USABLE" ]
|
||||
"flags": [ "BIONIC_NPC_USABLE", "EYE_MEMBRANE" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_memory",
|
||||
@@ -739,6 +747,7 @@
|
||||
"description": "When active, this bionic will amplify existing light, allowing you to see in the dark.",
|
||||
"occupied_bodyparts": [ [ "eyes", 1 ] ],
|
||||
"flags": [ "BIONIC_TOGGLED" ],
|
||||
"active_flags": [ "NIGHT_VISION" ],
|
||||
"act_cost": "10 J",
|
||||
"react_cost": "10 J",
|
||||
"time": 1
|
||||
@@ -914,6 +923,7 @@
|
||||
"description": "While this system is powered, your body will produce very little odor, making it nearly impossible for creatures to track you by scent.",
|
||||
"occupied_bodyparts": [ [ "torso", 3 ], [ "head", 1 ], [ "arm_l", 1 ], [ "arm_r", 1 ], [ "leg_l", 1 ], [ "leg_r", 1 ] ],
|
||||
"flags": [ "BIONIC_TOGGLED" ],
|
||||
"active_flags": [ "NO_SCENT" ],
|
||||
"act_cost": 1,
|
||||
"react_cost": 1,
|
||||
"time": 60
|
||||
@@ -932,6 +942,7 @@
|
||||
"name": { "str": "Synaptic Regeneration System" },
|
||||
"description": "An electromagnetic stimulator has been surgically implanted on the back of your head and along your spine, continually draining power. As long as it's active, you won't become sleep deprived; and if you're sleep deprived already, it will boost the rate of recovery while you sleep.",
|
||||
"flags": [ "BIONIC_TOGGLED" ],
|
||||
"active_flags": [ "STOP_SLEEP_DEPRIVATION" ],
|
||||
"occupied_bodyparts": [ [ "head", 1 ], [ "torso", 1 ] ],
|
||||
"act_cost": 0,
|
||||
"react_cost": "1 kJ",
|
||||
@@ -1029,7 +1040,7 @@
|
||||
"description": "Your eyes have quick-reacting transition lenses surgically installed over them. They negate glare penalties, partially protect you from bright flashes, and protect your eyes when welding.",
|
||||
"occupied_bodyparts": [ [ "eyes", 1 ] ],
|
||||
"included_bionics": [ "bio_blindfold" ],
|
||||
"flags": [ "BIONIC_NPC_USABLE" ],
|
||||
"flags": [ "BIONIC_NPC_USABLE", "GLARE_RESIST" ],
|
||||
"fake_item": "fake_goggles"
|
||||
},
|
||||
{
|
||||
@@ -1147,14 +1158,16 @@
|
||||
"name": { "str": "Voice Remodulator" },
|
||||
"description": "You will likely spend the rest of your days serving as a walking testament to why you don't opt for the Autodoc's 'Cyborg Identity Package'. A remodulator unit jammed down your throat has given you a creepy robot voice.",
|
||||
"occupied_bodyparts": [ [ "torso", 2 ], [ "mouth", 1 ] ],
|
||||
"flags": [ "BIONIC_FAULTY" ]
|
||||
"flags": [ "BIONIC_FAULTY" ],
|
||||
"social_modifiers": { "persuade": -20, "lie": 10, "intimidate": 20 }
|
||||
},
|
||||
{
|
||||
"id": "bio_watch",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Internal Chronometer" },
|
||||
"description": "You have been equipped with an internal atomic clock, ensuring that you will always know the current time. Additionally, it includes a silent alarm clock function.",
|
||||
"occupied_bodyparts": [ [ "head", 1 ] ]
|
||||
"occupied_bodyparts": [ [ "head", 1 ] ],
|
||||
"flags": [ "WATCH", "ALARMCLOCK" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_water_extractor",
|
||||
@@ -1183,7 +1196,8 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Intravenous Needletip" },
|
||||
"description": "The flesh of the inside of your middle finger has been replaced with a tube leading into your arteries, with a retractable needle extending out of the tip of the finger when clenched. This lets you pump intravenous drugs like morphine directly into your bloodstream without needing to carry a syringe.",
|
||||
"occupied_bodyparts": [ [ "hand_l", 1 ] ]
|
||||
"occupied_bodyparts": [ [ "hand_l", 1 ] ],
|
||||
"fake_item": "syringe"
|
||||
},
|
||||
{
|
||||
"id": "bio_weight",
|
||||
@@ -1194,14 +1208,6 @@
|
||||
"weight_capacity_bonus": "20 kg",
|
||||
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_shock_absorber",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Kinetic Shock Absorbers" },
|
||||
"description": "Most of the flesh in your arms, legs, and upper torso has been replaced with industrial-strength springs and protective padding. Clenching your fist allows you to fold and unfold this padding; while active, the hydraulic absorbers will prevent damage to your body from severe impacts, at the cost of impaired movement.",
|
||||
"occupied_bodyparts": [ [ "torso", 1 ], [ "arm_l", 1 ], [ "arm_r", 1 ], [ "leg_l", 1 ], [ "leg_r", 1 ] ],
|
||||
"flags": [ "BIONIC_TOGGLED" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_taste_blocker",
|
||||
"type": "bionic",
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
"DISMEMBER": "field_dress",
|
||||
"DISSECT": "dissect_small",
|
||||
"FULL": "butchery_small",
|
||||
"QUICK": "butchery_small"
|
||||
"QUICK": "butchery_small",
|
||||
"BLEED": "bleed_small"
|
||||
},
|
||||
{
|
||||
"FIELD_DRESS": "field_dress",
|
||||
@@ -20,7 +21,8 @@
|
||||
"DISMEMBER": "field_dress",
|
||||
"DISSECT": "dissect_small",
|
||||
"FULL": "butchery_small",
|
||||
"QUICK": "butchery_small"
|
||||
"QUICK": "butchery_small",
|
||||
"BLEED": "bleed_small"
|
||||
},
|
||||
{
|
||||
"FIELD_DRESS": "field_dress",
|
||||
@@ -29,7 +31,8 @@
|
||||
"DISMEMBER": "field_dress",
|
||||
"DISSECT": "dissect_small",
|
||||
"FULL": "butchery_small",
|
||||
"QUICK": "butchery_small"
|
||||
"QUICK": "butchery_small",
|
||||
"BLEED": "bleed_small"
|
||||
},
|
||||
{
|
||||
"FIELD_DRESS": "field_dress",
|
||||
@@ -38,7 +41,8 @@
|
||||
"DISMEMBER": "field_dress",
|
||||
"DISSECT": "dissect_large",
|
||||
"FULL": "full_butchery_large",
|
||||
"QUICK": "butchery_large"
|
||||
"QUICK": "butchery_large",
|
||||
"BLEED": "bleed_large"
|
||||
},
|
||||
{
|
||||
"FIELD_DRESS": "field_dress",
|
||||
@@ -47,7 +51,8 @@
|
||||
"DISMEMBER": "field_dress",
|
||||
"DISSECT": "dissect_large",
|
||||
"FULL": "full_butchery_large",
|
||||
"QUICK": "butchery_large"
|
||||
"QUICK": "butchery_large",
|
||||
"BLEED": "bleed_large"
|
||||
}
|
||||
],
|
||||
"1.2": [
|
||||
@@ -58,7 +63,8 @@
|
||||
"DISMEMBER": "field_dress_no_surface",
|
||||
"DISSECT": "dissect_small_no_surface",
|
||||
"FULL": "butchery_small_no_surface",
|
||||
"QUICK": "butchery_small_no_surface"
|
||||
"QUICK": "butchery_small_no_surface",
|
||||
"BLEED": "bleed_small"
|
||||
},
|
||||
{
|
||||
"FIELD_DRESS": "field_dress_no_surface",
|
||||
@@ -67,7 +73,8 @@
|
||||
"DISMEMBER": "field_dress_no_surface",
|
||||
"DISSECT": "dissect_small_no_surface",
|
||||
"FULL": "butchery_small_no_surface",
|
||||
"QUICK": "butchery_small_no_surface"
|
||||
"QUICK": "butchery_small_no_surface",
|
||||
"BLEED": "bleed_small"
|
||||
},
|
||||
{
|
||||
"FIELD_DRESS": "field_dress_no_surface",
|
||||
@@ -76,7 +83,8 @@
|
||||
"DISMEMBER": "field_dress_no_surface",
|
||||
"DISSECT": "dissect_small_no_surface",
|
||||
"FULL": "butchery_small_no_surface",
|
||||
"QUICK": "butchery_small_no_surface"
|
||||
"QUICK": "butchery_small_no_surface",
|
||||
"BLEED": "bleed_small"
|
||||
},
|
||||
{
|
||||
"FIELD_DRESS": "field_dress_no_surface",
|
||||
@@ -85,7 +93,8 @@
|
||||
"DISMEMBER": "field_dress_no_surface",
|
||||
"DISSECT": "dissect_large_no_surface",
|
||||
"FULL": "full_butchery_large_no_surface",
|
||||
"QUICK": "butchery_large_no_surface"
|
||||
"QUICK": "butchery_large_no_surface",
|
||||
"BLEED": "bleed_large"
|
||||
},
|
||||
{
|
||||
"FIELD_DRESS": "field_dress_no_surface",
|
||||
@@ -94,7 +103,8 @@
|
||||
"DISMEMBER": "field_dress_no_surface",
|
||||
"DISSECT": "dissect_large_no_surface",
|
||||
"FULL": "full_butchery_large_no_surface",
|
||||
"QUICK": "butchery_large_no_surface"
|
||||
"QUICK": "butchery_large_no_surface",
|
||||
"BLEED": "bleed_large"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -483,6 +483,7 @@
|
||||
"required_skills": [ [ "fabrication", 0 ] ],
|
||||
"time": "2 m",
|
||||
"qualities": [ [ { "id": "CUT", "level": 1 } ] ],
|
||||
"byproducts": [ { "item": "duct_tape", "charges": [ 15, 25 ] } ],
|
||||
"pre_terrain": "t_window_taped",
|
||||
"post_terrain": "t_window"
|
||||
},
|
||||
@@ -495,6 +496,7 @@
|
||||
"required_skills": [ [ "fabrication", 0 ] ],
|
||||
"time": "2 m",
|
||||
"qualities": [ [ { "id": "CUT", "level": 1 } ] ],
|
||||
"byproducts": [ { "item": "duct_tape", "charges": [ 15, 25 ] } ],
|
||||
"pre_terrain": "t_window_domestic_taped",
|
||||
"post_terrain": "t_window_domestic"
|
||||
},
|
||||
@@ -507,6 +509,7 @@
|
||||
"required_skills": [ [ "fabrication", 0 ] ],
|
||||
"time": "2 m",
|
||||
"qualities": [ [ { "id": "CUT", "level": 1 } ] ],
|
||||
"byproducts": [ { "item": "duct_tape", "charges": [ 15, 25 ] } ],
|
||||
"pre_terrain": "t_window_alarm_taped",
|
||||
"post_terrain": "t_window_alarm"
|
||||
},
|
||||
@@ -519,6 +522,7 @@
|
||||
"required_skills": [ [ "fabrication", 0 ] ],
|
||||
"time": "2 m",
|
||||
"qualities": [ [ { "id": "CUT", "level": 1 } ] ],
|
||||
"byproducts": [ { "item": "duct_tape", "charges": [ 15, 25 ] } ],
|
||||
"pre_terrain": "t_window_no_curtains_taped",
|
||||
"post_terrain": "t_window_no_curtains"
|
||||
},
|
||||
@@ -1844,7 +1848,16 @@
|
||||
"components": [
|
||||
[ [ "2x4", 4 ] ],
|
||||
[ [ "nail", 6 ] ],
|
||||
[ [ "sheet", 2 ], [ "blanket", 1 ], [ "down_blanket", 1 ], [ "fur_blanket", 1 ] ]
|
||||
[
|
||||
[ "sheet", 2 ],
|
||||
[ "blanket", 1 ],
|
||||
[ "down_blanket", 1 ],
|
||||
[ "fur_blanket", 1 ],
|
||||
[ "quilt", 1 ],
|
||||
[ "quilt_patchwork", 1 ],
|
||||
[ "sleeping_bag", 1 ],
|
||||
[ "sleeping_bag_fur", 1 ]
|
||||
]
|
||||
],
|
||||
"pre_special": "check_empty",
|
||||
"post_terrain": "f_makeshift_bed"
|
||||
@@ -2712,7 +2725,8 @@
|
||||
"time": "40 m",
|
||||
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SAW_W", "level": 2 } ] ],
|
||||
"components": [
|
||||
[ [ "2x4", 8 ] ],
|
||||
[ [ "2x4", 4 ] ],
|
||||
[ [ "2x4", 4 ], [ "wood_sheet", 1 ], [ "wood_panel", 2 ] ],
|
||||
[ [ "rope_makeshift_30", 1 ], [ "rope_30", 1 ], [ "vine_30", 1 ] ],
|
||||
[ [ "55gal_drum", 2 ], [ "30gal_drum", 2 ], [ "wooden_barrel", 2 ] ]
|
||||
],
|
||||
@@ -4063,7 +4077,7 @@
|
||||
"required_skills": [ [ "fabrication", 2 ] ],
|
||||
"time": "40 m",
|
||||
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SAW_M", "level": 1 } ] ],
|
||||
"components": [ [ [ "rigid_plastic_sheet", 2 ] ], [ [ "nail", 16 ] ], [ [ "2x4", 4 ] ] ],
|
||||
"components": [ [ [ "rigid_plastic_sheet", 1 ] ], [ [ "nail", 16 ] ], [ [ "2x4", 4 ] ] ],
|
||||
"pre_terrain": "t_window_empty",
|
||||
"post_terrain": "t_plastic_window"
|
||||
},
|
||||
@@ -4089,7 +4103,7 @@
|
||||
"required_skills": [ [ "fabrication", 2 ] ],
|
||||
"time": "40 m",
|
||||
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SAW_M", "level": 1 } ] ],
|
||||
"components": [ [ [ "rigid_plastic_sheet", 1 ] ], [ [ "nail", 16 ] ], [ [ "2x4", 4 ] ] ],
|
||||
"components": [ [ [ "rigid_plastic_sheet", 3 ] ], [ [ "nail", 16 ] ], [ [ "2x4", 4 ] ] ],
|
||||
"pre_terrain": "t_window_empty",
|
||||
"post_terrain": "t_reinforced_plastic_window"
|
||||
},
|
||||
|
||||
+118
-37
@@ -244,6 +244,24 @@
|
||||
"name": [ "Pushed" ],
|
||||
"desc": [ "AI tag used for monsters pushing each other. This is a bug if you have it." ]
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "venom_player1",
|
||||
"name": [ "Weak Player Venom" ],
|
||||
"desc": [ "Don't worry, you shouldn't get this." ],
|
||||
"max_duration": 120,
|
||||
"base_mods": { "hurt_amount": [ 10 ], "hurt_min": [ 1 ], "hurt_chance": [ 2 ] },
|
||||
"//": "10+0,5/s dmg, from max duration avg 70 (range 10-130)"
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "venom_player2",
|
||||
"name": [ "Strong Player Venom" ],
|
||||
"desc": [ "Don't worry, you really shouldn't get this." ],
|
||||
"max_duration": 120,
|
||||
"base_mods": { "hurt_amount": [ 20 ], "hurt_min": [ 4 ], "hurt_chance": [ 2 ], "speed_mod": [ -50 ] },
|
||||
"//": "20+2/s dmg, from max duration avg 260 (range 20-480)"
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "dripping_mechanical_fluid",
|
||||
@@ -518,6 +536,7 @@
|
||||
"rating": "bad",
|
||||
"resist_traits": [ "POISRESIST" ],
|
||||
"blood_analysis_description": "Systemic Inflammatory Agents",
|
||||
"speed_name": "Poisoned",
|
||||
"resist_effects": [ "prophylactic_antivenom" ],
|
||||
"max_intensity": 125,
|
||||
"max_effective_intensity": 100,
|
||||
@@ -886,23 +905,37 @@
|
||||
"int_dur_factor": "8 h",
|
||||
"max_intensity": 3,
|
||||
"base_mods": {
|
||||
"pain_chance": [ 2, 1 ],
|
||||
"pain_chance_bot": [ 200 ],
|
||||
"pain_min": [ 1 ],
|
||||
"pain_max_val": [ 30, 20 ],
|
||||
"str_mod": [ -1 ],
|
||||
"dex_mod": [ -1 ],
|
||||
"vomit_chance": [ 1000, 1200 ],
|
||||
"fatigue_min": [ 360, 180 ],
|
||||
"fatigue_chance": [ -102 ]
|
||||
"str_mod": [ -2 ],
|
||||
"dex_mod": [ -3 ],
|
||||
"int_mod": [ -2 ],
|
||||
"vomit_chance": [ 900, 1200 ],
|
||||
"vomit_tick": [ 180 ],
|
||||
"thirst_min": [ 2 ],
|
||||
"thirst_chance": [ 10, 100 ],
|
||||
"thirst_tick": [ 30 ],
|
||||
"speed_mod": [ -10, 0 ],
|
||||
"stamina_min": [ -8, -4 ],
|
||||
"stamina_max": [ -50, -20 ],
|
||||
"stamina_chance": [ 3, 10 ],
|
||||
"fatigue_min": [ 2, 0 ],
|
||||
"fatigue_max": [ 10, 5 ],
|
||||
"fatigue_chance": [ 110 ],
|
||||
"fatigue_max_val": [ 700, 250 ],
|
||||
"healing_rate": [ 0.01, 1 ]
|
||||
},
|
||||
"scaling_mods": {
|
||||
"pain_max_val": [ 30, 20 ],
|
||||
"str_mod": [ -1, -0.5 ],
|
||||
"dex_mod": [ -1, -0.5 ],
|
||||
"int_mod": [ -3, -1 ],
|
||||
"vomit_chance": [ -400 ],
|
||||
"fatigue_chance": [ 101 ]
|
||||
"speed_mod": [ -10, -5 ],
|
||||
"stamina_min": [ -6, -4 ],
|
||||
"stamina_max": [ 15, 4 ],
|
||||
"stamina_chance": [ -1, -2.5 ],
|
||||
"fatigue_chance": [ -50 ],
|
||||
"fatigue_tick": [ 0.5 ]
|
||||
},
|
||||
"//": "Stamina regen stops completely at int 3, but no stamina loss from then on",
|
||||
"blood_analysis_description": "Bacterial Infection"
|
||||
},
|
||||
{
|
||||
@@ -911,22 +944,38 @@
|
||||
"name": [ "Recovering From Infection" ],
|
||||
"desc": [ "You are recovering from an infection." ],
|
||||
"rating": "bad",
|
||||
"resist_traits": [ "INFRESIST" ],
|
||||
"max_intensity": 3,
|
||||
"int_dur_factor": "32 h",
|
||||
"base_mods": {
|
||||
"pain_chance": [ 100 ],
|
||||
"pain_min": [ 1 ],
|
||||
"pain_max_val": [ 30 ],
|
||||
"str_mod": [ -1 ],
|
||||
"dex_mod": [ -1 ],
|
||||
"vomit_chance": [ 1000 ],
|
||||
"fatigue_min": [ 360 ],
|
||||
"fatigue_chance": [ -102 ],
|
||||
"fatigue_tick": [ 6 ],
|
||||
"pain_tick": [ 6 ],
|
||||
"vomit_tick": [ 6 ]
|
||||
"int_mod": [ -1 ],
|
||||
"vomit_chance": [ 1200, 1800 ],
|
||||
"vomit_tick": [ 180 ],
|
||||
"thirst_min": [ 1, 0 ],
|
||||
"thirst_max": [ 3, 2 ],
|
||||
"thirst_chance": [ 10, 100 ],
|
||||
"thirst_tick": [ 60 ],
|
||||
"speed_mod": [ -5, 0 ],
|
||||
"stamina_min": [ -8 ],
|
||||
"stamina_chance": [ 10, 20 ],
|
||||
"fatigue_min": [ 1, 0 ],
|
||||
"fatigue_max": [ 5, 3 ],
|
||||
"fatigue_chance": [ 210 ],
|
||||
"fatigue_max_val": [ 500, 125 ],
|
||||
"healing_rate": [ 0.5 ]
|
||||
},
|
||||
"scaling_mods": { "pain_max_val": [ 30 ], "str_mod": [ -1 ], "dex_mod": [ -1 ], "vomit_chance": [ -400 ], "fatigue_chance": [ 101 ] }
|
||||
"scaling_mods": {
|
||||
"str_mod": [ -1, -0.5 ],
|
||||
"dex_mod": [ -1, -0.5 ],
|
||||
"int_mod": [ -2, -1 ],
|
||||
"vomit_chance": [ -500 ],
|
||||
"speed_mod": [ -5, -4 ],
|
||||
"stamina_min": [ -6, -3 ],
|
||||
"stamina_chance": [ -1, -2.5 ],
|
||||
"fatigue_chance": [ -60 ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
@@ -2174,7 +2223,9 @@
|
||||
"name": [ "Took weak antibiotic" ],
|
||||
"desc": [
|
||||
"You consumed mild antibiotic some time ago to fight off infection.\nIf you don't recover you may want to take another dose, but beware overdosage."
|
||||
]
|
||||
],
|
||||
"max_duration": 54000,
|
||||
"dur_add_perc": 35
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
@@ -2182,7 +2233,9 @@
|
||||
"name": [ "Took antibiotic" ],
|
||||
"desc": [
|
||||
"You consumed antibiotic some time ago to fight off infection.\nIf you don't recover you may want to take another dose, but beware overdosage."
|
||||
]
|
||||
],
|
||||
"max_duration": 54000,
|
||||
"dur_add_perc": 25
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
@@ -2190,25 +2243,33 @@
|
||||
"name": [ "Took strong antibiotic" ],
|
||||
"desc": [
|
||||
"You consumed prescription-grade antibiotic some time ago to fight off infection.\nIf you don't recover you may want to take another dose, but beware overdosage."
|
||||
]
|
||||
],
|
||||
"max_duration": 54000,
|
||||
"dur_add_perc": 25
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "weak_antibiotic",
|
||||
"rating": "good",
|
||||
"blood_analysis_description": "Antibiotics"
|
||||
"blood_analysis_description": "Antibiotics",
|
||||
"max_duration": 43200,
|
||||
"dur_add_perc": 25
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "antibiotic",
|
||||
"rating": "good",
|
||||
"blood_analysis_description": "Antibiotics"
|
||||
"blood_analysis_description": "Antibiotics",
|
||||
"max_duration": 43200,
|
||||
"dur_add_perc": 25
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "strong_antibiotic",
|
||||
"rating": "good",
|
||||
"blood_analysis_description": "Antibiotics"
|
||||
"blood_analysis_description": "Antibiotics",
|
||||
"max_duration": 43200,
|
||||
"dur_add_perc": 25
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
@@ -2226,7 +2287,9 @@
|
||||
"int_add_val": 1,
|
||||
"max_intensity": 3,
|
||||
"base_mods": { "vomit_tick": [ 60 ], "health_chance": [ 1500 ], "health_min": [ 1 ] },
|
||||
"scaling_mods": { "health_min": [ -1.5 ], "health_min_val": [ -2 ], "vomit_tick": [ 120 ] }
|
||||
"scaling_mods": { "health_min": [ -1.5 ], "health_min_val": [ -2 ], "vomit_tick": [ 120 ] },
|
||||
"max_duration": 14400,
|
||||
"dur_add_perc": 70
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
@@ -2234,7 +2297,9 @@
|
||||
"name": [ "Antifungals" ],
|
||||
"desc": [ "You are under the effects of an antifungal medicine or chemicals." ],
|
||||
"rating": "good",
|
||||
"blood_analysis_description": "Antifungals"
|
||||
"blood_analysis_description": "Antifungals",
|
||||
"max_duration": 28800,
|
||||
"dur_add_perc": 50
|
||||
},
|
||||
{
|
||||
"//": "This effect is a dummy effect for disabling certain things for a few turns after an electromagnetic pulse and does nothing on its own",
|
||||
@@ -2355,49 +2420,65 @@
|
||||
"type": "effect_type",
|
||||
"id": "weary_1",
|
||||
"name": [ "Lightly Weary" ],
|
||||
"desc": [ "You've been pretty active for a while; operating at the highest levels of activity will be impaired." ]
|
||||
"desc": [
|
||||
"You've been pretty active for a while; operating at the highest levels of activity will be impaired.\nThe following move penalties are applied for the following activity levels:\nExtreme: 1.25x"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "weary_2",
|
||||
"name": [ "Moderately Weary" ],
|
||||
"desc": [ "You've been quite active for a while; operating at higher levels of activity will be impaired." ]
|
||||
"desc": [
|
||||
"You've been quite active for a while; operating at higher levels of activity will be impaired.\nThe following move penalties are applied for the following activity levels:\nExtreme: 1.67x, Active: 1.33x"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "weary_3",
|
||||
"name": [ "Weary" ],
|
||||
"desc": [ "You've been very active for a while, and need to slow down for a bit." ]
|
||||
"desc": [
|
||||
"You've been very active for a while, and need to slow down for a bit.\nThe following move penalties are applied for the following activity levels:\nExtreme: 2.5x, Active: 2x, Brisk: 1.5x"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "weary_4",
|
||||
"name": [ "Very Weary" ],
|
||||
"desc": [ "You've been extremely active for a while, and need to slow down." ]
|
||||
"desc": [
|
||||
"You've been extremely active for a while, and need to slow down.\nThe following move penalties are applied for the following activity levels:\nExtreme: 5x, Active: 4x, Brisk: 3x, Moderate: 2x"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "weary_5",
|
||||
"name": [ "Extremely Weary" ],
|
||||
"desc": [ "You've been extremely active for a while, and can't take much more activity." ]
|
||||
"desc": [
|
||||
"You've been extremely active for a while, and can't take much more activity.\nThe following move penalties are applied for the following activity levels:\nExtreme: 10x, Active: 8x, Brisk: 6x, Moderate: 4x, Light: 2x"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "weary_6",
|
||||
"name": [ "Extremely Weary" ],
|
||||
"desc": [ "You've been extremely active for a while, and really need to get some rest." ]
|
||||
"desc": [
|
||||
"You've been extremely active for a while, and really need to get some rest.\nThe following move penalties are applied for the following activity levels:\nExtreme: 10x, Active: 8x, Brisk: 6x, Moderate: 4x, Light: 2x"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "weary_7",
|
||||
"name": [ "Extremely Weary" ],
|
||||
"desc": [ "You've been extremely active for a while; it's time to stop." ]
|
||||
"desc": [
|
||||
"You've been extremely active for a while; it's time to stop.\nThe following move penalties are applied for the following activity levels:\nExtreme: 10x, Active: 8x, Brisk: 6x, Moderate: 4x, Light: 2x"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "weary_8",
|
||||
"name": [ "Extremely Weary" ],
|
||||
"desc": [ "You've been extremely active for a while, and can no longer keep pushing." ]
|
||||
"desc": [
|
||||
"You've been extremely active for a while, and can no longer keep pushing.\nThe following move penalties are applied for the following activity levels:\nExtreme: 10x, Active: 8x, Brisk: 6x, Moderate: 4x, Light: 2x"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
"decay_amount_factor": 2,
|
||||
"is_splattering": true,
|
||||
"half_life": "2 days",
|
||||
"phase": "solid",
|
||||
"phase": "liquid",
|
||||
"accelerated_decay": true,
|
||||
"display_field": true,
|
||||
"looks_like": "fd_blood"
|
||||
@@ -61,7 +61,7 @@
|
||||
"decay_amount_factor": 2,
|
||||
"is_splattering": true,
|
||||
"half_life": "2 days",
|
||||
"phase": "solid",
|
||||
"phase": "liquid",
|
||||
"accelerated_decay": true,
|
||||
"display_field": true,
|
||||
"looks_like": "fd_blood_veggy"
|
||||
@@ -238,7 +238,7 @@
|
||||
"description_affix": "covered_in",
|
||||
"is_splattering": true,
|
||||
"priority": 2,
|
||||
"half_life": "6 hours",
|
||||
"half_life": "30 minutes",
|
||||
"phase": "liquid",
|
||||
"display_field": true,
|
||||
"looks_like": "fd_sap"
|
||||
@@ -647,7 +647,11 @@
|
||||
"id": "fd_flame_burst",
|
||||
"type": "field_type",
|
||||
"legacy_enum_id": 18,
|
||||
"intensity_levels": [ { "name": { "ctxt": "noun", "str": "fire" }, "sym": "5", "color": "red", "dangerous": true, "light_emitted": 20 } ],
|
||||
"intensity_levels": [
|
||||
{ "name": { "ctxt": "noun", "str": "fire" }, "sym": "5", "color": "red", "dangerous": true, "light_emitted": 20 },
|
||||
{ "//": "repeat last entry" },
|
||||
{ "//": "repeat last entry" }
|
||||
],
|
||||
"description_affix": "on",
|
||||
"has_fire": true,
|
||||
"priority": 4,
|
||||
@@ -909,7 +913,7 @@
|
||||
"decay_amount_factor": 2,
|
||||
"is_splattering": true,
|
||||
"half_life": "2 days",
|
||||
"phase": "solid",
|
||||
"phase": "liquid",
|
||||
"accelerated_decay": true,
|
||||
"display_field": true,
|
||||
"looks_like": "fd_blood_insect"
|
||||
@@ -928,7 +932,7 @@
|
||||
"decay_amount_factor": 2,
|
||||
"is_splattering": true,
|
||||
"half_life": "2 days",
|
||||
"phase": "solid",
|
||||
"phase": "liquid",
|
||||
"accelerated_decay": true,
|
||||
"display_field": true,
|
||||
"looks_like": "fd_blood_invertebrate"
|
||||
|
||||
+14
-5
@@ -62,6 +62,12 @@
|
||||
"info": "This gear is <info>strapped</info> onto you.",
|
||||
"conflicts": [ "OUTER", "SKINTIGHT", "WAIST", "PERSONAL", "AURA" ]
|
||||
},
|
||||
{
|
||||
"id": "BIONIC_INSTALLATION_DATA",
|
||||
"type": "json_flag",
|
||||
"context": [ "GENERIC" ],
|
||||
"info": "This item <info>provides</info> instructions and other required data for several bionics, allowing installation of them with <good>minimal failure chance</good>."
|
||||
},
|
||||
{
|
||||
"id": "BIONIC_NPC_USABLE",
|
||||
"type": "json_flag",
|
||||
@@ -151,6 +157,11 @@
|
||||
"type": "json_flag",
|
||||
"context": [ "GENERIC" ]
|
||||
},
|
||||
{
|
||||
"id": "BLED",
|
||||
"type": "json_flag",
|
||||
"context": [ "GENERIC" ]
|
||||
},
|
||||
{
|
||||
"id": "CANT_HEAL_EVERYONE",
|
||||
"type": "json_flag",
|
||||
@@ -449,7 +460,7 @@
|
||||
"id": "PREDATOR_FUN",
|
||||
"type": "json_flag",
|
||||
"context": [ "COMESTIBLE" ],
|
||||
"info": "Designates a food that is usually undesirable but gives a morale bonus to characters with predator mutations."
|
||||
"//": "Designates a food that is usually undesirable but gives a morale bonus to characters with predator mutations."
|
||||
},
|
||||
{
|
||||
"id": "STAB",
|
||||
@@ -569,14 +580,12 @@
|
||||
{
|
||||
"id": "MUSHY",
|
||||
"type": "json_flag",
|
||||
"context": [ "COMESTIBLE" ],
|
||||
"info": "This food was frozen and is now <bad>mushy</bad> and tasteless and <bad>will go bad</bad> after freezing again."
|
||||
"context": [ "COMESTIBLE" ]
|
||||
},
|
||||
{
|
||||
"id": "FREEZERBURN",
|
||||
"type": "json_flag",
|
||||
"context": [ "COMESTIBLE" ],
|
||||
"info": "This food was frozen and is now <bad>mushy</bad> and tasteless and <bad>will go bad</bad> after freezing again."
|
||||
"context": [ "COMESTIBLE" ]
|
||||
},
|
||||
{
|
||||
"id": "PSYSHIELD_PARTIAL",
|
||||
|
||||
@@ -180,7 +180,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 90,
|
||||
"required_str": 10,
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE" ],
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "NO_SELF_CONNECT" ],
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "sheet_metal", "count": [ 2, 6 ] },
|
||||
@@ -407,7 +407,7 @@
|
||||
"items": [
|
||||
{ "item": "tanned_hide", "count": [ 1, 2 ] },
|
||||
{ "item": "2x4", "count": [ 2, 4 ] },
|
||||
{ "item": "scrap", "count": [ 2, 6 ] },
|
||||
{ "item": "spring", "count": [ 1, 2 ] },
|
||||
{ "item": "wire", "count": [ 1, 4 ] }
|
||||
]
|
||||
},
|
||||
|
||||
@@ -143,7 +143,7 @@
|
||||
"color": "light_gray",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": 10,
|
||||
"flags": [ "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "LIQUIDCONT" ],
|
||||
"flags": [ "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "LIQUIDCONT", "TRANSPARENT" ],
|
||||
"bash": {
|
||||
"str_min": 16,
|
||||
"str_max": 40,
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "FLOWER" ],
|
||||
"examine_action": "harvest_furn_nectar",
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "entries": [ { "drop": "raw_dandelion", "base_num": [ 1, 4 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "id": "dandelion_harv" } ],
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
|
||||
},
|
||||
{
|
||||
@@ -39,7 +39,7 @@
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "FLOWER" ],
|
||||
"examine_action": "harvest_furn_nectar",
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "entries": [ { "drop": "raw_burdock", "base_num": [ 1, 4 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "id": "burdoc_harv" } ],
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
|
||||
},
|
||||
{
|
||||
@@ -54,7 +54,7 @@
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "FLOWER" ],
|
||||
"examine_action": "harvest_furn",
|
||||
"harvest_by_season": [ { "seasons": [ "summer", "autumn" ], "entries": [ { "drop": "chamomile", "base_num": [ 4, 8 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "summer", "autumn" ], "id": "chamomille_harv" } ],
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
|
||||
},
|
||||
{
|
||||
@@ -69,12 +69,7 @@
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "FLOWER" ],
|
||||
"examine_action": "harvest_furn_nectar",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "spring", "summer", "autumn" ],
|
||||
"entries": [ { "drop": "withered", "base_num": [ 1, 2 ] }, { "drop": "seed_flower", "base_num": [ 1, 2 ] } ]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "id": "tulip_harv" } ],
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
|
||||
},
|
||||
{
|
||||
@@ -89,16 +84,7 @@
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "FLOWER" ],
|
||||
"examine_action": "harvest_furn_nectar",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "spring", "summer", "autumn" ],
|
||||
"entries": [
|
||||
{ "drop": "withered", "base_num": [ 1, 2 ] },
|
||||
{ "drop": "seed_spurge", "base_num": [ 1, 2 ] },
|
||||
{ "drop": "spurge", "base_num": [ 1, 4 ] }
|
||||
]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "id": "spurge_harv" } ],
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
|
||||
},
|
||||
{
|
||||
@@ -113,11 +99,8 @@
|
||||
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "ORGANIC" ],
|
||||
"examine_action": "harvest_furn",
|
||||
"harvest_by_season": [
|
||||
{ "seasons": [ "winter" ], "entries": [ { "drop": "cattail_rhizome" } ] },
|
||||
{
|
||||
"seasons": [ "spring", "summer", "autumn" ],
|
||||
"entries": [ { "drop": "cattail_rhizome" }, { "drop": "cattail_stalk", "base_num": [ 1, 4 ] } ]
|
||||
}
|
||||
{ "seasons": [ "winter" ], "id": "cattails_winter_harv" },
|
||||
{ "seasons": [ "spring", "summer", "autumn" ], "id": "cattails_summer_harv" }
|
||||
],
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
|
||||
},
|
||||
@@ -133,12 +116,7 @@
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "FLOWER" ],
|
||||
"examine_action": "harvest_furn_nectar",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "spring", "summer", "autumn" ],
|
||||
"entries": [ { "drop": "withered", "base_num": [ 1, 2 ] }, { "drop": "seed_flower", "base_num": [ 1, 2 ] } ]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "id": "black_eyed_susan_harv" } ],
|
||||
"//": "Add flower and bud spawns once useful.",
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
|
||||
},
|
||||
@@ -154,12 +132,7 @@
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "ORGANIC" ],
|
||||
"examine_action": "harvest_furn_nectar",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "spring", "summer", "autumn" ],
|
||||
"entries": [ { "drop": "withered", "base_num": [ 1, 2 ] }, { "drop": "seed_flower", "base_num": [ 1, 2 ] } ]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "id": "lily_harv" } ],
|
||||
"//": "Add flower and bud spawns once useful.",
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
|
||||
},
|
||||
@@ -175,12 +148,7 @@
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "ORGANIC" ],
|
||||
"examine_action": "harvest_furn_nectar",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "spring", "summer", "autumn" ],
|
||||
"entries": [ { "drop": "withered", "base_num": [ 1, 2 ] }, { "drop": "lotus", "base_num": [ 1, 2 ] } ]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "id": "lotus_harv" } ],
|
||||
"//": "Add flower and bud spawns once useful.",
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
|
||||
},
|
||||
@@ -196,7 +164,7 @@
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "FLOWER" ],
|
||||
"examine_action": "harvest_furn_nectar",
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "entries": [ { "drop": "sunflower" } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "id": "sunflower_harv" } ],
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
|
||||
},
|
||||
{
|
||||
@@ -210,7 +178,7 @@
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "FLOWER" ],
|
||||
"examine_action": "harvest_furn",
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "entries": [ { "drop": "withered", "base_num": [ 1, 2 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "id": "lilypad_harv" } ],
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
|
||||
},
|
||||
{
|
||||
@@ -225,12 +193,7 @@
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "FLOWER" ],
|
||||
"examine_action": "harvest_furn_nectar",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "spring", "summer", "autumn" ],
|
||||
"entries": [ { "drop": "withered", "base_num": [ 1, 2 ] }, { "drop": "seed_flower", "base_num": [ 1, 2 ] } ]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "id": "bluebell_harv" } ],
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
|
||||
},
|
||||
{
|
||||
@@ -259,7 +222,7 @@
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "FLOWER" ],
|
||||
"examine_action": "harvest_furn_nectar",
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "entries": [ { "drop": "chicory_raw", "base_num": [ 1, 2 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "id": "chicory_harv" } ],
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
|
||||
},
|
||||
{
|
||||
@@ -274,12 +237,7 @@
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "ORGANIC" ],
|
||||
"examine_action": "harvest_furn_nectar",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "spring", "summer", "autumn" ],
|
||||
"entries": [ { "drop": "datura_seed", "base_num": [ 2, 6 ] }, { "drop": "withered", "base_num": [ 1, 2 ] } ]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "id": "datura_harv" } ],
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
|
||||
},
|
||||
{
|
||||
@@ -317,7 +275,7 @@
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "FLOWER" ],
|
||||
"examine_action": "harvest_furn",
|
||||
"harvest_by_season": [ { "seasons": [ "summer", "autumn" ], "entries": [ { "drop": "seed_mustard", "base_num": [ 2, 6 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "summer", "autumn" ], "id": "mustard_harv" } ],
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
|
||||
},
|
||||
{
|
||||
@@ -333,12 +291,7 @@
|
||||
"transforms_into": "t_tree_alder_harvested",
|
||||
"examine_action": "harvest_ter",
|
||||
"looks_like": "t_tree_hickory",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "spring", "autumn" ],
|
||||
"entries": [ { "drop": "alder_bark", "base_num": [ 2, 5 ], "scale_num": [ 0, 1 ] } ]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "autumn" ], "id": "alder_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 35,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "AUTODOC", "CONTAINER" ],
|
||||
"flags": [ "TRANSPARENT", "AUTODOC", "CONTAINER", "NO_PICKUP_ON_EXAMINE" ],
|
||||
"examine_action": "autodoc",
|
||||
"surgery_skill_multiplier": 1.0,
|
||||
"deconstruct": {
|
||||
|
||||
@@ -172,7 +172,7 @@
|
||||
"flags": [ "BLOCKSDOOR", "TRANSPARENT" ],
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "scrap", "count": [ 4, 6 ] },
|
||||
{ "item": "spring", "count": [ 4, 6 ] },
|
||||
{ "item": "plastic_chunk", "count": [ 3, 5 ] },
|
||||
{ "item": "circuit", "count": 1 },
|
||||
{ "item": "2x4", "count": 4 },
|
||||
|
||||
@@ -67,7 +67,14 @@
|
||||
"floor_bedding_warmth": 500,
|
||||
"bonus_fire_warmth_feet": 1000,
|
||||
"required_str": 7,
|
||||
"deconstruct": { "items": [ { "item": "pipe", "count": 10 }, { "item": "rag", "count": [ 30, 33 ] }, { "item": "rope_6" } ] },
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "pipe", "count": 10 },
|
||||
{ "item": "rag", "count": [ 30, 33 ] },
|
||||
{ "item": "rope_6" },
|
||||
{ "item": "spring", "count": [ 2, 3 ] }
|
||||
]
|
||||
},
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC", "MOUNTABLE", "CAN_SIT" ],
|
||||
"bash": {
|
||||
"str_min": 12,
|
||||
@@ -118,7 +125,12 @@
|
||||
"floor_bedding_warmth": 500,
|
||||
"required_str": 10,
|
||||
"deconstruct": {
|
||||
"items": [ { "item": "2x4", "count": 12 }, { "item": "rag", "count": [ 30, 33 ] }, { "item": "nail", "charges": [ 8, 10 ] } ]
|
||||
"items": [
|
||||
{ "item": "2x4", "count": 12 },
|
||||
{ "item": "rag", "count": [ 30, 33 ] },
|
||||
{ "item": "nail", "charges": [ 8, 10 ] },
|
||||
{ "item": "spring", "charges": [ 2, 3 ] }
|
||||
]
|
||||
},
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC", "BLOCKSDOOR", "MOUNTABLE", "CAN_SIT" ],
|
||||
"bash": {
|
||||
@@ -130,6 +142,7 @@
|
||||
{ "item": "2x4", "count": [ 2, 5 ] },
|
||||
{ "item": "nail", "charges": [ 3, 8 ] },
|
||||
{ "item": "splinter", "count": [ 1, 2 ] },
|
||||
{ "item": "scrap", "count": [ 0, 5 ] },
|
||||
{ "item": "rag", "count": [ 20, 30 ] }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -201,7 +201,7 @@
|
||||
"floor_bedding_warmth": 200,
|
||||
"required_str": 3,
|
||||
"deconstruct": { "items": [ { "item": "box_large", "count": 1 } ] },
|
||||
"max_volume": "1500 L",
|
||||
"max_volume": "324 L",
|
||||
"deployed_item": "box_large",
|
||||
"examine_action": "deployed_furniture",
|
||||
"flags": [
|
||||
|
||||
@@ -147,7 +147,11 @@
|
||||
"flags": [ "NOITEM", "DOOR", "PERMEABLE", "FLAMMABLE_ASH", "MOUNTABLE" ],
|
||||
"open": "f_beaded_door_o",
|
||||
"deconstruct": {
|
||||
"items": [ { "item": "stick_long", "count": 1 }, { "item": "string_36", "count": 20 }, { "item": "wooden_bead", "count": 2000 } ]
|
||||
"items": [
|
||||
{ "item": "stick_long", "count": 1 },
|
||||
{ "item": "string_36", "count": 20 },
|
||||
{ "item": "wooden_bead", "charges": 2000 }
|
||||
]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 1,
|
||||
@@ -158,7 +162,7 @@
|
||||
"items": [
|
||||
{ "item": "string_36", "count": [ 3, 15 ] },
|
||||
{ "item": "stick_long", "count": 1 },
|
||||
{ "item": "wooden_bead", "count": [ 200, 500 ] }
|
||||
{ "item": "wooden_bead", "charges": [ 200, 500 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -175,7 +179,11 @@
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "FLAT" ],
|
||||
"close": "f_beaded_door",
|
||||
"deconstruct": {
|
||||
"items": [ { "item": "stick_long", "count": 1 }, { "item": "string_36", "count": 20 }, { "item": "wooden_bead", "count": 2000 } ]
|
||||
"items": [
|
||||
{ "item": "stick_long", "count": 1 },
|
||||
{ "item": "string_36", "count": 20 },
|
||||
{ "item": "wooden_bead", "charges": 2000 }
|
||||
]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 1,
|
||||
@@ -186,7 +194,7 @@
|
||||
"items": [
|
||||
{ "item": "string_36", "count": [ 3, 15 ] },
|
||||
{ "item": "stick_long", "count": 1 },
|
||||
{ "item": "wooden_bead", "count": [ 200, 500 ] }
|
||||
{ "item": "wooden_bead", "charges": [ 200, 500 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
"type": "terrain",
|
||||
"id": "t_pontoon_dp",
|
||||
"name": "pontoon bridge",
|
||||
"description": "A floating temporary bridge, like the ones army used to make to cross rivers.",
|
||||
"description": "A floating temporary bridge over still water, like the ones armies used to make to cross lakes.",
|
||||
"looks_like": "t_pontoon",
|
||||
"symbol": "8",
|
||||
"color": "brown",
|
||||
@@ -141,7 +141,7 @@
|
||||
"type": "terrain",
|
||||
"id": "t_riverbridge_dp",
|
||||
"name": "river bridge",
|
||||
"description": "A floating temporary bridge, like the ones army used to make to cross rivers.",
|
||||
"description": "A floating temporary bridge over flowing water, like the ones armies used to make to cross rivers.",
|
||||
"looks_like": "t_pontoon",
|
||||
"symbol": "8",
|
||||
"color": "brown",
|
||||
@@ -156,7 +156,7 @@
|
||||
"str_max": 80,
|
||||
"sound": "smash!",
|
||||
"sound_fail": "whump!",
|
||||
"ter_set": "t_water_dp",
|
||||
"ter_set": "t_water_moving_dp",
|
||||
"items": [ { "item": "2x4", "count": 2, "prob": 25 }, { "item": "splinter", "count": [ 2, 4 ] } ]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -2206,7 +2206,6 @@
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "PERMEABLE", "CONNECT_TO_WALL", "THIN_OBSTACLE" ],
|
||||
"open": "t_door_bar_o",
|
||||
"close": "t_door_bar_locked",
|
||||
"bash": {
|
||||
"str_min": 30,
|
||||
"str_max": 210,
|
||||
|
||||
@@ -305,7 +305,7 @@
|
||||
"color": "light_red",
|
||||
"move_cost": 2,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_HARD", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT" ],
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_HARD", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD" ],
|
||||
"bash": {
|
||||
"sound": "SMASH!",
|
||||
"ter_set": "t_null",
|
||||
@@ -703,7 +703,7 @@
|
||||
"sound": "SMASH!",
|
||||
"items": [ { "item": "wax", "count": [ 1, 3 ] } ]
|
||||
},
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_HARD", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT" ]
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_HARD", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD" ]
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"transforms_into": "t_tree_walnut_harvested",
|
||||
"examine_action": "harvest_ter",
|
||||
"looks_like": "t_tree_hickory",
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "entries": [ { "drop": "walnut", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "walnut_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -56,9 +56,7 @@
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
"transforms_into": "t_tree_blackjack_harvested",
|
||||
"examine_action": "harvest_ter",
|
||||
"harvest_by_season": [
|
||||
{ "seasons": [ "spring", "summer", "autumn", "winter" ], "entries": [ { "drop": "tanbark", "base_num": [ 1, 2 ] } ] }
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn", "winter" ], "id": "blackjack_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -102,7 +100,7 @@
|
||||
"transforms_into": "t_tree_chestnut_harvested",
|
||||
"examine_action": "harvest_ter",
|
||||
"looks_like": "t_tree_hickory",
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "entries": [ { "drop": "chestnut", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "chestnut_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -146,7 +144,7 @@
|
||||
"transforms_into": "t_tree_beech_harvested",
|
||||
"examine_action": "harvest_ter",
|
||||
"looks_like": "t_tree_hickory",
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "entries": [ { "drop": "beech_nuts", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "beech_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -190,7 +188,7 @@
|
||||
"transforms_into": "t_tree_hazelnut_harvested",
|
||||
"examine_action": "harvest_ter",
|
||||
"looks_like": "t_tree_hickory",
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "entries": [ { "drop": "hazelnut", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "hazelnut_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -234,7 +232,7 @@
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
"transforms_into": "t_tree_harvested",
|
||||
"examine_action": "harvest_ter",
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "entries": [ { "drop": "acorns", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "oak_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -360,7 +358,7 @@
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
"transforms_into": "t_tree_apple_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "entries": [ { "drop": "apple", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "apple_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -407,7 +405,7 @@
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
"transforms_into": "t_tree_pear_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "entries": [ { "drop": "pear", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "pear_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -454,15 +452,7 @@
|
||||
"transforms_into": "t_tree_coffee_harvested",
|
||||
"looks_like": "t_tree_plum",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "autumn" ],
|
||||
"entries": [
|
||||
{ "drop": "coffee_pod", "base_num": [ 4, 10 ], "scale_num": [ 0, 0.5 ] },
|
||||
{ "drop": "tea_raw", "base_num": [ 1, 3 ], "scale_num": [ 0, 0.5 ] }
|
||||
]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "coffee_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -509,7 +499,7 @@
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
"transforms_into": "t_tree_cherry_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "entries": [ { "drop": "cherries", "base_num": [ 6, 18 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "id": "cherry_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -556,7 +546,7 @@
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
"transforms_into": "t_tree_juniper_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "entries": [ { "drop": "juniper", "base_num": [ 12, 24 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "juniper_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -603,7 +593,7 @@
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
"transforms_into": "t_tree_peach_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "entries": [ { "drop": "peach", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "id": "peach_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -650,7 +640,7 @@
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
"transforms_into": "t_tree_apricot_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "entries": [ { "drop": "apricot", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "id": "apricot_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -697,7 +687,7 @@
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
"transforms_into": "t_tree_plum_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "entries": [ { "drop": "plums", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "id": "plum_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -744,15 +734,7 @@
|
||||
"transforms_into": "t_tree_mulberry_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"looks_like": "t_tree_apple",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "summer" ],
|
||||
"entries": [
|
||||
{ "drop": "mulberries", "base_num": [ 8, 20 ], "scale_num": [ 0, 0.5 ] },
|
||||
{ "drop": "seed_mulberries", "base_num": [ 3, 5 ], "scale_num": [ 0, 0.25 ] }
|
||||
]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "id": "mulberry_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -799,15 +781,7 @@
|
||||
"transforms_into": "t_tree_elderberry_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"looks_like": "t_tree_plum",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "summer" ],
|
||||
"entries": [
|
||||
{ "drop": "elderberries", "base_num": [ 8, 20 ], "scale_num": [ 0, 0.5 ] },
|
||||
{ "drop": "seed_elderberries", "base_num": [ 3, 5 ], "scale_num": [ 0, 0.25 ] }
|
||||
]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "id": "elderberry_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -853,12 +827,7 @@
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
"transforms_into": "t_tree_pine_harvested",
|
||||
"examine_action": "harvest_ter",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "spring", "summer", "autumn", "winter" ],
|
||||
"entries": [ { "drop": "pine_bough", "base_num": [ 2, 8 ] }, { "drop": "pinecone", "base_num": [ 1, 4 ] } ]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn", "winter" ], "id": "pine_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -914,9 +883,7 @@
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
"examine_action": "harvest_ter",
|
||||
"transforms_into": "t_tree_birch_harvested",
|
||||
"harvest_by_season": [
|
||||
{ "seasons": [ "spring", "summer", "autumn", "winter" ], "entries": [ { "drop": "birchbark", "base_num": [ 2, 8 ] } ] }
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn", "winter" ], "id": "birch_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -961,9 +928,7 @@
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
"examine_action": "harvest_ter",
|
||||
"transforms_into": "t_tree_willow_harvested",
|
||||
"harvest_by_season": [
|
||||
{ "seasons": [ "spring", "summer", "autumn", "winter" ], "entries": [ { "drop": "willowbark", "base_num": [ 2, 8 ] } ] }
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn", "winter" ], "id": "willow_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 180,
|
||||
@@ -1049,9 +1014,7 @@
|
||||
"coverage": 80,
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
"examine_action": "tree_hickory",
|
||||
"harvest_by_season": [
|
||||
{ "seasons": [ "autumn" ], "entries": [ { "drop": "hickory_nut", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ] }
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "hickory_harv" } ],
|
||||
"transforms_into": "t_tree_hickory_harvested",
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
@@ -1098,7 +1061,7 @@
|
||||
"coverage": 80,
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
"examine_action": "harvest_ter",
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "entries": [ { "drop": "pistachio", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "pistachio_harv" } ],
|
||||
"transforms_into": "t_tree_pistachio_harvested",
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
@@ -1144,7 +1107,7 @@
|
||||
"coverage": 80,
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
"examine_action": "harvest_ter",
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "entries": [ { "drop": "almond", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "almond_harv" } ],
|
||||
"transforms_into": "t_tree_almond_harvested",
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
@@ -1190,7 +1153,7 @@
|
||||
"coverage": 80,
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
"examine_action": "harvest_ter",
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "entries": [ { "drop": "pecan", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "pecan_harv" } ],
|
||||
"transforms_into": "t_tree_pecan_harvested",
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
@@ -1422,7 +1385,7 @@
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "FLAMMABLE_ASH", "THIN_OBSTACLE", "SHRUB", "SHORT" ],
|
||||
"transforms_into": "t_shrub_peanut_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "entries": [ { "drop": "peanut", "base_num": [ 5, 10 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "shrub_peanut_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 4,
|
||||
"str_max": 60,
|
||||
@@ -1467,15 +1430,7 @@
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "FLAMMABLE_ASH", "THIN_OBSTACLE", "SHRUB", "SHORT" ],
|
||||
"transforms_into": "t_shrub_blueberry_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "summer" ],
|
||||
"entries": [
|
||||
{ "drop": "blueberries", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] },
|
||||
{ "drop": "seed_blueberries", "base_num": [ 1, 2 ], "scale_num": [ 0, 0.25 ] }
|
||||
]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "id": "shrub_blueberry_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 4,
|
||||
"str_max": 60,
|
||||
@@ -1520,15 +1475,7 @@
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "FLAMMABLE_ASH", "THIN_OBSTACLE", "SHRUB", "SHORT" ],
|
||||
"transforms_into": "t_shrub_strawberry_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "summer" ],
|
||||
"entries": [
|
||||
{ "drop": "strawberries", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] },
|
||||
{ "drop": "seed_strawberries", "base_num": [ 1, 2 ], "scale_num": [ 0, 0.25 ] }
|
||||
]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "id": "shrub_strawberry_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 4,
|
||||
"str_max": 60,
|
||||
@@ -1573,15 +1520,7 @@
|
||||
"transforms_into": "t_shrub_blackberry_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"looks_like": "t_shrub_blueberry",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "summer" ],
|
||||
"entries": [
|
||||
{ "drop": "blackberries", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] },
|
||||
{ "drop": "seed_blackberries", "base_num": [ 1, 2 ], "scale_num": [ 0, 0.25 ] }
|
||||
]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "id": "shrub_blackberry_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 4,
|
||||
"str_max": 60,
|
||||
@@ -1626,15 +1565,7 @@
|
||||
"transforms_into": "t_shrub_huckleberry_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"looks_like": "t_shrub_blueberry",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "summer" ],
|
||||
"entries": [
|
||||
{ "drop": "huckleberries", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] },
|
||||
{ "drop": "seed_huckleberries", "base_num": [ 1, 2 ], "scale_num": [ 0, 0.25 ] }
|
||||
]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "id": "shrub_huckleberry_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 4,
|
||||
"str_max": 60,
|
||||
@@ -1679,15 +1610,7 @@
|
||||
"transforms_into": "t_shrub_raspberry_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"looks_like": "t_shrub_strawberry",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "summer" ],
|
||||
"entries": [
|
||||
{ "drop": "raspberries", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] },
|
||||
{ "drop": "seed_raspberries", "base_num": [ 1, 2 ], "scale_num": [ 0, 0.25 ] }
|
||||
]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "id": "shrub_raspberry_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 4,
|
||||
"str_max": 60,
|
||||
@@ -1732,15 +1655,7 @@
|
||||
"transforms_into": "t_shrub_grape_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"looks_like": "t_shrub_blueberry",
|
||||
"harvest_by_season": [
|
||||
{
|
||||
"seasons": [ "summer" ],
|
||||
"entries": [
|
||||
{ "drop": "grapes", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] },
|
||||
{ "drop": "seed_grapes", "base_num": [ 1, 2 ], "scale_num": [ 0, 0.25 ] }
|
||||
]
|
||||
}
|
||||
],
|
||||
"harvest_by_season": [ { "seasons": [ "summer" ], "id": "shrub_grape_harv" } ],
|
||||
"bash": {
|
||||
"str_min": 4,
|
||||
"str_max": 60,
|
||||
@@ -1785,7 +1700,7 @@
|
||||
"transforms_into": "t_shrub_rose_harvested",
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"looks_like": "t_shrub_strawberry",
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "entries": [ { "drop": "rose_hips", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "shrub_rose_harv" } ],
|
||||
"//": "Insert rose (flower) harvest in summer once flowers have a use (same for other generic flowers).",
|
||||
"bash": {
|
||||
"str_min": 4,
|
||||
@@ -2067,7 +1982,7 @@
|
||||
"coverage": 20,
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "DIGGABLE", "FLAT", "THIN_OBSTACLE", "SHRUB" ],
|
||||
"examine_action": "harvest_ter_nectar",
|
||||
"harvest_by_season": [ { "seasons": [ "spring" ], "entries": [ { "drop": "fiddlehead_raw", "base_num": [ 1, 4 ] } ] } ],
|
||||
"harvest_by_season": [ { "seasons": [ "spring" ], "id": "fern_harv" } ],
|
||||
"transforms_into": "t_fern_harvested",
|
||||
"bash": {
|
||||
"str_min": 2,
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
"color": "yellow_red",
|
||||
"move_cost": 0,
|
||||
"coverage": 65,
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE", "NOITEM", "SEALED", "CONTAINER", "REDUCE_SCENT", "LIQUIDCONT" ],
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE", "NOITEM", "SEALED", "CONTAINER", "REDUCE_SCENT", "PERMEABLE", "LIQUIDCONT" ],
|
||||
"examine_action": "gaspump"
|
||||
},
|
||||
{
|
||||
@@ -156,6 +156,54 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_jp8_pump",
|
||||
"name": "JP8 pump",
|
||||
"looks_like": "t_gas_pump",
|
||||
"description": "This pump is filled with JP8. If this gas dispenser doesn't give up the goods for free, you may have to pay at a nearby terminal.",
|
||||
"symbol": "&",
|
||||
"color": "red",
|
||||
"move_cost": 0,
|
||||
"coverage": 65,
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE", "NOITEM", "SEALED", "CONTAINER", "REDUCE_SCENT", "PERMEABLE", "LIQUIDCONT" ],
|
||||
"examine_action": "gaspump",
|
||||
"bash": {
|
||||
"str_min": 8,
|
||||
"str_max": 150,
|
||||
"sound": "crunch!",
|
||||
"sound_fail": "clang!",
|
||||
"ter_set": "t_jp8_pump_smashed",
|
||||
"items": [ { "item": "scrap", "count": 1 } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_jp8_pump_smashed",
|
||||
"name": "smashed JP8 pump",
|
||||
"description": "You're not getting any JP8 out of this pump any time soon. Some barbarian decided to take their frustration out on it.",
|
||||
"symbol": "&",
|
||||
"color": "light_green",
|
||||
"looks_like": "t_diesel_pump_smashed",
|
||||
"move_cost": 0,
|
||||
"coverage": 55,
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "REDUCE_SCENT", "PERMEABLE" ],
|
||||
"bash": {
|
||||
"str_min": 20,
|
||||
"str_max": 150,
|
||||
"explosive": 40,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
"ter_set": "t_pavement",
|
||||
"items": [
|
||||
{ "item": "steel_lump", "prob": 50 },
|
||||
{ "item": "steel_chunk", "count": [ 1, 4 ] },
|
||||
{ "item": "pipe_fittings", "count": [ 2, 6 ] },
|
||||
{ "item": "pipe", "count": [ 4, 8 ] },
|
||||
{ "item": "scrap", "count": [ 3, 7 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_atm",
|
||||
@@ -519,7 +567,7 @@
|
||||
"move_cost": 0,
|
||||
"coverage": 40,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "TRANSPARENT", "SEALED", "PLACE_ITEM", "WALL" ],
|
||||
"flags": [ "TRANSPARENT", "SEALED", "PLACE_ITEM", "WALL", "NO_SPOIL" ],
|
||||
"bash": {
|
||||
"str_min": 2,
|
||||
"str_max": 80,
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
"color": "dark_gray",
|
||||
"move_cost": 1,
|
||||
"roof": "t_resin_roof",
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD", "NONFLAMMABLE" ],
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD", "NONFLAMMABLE", "NOCOLLIDE" ],
|
||||
"bash": {
|
||||
"str_min": 250,
|
||||
"str_max": 700,
|
||||
|
||||
@@ -216,6 +216,7 @@
|
||||
"color": "pink",
|
||||
"move_cost": 0,
|
||||
"coverage": 100,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "FLAMMABLE", "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "CHIP", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND" ],
|
||||
"bash": {
|
||||
"str_min": 30,
|
||||
@@ -385,6 +386,7 @@
|
||||
"looks_like": "t_brick_wall",
|
||||
"move_cost": 0,
|
||||
"coverage": 100,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND" ],
|
||||
"connects_to": "WALL",
|
||||
"bash": {
|
||||
@@ -428,7 +430,7 @@
|
||||
"color": "cyan",
|
||||
"move_cost": 0,
|
||||
"coverage": 100,
|
||||
"roof": "t_flat_roof",
|
||||
"roof": "t_metal_flat_roof",
|
||||
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND" ],
|
||||
"bash": {
|
||||
"str_min": 200,
|
||||
@@ -583,7 +585,7 @@
|
||||
"color": "dark_gray",
|
||||
"move_cost": 0,
|
||||
"coverage": 100,
|
||||
"roof": "t_flat_roof",
|
||||
"roof": "t_metal_flat_roof",
|
||||
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "REDUCE_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND" ],
|
||||
"connects_to": "WALL",
|
||||
"bash": {
|
||||
@@ -652,6 +654,7 @@
|
||||
"color": "light_red",
|
||||
"move_cost": 0,
|
||||
"coverage": 100,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "FLAMMABLE", "NOITEM", "SUPPORTS_ROOF", "WALL", "REDUCE_SCENT", "AUTO_WALL_SYMBOL", "BLOCK_WIND" ],
|
||||
"connects_to": "WALL",
|
||||
"bash": {
|
||||
@@ -746,6 +749,7 @@
|
||||
"color": "brown",
|
||||
"move_cost": 0,
|
||||
"coverage": 100,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "FLAMMABLE", "NOITEM", "SUPPORTS_ROOF", "WALL", "REDUCE_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND" ],
|
||||
"connects_to": "WALL",
|
||||
"bash": {
|
||||
@@ -892,6 +896,7 @@
|
||||
"color": "brown",
|
||||
"move_cost": 0,
|
||||
"coverage": 100,
|
||||
"roof": "t_dirt",
|
||||
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND" ],
|
||||
"connects_to": "WALL",
|
||||
"bash": {
|
||||
@@ -903,6 +908,28 @@
|
||||
"items": [ { "item": "material_soil", "count": [ 100, 150 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_wall_dirt",
|
||||
"name": "smooth dirt wall",
|
||||
"looks_like": "t_wall_rammed_earth",
|
||||
"description": "A solid wall of compressed dirt, mixed with… something to keep it stable. Its surface glistens slightly, and it smells like rotten milk.",
|
||||
"symbol": "LINE_OXOX",
|
||||
"color": "brown",
|
||||
"move_cost": 0,
|
||||
"coverage": 100,
|
||||
"roof": "t_dirt",
|
||||
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND" ],
|
||||
"connects_to": "WALL",
|
||||
"bash": {
|
||||
"str_min": 30,
|
||||
"str_max": 200,
|
||||
"sound": "heavy rumbling!",
|
||||
"sound_fail": "thump",
|
||||
"ter_set": "t_mud_underground",
|
||||
"items": [ { "item": "material_soil", "count": [ 50, 100 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_junk_palisade",
|
||||
@@ -1187,7 +1214,7 @@
|
||||
"move_cost": 0,
|
||||
"coverage": 100,
|
||||
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "MINEABLE", "BLOCK_WIND" ],
|
||||
"roof": "t_rock_floor",
|
||||
"roof": "t_rock_floor_no_roof",
|
||||
"bash": {
|
||||
"str_min": 100,
|
||||
"str_max": 400,
|
||||
@@ -1335,7 +1362,7 @@
|
||||
"color": "light_gray",
|
||||
"move_cost": 0,
|
||||
"coverage": 80,
|
||||
"roof": "t_flat_roof",
|
||||
"roof": "t_metal_flat_roof",
|
||||
"flags": [ "NOITEM", "WALL", "REDUCE_SCENT", "SUPPORTS_ROOF", "MINEABLE" ],
|
||||
"bash": {
|
||||
"str_min": 40,
|
||||
@@ -1369,7 +1396,7 @@
|
||||
"color": "light_gray",
|
||||
"move_cost": 0,
|
||||
"coverage": 55,
|
||||
"roof": "t_flat_roof",
|
||||
"roof": "t_metal_flat_roof",
|
||||
"flags": [ "NOITEM", "WALL", "PERMEABLE", "SUPPORTS_ROOF", "MINEABLE" ],
|
||||
"bash": {
|
||||
"str_min": 20,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+334
-11
@@ -9,11 +9,261 @@
|
||||
"type": "harvest",
|
||||
"entries": [ ]
|
||||
},
|
||||
{
|
||||
"id": "dandelion_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "raw_dandelion", "base_num": [ 1, 4 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "burdoc_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "raw_burdock", "base_num": [ 1, 4 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "chamomille_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "chamomile", "base_num": [ 4, 8 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "tulip_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "withered", "base_num": [ 1, 2 ] }, { "drop": "seed_flower", "base_num": [ 1, 2 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "spurge_harv",
|
||||
"type": "harvest",
|
||||
"entries": [
|
||||
{ "drop": "withered", "base_num": [ 1, 2 ] },
|
||||
{ "drop": "seed_spurge", "base_num": [ 1, 2 ] },
|
||||
{ "drop": "spurge", "base_num": [ 1, 4 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "black_eyed_susan_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "withered", "base_num": [ 1, 2 ] }, { "drop": "seed_flower", "base_num": [ 1, 2 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "lily_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "withered", "base_num": [ 1, 2 ] }, { "drop": "seed_flower", "base_num": [ 1, 2 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "sunflower_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "sunflower" } ]
|
||||
},
|
||||
{
|
||||
"id": "lilypad_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "withered", "base_num": [ 1, 2 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "cattails_winter_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "cattail_rhizome" } ]
|
||||
},
|
||||
{
|
||||
"id": "cattails_summer_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "cattail_rhizome" }, { "drop": "cattail_stalk", "base_num": [ 1, 4 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "lotus_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "withered", "base_num": [ 1, 2 ] }, { "drop": "lotus", "base_num": [ 1, 2 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "bluebell_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "withered", "base_num": [ 1, 2 ] }, { "drop": "seed_flower", "base_num": [ 1, 2 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "chicory_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "chicory_raw", "base_num": [ 1, 2 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "datura_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "datura_seed", "base_num": [ 2, 6 ] }, { "drop": "withered", "base_num": [ 1, 2 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "mustard_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "seed_mustard", "base_num": [ 2, 6 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "walnut_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "walnut", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "fern_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "fiddlehead_raw", "base_num": [ 1, 4 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "shrub_rose_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "rose_hips", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "shrub_grape_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "grapes", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "shrub_raspberry_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "raspberries", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "shrub_huckleberry_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "huckleberries", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "shrub_blackberry_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "blackberries", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "shrub_strawberry_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "strawberries", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "shrub_blueberry_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "blueberries", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "shrub_peanut_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "peanut", "base_num": [ 5, 10 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "pecan_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "pecan", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "almond_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "almond", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "pistachio_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "pistachio", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "hickory_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "hickory_nut", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "willow_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "willowbark", "base_num": [ 2, 8 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "birch_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "birchbark", "base_num": [ 2, 8 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "pine_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "pine_bough", "base_num": [ 2, 8 ] }, { "drop": "pinecone", "base_num": [ 1, 4 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "elderberry_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "elderberries", "base_num": [ 8, 20 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "mulberry_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "mulberries", "base_num": [ 8, 20 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "plum_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "plums", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "apricot_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "apricot", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "peach_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "peach", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "juniper_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "juniper", "base_num": [ 12, 24 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "cherry_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "cherries", "base_num": [ 6, 18 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "coffee_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "coffee_pod", "base_num": [ 4, 10 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "pear_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "pear", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "apple_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "apple", "base_num": [ 2, 5 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "oak_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "acorns", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "beech_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "beech_nuts", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "hazelnut_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "hazelnut", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "chestnut_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "chestnut", "base_num": [ 5, 12 ], "scale_num": [ 0, 0.5 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "blackjack_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "tanbark", "base_num": [ 1, 2 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "alder_harv",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "alder_bark", "base_num": [ 2, 5 ], "scale_num": [ 0, 1 ] } ]
|
||||
},
|
||||
{
|
||||
"id": "fish_tiny",
|
||||
"type": "harvest",
|
||||
"entries": [
|
||||
{ "drop": "fish", "type": "flesh", "mass_ratio": 0.32 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.08 }
|
||||
]
|
||||
},
|
||||
@@ -22,6 +272,7 @@
|
||||
"type": "harvest",
|
||||
"entries": [
|
||||
{ "drop": "fish", "type": "flesh", "mass_ratio": 0.32 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.08 },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.1 }
|
||||
]
|
||||
@@ -32,6 +283,7 @@
|
||||
"message": "You gut and fillet the fish",
|
||||
"entries": [
|
||||
{ "drop": "fish", "type": "flesh", "mass_ratio": 0.38 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.02 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.1 }
|
||||
@@ -42,6 +294,7 @@
|
||||
"type": "harvest",
|
||||
"entries": [
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.38 },
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.1 }
|
||||
]
|
||||
@@ -62,6 +315,7 @@
|
||||
"message": "You carefully crack open its exoskeleton to get at the flesh beneath",
|
||||
"entries": [
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.32 },
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "chitin_piece", "type": "skin", "mass_ratio": 0.1 }
|
||||
]
|
||||
},
|
||||
@@ -85,6 +339,7 @@
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.001 },
|
||||
{ "drop": "cable", "base_num": [ 1, 3 ], "scale_num": [ 0.2, 0.6 ], "max": 8, "type": "flesh" },
|
||||
{ "drop": "bone_human", "base_num": [ 1, 2 ], "scale_num": [ 0.4, 0.7 ], "max": 10, "type": "bone" },
|
||||
{ "drop": "blood", "mass_ratio": 0.1, "type": "blood" },
|
||||
{ "drop": "scrap", "base_num": [ 1, 5 ], "scale_num": [ 0.3, 0.7 ], "max": 12, "type": "bone" }
|
||||
]
|
||||
},
|
||||
@@ -113,6 +368,7 @@
|
||||
"base_num": [ 0, 1 ]
|
||||
},
|
||||
{ "drop": "meat_tainted", "type": "flesh", "mass_ratio": 0.1 },
|
||||
{ "drop": "blood_tainted", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "fat_tainted", "type": "flesh", "mass_ratio": 0.04 },
|
||||
{ "drop": "bone_tainted", "type": "bone", "mass_ratio": 0.05 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.001 },
|
||||
@@ -125,7 +381,10 @@
|
||||
"id": "mammal_tiny",
|
||||
"//": "animals so tiny they don't drop chunks of meat",
|
||||
"type": "harvest",
|
||||
"entries": [ { "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.5 } ]
|
||||
"entries": [
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.5 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "mammal_small_fur",
|
||||
@@ -138,6 +397,7 @@
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 },
|
||||
{ "drop": "raw_fur", "type": "skin", "mass_ratio": 0.02 },
|
||||
{ "drop": "fat", "type": "flesh", "mass_ratio": 0.07 }
|
||||
@@ -150,6 +410,7 @@
|
||||
"entries": [
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.28 },
|
||||
{ "drop": "mutant_meat_scrap", "type": "flesh", "mass_ratio": 0.05 },
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
@@ -167,6 +428,7 @@
|
||||
{ "drop": "meat", "type": "flesh", "mass_ratio": 0.3 },
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.03 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
|
||||
@@ -185,6 +447,7 @@
|
||||
"entries": [
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.3 },
|
||||
{ "drop": "mutant_meat_scrap", "type": "flesh", "mass_ratio": 0.03 },
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.05 },
|
||||
@@ -206,6 +469,7 @@
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.01 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
|
||||
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
|
||||
@@ -225,6 +489,7 @@
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.01 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
|
||||
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
|
||||
@@ -245,6 +510,7 @@
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.01 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
|
||||
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
|
||||
@@ -264,6 +530,7 @@
|
||||
{ "drop": "meat", "type": "flesh", "mass_ratio": 0.26 },
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.05 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
|
||||
@@ -281,6 +548,7 @@
|
||||
{ "drop": "meat", "type": "flesh", "mass_ratio": 0.26 },
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.05 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
|
||||
@@ -298,6 +566,7 @@
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.32 },
|
||||
{ "drop": "mutant_meat_scrap", "type": "flesh", "mass_ratio": 0.01 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
|
||||
@@ -316,6 +585,7 @@
|
||||
"entries": [
|
||||
{ "drop": "mutant_human_flesh", "type": "flesh", "mass_ratio": 0.34 },
|
||||
{ "drop": "hstomach", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
|
||||
{ "drop": "mutant_human_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 },
|
||||
{ "drop": "raw_hfur", "type": "skin", "mass_ratio": 0.02 },
|
||||
@@ -330,6 +600,7 @@
|
||||
{ "drop": "mutant_human_flesh", "type": "flesh", "mass_ratio": 0.34 },
|
||||
{ "drop": "hstomach_large", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
|
||||
{ "drop": "mutant_human_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 },
|
||||
{ "drop": "raw_hfur", "type": "skin", "mass_ratio": 0.02 },
|
||||
{ "drop": "mutant_human_fat", "type": "flesh", "mass_ratio": 0.07 }
|
||||
@@ -341,6 +612,7 @@
|
||||
"type": "harvest",
|
||||
"entries": [
|
||||
{ "drop": "demihuman_flesh", "type": "flesh", "mass_ratio": 0.34 },
|
||||
{ "drop": "demihuman_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "demihuman_stomach", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 },
|
||||
@@ -356,6 +628,7 @@
|
||||
{ "drop": "demihuman_flesh", "type": "flesh", "mass_ratio": 0.34 },
|
||||
{ "drop": "demihuman_stomach_large", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
|
||||
{ "drop": "demihuman_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 },
|
||||
{ "drop": "raw_hfur", "type": "skin", "mass_ratio": 0.02 },
|
||||
{ "drop": "demihuman_fat", "type": "flesh", "mass_ratio": 0.07 }
|
||||
@@ -369,6 +642,7 @@
|
||||
{ "drop": "meat", "type": "flesh", "mass_ratio": 0.28 },
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.05 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
|
||||
@@ -386,6 +660,7 @@
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.03 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
|
||||
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
|
||||
@@ -404,6 +679,7 @@
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.3 },
|
||||
{ "drop": "mutant_meat_scrap", "type": "flesh", "mass_ratio": 0.03 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
|
||||
@@ -424,6 +700,7 @@
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.01 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
|
||||
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
|
||||
@@ -443,6 +720,7 @@
|
||||
{ "drop": "mutant_meat_scrap", "type": "flesh", "mass_ratio": 0.01 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
|
||||
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
|
||||
@@ -461,6 +739,7 @@
|
||||
{ "drop": "meat", "type": "flesh", "mass_ratio": 0.28 },
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.05 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
|
||||
@@ -478,6 +757,7 @@
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.01 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
|
||||
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
|
||||
@@ -497,6 +777,7 @@
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.03 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
|
||||
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
|
||||
@@ -515,6 +796,7 @@
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.01 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
|
||||
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
|
||||
@@ -533,6 +815,7 @@
|
||||
{ "drop": "mutant_meat_scrap", "type": "flesh", "mass_ratio": 0.01 },
|
||||
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
|
||||
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
|
||||
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
|
||||
@@ -558,6 +841,7 @@
|
||||
"type": "harvest",
|
||||
"entries": [
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.4 },
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "mutant_fat", "type": "flesh", "mass_ratio": 0.1 },
|
||||
{ "drop": "mutant_fat", "type": "offal", "mass_ratio": 0.1 }
|
||||
]
|
||||
@@ -567,7 +851,9 @@
|
||||
"type": "harvest",
|
||||
"entries": [
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.4 },
|
||||
{ "drop": "feather", "type": "skin", "mass_ratio": 0.01 }
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "feather", "type": "skin", "mass_ratio": 0.01 },
|
||||
{ "drop": "down_feather", "type": "skin", "mass_ratio": 0.005 }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -575,9 +861,11 @@
|
||||
"type": "harvest",
|
||||
"entries": [
|
||||
{ "drop": "meat", "type": "flesh", "mass_ratio": 0.3 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.05 },
|
||||
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
|
||||
{ "drop": "feather", "type": "skin", "mass_ratio": 0.01 }
|
||||
{ "drop": "feather", "type": "skin", "mass_ratio": 0.01 },
|
||||
{ "drop": "down_feather", "type": "skin", "mass_ratio": 0.005 }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -585,9 +873,11 @@
|
||||
"type": "harvest",
|
||||
"entries": [
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.3 },
|
||||
{ "drop": "animal_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "mutant_meat_scrap", "type": "flesh", "mass_ratio": 0.03 },
|
||||
{ "drop": "mutant_fat", "type": "flesh", "mass_ratio": 0.18 },
|
||||
{ "drop": "feather", "type": "skin", "mass_ratio": 0.02 },
|
||||
{ "drop": "down_feather", "type": "skin", "mass_ratio": 0.01 },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.1 }
|
||||
]
|
||||
},
|
||||
@@ -597,6 +887,7 @@
|
||||
"message": "You messily hack apart the hulking mass of fused, rancid flesh, taking note of anything that stands out.",
|
||||
"entries": [
|
||||
{ "drop": "meat_tainted", "type": "flesh", "mass_ratio": 0.33 },
|
||||
{ "drop": "blood_tainted", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "fat_tainted", "type": "flesh", "mass_ratio": 0.1 },
|
||||
{ "drop": "flesh_golem_heart", "base_num": [ 0, 1 ], "scale_num": [ 0.6, 0.9 ], "max": 3, "type": "offal" }
|
||||
]
|
||||
@@ -607,6 +898,7 @@
|
||||
"message": "You messily hack apart the colossal mass of fused, rancid flesh, taking note of anything that stands out.",
|
||||
"entries": [
|
||||
{ "drop": "meat_tainted", "type": "flesh", "mass_ratio": 0.33 },
|
||||
{ "drop": "blood_tainted", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "fat_tainted", "type": "flesh", "mass_ratio": 0.1 },
|
||||
{ "drop": "jabberwock_heart", "base_num": [ 0, 1 ], "scale_num": [ 0.6, 0.9 ], "max": 3, "type": "offal" }
|
||||
],
|
||||
@@ -617,6 +909,7 @@
|
||||
"type": "harvest",
|
||||
"message": "<arachnid_harvest>",
|
||||
"entries": [
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.33 },
|
||||
{ "drop": "mutant_fat", "type": "flesh", "mass_ratio": 0.04 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.01 },
|
||||
@@ -631,6 +924,7 @@
|
||||
"type": "harvest",
|
||||
"message": "<acidant_harvest>",
|
||||
"entries": [
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.33 },
|
||||
{ "drop": "mutant_fat", "type": "flesh", "mass_ratio": 0.04 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.01 },
|
||||
@@ -645,6 +939,7 @@
|
||||
"entries": [
|
||||
{ "drop": "mutant_meat", "base_num": [ 40, 55 ], "scale_num": [ 0.5, 0.7 ], "max": 80, "type": "flesh" },
|
||||
{ "drop": "acidchitin_piece", "base_num": [ 2, 6 ], "scale_num": [ 0.3, 0.6 ], "max": 10, "type": "bone" },
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "endochitin", "type": "bone", "mass_ratio": 0.1 },
|
||||
{ "drop": "mutant_fat", "base_num": [ 5, 8 ], "scale_num": [ 0.6, 0.8 ], "max": 18, "type": "flesh" }
|
||||
]
|
||||
@@ -655,6 +950,7 @@
|
||||
"message": "<centipede_harvest>",
|
||||
"//": "More legs = more sinew, more endochitin, less rest",
|
||||
"entries": [
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.2 },
|
||||
{ "drop": "mutant_fat", "type": "flesh", "mass_ratio": 0.01 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.05 },
|
||||
@@ -669,6 +965,7 @@
|
||||
"type": "harvest",
|
||||
"message": "<centipede_mom_harvest>",
|
||||
"entries": [
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.2 },
|
||||
{ "drop": "mutant_fat", "type": "flesh", "mass_ratio": 0.01 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.05 },
|
||||
@@ -687,6 +984,7 @@
|
||||
"entries": [
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.4 },
|
||||
{ "drop": "mutant_fat", "type": "flesh", "mass_ratio": 0.015 },
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.05 },
|
||||
{ "drop": "endochitin", "type": "bone", "mass_ratio": 0.2 },
|
||||
{ "drop": "mutant_bug_lungs", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
@@ -701,6 +999,7 @@
|
||||
"message": "<arachnid_flying_harvest>",
|
||||
"entries": [
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.1 },
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.01 },
|
||||
{ "drop": "endochitin", "type": "bone", "mass_ratio": 0.01 },
|
||||
{ "drop": "mutant_bug_hydrogen_sacs", "type": "flesh", "mass_ratio": 0.2 },
|
||||
@@ -715,6 +1014,7 @@
|
||||
"message": "What appeared to be insect hairs on the chitin of this creature look more like tiny feathers as you pare them back. Inside is a bundle of bubble-like tissue sacs that appear to be floating, which doesn't fit with what you know about real bees.",
|
||||
"entries": [
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.23 },
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.01 },
|
||||
{ "drop": "endochitin", "type": "bone", "mass_ratio": 0.1 },
|
||||
{ "drop": "mutant_bug_hydrogen_sacs", "type": "flesh", "mass_ratio": 0.1 },
|
||||
@@ -732,6 +1032,7 @@
|
||||
"entries": [
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.2 },
|
||||
{ "drop": "mutant_fat", "type": "flesh", "mass_ratio": 0.04 },
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.01 },
|
||||
{ "drop": "endochitin", "type": "bone", "mass_ratio": 0.1 },
|
||||
{ "drop": "mutant_bug_lungs", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
@@ -749,6 +1050,7 @@
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.1 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.01 },
|
||||
{ "drop": "endochitin", "type": "bone", "mass_ratio": 0.01 },
|
||||
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "mutant_bug_hydrogen_sacs", "type": "flesh", "mass_ratio": 0.2 },
|
||||
{ "drop": "mutant_bug_lungs", "type": "flesh", "mass_ratio": 0.0035 },
|
||||
{ "drop": "mutant_bug_organs", "type": "offal", "mass_ratio": 0.015 },
|
||||
@@ -784,6 +1086,20 @@
|
||||
{ "drop": "venom_wasp", "type": "offal", "mass_ratio": 0.005 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "incubator_mammal",
|
||||
"//": "the larvae ate a lot of the good stuff, mutant meat represents the grubs",
|
||||
"type": "harvest",
|
||||
"message": "<incubator_mammal>",
|
||||
"entries": [
|
||||
{ "drop": "meat", "type": "flesh", "mass_ratio": 0.05 },
|
||||
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.2 },
|
||||
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.1 },
|
||||
{ "drop": "stomach", "scale_num": [ 0, 1 ], "max": 1, "type": "offal" },
|
||||
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "zombie_leather",
|
||||
"//": "any zombie that might drop leather. mostly animals.",
|
||||
@@ -791,9 +1107,9 @@
|
||||
"entries": [
|
||||
{ "drop": "meat_tainted", "type": "flesh", "mass_ratio": 0.25 },
|
||||
{ "drop": "fat_tainted", "type": "flesh", "mass_ratio": 0.08 },
|
||||
{ "drop": "blood_tainted", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "bone_tainted", "type": "bone", "mass_ratio": 0.1 },
|
||||
{ "drop": "raw_tainted_leather", "type": "skin", "mass_ratio": 0.02 },
|
||||
{ "drop": "pheromone", "type": "bionic", "max": 1 }
|
||||
{ "drop": "raw_tainted_leather", "type": "skin", "mass_ratio": 0.02 }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -803,9 +1119,9 @@
|
||||
"entries": [
|
||||
{ "drop": "meat_tainted", "type": "flesh", "mass_ratio": 0.25 },
|
||||
{ "drop": "fat_tainted", "type": "flesh", "mass_ratio": 0.08 },
|
||||
{ "drop": "blood_tainted", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "bone_tainted", "type": "bone", "mass_ratio": 0.1 },
|
||||
{ "drop": "raw_tainted_fur", "type": "skin", "mass_ratio": 0.02 },
|
||||
{ "drop": "pheromone", "type": "bionic", "max": 1 }
|
||||
{ "drop": "raw_tainted_fur", "type": "skin", "mass_ratio": 0.02 }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -814,6 +1130,7 @@
|
||||
"type": "harvest",
|
||||
"entries": [
|
||||
{ "drop": "meat_tainted", "type": "flesh", "mass_ratio": 0.4 },
|
||||
{ "drop": "blood_tainted", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "fat_tainted", "type": "flesh", "mass_ratio": 0.1 },
|
||||
{ "drop": "fat_tainted", "type": "offal", "mass_ratio": 0.1 }
|
||||
]
|
||||
@@ -824,9 +1141,9 @@
|
||||
"type": "harvest",
|
||||
"entries": [
|
||||
{ "drop": "meat_tainted", "type": "flesh", "mass_ratio": 0.25 },
|
||||
{ "drop": "blood_tainted", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "fat_tainted", "type": "flesh", "mass_ratio": 0.08 },
|
||||
{ "drop": "bone_tainted", "type": "bone", "mass_ratio": 0.1 },
|
||||
{ "drop": "pheromone", "type": "bionic", "max": 1 }
|
||||
{ "drop": "bone_tainted", "type": "bone", "mass_ratio": 0.1 }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -849,9 +1166,9 @@
|
||||
{ "drop": "meat_tainted", "type": "flesh", "mass_ratio": 0.25 },
|
||||
{ "drop": "fat_tainted", "type": "flesh", "mass_ratio": 0.08 },
|
||||
{ "drop": "bone_tainted", "type": "bone", "mass_ratio": 0.1 },
|
||||
{ "drop": "blood_tainted", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "sheet_kevlar", "type": "skin", "mass_ratio": 0.04 },
|
||||
{ "drop": "raw_tainted_leather", "type": "skin", "mass_ratio": 0.04 },
|
||||
{ "drop": "pheromone", "type": "bionic", "max": 1 }
|
||||
{ "drop": "raw_tainted_leather", "type": "skin", "mass_ratio": 0.04 }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -860,6 +1177,7 @@
|
||||
"type": "harvest",
|
||||
"entries": [
|
||||
{ "drop": "bone_tainted", "type": "flesh", "mass_ratio": 0.5 },
|
||||
{ "drop": "blood_tainted", "type": "blood", "mass_ratio": 0.01 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.001 }
|
||||
]
|
||||
},
|
||||
@@ -871,6 +1189,7 @@
|
||||
{ "drop": "human_flesh", "type": "flesh", "mass_ratio": 0.2 },
|
||||
{ "drop": "hstomach", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
|
||||
{ "drop": "human_fat", "type": "flesh", "mass_ratio": 0.1 },
|
||||
{ "drop": "blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "bone_human", "type": "bone", "mass_ratio": 0.12 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.001 },
|
||||
{ "drop": "raw_hleather", "type": "skin", "mass_ratio": 0.01 }
|
||||
@@ -882,6 +1201,7 @@
|
||||
"type": "harvest",
|
||||
"entries": [
|
||||
{ "drop": "demihuman_flesh", "type": "flesh", "mass_ratio": 0.2 },
|
||||
{ "drop": "demihuman_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "demihuman_stomach", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
|
||||
{ "drop": "demihuman_fat", "type": "flesh", "mass_ratio": 0.1 },
|
||||
{ "drop": "bone_human", "type": "bone", "mass_ratio": 0.12 },
|
||||
@@ -894,6 +1214,7 @@
|
||||
"type": "harvest",
|
||||
"entries": [
|
||||
{ "drop": "mutant_human_flesh", "type": "flesh", "mass_ratio": 0.2 },
|
||||
{ "drop": "mutant_human_blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "hstomach", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
|
||||
{ "drop": "mutant_human_fat", "type": "flesh", "mass_ratio": 0.1 },
|
||||
{ "drop": "bone_human", "type": "bone", "mass_ratio": 0.12 },
|
||||
@@ -906,9 +1227,11 @@
|
||||
"type": "harvest",
|
||||
"entries": [
|
||||
{ "drop": "human_flesh", "type": "flesh", "mass_ratio": 0.18 },
|
||||
{ "drop": "blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "meat", "type": "flesh", "mass_ratio": 0.4 },
|
||||
{ "drop": "hstomach", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
|
||||
{ "drop": "human_fat", "type": "flesh", "mass_ratio": 0.1 },
|
||||
{ "drop": "blood", "type": "blood", "mass_ratio": 0.1 },
|
||||
{ "drop": "bone_human", "type": "bone", "mass_ratio": 0.12 },
|
||||
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.001 },
|
||||
{ "drop": "raw_leather", "type": "skin", "mass_ratio": 0.01 },
|
||||
|
||||
@@ -59,11 +59,6 @@
|
||||
"id": "PACK_CBM",
|
||||
"name": { "str": "Pack CBM in pouch" }
|
||||
},
|
||||
{
|
||||
"type": "item_action",
|
||||
"id": "BURROW",
|
||||
"name": { "str": "Burrow through rock" }
|
||||
},
|
||||
{
|
||||
"type": "item_action",
|
||||
"id": "GEIGER",
|
||||
@@ -719,11 +714,6 @@
|
||||
"id": "PACK_ITEM",
|
||||
"name": { "str": "Pack an item" }
|
||||
},
|
||||
{
|
||||
"type": "item_action",
|
||||
"id": "PHEROMONE",
|
||||
"name": { "str": "Squeeze" }
|
||||
},
|
||||
{
|
||||
"type": "item_action",
|
||||
"id": "PLANTBLECH",
|
||||
@@ -742,7 +732,7 @@
|
||||
{
|
||||
"type": "item_action",
|
||||
"id": "FITNESS_CHECK",
|
||||
"name": "Check health metrics"
|
||||
"name": { "str": "Check health metrics" }
|
||||
},
|
||||
{
|
||||
"type": "item_action",
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
{
|
||||
"id": "fog_machine",
|
||||
"type": "SPELL",
|
||||
"name": "fog ex machina",
|
||||
"name": { "str": "fog ex machina" },
|
||||
"description": "You see fog bubbling out of the device.",
|
||||
"effect": "attack",
|
||||
"shape": "cone",
|
||||
|
||||
@@ -482,7 +482,7 @@
|
||||
[ "boots_steel", 40 ],
|
||||
[ "hat_hard", 40 ],
|
||||
[ "mask_dust", 30 ],
|
||||
[ "mask_filter", 30 ],
|
||||
{ "item": "mask_filter", "prob": 30, "charges": [ 0, 100 ] },
|
||||
[ "glasses_safety", 30 ],
|
||||
[ "ear_plugs", 35 ],
|
||||
[ "apron_cut_resistant", 5 ],
|
||||
@@ -1937,7 +1937,7 @@
|
||||
[ "optical_cloak", 1 ],
|
||||
[ "holo_cloak", 1 ],
|
||||
[ "backpack", 38 ],
|
||||
[ "UPS_off", 5 ],
|
||||
{ "item": "UPS_off", "prob": 5, "charges": [ 0, 1000 ] },
|
||||
[ "adv_UPS_off", 3 ],
|
||||
[ "tacvest", 10 ],
|
||||
[ "molle_pack", 8 ],
|
||||
@@ -1968,17 +1968,17 @@
|
||||
"type": "item_group",
|
||||
"id": "mil_accessories",
|
||||
"items": [
|
||||
[ "mask_gas", 10 ],
|
||||
{ "item": "mask_gas", "prob": 10, "charges": [ 0, 100 ] },
|
||||
[ "duffelbag", 15 ],
|
||||
{ "item": "goggles_nv", "prob": 1, "charges": [ 0, 100 ] },
|
||||
{ "item": "goggles_ir", "prob": 1, "charges": [ 0, 100 ] },
|
||||
[ "optical_cloak", 1 ],
|
||||
[ "holo_cloak", 1 ],
|
||||
{ "item": "holo_cloak", "prob": 1, "charges": [ 0, 1000 ] },
|
||||
{ "item": "mess_kit", "prob": 9, "charges": [ 0, 500 ] },
|
||||
{ "item": "mil_mess_kit", "prob": 1, "charges": [ 0, 500 ] },
|
||||
[ "backpack", 38 ],
|
||||
[ "briefcase", 10 ],
|
||||
[ "UPS_off", 5 ],
|
||||
{ "item": "UPS_off", "prob": 5, "charges": [ 0, 1000 ] },
|
||||
[ "adv_UPS_off", 3 ],
|
||||
[ "chestguard_hard", 20 ],
|
||||
[ "armguard_hard", 20 ],
|
||||
@@ -1999,7 +1999,7 @@
|
||||
[ "torso_bandolier_grenade", 8 ],
|
||||
[ "solarpack", 5 ],
|
||||
[ "chem_hexamine", 3 ],
|
||||
[ "esbit_stove", 6 ],
|
||||
{ "item": "esbit_stove", "prob": 6, "charges": [ 0, 50 ] },
|
||||
[ "mess_tin", 4 ],
|
||||
{ "group": "full_survival_kit", "prob": 4 }
|
||||
]
|
||||
@@ -2075,8 +2075,8 @@
|
||||
[ "glasses_bal", 20 ],
|
||||
[ "elbow_pads", 40 ],
|
||||
[ "knee_pads", 40 ],
|
||||
[ "mask_filter", 30 ],
|
||||
[ "mask_gas", 10 ],
|
||||
{ "item": "mask_filter", "prob": 30, "charges": [ 0, 100 ] },
|
||||
{ "item": "mask_gas", "prob": 10, "charges": [ 0, 100 ] },
|
||||
[ "goggles_ski", 30 ],
|
||||
[ "helmet_skid", 30 ],
|
||||
[ "chestguard_hard", 20 ],
|
||||
@@ -2100,7 +2100,7 @@
|
||||
[ "legpouch_large", 6 ],
|
||||
[ "chestpouch", 9 ],
|
||||
[ "ammo_satchel", 4 ],
|
||||
[ "UPS_off", 5 ],
|
||||
{ "item": "UPS_off", "prob": 5, "charges": [ 0, 1000 ] },
|
||||
[ "adv_UPS_off", 3 ],
|
||||
[ "tacvest", 10 ],
|
||||
[ "molle_pack", 8 ],
|
||||
@@ -2136,7 +2136,7 @@
|
||||
{ "item": "glasses_safety", "prob": 40 },
|
||||
{ "item": "hat_hard", "prob": 50 },
|
||||
{ "item": "hat_hard_hooded", "prob": 25 },
|
||||
{ "item": "wearable_light", "prob": 5 },
|
||||
{ "item": "wearable_light", "prob": 5, "charges": [ 0, 100 ] },
|
||||
{ "item": "ear_plugs", "prob": 50 },
|
||||
{ "group": "ammo_any_batteries_full", "prob": 50 },
|
||||
{ "item": "flashlight", "prob": 40, "charges": [ 0, 300 ] },
|
||||
@@ -2418,8 +2418,8 @@
|
||||
[ "mask_h20survivor", 1 ],
|
||||
[ "mask_bal", 14 ],
|
||||
[ "mask_hockey", 26 ],
|
||||
[ "mask_gas", 24 ],
|
||||
[ "mask_filter", 12 ],
|
||||
{ "item": "mask_gas", "prob": 24, "charges": [ 0, 100 ] },
|
||||
{ "item": "mask_filter", "prob": 12, "charges": [ 0, 100 ] },
|
||||
[ "mask_bunker", 2 ],
|
||||
[ "mask_wsurvivor", 4 ],
|
||||
[ "mask_fsurvivor", 2 ],
|
||||
@@ -2448,7 +2448,7 @@
|
||||
[ "bandana", 18 ],
|
||||
[ "scarf", 26 ],
|
||||
[ "long_knit_scarf", 15 ],
|
||||
[ "mask_gas_xl", 4 ],
|
||||
{ "item": "mask_gas_xl", "prob": 4, "charges": [ 0, 100 ] },
|
||||
[ "hat_boonie", 16 ],
|
||||
[ "beret", 18 ],
|
||||
[ "beret_wool", 14 ],
|
||||
@@ -2462,11 +2462,11 @@
|
||||
[ "machete_gimmick", 3 ],
|
||||
[ "fungicide", 10 ],
|
||||
[ "insecticide", 10 ],
|
||||
[ "antifungal", 1 ],
|
||||
[ "antiparasitic", 5 ],
|
||||
[ "diazepam", 1 ],
|
||||
{ "item": "antifungal", "prob": 1, "charges": [ 0, 10 ] },
|
||||
{ "item": "antiparasitic", "prob": 5, "charges": [ 0, 10 ] },
|
||||
{ "item": "diazepam", "prob": 1, "charges": [ 0, 10 ] },
|
||||
[ "throw_extinguisher", 2 ],
|
||||
[ "small_repairkit", 14 ],
|
||||
{ "item": "small_repairkit", "prob": 14, "charges": [ 0, 500 ] },
|
||||
[ "grapnel", 6 ],
|
||||
{ "item": "misc_repairkit", "prob": 8, "charges-min": 0 },
|
||||
{ "distribution": [ { "group": "full_survival_kit" }, { "group": "used_survival_kit" } ], "prob": 3 },
|
||||
@@ -2782,7 +2782,7 @@
|
||||
{ "item": "mask_guy_fawkes", "prob": 10 },
|
||||
{ "item": "mask_hockey", "prob": 15 },
|
||||
{ "item": "mouthpiece", "prob": 5 },
|
||||
{ "item": "mask_filter", "prob": 5 }
|
||||
{ "item": "mask_filter", "prob": 5, "charges": [ 0, 100 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
[ "knife_combat", 10 ],
|
||||
[ "legpouch_large", 5 ],
|
||||
[ "mask_bal", 10 ],
|
||||
[ "mask_gas", 10 ],
|
||||
{ "item": "mask_gas", "prob": 10, "charges": [ 0, 100 ] },
|
||||
[ "ballistic_vest_esapi", 15 ],
|
||||
[ "smokebomb", 5 ],
|
||||
[ "suppressor", 25 ],
|
||||
@@ -126,12 +126,12 @@
|
||||
[ "knee_pads", 5 ],
|
||||
[ "elbow_pads", 5 ],
|
||||
[ "legrig", 5 ],
|
||||
[ "UPS_off", 5 ],
|
||||
{ "item": "UPS_off", "prob": 5, "charges": [ 0, 1000 ] },
|
||||
[ "adv_UPS_off", 2 ],
|
||||
[ "emer_blanket", 5 ],
|
||||
{ "group": "ammo_pocket_batteries_full", "prob": 50 },
|
||||
[ "tool_belt", 5 ],
|
||||
[ "oxygen_tank", 15 ],
|
||||
{ "item": "oxygen_tank", "prob": 15, "charges-min": 0 },
|
||||
[ "fireman_belt", 15 ],
|
||||
[ "jack", 5 ],
|
||||
[ "throw_extinguisher", 10 ],
|
||||
@@ -140,7 +140,7 @@
|
||||
{ "group": "tools_toolbox", "prob": 1 },
|
||||
{ "item": "smoxygen_tank", "prob": 35, "charges-min": 0 },
|
||||
{ "item": "watercannon", "prob": 10, "charges-min": 0 },
|
||||
[ "l-stick", 1 ],
|
||||
{ "item": "l-stick", "prob": 1, "charges": [ 0, 500 ] },
|
||||
[ "solarpack", 2 ],
|
||||
[ "bag_body_bag", 5 ]
|
||||
]
|
||||
@@ -155,8 +155,8 @@
|
||||
{ "item": "oxygen_tank", "prob": 10, "charges-min": 0 },
|
||||
{ "item": "smoxygen_tank", "prob": 15, "charges-min": 0 },
|
||||
[ "adv_UPS_off", 2 ],
|
||||
[ "prussian_blue", 25 ],
|
||||
[ "iodine", 50 ]
|
||||
{ "item": "prussian_blue", "prob": 25, "charges": [ 1, 10 ] },
|
||||
{ "item": "iodine", "prob": 50, "charges": [ 1, 10 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
[ "machete_gimmick", 5 ],
|
||||
[ "teleumbrella", 20 ],
|
||||
[ "umbrella", 20 ],
|
||||
[ "aspirin", 100 ],
|
||||
[ "vitamins", 100 ],
|
||||
{ "item": "aspirin", "prob": 100, "charges": [ 1, 20 ] },
|
||||
{ "item": "vitamins", "prob": 100, "charges": [ 1, 20 ] },
|
||||
[ "eyedrops", 50 ],
|
||||
{ "item": "inhaler", "prob": 50, "charges-min": 10, "charges-max": 100 },
|
||||
{ "item": "flashlight", "prob": 50, "charges": [ 0, 300 ] },
|
||||
@@ -41,7 +41,7 @@
|
||||
{ "item": "mp3", "prob": 20, "charges": [ 0, 100 ] },
|
||||
{ "item": "portable_game", "prob": 50, "charges": [ 0, 100 ] },
|
||||
{ "item": "vibrator", "prob": 5, "charges": [ 0, 100 ] },
|
||||
[ "gum", 50 ],
|
||||
{ "item": "gum", "prob": 50, "charges": [ 0, 10 ] },
|
||||
{ "group": "ammo_pocket_batteries", "prob": 50 },
|
||||
[ "wrapper", 50 ],
|
||||
[ "string_6", 50 ],
|
||||
@@ -78,12 +78,12 @@
|
||||
"id": "child_items",
|
||||
"items": [
|
||||
{ "group": "candy_chocolate", "prob": 360 },
|
||||
[ "toastem", 10 ],
|
||||
[ "toastem2", 10 ],
|
||||
[ "toastem3", 12 ],
|
||||
[ "cookies", 80 ],
|
||||
[ "crack", 8 ],
|
||||
[ "licorice", 10 ],
|
||||
{ "item": "toastem", "prob": 10, "charges": [ 1, 8 ] },
|
||||
{ "item": "toastem2", "prob": 10, "charges": [ 1, 8 ] },
|
||||
{ "item": "toastem3", "prob": 12, "charges": [ 1, 8 ] },
|
||||
{ "item": "cookies", "prob": 80, "charges": [ 1, 4 ] },
|
||||
{ "item": "crack", "prob": 8, "charges": [ 1, 4 ] },
|
||||
{ "item": "licorice", "prob": 10, "charges": [ 1, 4 ] },
|
||||
[ "bat", 60 ],
|
||||
{ "group": "softdrinks_canned", "prob": 55 },
|
||||
{ "item": "cola", "prob": 6, "container-item": "bottle_plastic", "sealed": false },
|
||||
@@ -175,7 +175,7 @@
|
||||
[ "trailmap", 6 ],
|
||||
[ "touristmap", 4 ],
|
||||
{ "item": "lighter", "prob": 60, "charges-min": 0 },
|
||||
[ "cig", 40 ],
|
||||
{ "item": "cig", "prob": 40, "charges": [ 1, 20 ] },
|
||||
[ "blazer", 15 ],
|
||||
[ "jeans", 90 ],
|
||||
[ "under_armor", 15 ],
|
||||
@@ -227,8 +227,8 @@
|
||||
[ "kilt", 4 ],
|
||||
[ "hobo_stove", 1 ],
|
||||
[ "tinder", 1 ],
|
||||
[ "tinderbox", 1 ],
|
||||
[ "l-stick", 1 ],
|
||||
{ "item": "tinderbox", "prob": 1, "charges": [ 0, 100 ] },
|
||||
{ "item": "l-stick", "prob": 1, "charges": [ 0, 500 ] },
|
||||
[ "flint_steel", 5 ],
|
||||
[ "bottle_metal", 5 ],
|
||||
[ "wallet_travel", 10 ]
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
{ "item": "mask_gas", "prob": 60, "charges-min": 0 },
|
||||
{ "item": "gasfilter_m", "prob": 60, "charges-min": 0 },
|
||||
{ "item": "rad_monitor", "prob": 33, "charges": [ 0, 100 ] },
|
||||
{ "item": "iodine", "prob": 33 },
|
||||
{ "item": "iodine", "prob": 33, "charges": [ 1, 10 ] },
|
||||
{ "group": "full_1st_aid", "prob": 15 },
|
||||
{ "item": "geiger_off", "prob": 15, "charges": [ 0, 100 ] }
|
||||
]
|
||||
|
||||
@@ -36,8 +36,8 @@
|
||||
"subtype": "collection",
|
||||
"container-item": "wallet",
|
||||
"items": [
|
||||
{ "item": "cash_card", "prob": 1600, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "money_ten", "prob": 1600, "count": [ 5, 10 ] },
|
||||
{ "item": "cash_card", "prob": 100, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "money_ten", "prob": 100, "count": [ 5, 10 ] },
|
||||
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
|
||||
@@ -52,8 +52,8 @@
|
||||
"container-item": "wallet_leather",
|
||||
"//": "copy-from: wallet_full ",
|
||||
"items": [
|
||||
{ "item": "cash_card", "prob": 1600, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "money_ten", "prob": 1600, "count": [ 5, 10 ] },
|
||||
{ "item": "cash_card", "prob": 100, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "money_ten", "prob": 100, "count": [ 5, 10 ] },
|
||||
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
|
||||
@@ -68,8 +68,8 @@
|
||||
"//": "copy-from: wallet_full ",
|
||||
"container-item": "wallet_large",
|
||||
"items": [
|
||||
{ "item": "cash_card", "prob": 1600, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "money_ten", "prob": 1600, "count": [ 5, 10 ] },
|
||||
{ "item": "cash_card", "prob": 100, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "money_ten", "prob": 100, "count": [ 5, 10 ] },
|
||||
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
|
||||
@@ -84,7 +84,7 @@
|
||||
"container-item": "wallet_duct_tape",
|
||||
"items": [
|
||||
{ "item": "cash_card", "prob": 50, "charges-min": 0, "charges-max": 500 },
|
||||
{ "item": "money_one", "prob": 1600, "count": [ 5, 10 ] },
|
||||
{ "item": "money_one", "prob": 100, "count": [ 5, 10 ] },
|
||||
{ "item": "coin_quarter", "prob": 50, "count": [ 2, 5 ] },
|
||||
{ "item": "coin_nickel", "prob": 0, "count": [ 1, 6 ] },
|
||||
{ "group": "discount_cards", "prob": 10 },
|
||||
@@ -98,10 +98,10 @@
|
||||
"subtype": "collection",
|
||||
"container-item": "wallet_stylish",
|
||||
"items": [
|
||||
{ "item": "cash_card", "prob": 1600, "charges-min": 10000, "charges-max": 50000 },
|
||||
{ "item": "money_one", "prob": 1600, "count": [ 10, 20 ] },
|
||||
{ "item": "money_ten", "prob": 1600, "count": [ 5, 10 ] },
|
||||
{ "item": "money_twenty", "prob": 1600, "count": [ 5, 10 ] },
|
||||
{ "item": "cash_card", "prob": 100, "charges-min": 10000, "charges-max": 50000 },
|
||||
{ "item": "money_one", "prob": 100, "count": [ 10, 20 ] },
|
||||
{ "item": "money_ten", "prob": 100, "count": [ 5, 10 ] },
|
||||
{ "item": "money_twenty", "prob": 100, "count": [ 5, 10 ] },
|
||||
{ "group": "discount_cards", "prob": 60, "count": [ 2, 5 ] },
|
||||
{ "item": "condom", "prob": 1 },
|
||||
[ "scorecard", 5 ]
|
||||
@@ -114,9 +114,9 @@
|
||||
"//": "copy-from: wallet_leather_full ",
|
||||
"container-item": "wallet_leather",
|
||||
"items": [
|
||||
{ "item": "cash_card", "prob": 1600, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "id_military", "prob": 1600 },
|
||||
{ "item": "money_ten", "prob": 1600, "count": [ 5, 10 ] },
|
||||
{ "item": "cash_card", "prob": 100, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "id_military", "prob": 100 },
|
||||
{ "item": "money_ten", "prob": 100, "count": [ 5, 10 ] },
|
||||
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
|
||||
@@ -131,9 +131,9 @@
|
||||
"//": "copy-from: wallet_full ",
|
||||
"container-item": "wallet",
|
||||
"items": [
|
||||
{ "item": "cash_card", "prob": 1600, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "id_military", "prob": 1600 },
|
||||
{ "item": "money_ten", "prob": 1600, "count": [ 5, 10 ] },
|
||||
{ "item": "cash_card", "prob": 100, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "id_military", "prob": 100 },
|
||||
{ "item": "money_ten", "prob": 100, "count": [ 5, 10 ] },
|
||||
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
|
||||
@@ -148,13 +148,14 @@
|
||||
"//": "copy-from: wallet_leather_full ",
|
||||
"container-item": "wallet_leather",
|
||||
"items": [
|
||||
{ "item": "cash_card", "prob": 1600, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "id_science", "prob": 1600 },
|
||||
{ "item": "money_ten", "prob": 1600, "count": [ 5, 10 ] },
|
||||
{ "item": "cash_card", "prob": 100, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "id_science", "prob": 100 },
|
||||
{ "item": "money_ten", "prob": 100, "count": [ 5, 10 ] },
|
||||
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
|
||||
{ "item": "condom", "prob": 1 },
|
||||
{ "item": "labmap", "prob": 20 },
|
||||
[ "scorecard", 20 ]
|
||||
]
|
||||
},
|
||||
@@ -165,13 +166,14 @@
|
||||
"//": "copy-from: wallet_full ",
|
||||
"container-item": "wallet",
|
||||
"items": [
|
||||
{ "item": "cash_card", "prob": 1600, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "id_science", "prob": 1600 },
|
||||
{ "item": "money_ten", "prob": 1600, "count": [ 5, 10 ] },
|
||||
{ "item": "cash_card", "prob": 100, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "id_science", "prob": 100 },
|
||||
{ "item": "money_ten", "prob": 100, "count": [ 5, 10 ] },
|
||||
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
|
||||
{ "item": "condom", "prob": 1 },
|
||||
{ "item": "labmap", "prob": 20 },
|
||||
[ "scorecard", 20 ]
|
||||
]
|
||||
},
|
||||
@@ -182,13 +184,14 @@
|
||||
"//": "copy-from: wallet_stylish_full ",
|
||||
"container-item": "wallet_stylish",
|
||||
"items": [
|
||||
{ "item": "id_science", "prob": 1600 },
|
||||
{ "item": "cash_card", "prob": 1600, "charges-min": 10000, "charges-max": 50000 },
|
||||
{ "item": "money_one", "prob": 1600, "count": [ 10, 20 ] },
|
||||
{ "item": "money_ten", "prob": 1600, "count": [ 5, 10 ] },
|
||||
{ "item": "money_twenty", "prob": 1600, "count": [ 5, 10 ] },
|
||||
{ "item": "id_science", "prob": 100 },
|
||||
{ "item": "cash_card", "prob": 100, "charges-min": 10000, "charges-max": 50000 },
|
||||
{ "item": "money_one", "prob": 100, "count": [ 10, 20 ] },
|
||||
{ "item": "money_ten", "prob": 100, "count": [ 5, 10 ] },
|
||||
{ "item": "money_twenty", "prob": 100, "count": [ 5, 10 ] },
|
||||
{ "group": "discount_cards", "prob": 60, "count": [ 2, 5 ] },
|
||||
{ "item": "condom", "prob": 1 },
|
||||
{ "item": "labmap", "prob": 20 },
|
||||
[ "scorecard", 5 ]
|
||||
]
|
||||
},
|
||||
@@ -199,9 +202,9 @@
|
||||
"//": "copy-from: wallet_leather_full ",
|
||||
"container-item": "wallet_leather",
|
||||
"items": [
|
||||
{ "item": "cash_card", "prob": 1600, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "id_industrial", "prob": 1600 },
|
||||
{ "item": "money_ten", "prob": 1600, "count": [ 5, 10 ] },
|
||||
{ "item": "cash_card", "prob": 100, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "id_industrial", "prob": 100 },
|
||||
{ "item": "money_ten", "prob": 100, "count": [ 5, 10 ] },
|
||||
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
|
||||
@@ -216,9 +219,9 @@
|
||||
"//": "copy-from: wallet_full ",
|
||||
"container-item": "wallet",
|
||||
"items": [
|
||||
{ "item": "cash_card", "prob": 1600, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "id_industrial", "prob": 1600 },
|
||||
{ "item": "money_ten", "prob": 1600, "count": [ 5, 10 ] },
|
||||
{ "item": "cash_card", "prob": 100, "charges-min": 0, "charges-max": 50000 },
|
||||
{ "item": "id_industrial", "prob": 100 },
|
||||
{ "item": "money_ten", "prob": 100, "count": [ 5, 10 ] },
|
||||
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
|
||||
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
|
||||
|
||||
@@ -45,11 +45,11 @@
|
||||
{
|
||||
"id": "drugs_emergency",
|
||||
"type": "item_group",
|
||||
"//": "Medical consumables for emergency use excluduing painkillers",
|
||||
"//": "Medical consumables for emergency use excluding painkillers",
|
||||
"items": [
|
||||
[ "adrenaline_injector", 50 ],
|
||||
{ "item": "inhaler", "prob": 100, "charges-min": 10, "charges-max": 100 },
|
||||
[ "quikclot", 50 ],
|
||||
{ "item": "quikclot", "prob": 50, "charges": [ 1, 6 ] },
|
||||
{ "item": "smoxygen_tank", "prob": 70, "charges": [ 0, 12 ] },
|
||||
{ "distribution": [ { "group": "full_ifak" }, { "group": "used_ifak" } ], "prob": 40 }
|
||||
]
|
||||
@@ -97,12 +97,12 @@
|
||||
"//": "Healing items appropriate for soldiers and other paramilitary forces",
|
||||
"entries": [
|
||||
{ "distribution": [ { "group": "full_ifak" }, { "group": "used_ifak" } ], "prob": 50 },
|
||||
{ "item": "antibiotics", "prob": 20 },
|
||||
{ "item": "bandages", "prob": 100 },
|
||||
{ "item": "morphine", "prob": 20 },
|
||||
{ "item": "quikclot", "prob": 20 },
|
||||
{ "item": "antibiotics", "prob": 20, "charges": [ 1, 15 ] },
|
||||
{ "item": "bandages", "prob": 100, "charges": [ 1, 3 ] },
|
||||
{ "item": "morphine", "prob": 20, "charges": [ 1, 4 ] },
|
||||
{ "item": "quikclot", "prob": 20, "charges": [ 1, 6 ] },
|
||||
{ "item": "smoxygen_tank", "prob": 20, "charges": [ 0, 12 ] },
|
||||
{ "item": "tramadol", "prob": 20 }
|
||||
{ "item": "tramadol", "prob": 20, "charges": [ 1, 10 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -140,25 +140,25 @@
|
||||
"type": "item_group",
|
||||
"id": "softdrugs",
|
||||
"items": [
|
||||
[ "bandages", 30 ],
|
||||
{ "item": "bandages", "prob": 30, "charges": [ 1, 3 ] },
|
||||
[ "adhesive_bandages", 30 ],
|
||||
[ "cotton_ball", 50 ],
|
||||
{ "item": "cotton_ball", "prob": 50, "charges": [ 1, 10 ] },
|
||||
{ "group": "used_1st_aid", "prob": 35 },
|
||||
[ "saline", 25 ],
|
||||
{ "item": "saline", "prob": 25, "charges": [ 1, 5 ] },
|
||||
[ "contacts", 10 ],
|
||||
[ "vitamins", 75 ],
|
||||
[ "gummy_vitamins", 25 ],
|
||||
[ "calcium_tablet", 75 ],
|
||||
[ "aspirin", 85 ],
|
||||
[ "caffeine", 25 ],
|
||||
[ "pills_sleep", 15 ],
|
||||
[ "iodine", 5 ],
|
||||
[ "prussian_blue", 5 ],
|
||||
[ "dayquil", 70 ],
|
||||
[ "nyquil", 70 ],
|
||||
[ "disinfectant", 35 ],
|
||||
{ "item": "vitamins", "prob": 75, "charges": [ 1, 20 ] },
|
||||
{ "item": "gummy_vitamins", "prob": 25, "charges": [ 1, 10 ] },
|
||||
{ "item": "calcium_tablet", "prob": 75, "charges": [ 1, 20 ] },
|
||||
{ "item": "aspirin", "prob": 85, "charges": [ 1, 20 ] },
|
||||
{ "item": "caffeine", "prob": 25, "charges": [ 1, 10 ] },
|
||||
{ "item": "pills_sleep", "prob": 15, "charges": [ 1, 10 ] },
|
||||
{ "item": "iodine", "prob": 5, "charges": [ 1, 10 ] },
|
||||
{ "item": "prussian_blue", "prob": 5, "charges": [ 1, 10 ] },
|
||||
{ "item": "dayquil", "prob": 70, "charges": [ 1, 5 ] },
|
||||
{ "item": "nyquil", "prob": 70, "charges": [ 1, 5 ] },
|
||||
{ "item": "disinfectant", "prob": 35, "charges": [ 1, 10 ] },
|
||||
[ "vaccine_shot", 10 ],
|
||||
[ "homeopathic_pills", 10 ],
|
||||
{ "item": "homeopathic_pills", "prob": 10, "charges": [ 1, 20 ] },
|
||||
{
|
||||
"item": "protein_powder",
|
||||
"prob": 12,
|
||||
@@ -166,14 +166,14 @@
|
||||
"charges-min": 1,
|
||||
"charges-max": 9
|
||||
},
|
||||
[ "caff_gum", 10 ],
|
||||
{ "item": "caff_gum", "prob": 10, "charges": [ 1, 10 ] },
|
||||
{ "item": "oxygen_tank", "prob": 20, "charges": [ 0, 24 ] },
|
||||
{ "item": "smoxygen_tank", "prob": 5, "charges": [ 0, 12 ] },
|
||||
[ "eyedrops", 35 ],
|
||||
{ "item": "shavingkit", "prob": 5, "charges": [ 0, 10 ] },
|
||||
{ "item": "elec_hairtrimmer", "prob": 2, "charges": [ 0, 50 ] },
|
||||
[ "nic_gum", 25 ],
|
||||
[ "weak_antibiotic", 30 ]
|
||||
{ "item": "nic_gum", "prob": 25, "charges": [ 1, 10 ] },
|
||||
{ "item": "weak_antibiotic", "prob": 30, "charges": [ 1, 5 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -181,20 +181,20 @@
|
||||
"id": "harddrugs",
|
||||
"items": [
|
||||
{ "item": "inhaler", "prob": 14, "charges-min": 10, "charges-max": 100 },
|
||||
[ "codeine", 15 ],
|
||||
[ "oxycodone", 4 ],
|
||||
[ "morphine", 4 ],
|
||||
[ "tramadol", 11 ],
|
||||
[ "xanax", 10 ],
|
||||
[ "adderall", 10 ],
|
||||
[ "thorazine", 7 ],
|
||||
[ "prozac", 10 ],
|
||||
[ "antibiotics", 25 ],
|
||||
[ "strong_antibiotic", 5 ],
|
||||
[ "antifungal", 2 ],
|
||||
[ "antiparasitic", 3 ],
|
||||
{ "item": "codeine", "prob": 15, "charges": [ 1, 10 ] },
|
||||
{ "item": "oxycodone", "prob": 4, "charges": [ 1, 10 ] },
|
||||
{ "item": "morphine", "prob": 4, "charges": [ 1, 4 ] },
|
||||
{ "item": "tramadol", "prob": 11, "charges": [ 1, 10 ] },
|
||||
{ "item": "xanax", "prob": 10, "charges": [ 1, 10 ] },
|
||||
{ "item": "adderall", "prob": 10, "charges": [ 1, 10 ] },
|
||||
{ "item": "thorazine", "prob": 7, "charges": [ 1, 10 ] },
|
||||
{ "item": "prozac", "prob": 10, "charges": [ 1, 15 ] },
|
||||
{ "item": "antibiotics", "prob": 25, "charges": [ 1, 15 ] },
|
||||
{ "item": "strong_antibiotic", "prob": 5, "charges": [ 1, 5 ] },
|
||||
{ "item": "antifungal", "prob": 2, "charges": [ 1, 5 ] },
|
||||
{ "item": "antiparasitic", "prob": 3, "charges": [ 1, 10 ] },
|
||||
[ "survnote", 1 ],
|
||||
[ "diazepam", 4 ],
|
||||
{ "item": "diazepam", "prob": 4, "charges": [ 1, 10 ] },
|
||||
[ "flu_shot", 5 ],
|
||||
[ "syringe", 8 ]
|
||||
]
|
||||
@@ -202,6 +202,12 @@
|
||||
{
|
||||
"type": "item_group",
|
||||
"id": "meth_ingredients",
|
||||
"items": [ [ "dayquil", 2 ], [ "aspirin", 40 ], [ "adderall", 5 ], [ "energy_drink", 2 ], [ "caffeine", 20 ] ]
|
||||
"items": [
|
||||
{ "item": "dayquil", "prob": 2, "charges": [ 1, 5 ] },
|
||||
{ "item": "aspirin", "prob": 40, "charges": [ 1, 20 ] },
|
||||
{ "item": "adderall", "prob": 5, "charges": [ 1, 10 ] },
|
||||
[ "energy_drink", 2 ],
|
||||
{ "item": "caffeine", "prob": 20, "charges": [ 1, 10 ] }
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -107,7 +107,8 @@
|
||||
{ "item": "horseradish", "prob": 15 },
|
||||
{ "item": "spread_peanutbutter", "prob": 10 },
|
||||
{ "item": "honey_bottled", "prob": 35 },
|
||||
{ "item": "honey_glassed", "prob": 35 }
|
||||
{ "item": "honey_glassed", "prob": 35 },
|
||||
{ "item": "oyster_crackers", "prob": 15 }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -187,6 +188,7 @@
|
||||
{ "item": "can_chicken", "prob": 40 },
|
||||
{ "item": "broth", "prob": 15 },
|
||||
{ "item": "crackers", "prob": 10 },
|
||||
{ "item": "oyster_crackers", "prob": 10 },
|
||||
{ "item": "grahmcrackers", "prob": 10 },
|
||||
{ "item": "marshmallow", "prob": 10 },
|
||||
{ "item": "syrup", "prob": 15 },
|
||||
@@ -288,6 +290,7 @@
|
||||
{ "item": "cornbread", "prob": 7 },
|
||||
{ "item": "flatbread", "prob": 7 },
|
||||
{ "item": "crackers", "prob": 20 },
|
||||
{ "item": "oyster_crackers", "prob": 15 },
|
||||
{ "item": "grahmcrackers", "prob": 20 },
|
||||
{ "item": "marshmallow", "prob": 20 },
|
||||
{ "item": "biscuit", "prob": 12 },
|
||||
@@ -429,7 +432,8 @@
|
||||
{ "item": "neccowafers", "prob": 55 },
|
||||
{ "item": "powder_candy", "prob": 50 },
|
||||
{ "item": "candycigarette", "prob": 15 },
|
||||
{ "item": "maple_candy", "prob": 10 }
|
||||
{ "item": "maple_candy", "prob": 10 },
|
||||
{ "item": "candy_coated_peanuts", "prob": 50 }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -560,6 +564,8 @@
|
||||
{ "item": "milkshake", "prob": 15 },
|
||||
{ "item": "milkshake_deluxe", "prob": 5 },
|
||||
{ "item": "icecream", "prob": 10 },
|
||||
{ "item": "sundae_cup", "prob": 10 },
|
||||
{ "item": "frozen_lemonade", "prob": 5 },
|
||||
{ "item": "milkshake_choc", "prob": 7 },
|
||||
{ "item": "milkshake_deluxe_choc", "prob": 2 },
|
||||
{ "item": "icecream_choc", "prob": 5 },
|
||||
@@ -720,11 +726,14 @@
|
||||
{ "item": "glazed_tenderloin", "prob": 55 },
|
||||
{ "item": "fish", "prob": 10 },
|
||||
{ "item": "fish_smoked", "prob": 5 },
|
||||
{ "item": "crab_cakes", "prob": 10 },
|
||||
{ "item": "stuffed_clams", "prob": 5 },
|
||||
{ "item": "meat_smoked", "prob": 60 },
|
||||
{ "item": "sausage", "prob": 35 },
|
||||
{ "item": "bratwurst_sausage", "prob": 30 },
|
||||
{ "item": "hotdogs_frozen", "prob": 65 },
|
||||
{ "item": "hotdogs_cooked", "prob": 65 },
|
||||
{ "item": "hotdogs_newyork", "prob": 45 },
|
||||
{ "item": "chilidogs", "prob": 30 },
|
||||
{ "item": "currywurst", "prob": 15 },
|
||||
{ "item": "lettuce", "prob": 45 },
|
||||
@@ -751,6 +760,39 @@
|
||||
{ "item": "tongs", "prob": 60 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item_group",
|
||||
"id": "food_vendor_cart_kitchen",
|
||||
"subtype": "collection",
|
||||
"entries": [
|
||||
{ "item": "cheeseburger", "count": [ 0, 3 ] },
|
||||
{ "item": "hamburger", "count": [ 0, 3 ] },
|
||||
{ "item": "hamburger", "count": [ 0, 3 ] },
|
||||
{ "item": "sloppyjoe", "count": [ 0, 3 ] },
|
||||
{ "item": "fries", "count": [ 0, 3 ] },
|
||||
{ "item": "bacon", "count": [ 0, 3 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item_group",
|
||||
"id": "food_vendor_cart_fridge",
|
||||
"subtype": "collection",
|
||||
"entries": [
|
||||
{ "item": "lemonade", "count": [ 0, 3 ] },
|
||||
{ "item": "cola", "count": [ 0, 3 ] },
|
||||
{ "item": "sports_drink", "count": [ 0, 3 ] },
|
||||
{ "item": "rootbeer", "count": [ 0, 3 ] },
|
||||
{ "item": "pickle", "count": [ 0, 3 ] },
|
||||
{ "item": "ketchup", "count": [ 0, 3 ], "charges": [ 10, 16 ] },
|
||||
{ "item": "mustard", "count": [ 0, 3 ], "charges": [ 10, 48 ] },
|
||||
{ "item": "mayonnaise", "count": [ 0, 3 ], "charges": [ 10, 16 ] },
|
||||
{ "item": "onion", "count": [ 0, 3 ] },
|
||||
{ "item": "chili_pepper", "count": [ 0, 3 ], "charges": [ 1, 3 ] },
|
||||
{ "item": "lettuce", "count": [ 0, 3 ], "charges": [ 5, 10 ] },
|
||||
{ "item": "tomato", "count": [ 0, 3 ] },
|
||||
{ "item": "cheese", "count": [ 0, 3 ], "charges": [ 4, 8 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item_group",
|
||||
"id": "fast_food",
|
||||
@@ -793,12 +835,15 @@
|
||||
{ "item": "foodplace_food", "prob": 8 },
|
||||
{ "item": "chili", "prob": 20 },
|
||||
{ "item": "chilidogs", "prob": 20 },
|
||||
{ "item": "hotdogs_newyork", "prob": 15 },
|
||||
{ "item": "fries", "prob": 80 },
|
||||
{ "item": "cheese_fries", "prob": 70 },
|
||||
{ "item": "onion_rings", "prob": 80 },
|
||||
{ "item": "hamburger", "prob": 30 },
|
||||
{ "item": "fish_fried", "prob": 8 },
|
||||
{ "item": "fish_sandwich", "prob": 8 },
|
||||
{ "item": "crab_cakes", "prob": 6 },
|
||||
{ "item": "stuffed_clams", "prob": 4 },
|
||||
{ "item": "tofu_rice", "prob": 4 },
|
||||
{ "item": "sloppyjoe", "prob": 8 },
|
||||
{ "item": "bacon", "prob": 25 },
|
||||
|
||||
@@ -4,12 +4,14 @@
|
||||
"id": "NC_ARSONIST_STOCK",
|
||||
"subtype": "collection",
|
||||
"items": [
|
||||
{ "item": "molotov", "count": 50 },
|
||||
{ "item": "improvised_pipebomb", "count": 50 },
|
||||
{ "item": "fuse", "count": 20 },
|
||||
{ "item": "molotov", "count": 5 },
|
||||
{ "item": "rag", "count": 25 },
|
||||
{ "item": "gasoline", "count": 1 },
|
||||
{ "item": "improvised_pipebomb", "count": 25 },
|
||||
{ "item": "fuse", "count": 5 },
|
||||
{ "item": "FMCNote", "count": 3 },
|
||||
{ "item": "nail", "count": 5 },
|
||||
{ "item": "rebar_rail", "count": 5 },
|
||||
{ "item": "nail", "count": 5, "charges": [ 1, 100 ] },
|
||||
{ "item": "rebar", "count": 5 },
|
||||
{ "item": "textbook_anarch", "count": 1 },
|
||||
{ "item": "fertilizer_commercial", "count": 1 }
|
||||
]
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
{
|
||||
"id": "vfw_tools",
|
||||
"type": "item_group",
|
||||
"items": [ [ "glock_19", 1 ], [ "boots_steel", 50 ], [ "boots_hiking", 10 ] ]
|
||||
"items": [ { "item": "glock_19", "prob": 1, "charges": [ 0, 15 ] }, [ "boots_steel", 50 ], [ "boots_hiking", 10 ] ]
|
||||
},
|
||||
{
|
||||
"id": "vfw_books",
|
||||
@@ -83,7 +83,7 @@
|
||||
"items": [
|
||||
{ "group": "guns_energy", "prob": 20 },
|
||||
{ "group": "gunmod_energy", "prob": 40 },
|
||||
[ "plut_cell", 30 ],
|
||||
{ "item": "plut_cell", "prob": 30, "charges": [ 1, 5 ] },
|
||||
[ "plasma", 30 ],
|
||||
[ "adv_UPS_off", 20 ]
|
||||
]
|
||||
@@ -127,9 +127,9 @@
|
||||
{ "group": "guns_shotgun_common", "prob": 50 },
|
||||
{ "group": "guns_survival", "prob": 100 },
|
||||
{ "item": "flaregun", "prob": 25 },
|
||||
{ "item": "large_repairkit", "prob": 5 },
|
||||
{ "item": "large_repairkit", "prob": 5, "charges": [ 0, 500 ] },
|
||||
{ "item": "signal_flare", "prob": 20 },
|
||||
{ "item": "small_repairkit", "prob": 5 }
|
||||
{ "item": "small_repairkit", "prob": 5, "charges": [ 0, 500 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -237,8 +237,8 @@
|
||||
[ "tailor_portfolio", 3 ],
|
||||
[ "house_coat", 20 ],
|
||||
[ "gloves_medical", 50 ],
|
||||
[ "disinfectant", 35 ],
|
||||
[ "aspirin", 40 ],
|
||||
{ "item": "disinfectant", "prob": 35, "charges": [ 1, 10 ] },
|
||||
{ "item": "aspirin", "prob": 40, "charges": [ 1, 20 ] },
|
||||
[ "vaccine_shot", 5 ],
|
||||
[ "flu_shot", 2 ],
|
||||
[ "blanket", 50 ],
|
||||
@@ -247,7 +247,7 @@
|
||||
[ "down_pillow", 15 ],
|
||||
{ "item": "smoxygen_tank", "prob": 10, "charges": [ 0, 12 ] },
|
||||
[ "antiparasitic", 3 ],
|
||||
[ "diazepam", 3 ],
|
||||
{ "item": "diazepam", "prob": 3, "charges": [ 1, 10 ] },
|
||||
[ "recipe_augs", 3 ],
|
||||
{ "group": "religious_books", "prob": 54 },
|
||||
[ "recipe_medicalmut", 1 ],
|
||||
@@ -279,16 +279,16 @@
|
||||
"type": "item_group",
|
||||
"subtype": "distribution",
|
||||
"entries": [
|
||||
{ "item": "aspirin", "prob": 50 },
|
||||
{ "item": "aspirin", "prob": 50, "charges": [ 1, 20 ] },
|
||||
{ "group": "full_1st_aid", "prob": 40 },
|
||||
{ "item": "bandages", "prob": 15 },
|
||||
{ "item": "bandages", "prob": 15, "charges": [ 1, 3 ] },
|
||||
{ "item": "adhesive_bandages", "prob": 15 },
|
||||
{ "item": "duct_tape", "prob": 20 },
|
||||
{ "item": "duct_tape", "prob": 20, "charges": [ 50, 200 ] },
|
||||
{ "item": "sewing_kit", "prob": 10, "charges-min": 0 },
|
||||
{ "item": "mouthpiece", "prob": 10 },
|
||||
{ "item": "cigar", "prob": 20 },
|
||||
{ "item": "cig", "prob": 15 },
|
||||
{ "item": "matches", "prob": 10 }
|
||||
{ "item": "cigar", "prob": 20, "charges": [ 1, 5 ] },
|
||||
{ "item": "cig", "prob": 15, "charges": [ 1, 20 ] },
|
||||
{ "item": "matches", "prob": 10, "charges": [ 1, 20 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -861,13 +861,13 @@
|
||||
[ "crowbar", 18 ],
|
||||
[ "halligan", 1 ],
|
||||
[ "fire_ax", 2 ],
|
||||
[ "spray_can", 50 ],
|
||||
{ "item": "spray_can", "prob": 50, "charges": [ 0, 10 ] },
|
||||
[ "jar_glass_sealed", 10 ],
|
||||
[ "jar_3l_glass_sealed", 8 ],
|
||||
[ "flyer", 10 ],
|
||||
[ "gasoline_lantern", 10 ],
|
||||
{ "item": "gasoline_lantern", "prob": 10, "charges": [ 0, 500 ] },
|
||||
{ "item": "electric_lantern", "prob": 8, "charges": [ 0, 100 ] },
|
||||
[ "oil_lamp", 5 ],
|
||||
{ "item": "oil_lamp", "prob": 5, "charges": [ 0, 750 ] },
|
||||
[ "lamp_oil", 1 ],
|
||||
[ "child_book", 4 ],
|
||||
[ "hairpin", 3 ],
|
||||
@@ -880,8 +880,8 @@
|
||||
[ "pocketwatch", 1 ],
|
||||
[ "survnote", 1 ],
|
||||
[ "tinder", 1 ],
|
||||
[ "hobo_stove", 1 ],
|
||||
[ "l-stick", 1 ],
|
||||
{ "item": "hobo_stove", "prob": 1, "charges": [ 0, 100 ] },
|
||||
{ "item": "l-stick", "prob": 1, "charges": [ 0, 500 ] },
|
||||
[ "eclipse_glasses", 1 ],
|
||||
{ "group": "writing_utensils", "prob": 5 }
|
||||
]
|
||||
@@ -900,8 +900,8 @@
|
||||
[ "flyer", 10 ],
|
||||
[ "file", 10 ],
|
||||
[ "child_book", 2 ],
|
||||
[ "lsd", 1 ],
|
||||
[ "foodperson_mask", 1 ],
|
||||
{ "item": "lsd", "prob": 1, "charges": [ 1, 5 ] },
|
||||
{ "item": "foodperson_mask", "prob": 1, "charges": [ 0, 500 ] },
|
||||
[ "55gal_drum", 10 ],
|
||||
[ "30gal_drum", 15 ],
|
||||
{ "group": "tools_toolbox", "prob": 1 },
|
||||
@@ -916,11 +916,11 @@
|
||||
{ "item": "rock", "prob": 40 },
|
||||
{ "item": "rock_flaking", "prob": 15 },
|
||||
{ "item": "rock_large", "prob": 10 },
|
||||
{ "item": "jackhammer", "prob": 2 },
|
||||
{ "item": "jackhammer", "prob": 2, "charges": [ 0, 400 ] },
|
||||
{ "item": "elec_jackhammer", "prob": 1 },
|
||||
{ "item": "flashlight", "prob": 40, "charges": [ 0, 300 ] },
|
||||
{ "item": "dynamite", "prob": 5 },
|
||||
{ "item": "matches", "prob": 60 },
|
||||
{ "item": "matches", "prob": 60, "charges": [ 1, 20 ] },
|
||||
{ "item": "55gal_drum", "prob": 10 },
|
||||
{ "item": "30gal_drum", "prob": 15 },
|
||||
{ "item": "grapnel", "prob": 1 },
|
||||
@@ -1119,14 +1119,14 @@
|
||||
"type": "item_group",
|
||||
"id": "methlab",
|
||||
"items": [
|
||||
[ "bandages", 25 ],
|
||||
[ "adhesive_bandages", 25 ],
|
||||
[ "cotton_ball", 50 ],
|
||||
{ "item": "bandages", "prob": 25, "charges": [ 1, 3 ] },
|
||||
{ "item": "adhesive_bandages", "prob": 25, "charges": [ 1, 10 ] },
|
||||
{ "item": "cotton_ball", "prob": 50, "charges": [ 1, 10 ] },
|
||||
[ "pan", 60 ],
|
||||
[ "coke", 10 ],
|
||||
[ "meth", 90 ],
|
||||
{ "item": "coke", "prob": 10, "charges": [ 1, 8 ] },
|
||||
{ "item": "meth", "prob": 90, "charges": [ 1, 6 ] },
|
||||
[ "jar_glass_sealed", 80 ],
|
||||
[ "heroin", 1 ],
|
||||
{ "item": "heroin", "prob": 1, "charges": [ 1, 4 ] },
|
||||
{ "item": "bleach", "prob": 60, "charges-min": 10 },
|
||||
{ "item": "ammonia", "prob": 60, "charges-min": 10 },
|
||||
[ "syringe", 30 ],
|
||||
@@ -1139,9 +1139,9 @@
|
||||
{ "item": "matches", "prob": 60, "charges": [ 0, 20 ] },
|
||||
[ "sewage", 60 ],
|
||||
[ "improvised_pipebomb", 4 ],
|
||||
[ "crack", 8 ],
|
||||
{ "item": "crack", "prob": 8, "charges": [ 1, 4 ] },
|
||||
[ "crackpipe", 37 ],
|
||||
[ "lsd", 10 ],
|
||||
{ "item": "lsd", "prob": 10, "charges": [ 1, 5 ] },
|
||||
{ "item": "chemistry_set", "prob": 50, "charges": [ 0, 500 ] },
|
||||
{ "group": "ammo_pocket_batteries_full", "prob": 70 },
|
||||
{ "item": "flashlight", "prob": 40, "charges": [ 0, 300 ] },
|
||||
@@ -1248,10 +1248,10 @@
|
||||
{ "item": "flashlight", "prob": 40, "charges": [ 0, 300 ] },
|
||||
{ "item": "heavy_flashlight", "prob": 10, "charges": [ 0, 300 ] },
|
||||
[ "pickaxe", 1 ],
|
||||
[ "jackhammer", 2 ],
|
||||
[ "elec_jackhammer", 1 ],
|
||||
{ "item": "jackhammer", "prob": 2, "charges": [ 0, 400 ] },
|
||||
{ "item": "elec_jackhammer", "prob": 1, "charges": [ 0, 7000 ] },
|
||||
[ "dynamite", 5 ],
|
||||
[ "UPS_off", 5 ],
|
||||
{ "item": "UPS_off", "prob": 5, "charges": [ 0, 1000 ] },
|
||||
[ "bio_tools", 10 ],
|
||||
[ "bio_flashlight", 10 ],
|
||||
[ "bio_lighter", 10 ],
|
||||
@@ -1259,12 +1259,11 @@
|
||||
[ "bio_resonator", 10 ],
|
||||
[ "bio_hydraulics", 10 ],
|
||||
[ "bio_weight", 12 ],
|
||||
[ "bio_shock_absorber", 10 ],
|
||||
[ "jerrycan", 10 ],
|
||||
[ "jerrycan_big", 10 ],
|
||||
[ "gasoline_lantern", 5 ],
|
||||
{ "item": "gasoline_lantern", "prob": 5, "charges": [ 0, 500 ] },
|
||||
{ "item": "electric_lantern", "prob": 8, "charges": [ 0, 100 ] },
|
||||
[ "oil_lamp", 5 ],
|
||||
{ "item": "oil_lamp", "prob": 5, "charges": [ 0, 750 ] },
|
||||
[ "lamp_oil", 5 ],
|
||||
[ "shovel", 10 ],
|
||||
[ "e_tool", 5 ],
|
||||
@@ -1274,7 +1273,7 @@
|
||||
{ "group": "tools_toolbox", "prob": 1 },
|
||||
[ "apron_leather", 10 ],
|
||||
[ "tool_anfo_charge", 1 ],
|
||||
[ "remotevehcontrol", 10 ]
|
||||
{ "item": "remotevehcontrol", "prob": 10, "charges": [ 0, 100 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1373,7 +1372,7 @@
|
||||
[ "flyer", 10 ],
|
||||
[ "one_year_old_newspaper", 2 ],
|
||||
{ "group": "newspaper_recent", "prob": 15 },
|
||||
[ "foodperson_mask", 1 ],
|
||||
{ "item": "foodperson_mask", "prob": 1, "charges": [ 0, 500 ] },
|
||||
[ "survnote", 1 ]
|
||||
]
|
||||
},
|
||||
@@ -1386,18 +1385,18 @@
|
||||
[ "blackjack", 50 ],
|
||||
{ "item": "shocktonfa_off", "prob": 25, "charges": [ 0, 500 ] },
|
||||
{ "item": "tazer", "prob": 25, "charges": [ 0, 500 ] },
|
||||
[ "remington_700", 5 ],
|
||||
[ "3006", 5 ],
|
||||
[ "ksg", 8 ],
|
||||
[ "remington_870_express", 8 ],
|
||||
[ "mossberg_500_security", 8 ],
|
||||
[ "shot_beanbag", 25 ],
|
||||
[ "rm120c", 2 ],
|
||||
[ "rm20", 1 ],
|
||||
[ "20x66_beanbag", 10 ],
|
||||
[ "m79", 8 ],
|
||||
[ "40x46mm_m651", 20 ],
|
||||
[ "40x46mm_m1006", 10 ]
|
||||
{ "item": "remington_700", "prob": 5, "charges": [ 0, 4 ] },
|
||||
{ "item": "3006", "prob": 5, "charges": [ 1, 20 ] },
|
||||
{ "item": "ksg", "prob": 8, "charges": [ 0, 7 ] },
|
||||
{ "item": "remington_870_express", "prob": 8, "charges": [ 0, 7 ] },
|
||||
{ "item": "mossberg_500_security", "prob": 8, "charges": [ 0, 6 ] },
|
||||
{ "item": "shot_beanbag", "prob": 25, "charges": [ 1, 10 ] },
|
||||
{ "item": "rm120c", "prob": 2, "charges": [ 0, 5 ] },
|
||||
{ "item": "rm20", "prob": 1, "charges": [ 0, 20 ] },
|
||||
{ "item": "20x66_beanbag", "prob": 10, "charges": [ 1, 10 ] },
|
||||
{ "item": "m79", "prob": 8, "charges-max": 0 },
|
||||
{ "item": "40x46mm_m651", "prob": 20, "charges": [ 1, 6 ] },
|
||||
{ "item": "40x46mm_m1006", "prob": 10, "charges": [ 1, 6 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1419,17 +1418,17 @@
|
||||
"subtype": "distribution",
|
||||
"entries": [
|
||||
{ "item": "crackpipe", "prob": 8 },
|
||||
{ "item": "weed", "prob": 10 },
|
||||
{ "item": "weed", "prob": 10, "charges": [ 1, 5 ] },
|
||||
{ "item": "joint", "prob": 10 },
|
||||
{ "item": "seed_weed", "prob": 15 },
|
||||
{ "item": "seed_tobacco", "prob": 5 },
|
||||
{ "item": "rolling_paper", "prob": 5 },
|
||||
{ "item": "pipe_glass", "prob": 15 },
|
||||
{ "item": "coke", "prob": 8 },
|
||||
{ "item": "meth", "prob": 2 },
|
||||
{ "item": "heroin", "prob": 1 },
|
||||
{ "item": "coke", "prob": 8, "charges": [ 1, 8 ] },
|
||||
{ "item": "meth", "prob": 2, "charges": [ 1, 6 ] },
|
||||
{ "item": "heroin", "prob": 1, "charges": [ 1, 4 ] },
|
||||
{ "item": "syringe", "prob": 8 },
|
||||
{ "item": "electrohack", "prob": 3 },
|
||||
{ "item": "electrohack", "prob": 3, "charges": [ 0, 100 ] },
|
||||
{ "item": "textbook_gaswarfare", "prob": 1 },
|
||||
{ "item": "textbook_anarch", "prob": 3 },
|
||||
{ "item": "brewing_cookbook", "prob": 3 },
|
||||
@@ -1444,10 +1443,10 @@
|
||||
{ "item": "punch_dagger", "prob": 12 },
|
||||
{ "item": "claw_bar", "prob": 3 },
|
||||
{ "item": "crowbar", "prob": 18 },
|
||||
{ "item": "tazer", "prob": 3 },
|
||||
{ "item": "tazer", "prob": 3, "charges": [ 0, 500 ] },
|
||||
{ "item": "software_hacking", "prob": 10 },
|
||||
{ "item": "spray_can", "prob": 50 },
|
||||
{ "item": "lsd", "prob": 2 },
|
||||
{ "item": "spray_can", "prob": 50, "charges": [ 0, 10 ] },
|
||||
{ "item": "lsd", "prob": 2, "charges": [ 1, 5 ] },
|
||||
{ "item": "pocketwatch", "prob": 5 },
|
||||
{ "item": "sf_watch", "prob": 5 },
|
||||
{ "item": "platinum_watch", "prob": 1 },
|
||||
@@ -1474,21 +1473,21 @@
|
||||
"//": "concealable items only plz",
|
||||
"subtype": "distribution",
|
||||
"entries": [
|
||||
{ "item": "caffeine", "prob": 25 },
|
||||
{ "item": "oxycodone", "prob": 4 },
|
||||
{ "item": "morphine", "prob": 4 },
|
||||
{ "item": "adderall", "prob": 10 },
|
||||
{ "item": "xanax", "prob": 10 },
|
||||
{ "item": "caffeine", "prob": 25, "charges": [ 1, 10 ] },
|
||||
{ "item": "oxycodone", "prob": 4, "charges": [ 1, 10 ] },
|
||||
{ "item": "morphine", "prob": 4, "charges": [ 1, 4 ] },
|
||||
{ "item": "adderall", "prob": 10, "charges": [ 1, 10 ] },
|
||||
{ "item": "xanax", "prob": 10, "charges": [ 1, 10 ] },
|
||||
{ "item": "adrenaline_injector", "prob": 2 },
|
||||
{ "item": "crack", "prob": 2 },
|
||||
{ "item": "crack", "prob": 2, "charges": [ 1, 4 ] },
|
||||
{ "item": "crackpipe", "prob": 2 },
|
||||
{ "item": "lighter", "prob": 20, "charges": [ 0, 100 ] },
|
||||
{ "item": "caff_gum", "prob": 10 },
|
||||
{ "item": "nic_gum", "prob": 10 },
|
||||
{ "item": "lsd", "prob": 2 },
|
||||
{ "item": "caff_gum", "prob": 10, "charges": [ 1, 10 ] },
|
||||
{ "item": "nic_gum", "prob": 10, "charges": [ 1, 10 ] },
|
||||
{ "item": "lsd", "prob": 2, "charges": [ 1, 5 ] },
|
||||
{ "item": "joint", "prob": 10 },
|
||||
{ "item": "rolling_paper", "prob": 5 },
|
||||
{ "item": "heroin", "prob": 2 },
|
||||
{ "item": "heroin", "prob": 2, "charges": [ 1, 4 ] },
|
||||
{ "item": "syringe", "prob": 2 },
|
||||
{ "item": "mag_porn", "prob": 30 },
|
||||
{ "item": "mag_survival", "prob": 20 },
|
||||
@@ -1519,19 +1518,19 @@
|
||||
{ "item": "switchblade", "prob": 4 },
|
||||
{ "item": "throwing_knife", "prob": 5 },
|
||||
{ "item": "tazer", "prob": 1, "charges": [ 0, 100 ] },
|
||||
{ "item": "cig", "prob": 30 },
|
||||
{ "item": "cig", "prob": 30, "charges": [ 0, 10 ] },
|
||||
{ "item": "rope_6", "prob": 5 },
|
||||
{ "item": "rope_30", "prob": 2 },
|
||||
{ "item": "duct_tape", "prob": 10 },
|
||||
{ "item": "duct_tape", "prob": 10, "charges": [ 50, 200 ] },
|
||||
{ "group": "ammo_pocket_batteries_full", "prob": 15 },
|
||||
{ "item": "matches", "prob": 10 },
|
||||
{ "item": "gum", "prob": 10 },
|
||||
{ "item": "matches", "prob": 10, "charges": [ 0, 20 ] },
|
||||
{ "item": "gum", "prob": 10, "charges": [ 1, 10 ] },
|
||||
{ "item": "cable", "prob": 5 },
|
||||
{ "item": "panties", "prob": 2 },
|
||||
{ "item": "sharp_toothbrush", "prob": 10 },
|
||||
{ "item": "razor_blade", "prob": 20 },
|
||||
{ "item": "soap", "prob": 5 },
|
||||
{ "item": "detergent", "prob": 5 },
|
||||
{ "item": "soap", "prob": 5, "charges": [ 1, 10 ] },
|
||||
{ "item": "detergent", "prob": 5, "charges": [ 1, 20 ] },
|
||||
{ "item": "knitting_needles", "prob": 1 },
|
||||
{ "item": "survnote", "prob": 2 }
|
||||
]
|
||||
@@ -1543,7 +1542,7 @@
|
||||
"entries": [
|
||||
{ "group": "tools_medical", "prob": 100 },
|
||||
{ "group": "drugs_emergency", "prob": 50 },
|
||||
{ "item": "quikclot", "prob": 10 },
|
||||
{ "item": "quikclot", "prob": 10, "charges": [ 1, 6 ] },
|
||||
{ "item": "badge_doctor", "prob": 2 }
|
||||
]
|
||||
},
|
||||
@@ -1588,8 +1587,8 @@
|
||||
"id": "toxic_dump_equipment",
|
||||
"items": [
|
||||
{ "group": "used_1st_aid", "prob": 35 },
|
||||
[ "iodine", 5 ],
|
||||
[ "prussian_blue", 5 ],
|
||||
{ "item": "iodine", "prob": 5, "charges": [ 1, 10 ] },
|
||||
{ "item": "prussian_blue", "prob": 5, "charges": [ 1, 10 ] },
|
||||
[ "canister_empty", 5 ],
|
||||
[ "boots_steel", 50 ],
|
||||
[ "wrapped_rad_badge", 15 ],
|
||||
@@ -1605,7 +1604,7 @@
|
||||
{ "item": "radio", "prob": 20, "charges": [ 0, 100 ] },
|
||||
{ "item": "geiger_off", "prob": 8, "charges": [ 0, 100 ] },
|
||||
{ "item": "rad_monitor", "prob": 4, "charges": [ 0, 50 ] },
|
||||
[ "UPS_off", 5 ],
|
||||
{ "item": "UPS_off", "prob": 5, "charges": [ 0, 1000 ] },
|
||||
[ "flyer", 10 ],
|
||||
[ "bio_purifier", 10 ],
|
||||
[ "bio_climate", 10 ],
|
||||
@@ -1620,7 +1619,7 @@
|
||||
[ "steam_triple_medium", 1 ],
|
||||
{ "item": "wearable_light", "prob": 10, "charges": [ 0, 100 ] },
|
||||
[ "antiparasitic", 5 ],
|
||||
[ "diazepam", 5 ],
|
||||
{ "item": "diazepam", "prob": 5, "charges": [ 1, 10 ] },
|
||||
{ "item": "misc_repairkit", "prob": 5, "charges-min": 0 },
|
||||
{ "group": "tools_toolbox", "prob": 2 },
|
||||
[ "apron_leather", 10 ],
|
||||
@@ -1628,7 +1627,7 @@
|
||||
[ "thermometer", 3 ],
|
||||
[ "hygrometer", 3 ],
|
||||
[ "barometer", 3 ],
|
||||
[ "remotevehcontrol", 10 ]
|
||||
{ "item": "remotevehcontrol", "prob": 10, "charges": [ 0, 100 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1641,15 +1640,15 @@
|
||||
[ "eyedrops", 20 ],
|
||||
[ "clock", 10 ],
|
||||
{ "group": "tobacco_products", "prob": 151 },
|
||||
[ "weed", 10 ],
|
||||
{ "item": "weed", "prob": 10, "charges": [ 1, 5 ] },
|
||||
[ "joint", 10 ],
|
||||
[ "seed_weed", 15 ],
|
||||
[ "seed_tobacco", 5 ],
|
||||
[ "rolling_paper", 5 ],
|
||||
{ "item": "rolling_paper", "prob": 5, "charges": [ 1, 30 ] },
|
||||
[ "pipe_glass", 5 ],
|
||||
[ "coke", 8 ],
|
||||
[ "meth", 2 ],
|
||||
[ "heroin", 1 ],
|
||||
{ "item": "coke", "prob": 8, "charges": [ 1, 8 ] },
|
||||
{ "item": "meth", "prob": 2, "charges": [ 1, 6 ] },
|
||||
{ "item": "heroin", "prob": 1, "charges": [ 1, 4 ] },
|
||||
[ "sneakers", 40 ],
|
||||
[ "mask_hockey", 5 ],
|
||||
[ "mask_guy_fawkes", 5 ],
|
||||
@@ -1669,8 +1668,8 @@
|
||||
[ "mbag", 20 ],
|
||||
[ "fanny", 10 ],
|
||||
{ "group": "ammo_pocket_batteries_full", "prob": 50 },
|
||||
[ "bb", 8 ],
|
||||
[ "bbgun", 10 ],
|
||||
{ "item": "bb", "prob": 8, "charges": [ 1, 500 ] },
|
||||
{ "item": "bbgun", "prob": 10, "charges": [ 0, 150 ] },
|
||||
[ "fan", 10 ],
|
||||
[ "file", 30 ],
|
||||
[ "photo_album", 5 ],
|
||||
@@ -1725,7 +1724,7 @@
|
||||
[ "chips", 65 ],
|
||||
{ "group": "softdrinks_canned", "prob": 90 },
|
||||
[ "choco_coffee_beans", 20 ],
|
||||
[ "caffeine", 20 ],
|
||||
{ "item": "caffeine", "prob": 20, "charges": [ 1, 10 ] },
|
||||
[ "cola_meth", 1 ],
|
||||
[ "picklocks", 10 ],
|
||||
[ "wolfsuit", 4 ],
|
||||
@@ -1735,15 +1734,15 @@
|
||||
[ "blanket", 10 ],
|
||||
[ "house_coat", 25 ],
|
||||
{ "item": "talking_doll", "prob": 5, "charges": [ 0, 100 ] },
|
||||
[ "marble", 5 ],
|
||||
{ "item": "marble", "prob": 5, "charges": [ 1, 20 ] },
|
||||
{ "item": "creepy_doll", "prob": 1, "charges": [ 0, 100 ] },
|
||||
[ "straw_doll", 1 ],
|
||||
[ "wristwatch", 15 ],
|
||||
[ "pocketwatch", 5 ],
|
||||
[ "lsd", 1 ],
|
||||
[ "gum", 30 ],
|
||||
[ "caff_gum", 20 ],
|
||||
[ "nic_gum", 5 ],
|
||||
{ "item": "lsd", "prob": 1, "charges": [ 1, 5 ] },
|
||||
{ "item": "gum", "prob": 30, "charges": [ 1, 10 ] },
|
||||
{ "item": "caff_gum", "prob": 20, "charges": [ 1, 10 ] },
|
||||
{ "item": "nic_gum", "prob": 5, "charges": [ 1, 10 ] },
|
||||
[ "hairpin", 5 ],
|
||||
[ "barrette", 3 ],
|
||||
[ "clown_suit", 1 ],
|
||||
@@ -1850,8 +1849,8 @@
|
||||
"subtype": "distribution",
|
||||
"entries": [
|
||||
{ "item": "balance_small", "prob": 5 },
|
||||
{ "item": "ph_meter", "prob": 5 },
|
||||
{ "item": "voltmeter", "prob": 5 },
|
||||
{ "item": "ph_meter", "prob": 5, "charges": [ 0, 100 ] },
|
||||
{ "item": "voltmeter", "prob": 5, "charges": [ 0, 100 ] },
|
||||
{ "item": "thermometer", "prob": 5 },
|
||||
{ "item": "melting_point", "prob": 5 },
|
||||
{ "item": "vortex", "prob": 5 },
|
||||
@@ -1867,8 +1866,8 @@
|
||||
{ "item": "stand_ring", "prob": 5 },
|
||||
{ "item": "stand_ring_clamps", "prob": 5 },
|
||||
{ "item": "ether", "prob": 5, "charges-min": 100 },
|
||||
{ "item": "iodine", "prob": 5 },
|
||||
{ "item": "prussian_blue", "prob": 5 },
|
||||
{ "item": "iodine", "prob": 5, "charges": [ 1, 10 ] },
|
||||
{ "item": "prussian_blue", "prob": 5, "charges": [ 1, 10 ] },
|
||||
{ "item": "pocket_firstaid", "prob": 2 },
|
||||
{ "item": "file", "prob": 5 },
|
||||
{ "item": "textbook_chemistry", "prob": 10 },
|
||||
@@ -1889,28 +1888,28 @@
|
||||
{ "group": "used_1st_aid", "prob": 5 },
|
||||
{ "item": "saline", "prob": 1 },
|
||||
{ "item": "extinguisher", "prob": 25, "charges": 100 },
|
||||
{ "item": "hotplate", "prob": 15 },
|
||||
{ "item": "hotplate", "prob": 15, "charges": [ 0, 500 ] },
|
||||
{ "item": "funnel", "prob": 50 },
|
||||
{ "item": "jar_glass_sealed", "prob": 20 },
|
||||
{ "item": "jar_3l_glass_sealed", "prob": 15 },
|
||||
{ "item": "apron_leather", "prob": 6 },
|
||||
{ "item": "pur_tablets", "prob": 15 },
|
||||
{ "item": "lye_powder", "prob": 10 },
|
||||
{ "item": "oxy_powder", "prob": 12 },
|
||||
{ "item": "chemistry_set", "prob": 8 },
|
||||
{ "item": "pur_tablets", "prob": 15, "charges": [ 1, 15 ] },
|
||||
{ "item": "lye_powder", "prob": 10, "charges": [ 1, 200 ] },
|
||||
{ "item": "oxy_powder", "prob": 12, "charges": [ 1, 200 ] },
|
||||
{ "item": "chemistry_set", "prob": 8, "charges": [ 0, 500 ] },
|
||||
{ "item": "sm_extinguisher", "prob": 20, "charges": 10 },
|
||||
{ "item": "eyedrops", "prob": 15 },
|
||||
{ "item": "charcoal", "prob": 10 },
|
||||
{ "item": "magnesium", "prob": 10 },
|
||||
{ "item": "tin", "prob": 10 },
|
||||
{ "item": "eyedrops", "prob": 15, "charges": [ 1, 10 ] },
|
||||
{ "item": "charcoal", "prob": 10, "charges": [ 25, 50 ] },
|
||||
{ "item": "magnesium", "prob": 10, "charges": [ 1, 100 ] },
|
||||
{ "item": "tin", "prob": 10, "charges": [ 1, 100 ] },
|
||||
{ "item": "chem_hydrogen_peroxide", "prob": 10, "charges-min": 1 },
|
||||
{ "item": "chem_muriatic_acid", "prob": 5, "charges-min": 1 },
|
||||
{ "item": "chem_sulphur", "prob": 10, "charges-min": 100 },
|
||||
{ "item": "chem_aluminium_powder", "prob": 5 },
|
||||
{ "item": "chem_aluminium_powder", "prob": 5, "charges": [ 1, 100 ] },
|
||||
{ "item": "chem_zinc_powder", "prob": 10, "charges-min": 100 },
|
||||
{ "item": "chem_zinc", "prob": 5, "charges-min": 100 },
|
||||
{ "item": "chem_manganese_dioxide", "prob": 10, "charges-min": 100 },
|
||||
{ "item": "chem_saltpetre", "prob": 10 },
|
||||
{ "item": "chem_saltpetre", "prob": 10, "charges": [ 1, 50 ] },
|
||||
{ "item": "chem_carbide", "prob": 10, "charges-min": 100 },
|
||||
{ "item": "denat_alcohol", "prob": 10, "charges-min": 250 }
|
||||
]
|
||||
@@ -1929,7 +1928,7 @@
|
||||
[ "howto_traps", 10 ],
|
||||
[ "decoy_anarch", 8 ],
|
||||
[ "recipe_augs", 8 ],
|
||||
[ "aspirin", 85 ],
|
||||
{ "item": "aspirin", "prob": 85, "charges": [ 1, 20 ] },
|
||||
[ "junk_burrito", 25 ],
|
||||
{ "group": "tobacco_products", "prob": 31 },
|
||||
[ "contacts", 15 ],
|
||||
@@ -1955,9 +1954,9 @@
|
||||
[ "software_electronics_reference", 2 ],
|
||||
[ "umbrella", 5 ],
|
||||
[ "teleumbrella", 2 ],
|
||||
[ "gum", 10 ],
|
||||
[ "caff_gum", 6 ],
|
||||
[ "nic_gum", 4 ],
|
||||
{ "item": "gum", "prob": 10, "charges": [ 1, 10 ] },
|
||||
{ "item": "caff_gum", "prob": 6, "charges": [ 1, 10 ] },
|
||||
{ "item": "nic_gum", "prob": 4, "charges": [ 1, 10 ] },
|
||||
[ "fan", 10 ],
|
||||
{ "item": "sm_extinguisher", "prob": 10, "charges": 10 },
|
||||
[ "pocketwatch", 2 ],
|
||||
@@ -1987,7 +1986,7 @@
|
||||
{ "item": "fun_survival", "prob": 10 },
|
||||
{ "item": "recipe_augs", "prob": 1 },
|
||||
{ "item": "decoy_anarch", "prob": 10 },
|
||||
{ "item": "aspirin", "prob": 85 },
|
||||
{ "item": "aspirin", "prob": 85, "charges": [ 1, 20 ] },
|
||||
{ "item": "maltballs", "prob": 30 },
|
||||
{ "group": "tobacco_products", "prob": 151 },
|
||||
{ "item": "contacts", "prob": 15 },
|
||||
@@ -2004,7 +2003,7 @@
|
||||
{ "item": "textbook_computer", "prob": 8 },
|
||||
{ "item": "computer_science", "prob": 8 },
|
||||
{ "item": "howto_computer", "prob": 6 },
|
||||
{ "item": "matches", "prob": 60 },
|
||||
{ "item": "matches", "prob": 60, "charges": [ 1, 20 ] },
|
||||
{ "item": "extinguisher", "prob": 20, "charges": 100 },
|
||||
{ "item": "flashlight", "prob": 40, "charges": [ 0, 300 ] },
|
||||
{ "item": "radio", "prob": 20, "charges": [ 0, 100 ] },
|
||||
@@ -2025,9 +2024,9 @@
|
||||
{ "item": "umbrella", "prob": 5 },
|
||||
{ "item": "teleumbrella", "prob": 2 },
|
||||
{ "item": "mag_tailor", "prob": 5 },
|
||||
{ "item": "gum", "prob": 20 },
|
||||
{ "item": "caff_gum", "prob": 7 },
|
||||
{ "item": "nic_gum", "prob": 5 },
|
||||
{ "item": "gum", "prob": 20, "charges": [ 1, 10 ] },
|
||||
{ "item": "caff_gum", "prob": 7, "charges": [ 1, 10 ] },
|
||||
{ "item": "nic_gum", "prob": 5, "charges": [ 1, 10 ] },
|
||||
{ "item": "sm_extinguisher", "prob": 10, "charges": 10 },
|
||||
{ "item": "pocketwatch", "prob": 2 },
|
||||
{ "item": "knitting_needles", "prob": 1 },
|
||||
@@ -2046,15 +2045,15 @@
|
||||
[ "brownie", 60 ],
|
||||
[ "aspirin", 40 ],
|
||||
{ "group": "tobacco_products", "prob": 150 },
|
||||
[ "gum", 100 ],
|
||||
[ "caff_gum", 20 ],
|
||||
[ "nic_gum", 20 ],
|
||||
{ "item": "gum", "prob": 100, "charges": [ 1, 10 ] },
|
||||
{ "item": "caff_gum", "prob": 20, "charges": [ 1, 10 ] },
|
||||
{ "item": "nic_gum", "prob": 20, "charges": [ 1, 10 ] },
|
||||
[ "instant_coffee", 130 ],
|
||||
[ "coffee_syrup", 80 ],
|
||||
[ "coffee_raw", 80 ],
|
||||
[ "weed", 10 ],
|
||||
{ "item": "weed", "prob": 10, "charges": [ 1, 5 ] },
|
||||
[ "joint", 10 ],
|
||||
[ "matches", 50 ],
|
||||
{ "item": "matches", "prob": 50, "charges": [ 1, 20 ] },
|
||||
{ "item": "lighter", "prob": 50, "charges": [ 0, 100 ] },
|
||||
{ "group": "clothing_glasses", "prob": 30 },
|
||||
[ "contacts", 30 ],
|
||||
@@ -2159,20 +2158,20 @@
|
||||
[ "coffee_raw", 15 ],
|
||||
[ "instant_coffee", 25 ],
|
||||
[ "cheese_hard", 5 ],
|
||||
[ "bandages", 50 ],
|
||||
[ "adhesive_bandages", 50 ],
|
||||
[ "cotton_ball", 50 ],
|
||||
{ "item": "bandages", "prob": 50, "charges": [ 1, 3 ] },
|
||||
{ "item": "adhesive_bandages", "prob": 50, "charges": [ 1, 10 ] },
|
||||
{ "item": "cotton_ball", "prob": 50, "charges": [ 1, 10 ] },
|
||||
{ "group": "used_1st_aid", "prob": 35 },
|
||||
{ "distribution": [ { "group": "full_ifak" }, { "group": "used_ifak" } ], "prob": 35 },
|
||||
{ "distribution": [ { "group": "full_survival_kit" }, { "group": "used_survival_kit" } ], "prob": 35 },
|
||||
{ "group": "premium_contents", "prob": 8 },
|
||||
[ "saline", 10 ],
|
||||
[ "vitamins", 75 ],
|
||||
[ "gummy_vitamins", 25 ],
|
||||
[ "calcium_tablet", 75 ],
|
||||
[ "iodine", 5 ],
|
||||
[ "prussian_blue", 5 ],
|
||||
[ "dayquil", 70 ],
|
||||
{ "item": "saline", "prob": 10, "charges": [ 1, 5 ] },
|
||||
{ "item": "vitamins", "prob": 75, "charges": [ 1, 20 ] },
|
||||
{ "item": "gummy_vitamins", "prob": 25, "charges": [ 1, 10 ] },
|
||||
{ "item": "calcium_tablet", "prob": 75, "charges": [ 1, 20 ] },
|
||||
{ "item": "iodine", "prob": 5, "charges": [ 1, 10 ] },
|
||||
{ "item": "prussian_blue", "prob": 5, "charges": [ 1, 10 ] },
|
||||
{ "item": "dayquil", "prob": 70, "charges": [ 1, 5 ] },
|
||||
[ "screwdriver", 40 ],
|
||||
[ "screwdriver_set", 10 ],
|
||||
[ "boots", 70 ],
|
||||
@@ -2223,14 +2222,14 @@
|
||||
{ "item": "matches", "prob": 60, "charges": [ 0, 20 ] },
|
||||
{ "item": "sewing_kit", "prob": 47, "charges-min": 0 },
|
||||
{ "item": "tailors_kit", "prob": 3, "charges-min": 0 },
|
||||
[ "thread", 40 ],
|
||||
{ "item": "thread", "prob": 40, "charges": [ 1, 50 ] },
|
||||
[ "hammer", 35 ],
|
||||
{ "item": "extinguisher", "prob": 20, "charges": 100 },
|
||||
{ "item": "flashlight", "prob": 40, "charges": [ 0, 300 ] },
|
||||
{ "item": "heavy_flashlight", "prob": 5, "charges": [ 0, 300 ] },
|
||||
{ "item": "mess_kit", "prob": 10, "charges": [ 0, 500 ] },
|
||||
{ "item": "hotplate", "prob": 10, "charges": [ 0, 500 ] },
|
||||
[ "popcan_stove", 5 ],
|
||||
{ "item": "popcan_stove", "prob": 5, "charges": [ 0, 500 ] },
|
||||
{ "item": "denat_alcohol", "prob": 10, "charges-min": 250 },
|
||||
{ "item": "water_purifier", "prob": 5, "charges": [ 0, 100 ] },
|
||||
{ "item": "radio", "prob": 20, "charges": [ 0, 100 ] },
|
||||
@@ -2250,9 +2249,9 @@
|
||||
[ "down_pillow", 15 ],
|
||||
[ "emer_blanket", 20 ],
|
||||
[ "flyer", 10 ],
|
||||
[ "gasoline_lantern", 5 ],
|
||||
{ "item": "gasoline_lantern", "prob": 5, "charges": [ 0, 500 ] },
|
||||
{ "item": "electric_lantern", "prob": 8, "charges": [ 0, 100 ] },
|
||||
[ "oil_lamp", 5 ],
|
||||
{ "item": "oil_lamp", "prob": 5, "charges": [ 0, 750 ] },
|
||||
[ "lamp_oil", 5 ],
|
||||
[ "flotation_vest", 1 ],
|
||||
[ "vaccine_shot", 10 ],
|
||||
@@ -2268,7 +2267,7 @@
|
||||
[ "flaregun", 5 ],
|
||||
[ "signal_flare", 10 ],
|
||||
[ "survivormap", 1 ],
|
||||
[ "pur_tablets", 5 ],
|
||||
{ "item": "pur_tablets", "prob": 5, "charges": [ 1, 15 ] },
|
||||
[ "razor_blade", 5 ],
|
||||
[ "sheath", 5 ],
|
||||
[ "bootsheath", 5 ],
|
||||
@@ -2279,12 +2278,12 @@
|
||||
[ "bodypillow", 1 ],
|
||||
[ "flint_steel", 6 ],
|
||||
[ "bottle_metal", 2 ],
|
||||
[ "hobo_stove", 3 ],
|
||||
{ "item": "hobo_stove", "prob": 3, "charges": [ 0, 100 ] },
|
||||
[ "tinder", 3 ],
|
||||
[ "tinderbox", 2 ],
|
||||
{ "item": "tinderbox", "prob": 2, "charges": [ 0, 100 ] },
|
||||
[ "tarp", 15 ],
|
||||
[ "chem_hexamine", 4 ],
|
||||
[ "esbit_stove", 8 ],
|
||||
{ "item": "esbit_stove", "prob": 8, "charges": [ 0, 50 ] },
|
||||
[ "bottle_folding", 6 ],
|
||||
[ "mess_tin", 8 ],
|
||||
[ "metal_file", 5 ],
|
||||
@@ -2458,7 +2457,7 @@
|
||||
[ "arm", 5 ],
|
||||
[ "leg", 5 ],
|
||||
[ "fetus", 5 ],
|
||||
[ "foodperson_mask", 1 ],
|
||||
{ "item": "foodperson_mask", "prob": 1, "charges": [ 0, 500 ] },
|
||||
[ "human_brain_embalmed", 5 ],
|
||||
{ "group": "newspaper_old", "prob": 8 },
|
||||
[ "months_old_newspaper", 2 ]
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
"magazine": 100,
|
||||
"subtype": "distribution",
|
||||
"entries": [
|
||||
{ "item": "aspirin", "prob": 85 },
|
||||
{ "item": "caffeine", "prob": 25 },
|
||||
{ "item": "aspirin", "prob": 85, "charges": [ 1, 10 ] },
|
||||
{ "item": "caffeine", "prob": 25, "charges": [ 1, 10 ] },
|
||||
{ "group": "tobacco_products", "prob": 161 },
|
||||
{ "item": "sponge", "prob": 10 },
|
||||
{ "group": "ammo_pocket_batteries_full", "prob": 50 },
|
||||
@@ -34,10 +34,10 @@
|
||||
{ "item": "money_bundle", "prob": 55 },
|
||||
{ "item": "gold_watch", "prob": 5 },
|
||||
{ "item": "silver_watch", "prob": 10 },
|
||||
{ "item": "gum", "prob": 30 },
|
||||
{ "item": "caff_gum", "prob": 10 },
|
||||
{ "item": "gum", "prob": 30, "charges": [ 1, 10 ] },
|
||||
{ "item": "caff_gum", "prob": 10, "charges": [ 1, 10 ] },
|
||||
{ "item": "sm_extinguisher", "prob": 10, "charges": 10 },
|
||||
{ "item": "nic_gum", "prob": 2 },
|
||||
{ "item": "nic_gum", "prob": 2, "charges": [ 1, 10 ] },
|
||||
{ "item": "razor_blade", "prob": 3 },
|
||||
{ "item": "knitting_needles", "prob": 1 },
|
||||
{ "group": "newspaper_recent", "prob": 15 },
|
||||
@@ -742,7 +742,7 @@
|
||||
[ "water_clean", 30 ],
|
||||
[ "water_mineral", 15 ],
|
||||
{ "group": "softdrinks_canned", "prob": 121 },
|
||||
[ "milk_UHT", 10 ],
|
||||
{ "item": "milk_UHT", "prob": 10, "charges": [ 1, 6 ], "sealed": false },
|
||||
[ "juice", 31 ],
|
||||
[ "pie", 40 ],
|
||||
[ "pie_meat", 28 ],
|
||||
@@ -978,9 +978,9 @@
|
||||
"type": "item_group",
|
||||
"subtype": "distribution",
|
||||
"entries": [
|
||||
{ "item": "cig", "prob": 50 },
|
||||
{ "item": "matches", "prob": 45 },
|
||||
{ "item": "rolling_paper", "prob": 10 },
|
||||
{ "item": "cig", "prob": 50, "charges": [ 1, 20 ] },
|
||||
{ "item": "matches", "prob": 45, "charges": [ 1, 20 ] },
|
||||
{ "item": "rolling_paper", "prob": 10, "charges": [ 1, 30 ] },
|
||||
{ "item": "bottle_glass", "prob": 50 },
|
||||
{ "item": "bottle_plastic", "prob": 70 },
|
||||
{ "item": "can_drink", "prob": 65 },
|
||||
@@ -997,13 +997,13 @@
|
||||
"type": "item_group",
|
||||
"subtype": "distribution",
|
||||
"entries": [
|
||||
{ "item": "weed", "prob": 30 },
|
||||
{ "item": "coke", "prob": 30 },
|
||||
{ "item": "aspirin", "prob": 40 },
|
||||
{ "item": "cig", "prob": 20 },
|
||||
{ "item": "weed", "prob": 30, "charges": [ 1, 5 ] },
|
||||
{ "item": "coke", "prob": 30, "charges": [ 1, 8 ] },
|
||||
{ "item": "aspirin", "prob": 40, "charges": [ 1, 20 ] },
|
||||
{ "item": "cig", "prob": 20, "charges": [ 1, 20 ] },
|
||||
{ "item": "syringe", "prob": 20 },
|
||||
{ "item": "meth", "prob": 10 },
|
||||
{ "item": "heroin", "prob": 5 },
|
||||
{ "item": "meth", "prob": 10, "charges": [ 1, 6 ] },
|
||||
{ "item": "heroin", "prob": 5, "charges": [ 1, 4 ] },
|
||||
{ "item": "mag_porn", "prob": 35 },
|
||||
{ "item": "hairpin", "prob": 5 },
|
||||
{ "item": "purse", "prob": 15 }
|
||||
@@ -1066,7 +1066,7 @@
|
||||
{ "item": "mask_dust", "prob": 15 },
|
||||
{ "item": "manual_mechanics", "prob": 35 },
|
||||
{ "item": "manual_fabrication", "prob": 20 },
|
||||
{ "item": "duct_tape", "prob": 70 },
|
||||
{ "item": "duct_tape", "prob": 70, "charges": [ 50, 200 ] },
|
||||
{ "item": "misc_repairkit", "prob": 15, "charges-min": 0 },
|
||||
{ "group": "tools_toolbox", "prob": 2 }
|
||||
]
|
||||
@@ -1122,7 +1122,7 @@
|
||||
{ "item": "wrench", "prob": 20 },
|
||||
{ "item": "multitool", "prob": 30 },
|
||||
{ "item": "screwdriver_set", "prob": 20 },
|
||||
{ "item": "duct_tape", "prob": 50 },
|
||||
{ "item": "duct_tape", "prob": 50, "charges": [ 50, 200 ] },
|
||||
{ "item": "misc_repairkit", "prob": 25, "charges": 200 },
|
||||
{ "group": "tools_toolbox", "prob": 2 }
|
||||
]
|
||||
@@ -1167,7 +1167,7 @@
|
||||
[ "flour", 30 ],
|
||||
[ "milk_powder", 30 ],
|
||||
[ "powder_eggs", 10 ],
|
||||
[ "egg_bird_unfert", 10 ],
|
||||
{ "item": "egg_bird_unfert", "charges": 10, "container-item": "carton_egg" },
|
||||
[ "cooking_oil", 20 ],
|
||||
[ "irradiated_apple", 5 ],
|
||||
[ "irradiated_banana", 5 ],
|
||||
@@ -1190,7 +1190,7 @@
|
||||
{ "item": "cordless_drill", "prob": 70, "charges": [ 0, 500 ] },
|
||||
[ "thermometer", 60 ],
|
||||
[ "saw", 90 ],
|
||||
[ "chainsaw_off", 10 ],
|
||||
{ "item": "chainsaw_off", "prob": 10, "charges": [ 0, 450 ] },
|
||||
[ "bucket", 100 ],
|
||||
[ "tree_spile", 100 ],
|
||||
[ "pot", 100 ]
|
||||
@@ -1244,8 +1244,8 @@
|
||||
"//": "For cs_car_showroom",
|
||||
"items": [
|
||||
{ "group": "ammo_pocket_batteries_full", "prob": 30 },
|
||||
[ "radio", 10 ],
|
||||
[ "eyedrops", 10 ],
|
||||
{ "item": "radio", "prob": 10, "charges": [ 1, 100 ] },
|
||||
{ "item": "eyedrops", "prob": 10, "charges": [ 1, 10 ] },
|
||||
[ "rag", 30 ],
|
||||
[ "paper", 30 ],
|
||||
[ "foon", 30 ],
|
||||
@@ -1293,7 +1293,7 @@
|
||||
"items": [
|
||||
{ "group": "ammo_pocket_batteries_full", "prob": 30 },
|
||||
{ "item": "radio", "prob": 10, "charges": [ 0, 100 ] },
|
||||
[ "eyedrops", 10 ],
|
||||
{ "item": "eyedrops", "prob": 10, "charges": [ 1, 10 ] },
|
||||
[ "rag", 30 ],
|
||||
[ "paper", 30 ],
|
||||
[ "foon", 30 ],
|
||||
@@ -1333,7 +1333,7 @@
|
||||
[ "solar_cell", 10 ],
|
||||
[ "screwdriver", 15 ],
|
||||
[ "superglue", 5 ],
|
||||
[ "polisher", 15 ],
|
||||
{ "item": "polisher", "prob": 15, "charges": [ 0, 100 ] },
|
||||
[ "solar_panel", 15 ]
|
||||
]
|
||||
},
|
||||
@@ -1361,7 +1361,7 @@
|
||||
[ "solar_cell", 10 ],
|
||||
[ "screwdriver", 15 ],
|
||||
[ "superglue", 5 ],
|
||||
[ "polisher", 15 ],
|
||||
{ "item": "polisher", "prob": 15, "charges": [ 0, 100 ] },
|
||||
[ "solar_panel", 15 ]
|
||||
]
|
||||
},
|
||||
@@ -1424,7 +1424,7 @@
|
||||
[ "solar_cell", 10 ],
|
||||
[ "screwdriver", 15 ],
|
||||
[ "superglue", 5 ],
|
||||
[ "polisher", 15 ],
|
||||
{ "item": "polisher", "prob": 15, "charges": [ 0, 100 ] },
|
||||
[ "solar_panel", 15 ],
|
||||
[ "spare_tire_carrier", 10 ],
|
||||
[ "mounted_spare_tire", 10 ]
|
||||
@@ -1454,7 +1454,7 @@
|
||||
[ "solar_cell", 10 ],
|
||||
[ "screwdriver", 15 ],
|
||||
[ "superglue", 5 ],
|
||||
[ "polisher", 15 ],
|
||||
{ "item": "polisher", "prob": 15, "charges": [ 0, 100 ] },
|
||||
[ "solar_panel", 15 ],
|
||||
[ "spare_tire_carrier", 10 ],
|
||||
[ "mounted_spare_tire", 10 ]
|
||||
@@ -1508,10 +1508,10 @@
|
||||
"//": "for cs_sex_shop",
|
||||
"subtype": "distribution",
|
||||
"entries": [
|
||||
{ "item": "weed", "prob": 10 },
|
||||
{ "item": "coke", "prob": 10 },
|
||||
{ "item": "meth", "prob": 10 },
|
||||
{ "item": "aspirin", "prob": 10 },
|
||||
{ "item": "weed", "prob": 10, "charges": [ 1, 5 ] },
|
||||
{ "item": "coke", "prob": 10, "charges": [ 1, 8 ] },
|
||||
{ "item": "meth", "prob": 10, "charges": [ 1, 6 ] },
|
||||
{ "item": "aspirin", "prob": 10, "charges": [ 1, 20 ] },
|
||||
{ "item": "mag_porn", "prob": 10 },
|
||||
{ "item": "purse", "prob": 10 },
|
||||
{ "item": "hairpin", "prob": 5 },
|
||||
@@ -1528,10 +1528,10 @@
|
||||
[ "magnifying_glass", 5 ],
|
||||
{ "item": "sewing_kit", "prob": 15, "charges-min": 0 },
|
||||
[ "scissors", 10 ],
|
||||
[ "gasoline_lantern", 7 ],
|
||||
{ "item": "gasoline_lantern", "prob": 7, "charges": [ 0, 500 ] },
|
||||
{ "item": "flashlight", "prob": 25, "charges": [ 0, 300 ] },
|
||||
[ "hotplate", 20 ],
|
||||
[ "coffeemaker", 25 ],
|
||||
{ "item": "hotplate", "prob": 20, "charges": [ 0, 500 ] },
|
||||
{ "item": "coffeemaker", "prob": 25, "charges": [ 0, 500 ] },
|
||||
[ "textbook_firstaid", 2 ],
|
||||
[ "pocket_firearms", 1 ],
|
||||
[ "mag_archery", 4 ]
|
||||
@@ -1738,18 +1738,18 @@
|
||||
"//": "for veterinarian",
|
||||
"type": "item_group",
|
||||
"items": [
|
||||
[ "bandages", 30 ],
|
||||
[ "adhesive_bandages", 30 ],
|
||||
{ "item": "bandages", "prob": 30, "charges": [ 1, 3 ] },
|
||||
{ "item": "adhesive_bandages", "prob": 30, "charges": [ 1, 10 ] },
|
||||
{ "group": "full_1st_aid", "prob": 10 },
|
||||
[ "saline", 20 ],
|
||||
[ "vitamins", 15 ],
|
||||
[ "calcium_tablet", 15 ],
|
||||
[ "nyquil", 5 ],
|
||||
[ "disinfectant", 15 ],
|
||||
{ "item": "saline", "prob": 20, "charges": [ 1, 5 ] },
|
||||
{ "item": "vitamins", "prob": 15, "charges": [ 1, 20 ] },
|
||||
{ "item": "calcium_tablet", "prob": 15, "charges": [ 1, 20 ] },
|
||||
{ "item": "nyquil", "prob": 5, "charges": [ 1, 5 ] },
|
||||
{ "item": "disinfectant", "prob": 15, "charges": [ 1, 10 ] },
|
||||
[ "vaccine_shot", 10 ],
|
||||
[ "protein_powder", 15 ],
|
||||
[ "smoxygen_tank", 20 ],
|
||||
[ "elec_hairtrimmer", 15 ],
|
||||
{ "item": "smoxygen_tank", "prob": 20, "charges": [ 0, 12 ] },
|
||||
{ "item": "elec_hairtrimmer", "prob": 15, "charges": [ 0, 50 ] },
|
||||
[ "survnote", 5 ],
|
||||
[ "mask_dust", 65 ],
|
||||
[ "glasses_safety", 10 ],
|
||||
@@ -1757,14 +1757,14 @@
|
||||
[ "scissors", 50 ],
|
||||
[ "fungicide", 10 ],
|
||||
[ "insecticide", 10 ],
|
||||
[ "soap", 20 ],
|
||||
[ "chem_hydrogen_peroxide", 10 ],
|
||||
{ "item": "soap", "prob": 20, "charges": [ 1, 10 ] },
|
||||
{ "item": "chem_hydrogen_peroxide", "prob": 10, "charges": [ 1, 10 ] },
|
||||
[ "canister_empty", 5 ],
|
||||
[ "stethoscope", 50 ],
|
||||
[ "scalpel", 50 ],
|
||||
[ "gloves_medical", 50 ],
|
||||
[ "medical_gauze", 25 ],
|
||||
[ "quikclot", 10 ],
|
||||
{ "item": "quikclot", "prob": 10, "charges": [ 1, 6 ] },
|
||||
[ "hacksaw", 5 ],
|
||||
[ "gloves_rubber", 25 ],
|
||||
{ "item": "rag", "prob": 10, "custom-flags": [ "FILTHY" ] },
|
||||
@@ -1784,7 +1784,7 @@
|
||||
{ "item": "catfood", "prob": 20, "container-item": "can_food" },
|
||||
[ "birdfood", 10 ],
|
||||
[ "towel", 20 ],
|
||||
[ "soap", 10 ],
|
||||
{ "item": "soap", "prob": 10, "charges": [ 1, 10 ] },
|
||||
[ "gloves_medical", 20 ],
|
||||
[ "rag", 15 ],
|
||||
{ "item": "rag", "prob": 2, "custom-flags": [ "FILTHY" ] },
|
||||
@@ -1798,15 +1798,15 @@
|
||||
"type": "item_group",
|
||||
"items": [
|
||||
[ "syringe", 10 ],
|
||||
[ "diazepam", 10 ],
|
||||
[ "antifungal", 30 ],
|
||||
[ "antiparasitic", 30 ],
|
||||
[ "antibiotics", 20 ],
|
||||
[ "thorazine", 7 ],
|
||||
[ "morphine", 10 ],
|
||||
[ "codeine", 15 ],
|
||||
[ "saline", 15 ],
|
||||
[ "smoxygen_tank", 10 ],
|
||||
{ "item": "diazepam", "prob": 10, "charges": [ 1, 10 ] },
|
||||
{ "item": "antifungal", "prob": 30, "charges": [ 1, 10 ] },
|
||||
{ "item": "antiparasitic", "prob": 30, "charges": [ 1, 10 ] },
|
||||
{ "item": "antibiotics", "prob": 20, "charges": [ 1, 15 ] },
|
||||
{ "item": "thorazine", "prob": 7, "charges": [ 1, 10 ] },
|
||||
{ "item": "morphine", "prob": 10, "charges": [ 1, 4 ] },
|
||||
{ "item": "codeine", "prob": 15, "charges": [ 1, 10 ] },
|
||||
{ "item": "saline", "prob": 15, "charges": [ 1, 5 ] },
|
||||
{ "item": "smoxygen_tank", "prob": 10, "charges": [ 0, 12 ] },
|
||||
{ "group": "full_1st_aid", "prob": 30 },
|
||||
[ "medical_tape", 35 ],
|
||||
[ "blood", 5 ],
|
||||
@@ -1851,17 +1851,17 @@
|
||||
[ "undershirt", 30 ],
|
||||
[ "hoodie", 20 ],
|
||||
[ "shorts", 30 ],
|
||||
[ "coke", 3 ],
|
||||
{ "item": "coke", "prob": 3, "charges": [ 1, 8 ] },
|
||||
[ "longshirt", 30 ],
|
||||
[ "adhesive_bandages", 10 ],
|
||||
{ "item": "adhesive_bandages", "prob": 10, "charges": [ 1, 10 ] },
|
||||
[ "heatpack", 10 ],
|
||||
[ "gum", 12 ],
|
||||
[ "soap", 10 ],
|
||||
{ "item": "gum", "prob": 12, "charges": [ 1, 10 ] },
|
||||
{ "item": "soap", "prob": 10, "charges": [ 1, 10 ] },
|
||||
[ "sports_bra", 30 ],
|
||||
[ "briefs", 30 ],
|
||||
[ "yoghurt", 12 ],
|
||||
[ "vitamins", 10 ],
|
||||
[ "aspirin", 10 ],
|
||||
{ "item": "vitamins", "prob": 10, "charges": [ 1, 20 ] },
|
||||
{ "item": "aspirin", "prob": 10, "charges": [ 1, 20 ] },
|
||||
[ "fitness_band", 10 ]
|
||||
]
|
||||
},
|
||||
@@ -1923,6 +1923,6 @@
|
||||
{
|
||||
"type": "item_group",
|
||||
"id": "gunshop_accessories",
|
||||
"items": [ [ "powered_earmuffs", 50 ], [ "ear_plugs", 80 ] ]
|
||||
"items": [ { "item": "powered_earmuffs", "prob": 50, "charges": [ 0, 50 ] }, [ "ear_plugs", 80 ] ]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -15,27 +15,27 @@
|
||||
[ "mag_melee", 30 ],
|
||||
{ "group": "liquor_and_spirits", "prob": 16 },
|
||||
[ "bum_wine", 10 ],
|
||||
[ "chem_ethanol", 12 ],
|
||||
{ "item": "chem_ethanol", "prob": 12, "charges": [ 1, 200 ] },
|
||||
{ "group": "salty_snacks", "prob": 135 },
|
||||
[ "bandages", 25 ],
|
||||
[ "adhesive_bandages", 25 ],
|
||||
[ "cotton_ball", 50 ],
|
||||
[ "caffeine", 25 ],
|
||||
[ "oxycodone", 7 ],
|
||||
[ "morphine", 3 ],
|
||||
[ "adderall", 10 ],
|
||||
[ "cig", 60 ],
|
||||
[ "tobacco", 30 ],
|
||||
[ "chaw", 20 ],
|
||||
[ "weed", 20 ],
|
||||
{ "item": "bandages", "prob": 25, "charges": [ 1, 3 ] },
|
||||
{ "item": "adhesive_bandages", "prob": 25, "charges": [ 1, 10 ] },
|
||||
{ "item": "cotton_ball", "prob": 50, "charges": [ 1, 10 ] },
|
||||
{ "item": "caffeine", "prob": 25, "charges": [ 1, 10 ] },
|
||||
{ "item": "oxycodone", "prob": 7, "charges": [ 1, 10 ] },
|
||||
{ "item": "morphine", "prob": 3, "charges": [ 1, 4 ] },
|
||||
{ "item": "adderall", "prob": 10, "charges": [ 1, 10 ] },
|
||||
{ "item": "cig", "prob": 60, "charges": [ 1, 20 ] },
|
||||
{ "item": "tobacco", "prob": 30, "charges": [ 1, 20 ] },
|
||||
{ "item": "chaw", "prob": 20, "charges": [ 1, 20 ] },
|
||||
{ "item": "weed", "prob": 20, "charges": [ 1, 5 ] },
|
||||
[ "joint", 20 ],
|
||||
[ "seed_weed", 20 ],
|
||||
[ "seed_tobacco", 5 ],
|
||||
[ "coke", 8 ],
|
||||
[ "meth", 2 ],
|
||||
[ "heroin", 1 ],
|
||||
{ "item": "coke", "prob": 8, "charges": [ 1, 8 ] },
|
||||
{ "item": "meth", "prob": 2, "charges": [ 1, 6 ] },
|
||||
{ "item": "heroin", "prob": 1, "charges": [ 1, 4 ] },
|
||||
[ "syringe", 8 ],
|
||||
[ "electrohack", 3 ],
|
||||
{ "item": "electrohack", "prob": 3, "charges": [ 0, 100 ] },
|
||||
[ "hatchet", 10 ],
|
||||
[ "nailboard", 5 ],
|
||||
[ "caltrops", 3 ],
|
||||
@@ -63,24 +63,24 @@
|
||||
[ "chestguard_hard", 20 ],
|
||||
[ "armguard_hard", 20 ],
|
||||
[ "legguard_hard", 15 ],
|
||||
[ "shot_00", 8 ],
|
||||
[ "9mm", 8 ],
|
||||
[ "45_acp", 7 ],
|
||||
[ "223", 2 ],
|
||||
[ "20x66_shot", 2 ],
|
||||
[ "glock_19", 5 ],
|
||||
[ "uzi", 8 ],
|
||||
[ "tec9", 10 ],
|
||||
[ "cx4", 2 ],
|
||||
[ "ksub2000", 10 ],
|
||||
[ "mac_10", 7 ],
|
||||
[ "mac_11", 10 ],
|
||||
[ "j22", 13 ],
|
||||
[ "kp32", 3 ],
|
||||
[ "kpf9", 6 ],
|
||||
[ "kp3at", 8 ],
|
||||
[ "rugerlcp", 10 ],
|
||||
[ "rm228", 1 ],
|
||||
{ "item": "shot_00", "prob": 8, "charges": [ 1, 20 ] },
|
||||
{ "item": "9mm", "prob": 8, "charges": [ 1, 50 ] },
|
||||
{ "item": "45_acp", "prob": 7, "charges": [ 1, 30 ] },
|
||||
{ "item": "223", "prob": 2, "charges": [ 1, 30 ] },
|
||||
{ "item": "20x66_shot", "prob": 2, "charges": [ 1, 20 ] },
|
||||
{ "item": "glock_19", "prob": 5, "charges": [ 0, 15 ] },
|
||||
{ "item": "uzi", "prob": 8, "charges": [ 0, 32 ] },
|
||||
{ "item": "tec9", "prob": 10, "charges": [ 0, 32 ] },
|
||||
{ "item": "cx4", "prob": 2, "charges": [ 0, 32 ] },
|
||||
{ "item": "ksub2000", "prob": 10, "charges": [ 0, 15 ] },
|
||||
{ "item": "mac_10", "prob": 7, "charges": [ 0, 30 ] },
|
||||
{ "item": "mac_11", "prob": 10, "charges": [ 0, 32 ] },
|
||||
{ "item": "j22", "prob": 13, "charges": [ 0, 6 ] },
|
||||
{ "item": "kp32", "prob": 3, "charges": [ 0, 7 ] },
|
||||
{ "item": "kpf9", "prob": 6, "charges": [ 0, 7 ] },
|
||||
{ "item": "kp3at", "prob": 8, "charges": [ 0, 7 ] },
|
||||
{ "item": "rugerlcp", "prob": 10, "charges": [ 0, 6 ] },
|
||||
{ "item": "rm228", "prob": 1, "charges": [ 0, 10 ] },
|
||||
[ "suppressor", 15 ],
|
||||
[ "shot_suppressor", 1 ],
|
||||
[ "mag_porn", 20 ],
|
||||
@@ -93,14 +93,14 @@
|
||||
[ "grenade", 3 ],
|
||||
[ "grenade_inc", 1 ],
|
||||
[ "mininuke", 1 ],
|
||||
[ "crack", 8 ],
|
||||
{ "item": "crack", "prob": 8, "charges": [ 1, 4 ] },
|
||||
[ "crackpipe", 37 ],
|
||||
[ "laser_sight", 15 ],
|
||||
[ "rail_laser_sight", 10 ],
|
||||
[ "lsd", 10 ],
|
||||
[ "gum", 60 ],
|
||||
[ "caff_gum", 7 ],
|
||||
[ "nic_gum", 1 ],
|
||||
{ "item": "lsd", "prob": 10, "charges": [ 1, 5 ] },
|
||||
{ "item": "gum", "prob": 60, "charges": [ 1, 10 ] },
|
||||
{ "item": "caff_gum", "prob": 7, "charges": [ 1, 10 ] },
|
||||
{ "item": "nic_gum", "prob": 1, "charges": [ 1, 10 ] },
|
||||
[ "improve_sights", 10 ],
|
||||
[ "waterproof_gunmod", 4 ],
|
||||
[ "u_shotgun", 4 ],
|
||||
@@ -110,7 +110,7 @@
|
||||
[ "RPG-7_tbg7v", 1 ],
|
||||
[ "RPG-7_pg7vr", 1 ],
|
||||
[ "flask_hip", 10 ],
|
||||
[ "chemistry_set", 2 ],
|
||||
{ "item": "chemistry_set", "prob": 2, "charges": [ 0, 500 ] },
|
||||
[ "knife_trench", 7 ],
|
||||
[ "switchblade", 4 ],
|
||||
[ "gold_watch", 5 ],
|
||||
@@ -143,7 +143,7 @@
|
||||
[ "binoculars", 30 ],
|
||||
[ "firecracker_pack", 20 ],
|
||||
[ "knife_hunting", 50 ],
|
||||
[ "glock_19", 5 ],
|
||||
{ "item": "glock_19", "prob": 5, "charges": [ 0, 15 ] },
|
||||
[ "backpack", 100 ],
|
||||
[ "backpack_leather", 50 ],
|
||||
{ "item": "lighter", "prob": 100, "charges": [ 0, 100 ] },
|
||||
@@ -167,19 +167,19 @@
|
||||
{ "item": "oil_lamp", "prob": 40, "charges-min": 0 },
|
||||
[ "popcan_stove", 10 ],
|
||||
[ "denat_alcohol", 10 ],
|
||||
[ "pur_tablets", 10 ],
|
||||
{ "item": "pur_tablets", "prob": 10, "charges": [ 1, 15 ] },
|
||||
[ "water_clean", 50 ],
|
||||
[ "granola", 60 ],
|
||||
[ "fruit_leather", 50 ],
|
||||
{ "item": "licorice", "prob": 15 },
|
||||
{ "group": "salty_snacks", "prob": 130 },
|
||||
[ "aspirin", 80 ],
|
||||
{ "item": "aspirin", "prob": 80, "charges": [ 1, 20 ] },
|
||||
{ "item": "inhaler", "prob": 30, "charges-min": 0 },
|
||||
{ "group": "beer", "prob": 80 },
|
||||
[ "vodka", 60 ],
|
||||
[ "cig", 20 ],
|
||||
{ "item": "cig", "prob": 20, "charges": [ 1, 20 ] },
|
||||
[ "crackpipe", 10 ],
|
||||
[ "weed", 10 ],
|
||||
{ "item": "weed", "prob": 10, "charges": [ 1, 5 ] },
|
||||
[ "joint", 10 ],
|
||||
{ "item": "smart_phone", "prob": 20, "charges-min": 0 },
|
||||
{ "item": "camera", "prob": 20, "charges": [ 0, 150 ] },
|
||||
@@ -215,13 +215,13 @@
|
||||
[ "knee_pads", 80 ],
|
||||
[ "roller_blades", 40 ],
|
||||
[ "rollerskates", 10 ],
|
||||
[ "aspirin", 80 ],
|
||||
{ "item": "aspirin", "prob": 80, "charges": [ 1, 20 ] },
|
||||
{ "item": "inhaler", "prob": 30, "charges-min": 10, "charges-max": 100 },
|
||||
{ "group": "beer", "prob": 180 },
|
||||
[ "sports_drink", 80 ],
|
||||
[ "energy_drink", 30 ],
|
||||
[ "cig", 20 ],
|
||||
[ "weed", 10 ],
|
||||
{ "item": "cig", "prob": 20, "charges": [ 1, 20 ] },
|
||||
{ "item": "weed", "prob": 10, "charges": [ 1, 5 ] },
|
||||
[ "joint", 10 ],
|
||||
{ "item": "smart_phone", "prob": 50, "charges-min": 0 }
|
||||
]
|
||||
@@ -252,12 +252,12 @@
|
||||
[ "silver_bracelet", 20 ],
|
||||
[ "silver_locket", 20 ],
|
||||
{ "item": "radio", "prob": 20, "charges": [ 0, 100 ] },
|
||||
[ "aspirin", 80 ],
|
||||
{ "item": "aspirin", "prob": 80, "charges": [ 1, 20 ] },
|
||||
{ "item": "inhaler", "prob": 30, "charges-min": 10, "charges-max": 100 },
|
||||
[ "beer", 80 ],
|
||||
[ "wine_barley", 20 ],
|
||||
[ "cig", 20 ],
|
||||
[ "weed", 10 ],
|
||||
{ "item": "cig", "prob": 20, "charges": [ 1, 20 ] },
|
||||
{ "item": "weed", "prob": 10, "charges": [ 1, 5 ] },
|
||||
[ "joint", 10 ],
|
||||
{ "item": "smart_phone", "prob": 50, "charges-min": 0 }
|
||||
]
|
||||
|
||||
@@ -118,12 +118,12 @@
|
||||
{ "item": "mp3", "prob": 40, "charges": 100 },
|
||||
[ "wolfsuit", 5 ],
|
||||
[ "dinosuit", 5 ],
|
||||
[ "gum", 10 ],
|
||||
{ "item": "gum", "prob": 10, "charges": [ 1, 10 ] },
|
||||
[ "baseball", 40 ],
|
||||
[ "football", 40 ],
|
||||
[ "basketball", 50 ],
|
||||
{ "item": "talking_doll", "prob": 50, "charges": 100 },
|
||||
[ "marble", 60 ],
|
||||
{ "item": "marble", "prob": 60, "charges": [ 1, 20 ] },
|
||||
{ "item": "creepy_doll", "prob": 1, "charges": 100 },
|
||||
[ "jedi_cloak", 5 ],
|
||||
[ "clown_suit", 5 ],
|
||||
@@ -284,10 +284,10 @@
|
||||
"ammo": 75,
|
||||
"magazine": 100,
|
||||
"items": [
|
||||
[ "portable_game", 20 ],
|
||||
{ "item": "portable_game", "prob": 20, "charges": 100 },
|
||||
[ "antenna", 25 ],
|
||||
{ "group": "ammo_any_batteries_full", "prob": 50 },
|
||||
[ "mp3", 40 ],
|
||||
{ "item": "mp3", "prob": 40, "charges": 100 },
|
||||
[ "usb_drive", 10 ],
|
||||
[ "manual_electronics", 20 ],
|
||||
[ "cable", 60 ],
|
||||
|
||||
@@ -661,7 +661,7 @@
|
||||
"subtype": "distribution",
|
||||
"items": [
|
||||
[ "bat_nerf", 70 ],
|
||||
[ "marble", 50 ],
|
||||
{ "item": "marble", "prob": 50, "charges": [ 1, 20 ] },
|
||||
[ "talking_doll", 50 ],
|
||||
[ "basketball", 30 ],
|
||||
[ "fc_hairpin", 30 ],
|
||||
@@ -871,7 +871,7 @@
|
||||
[ "bottle_plastic", 30 ],
|
||||
[ "bag_plastic", 30 ],
|
||||
[ "paper", 30 ],
|
||||
[ "rolling_paper", 20 ],
|
||||
{ "item": "rolling_paper", "prob": 20, "charges": [ 1, 30 ] },
|
||||
{ "item": "rag", "prob": 20, "custom-flags": [ "FILTHY" ] },
|
||||
{ "item": "flashlight", "prob": 20, "charges": [ 0, 300 ] },
|
||||
[ "9mm_casing", 20 ],
|
||||
@@ -941,7 +941,7 @@
|
||||
{ "item": "inhaler", "prob": 20, "charges-min": 10, "charges-max": 100 },
|
||||
[ "hairpin", 20 ],
|
||||
{ "item": "lighter", "prob": 20, "charges": [ 0, 100 ] },
|
||||
[ "matches", 20 ],
|
||||
{ "item": "matches", "prob": 20, "charges": [ 1, 20 ] },
|
||||
[ "jersey", 20 ],
|
||||
[ "fanny", 20 ],
|
||||
[ "straw_fedora", 10 ],
|
||||
@@ -955,7 +955,7 @@
|
||||
[ "flask_hip", 5 ],
|
||||
[ "snuggie", 5 ],
|
||||
[ "tieclip", 5 ],
|
||||
[ "bb", 5 ],
|
||||
{ "item": "bb", "prob": 5, "charges": [ 1, 500 ] },
|
||||
[ "bone_tainted", 1 ],
|
||||
{ "group": "corpse_mansion", "prob": 1 }
|
||||
]
|
||||
@@ -1029,14 +1029,14 @@
|
||||
[ "tank_top", 5 ],
|
||||
[ "towel", 20 ],
|
||||
[ "protein_shake", 8 ],
|
||||
[ "coke", 3 ],
|
||||
[ "bandages", 5 ],
|
||||
[ "adhesive_bandages", 5 ],
|
||||
{ "item": "coke", "prob": 3, "charges": [ 1, 8 ] },
|
||||
{ "item": "bandages", "prob": 5, "charges": [ 1, 3 ] },
|
||||
{ "item": "adhesive_bandages", "prob": 5, "charges": [ 1, 10 ] },
|
||||
[ "heatpack", 10 ],
|
||||
[ "gum", 12 ],
|
||||
[ "yoghurt", 12 ],
|
||||
[ "vitamins", 10 ],
|
||||
[ "aspirin", 15 ],
|
||||
{ "item": "vitamins", "prob": 10, "charges": [ 1, 20 ] },
|
||||
{ "item": "aspirin", "prob": 15, "charges": [ 1, 20 ] },
|
||||
{ "group": "corpse_mansion", "prob": 1 },
|
||||
[ "fitness_band", 3 ]
|
||||
]
|
||||
@@ -1110,15 +1110,15 @@
|
||||
[ "hoodie", 50 ],
|
||||
[ "shorts", 60 ],
|
||||
[ "longshirt", 60 ],
|
||||
[ "bandages", 5 ],
|
||||
[ "adhesive_bandages", 5 ],
|
||||
{ "item": "bandages", "prob": 5, "charges": [ 1, 3 ] },
|
||||
{ "item": "adhesive_bandages", "prob": 5, "charges": [ 1, 10 ] },
|
||||
[ "heatpack", 10 ],
|
||||
[ "gum", 12 ],
|
||||
[ "soap", 10 ],
|
||||
{ "item": "gum", "prob": 12, "charges": [ 1, 10 ] },
|
||||
{ "item": "soap", "prob": 10, "charges": [ 1, 10 ] },
|
||||
[ "sports_bra", 60 ],
|
||||
[ "briefs", 60 ],
|
||||
[ "vitamins", 10 ],
|
||||
[ "aspirin", 10 ],
|
||||
{ "item": "vitamins", "prob": 10, "charges": [ 1, 10 ] },
|
||||
{ "item": "aspirin", "prob": 10, "charges": [ 1, 10 ] },
|
||||
[ "karate_gi", 10 ],
|
||||
[ "judo_gi", 5 ],
|
||||
[ "fitness_band", 5 ]
|
||||
@@ -1177,7 +1177,7 @@
|
||||
{ "group": "book_mag_gen", "prob": 120 },
|
||||
{ "group": "tobacco_products", "prob": 50 },
|
||||
[ "novel_pulp", 30 ],
|
||||
[ "gum", 30 ],
|
||||
{ "item": "gum", "prob": 30, "charges": [ 1, 10 ] },
|
||||
[ "glass", 20 ],
|
||||
[ "bandana", 10 ],
|
||||
{ "item": "mp3", "prob": 10, "charges": [ 0, 100 ] },
|
||||
@@ -1217,8 +1217,8 @@
|
||||
{ "group": "beer_selection", "prob": 40 },
|
||||
{ "group": "glass_of_wine", "prob": 40 },
|
||||
[ "glass", 40 ],
|
||||
[ "cig", 30 ],
|
||||
[ "cigar", 20 ],
|
||||
{ "item": "cig", "prob": 30, "charges": [ 1, 20 ] },
|
||||
{ "item": "cigar", "prob": 20, "charges": [ 1, 10 ] },
|
||||
[ "towel", 5 ]
|
||||
]
|
||||
},
|
||||
@@ -1535,7 +1535,7 @@
|
||||
{ "group": "tools_lighting", "prob": 30 },
|
||||
{ "group": "softdrugs", "prob": 30 },
|
||||
{ "item": "lighter", "prob": 20, "charges": [ 0, 100 ] },
|
||||
[ "matches", 20 ],
|
||||
{ "item": "matches", "prob": 20, "charges": [ 1, 20 ] },
|
||||
[ "pocket_survival", 5 ]
|
||||
]
|
||||
},
|
||||
|
||||
@@ -148,9 +148,9 @@
|
||||
"type": "item_group",
|
||||
"items": [
|
||||
{ "item": "cup_plastic", "prob": 50 },
|
||||
{ "item": "cig", "prob": 50 },
|
||||
{ "item": "matches", "prob": 50 },
|
||||
{ "item": "rolling_paper", "prob": 50 },
|
||||
{ "item": "cig", "prob": 50, "charges": [ 1, 20 ] },
|
||||
{ "item": "matches", "prob": 50, "charges": [ 1, 20 ] },
|
||||
{ "item": "rolling_paper", "prob": 50, "charges": [ 1, 30 ] },
|
||||
{ "item": "wrapper", "prob": 50 },
|
||||
{ "item": "news_regional", "prob": 50 },
|
||||
{ "item": "mag_news", "prob": 50 },
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
{ "item": "ceramic_armor", "prob": 15 },
|
||||
{ "item": "motor", "prob": 2 },
|
||||
{ "group": "ammo_heavy_batteries_full", "prob": 50 },
|
||||
{ "item": "plut_cell", "prob": 10 }
|
||||
{ "item": "plut_cell", "prob": 10, "charges": [ 1, 5 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
"subtype": "distribution",
|
||||
"entries": [
|
||||
{ "item": "jumpsuit", "prob": 90 },
|
||||
{ "item": "mask_filter", "prob": 10 },
|
||||
{ "item": "mask_filter", "prob": 10, "charges": [ 0, 100 ] },
|
||||
{ "group": "ammo_pocket_batteries_full", "prob": 10 },
|
||||
{ "item": "radio", "prob": 10, "charges-min": 10, "charges-max": 95 },
|
||||
{ "item": "boots_combat", "prob": 20 },
|
||||
@@ -118,8 +118,8 @@
|
||||
{ "item": "knife_combat", "prob": 10 },
|
||||
{ "item": "vest", "prob": 15 },
|
||||
{ "item": "glasses_safety", "prob": 15 },
|
||||
{ "item": "9mm", "prob": 15 },
|
||||
{ "item": "m9", "prob": 10 },
|
||||
{ "item": "9mm", "prob": 15, "charges": [ 1, 50 ] },
|
||||
{ "item": "m9", "prob": 10, "charges": [ 0, 15 ] },
|
||||
{ "item": "water_clean", "prob": 10 },
|
||||
{ "item": "eyedrops", "prob": 10, "charges-min": 1, "charges-max": 10 },
|
||||
{ "item": "screwdriver", "prob": 10 },
|
||||
@@ -217,7 +217,6 @@
|
||||
{ "item": "savage_111f", "prob": 10 },
|
||||
{ "item": "ak47", "prob": 16 },
|
||||
{ "item": "ak74", "prob": 4 },
|
||||
{ "item": "an94", "prob": 1 },
|
||||
{ "item": "m4a1", "prob": 7 },
|
||||
{ "item": "m16a4", "prob": 6 },
|
||||
{ "item": "h&k416a5", "prob": 3 },
|
||||
@@ -301,11 +300,11 @@
|
||||
{ "item": "caffeine", "prob": 25 },
|
||||
{ "item": "maltballs", "prob": 30 },
|
||||
{ "group": "tobacco_products", "prob": 141 },
|
||||
{ "item": "weed", "prob": 10 },
|
||||
{ "item": "weed", "prob": 10, "charges": [ 1, 5 ] },
|
||||
{ "item": "joint", "prob": 10 },
|
||||
{ "item": "seed_weed", "prob": 15 },
|
||||
{ "item": "seed_tobacco", "prob": 5 },
|
||||
{ "item": "rolling_paper", "prob": 5 },
|
||||
{ "item": "rolling_paper", "prob": 5, "charges": [ 1, 30 ] },
|
||||
{ "item": "pipe_glass", "prob": 5 },
|
||||
{ "item": "amplifier", "prob": 8 },
|
||||
{ "item": "transponder", "prob": 5 },
|
||||
@@ -326,18 +325,18 @@
|
||||
{ "item": "lighter", "prob": 60, "charges": [ 0, 100 ] },
|
||||
{ "item": "ref_lighter", "prob": 1, "charges": [ 0, 50 ] },
|
||||
{ "item": "flashlight", "prob": 40, "charges": [ 0, 300 ] },
|
||||
{ "item": "radio", "prob": 20, "charges": [ 0, 500 ] },
|
||||
{ "item": "mp3", "prob": 18, "charges": [ 0, 500 ] },
|
||||
{ "item": "radio", "prob": 20, "charges": [ 0, 100 ] },
|
||||
{ "item": "mp3", "prob": 18, "charges": [ 0, 100 ] },
|
||||
{ "item": "solar_cell", "prob": 5 },
|
||||
{ "item": "flyer", "prob": 10 },
|
||||
{ "item": "usb_drive", "prob": 5 },
|
||||
{ "item": "lsd", "prob": 1 },
|
||||
{ "item": "gum", "prob": 20 },
|
||||
{ "item": "caff_gum", "prob": 8 },
|
||||
{ "item": "lsd", "prob": 1, "charges": [ 1, 5 ] },
|
||||
{ "item": "gum", "prob": 20, "charges": [ 1, 10 ] },
|
||||
{ "item": "caff_gum", "prob": 8, "charges": [ 1, 10 ] },
|
||||
{ "group": "tools_toolbox", "prob": 1 },
|
||||
{ "item": "nic_gum", "prob": 5 },
|
||||
{ "item": "nic_gum", "prob": 5, "charges": [ 1, 10 ] },
|
||||
{ "group": "toy_radio_car", "prob": 2 },
|
||||
{ "item": "radiocontrol", "prob": 15 },
|
||||
{ "item": "radiocontrol", "prob": 15, "charges": [ 0, 100 ] },
|
||||
{ "item": "thermometer", "prob": 10 },
|
||||
{ "item": "hygrometer", "prob": 10 },
|
||||
{ "item": "barometer", "prob": 10 },
|
||||
|
||||
@@ -310,10 +310,10 @@
|
||||
{ "item": "old_key", "prob": 20, "count": [ 1, 6 ] },
|
||||
{ "item": "office_letter_opener", "prob": 15 },
|
||||
{ "item": "razor_blade", "count": [ 1, 3 ], "prob": 15 },
|
||||
{ "item": "aspirin", "prob": 15 },
|
||||
{ "item": "reading_light", "prob": 15 },
|
||||
{ "item": "aspirin", "prob": 15, "charges": [ 1, 20 ] },
|
||||
{ "item": "reading_light", "prob": 15, "charges": [ 0, 50 ] },
|
||||
{ "item": "paint_brush", "prob": 10 },
|
||||
{ "item": "gum", "prob": 10 },
|
||||
{ "item": "gum", "prob": 10, "charges": [ 1, 10 ] },
|
||||
{ "item": "comb_pocket", "prob": 10 },
|
||||
{ "item": "picklocks", "prob": 5 },
|
||||
{ "item": "fitness_band", "prob": 5 },
|
||||
@@ -423,8 +423,8 @@
|
||||
"subtype": "collection",
|
||||
"entries": [
|
||||
{ "item": "detergent", "charges": [ 1, 40 ], "container-item": "box_small" },
|
||||
{ "item": "rag", "count": [ 1, 6 ] },
|
||||
{ "item": "towel", "count": [ 1, 3 ] },
|
||||
{ "item": "rag", "count": [ 1, 3 ] },
|
||||
{ "item": "dish_towel", "count": [ 1, 6 ] },
|
||||
{ "item": "brush" },
|
||||
{ "item": "sponge" },
|
||||
{ "item": "brush", "prob": 85 },
|
||||
@@ -457,12 +457,12 @@
|
||||
"subtype": "collection",
|
||||
"entries": [
|
||||
{ "item": "microwave", "prob": 90 },
|
||||
{ "item": "food_processor", "prob": 70 },
|
||||
{ "item": "food_processor", "prob": 70, "charges": [ 0, 500 ] },
|
||||
{ "item": "waffleiron", "prob": 45 },
|
||||
{ "item": "multi_cooker", "prob": 25 },
|
||||
{ "item": "multi_cooker", "prob": 25, "charges": [ 0, 500 ] },
|
||||
{ "item": "pastaextruder", "prob": 10 },
|
||||
{ "item": "dehydrator", "prob": 10 },
|
||||
{ "item": "hotplate", "prob": 10 },
|
||||
{ "item": "hotplate", "prob": 10, "charges": [ 0, 500 ] },
|
||||
{ "collection": [ { "item": "charcoal", "prob": 70 }, { "item": "char_smoker", "prob": 100 } ], "prob": 5 },
|
||||
{ "item": "can_sealer", "prob": 2 },
|
||||
{ "group": "dishes_utility", "prob": 50, "count": [ 1, 3 ] }
|
||||
@@ -475,7 +475,10 @@
|
||||
"//2": "This group is for a cupboard where coffee and tea supplies are kept.",
|
||||
"subtype": "collection",
|
||||
"entries": [
|
||||
{ "distribution": [ { "item": "coffeemaker", "prob": 90 }, { "item": "atomic_coffeepot", "prob": 10 } ], "prob": 75 },
|
||||
{
|
||||
"distribution": [ { "item": "coffeemaker", "prob": 90, "charges": [ 0, 500 ] }, { "item": "atomic_coffeepot", "prob": 10 } ],
|
||||
"prob": 75
|
||||
},
|
||||
{
|
||||
"distribution": [
|
||||
{ "item": "coffee_raw", "prob": 30 },
|
||||
@@ -518,11 +521,18 @@
|
||||
"collection": [
|
||||
{ "item": "toaster" },
|
||||
{
|
||||
"distribution": [ { "item": "bread", "prob": 70 }, { "item": "sourdough_bread", "prob": 30 } ],
|
||||
"distribution": [
|
||||
{ "item": "bread", "charges": [ 2, 12 ], "prob": 70 },
|
||||
{ "item": "sourdough_bread", "charges": [ 2, 12 ], "prob": 30 }
|
||||
],
|
||||
"prob": 80
|
||||
},
|
||||
{
|
||||
"distribution": [ { "item": "toastem", "prob": 40 }, { "item": "toastem2", "prob": 30 }, { "item": "toastem3", "prob": 30 } ],
|
||||
"distribution": [
|
||||
{ "item": "toastem", "charges": [ 1, 8 ], "prob": 40 },
|
||||
{ "item": "toastem2", "charges": [ 1, 8 ], "prob": 30 },
|
||||
{ "item": "toastem3", "charges": [ 1, 8 ], "prob": 30 }
|
||||
],
|
||||
"prob": 60
|
||||
}
|
||||
],
|
||||
@@ -611,7 +621,7 @@
|
||||
"//2": "This group is for a bathroom sink.",
|
||||
"subtype": "collection",
|
||||
"entries": [
|
||||
{ "item": "soap", "count": [ 1, 4 ], "prob": 75 },
|
||||
{ "item": "soap", "count": [ 1, 4 ], "prob": 75, "charges": [ 1, 10 ] },
|
||||
{ "item": "soap_holder", "prob": 40 },
|
||||
{ "item": "razor_shaving", "count": [ 1, 2 ], "prob": 20 },
|
||||
{ "item": "cotton_ball", "prob": 50 },
|
||||
@@ -629,13 +639,17 @@
|
||||
"subtype": "collection",
|
||||
"entries": [
|
||||
{
|
||||
"distribution": [ { "item": "aspirin", "prob": 160 }, { "item": "codeine", "prob": 30 }, { "item": "tramadol", "prob": 10 } ],
|
||||
"distribution": [
|
||||
{ "item": "aspirin", "prob": 160, "charges": [ 1, 20 ] },
|
||||
{ "item": "codeine", "prob": 30, "charges": [ 1, 10 ] },
|
||||
{ "item": "tramadol", "prob": 10, "charges": [ 1, 10 ] }
|
||||
],
|
||||
"prob": 95
|
||||
},
|
||||
{ "item": "eyedrops", "prob": 15 },
|
||||
{ "item": "pepto", "prob": 70, "charges-min": 1, "container-item": "bottle_plastic_small" },
|
||||
{ "item": "inhaler", "prob": 25, "charges-min": 10, "charges-max": 100 },
|
||||
{ "item": "pills_sleep", "prob": 10 },
|
||||
{ "item": "pills_sleep", "prob": 10, "charges": [ 1, 10 ] },
|
||||
{
|
||||
"distribution": [ { "item": "nyquil", "prob": 60, "charges-min": 1 }, { "item": "dayquil", "prob": 20, "charges-min": 1 } ],
|
||||
"prob": 50
|
||||
@@ -675,7 +689,7 @@
|
||||
},
|
||||
{
|
||||
"distribution": [
|
||||
{ "item": "antifungal", "prob": 60, "charges-min": 1, "charges-max": 10, "container-item": "bottle_plastic_small" },
|
||||
{ "item": "antifungal", "prob": 5, "charges-min": 1, "charges-max": 10, "container-item": "bottle_plastic_small" },
|
||||
{
|
||||
"item": "antiparasitic",
|
||||
"prob": 20,
|
||||
@@ -700,7 +714,7 @@
|
||||
{ "item": "scissors", "count": [ 1, 2 ], "prob": 60 },
|
||||
{ "item": "hair_dryer", "prob": 60 },
|
||||
{ "collection": [ { "item": "curling_iron", "count": [ 1, 2 ] }, { "item": "curler_hair" } ], "prob": 25 },
|
||||
{ "item": "elec_hairtrimmer", "prob": 30 }
|
||||
{ "item": "elec_hairtrimmer", "prob": 30, "charges": [ 0, 50 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -726,7 +740,7 @@
|
||||
"//2": "This group is for a bathroom cabinet under the sink.",
|
||||
"subtype": "collection",
|
||||
"entries": [
|
||||
{ "item": "soap", "count": [ 1, 4 ], "prob": 70 },
|
||||
{ "item": "soap", "count": [ 1, 4 ], "prob": 70, "charges": [ 1, 10 ] },
|
||||
{
|
||||
"distribution": [
|
||||
{ "item": "razor_shaving", "count": [ 1, 2 ], "prob": 50 },
|
||||
@@ -736,8 +750,8 @@
|
||||
},
|
||||
{
|
||||
"distribution": [
|
||||
{ "item": "adhesive_bandages", "prob": 40 },
|
||||
{ "item": "bandages", "prob": 20 },
|
||||
{ "item": "adhesive_bandages", "prob": 40, "charges": [ 1, 10 ] },
|
||||
{ "item": "bandages", "prob": 20, "charges": [ 1, 3 ] },
|
||||
{ "item": "medical_gauze", "prob": 20 },
|
||||
{ "group": "full_1st_aid", "prob": 10 }
|
||||
],
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
{ "item": "yoghurt", "prob": 80 },
|
||||
{ "item": "butter", "prob": 80 },
|
||||
{ "item": "pudding", "prob": 30 },
|
||||
{ "item": "egg_bird_unfert", "prob": 85, "count-min": 1, "count-max": 12 },
|
||||
{ "item": "egg_bird_unfert", "prob": 85, "charges-min": 1, "charges-max": 12, "container-item": "carton_egg" },
|
||||
{ "item": "bacon", "prob": 25 },
|
||||
{
|
||||
"distribution": [ { "item": "lunchmeat", "prob": 60 }, { "item": "bologna", "prob": 40 }, { "item": "tofu", "prob": 30 } ],
|
||||
@@ -60,6 +60,7 @@
|
||||
{ "item": "onion_rings", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "milkshake", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "milkshake_fastfood", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "frozen_lemonade", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "milkshake_deluxe", "charges-min": 1, "prob": 5 },
|
||||
{ "item": "pizza_meat", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "pizza_veggy", "charges-min": 1, "prob": 10 },
|
||||
@@ -72,7 +73,11 @@
|
||||
{ "item": "sloppyjoe", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "sandwich_t", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "junk_burrito", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "chili", "charges-min": 1, "prob": 10 }
|
||||
{ "item": "chili", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "hotdogs_cooked", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "hotdogs_newyork", "charges-min": 1, "prob": 5 },
|
||||
{ "item": "crab_cakes", "charges-min": 1, "prob": 5 },
|
||||
{ "item": "stuffed_clams", "charges-min": 1, "prob": 3 }
|
||||
],
|
||||
"prob": 75
|
||||
},
|
||||
@@ -307,7 +312,7 @@
|
||||
{ "item": "yoghurt", "prob": 20 },
|
||||
{ "item": "butter", "prob": 30 },
|
||||
{ "item": "pudding", "prob": 10 },
|
||||
{ "item": "egg_bird_unfert", "prob": 55, "count-min": 1, "count-max": 2 },
|
||||
{ "item": "egg_bird_unfert", "prob": 55, "charges-min": 1, "charges-max": 2, "container-item": "carton_egg" },
|
||||
{ "item": "bacon", "prob": 65 },
|
||||
{
|
||||
"distribution": [
|
||||
@@ -330,6 +335,7 @@
|
||||
{ "item": "onion_rings", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "milkshake", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "milkshake_fastfood", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "frozen_lemonade", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "milkshake_deluxe", "charges-min": 1, "prob": 5 },
|
||||
{ "item": "pizza_meat", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "pizza_veggy", "charges-min": 1, "prob": 10 },
|
||||
@@ -347,6 +353,10 @@
|
||||
{ "item": "sandwich_t", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "junk_burrito", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "chili", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "hotdogs_cooked", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "hotdogs_newyork", "charges-min": 1, "prob": 5 },
|
||||
{ "item": "crab_cakes", "charges-min": 1, "prob": 5 },
|
||||
{ "item": "stuffed_clams", "charges-min": 1, "prob": 3 },
|
||||
{
|
||||
"distribution": [
|
||||
{
|
||||
@@ -613,7 +623,7 @@
|
||||
{ "item": "yoghurt", "prob": 20 },
|
||||
{ "item": "butter", "prob": 20 },
|
||||
{ "item": "pudding", "prob": 20 },
|
||||
{ "item": "egg_bird_unfert", "prob": 20, "count-min": 1, "count-max": 12 },
|
||||
{ "item": "egg_bird_unfert", "prob": 20, "charges-min": 1, "charges-max": 12, "container-item": "carton_egg" },
|
||||
{ "item": "bacon", "prob": 25 },
|
||||
{
|
||||
"distribution": [ { "item": "lunchmeat", "prob": 60 }, { "item": "bologna", "prob": 40 }, { "item": "tofu", "prob": 30 } ],
|
||||
@@ -634,6 +644,7 @@
|
||||
{ "item": "onion_rings", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "milkshake", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "milkshake_fastfood", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "frozen_lemonade", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "milkshake_deluxe", "charges-min": 1, "prob": 5 },
|
||||
{ "item": "pizza_meat", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "pizza_veggy", "charges-min": 1, "prob": 10 },
|
||||
@@ -646,7 +657,11 @@
|
||||
{ "item": "sloppyjoe", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "sandwich_t", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "junk_burrito", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "chili", "charges-min": 1, "prob": 10 }
|
||||
{ "item": "chili", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "hotdogs_cooked", "charges-min": 1, "prob": 10 },
|
||||
{ "item": "hotdogs_newyork", "charges-min": 1, "prob": 5 },
|
||||
{ "item": "crab_cakes", "charges-min": 1, "prob": 5 },
|
||||
{ "item": "stuffed_clams", "charges-min": 1, "prob": 3 }
|
||||
],
|
||||
"prob": 20
|
||||
},
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user