Compare commits
2691 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fe75ac9bd6 | |||
| acdfe1c31e | |||
| 9de0c479fe | |||
| ef640ef4b5 | |||
| 06796a5e5a | |||
| 601a7787ea | |||
| 660496380c | |||
| 3103885a76 | |||
| ab0a01b669 | |||
| 4541ff20fb | |||
| 1ff2c8a650 | |||
| 36c9364ef5 | |||
| 54ca4f32e7 | |||
| a6a2685609 | |||
| c5cc6b17d5 | |||
| 3a9680e535 | |||
| c523007a36 | |||
| f07d7d41b0 | |||
| d7e749644d | |||
| afd78793c1 | |||
| a8c868b0a3 | |||
| dfbab48452 | |||
| 2d8731b458 | |||
| c48688f1a9 | |||
| ada478bdea | |||
| 7c0ce1bf4c | |||
| d8797d09de | |||
| 96d2f4e5ba | |||
| cbe90678d7 | |||
| f75c0f8a9c | |||
| 94a28f7faf | |||
| 9300145383 | |||
| f3aecb6bc2 | |||
| f25cc1ea54 | |||
| 32a574cdf5 | |||
| 944f93236e | |||
| d3a9697a9b | |||
| 2b07044b45 | |||
| 2a5534de34 | |||
| f6c39a8b9c | |||
| 468e572c8b | |||
| 1150768868 | |||
| f4ccef568b | |||
| c9879c99b1 | |||
| ca4f956553 | |||
| 8110f3cbfa | |||
| c9aa7765fc | |||
| 38dc65c4ec | |||
| 8a414e433b | |||
| 9570318088 | |||
| 646f277af2 | |||
| aa4a8fbbfa | |||
| 7c0d731958 | |||
| 2452b4c3ef | |||
| f5f6eabcf8 | |||
| ef70046421 | |||
| f3b57c34a9 | |||
| 951d3cfd73 | |||
| e332c20d9b | |||
| a5a92b6b95 | |||
| 5efeb0a160 | |||
| 715bb869eb | |||
| f8162cff63 | |||
| b28cd6a016 | |||
| 4eb61984f7 | |||
| db3e70bf93 | |||
| 9c02398aca | |||
| d3b2ac14cd | |||
| 3a80e12ab5 | |||
| c1a3f52e5a | |||
| a9348928de | |||
| 56f4f34fd6 | |||
| 88362c8723 | |||
| b3b79c5504 | |||
| b35bddd0c8 | |||
| eebf807ac2 | |||
| 6f69480e02 | |||
| 27de7610dc | |||
| e67d6bc713 | |||
| 816b0f69a9 | |||
| 8a1bea5d56 | |||
| e0395f71f6 | |||
| dc51e9105b | |||
| 8781a5849b | |||
| 703f682396 | |||
| 3bf9f8def9 | |||
| 2c166db777 | |||
| 14e7644ce1 | |||
| b0426eb1f9 | |||
| cc5b26a0e8 | |||
| 5099fb304d | |||
| 14f5082755 | |||
| 1288b7c2c3 | |||
| f23d03e37b | |||
| 696c95f8cf | |||
| a6cba502ae | |||
| 9b50bb9320 | |||
| 62753979f2 | |||
| 608784a4fa | |||
| c22c818da1 | |||
| 6b57af3d53 | |||
| abdf8d8cd2 | |||
| c33ac261bf | |||
| 8edd84c52a | |||
| a3eb3d65bf | |||
| 83c80acd05 | |||
| 7c041b943c | |||
| 15b256279d | |||
| ba0de64cc2 | |||
| 8eec61e49e | |||
| c427ea565f | |||
| 737df4d5c8 | |||
| f4ebac453e | |||
| fa1998b064 | |||
| c2e6d0aa6f | |||
| dde776a3e6 | |||
| 22562024f3 | |||
| 4096202c7f | |||
| c009f7e8df | |||
| 4fe0d7fd5c | |||
| bc19cc38a1 | |||
| dc22070abb | |||
| 91babf778d | |||
| ba778ed692 | |||
| 68f0f3d19d | |||
| 180d226a9e | |||
| 3e8a095770 | |||
| a5763f9ee1 | |||
| c2c6bd2dda | |||
| ecef53c208 | |||
| 3e3add9561 | |||
| fb84b85a5c | |||
| 4e384ca7d1 | |||
| f0009807f2 | |||
| f11c20abec | |||
| 2f63c7b679 | |||
| 5245d45ab3 | |||
| 5ade88040b | |||
| 39684006ab | |||
| 355e32b041 | |||
| efedb4834a | |||
| 27180dbbb6 | |||
| 0370a638cb | |||
| 710541c9e0 | |||
| d5c6f6a211 | |||
| c509cffc0b | |||
| 5f7384ce1f | |||
| 98554330d6 | |||
| 8bf26aa586 | |||
| 350c14b7c7 | |||
| de3f96ef82 | |||
| 7c442c2b26 | |||
| 880c14376c | |||
| 568a1b7a36 | |||
| a7c5b92c8b | |||
| e941882a42 | |||
| 33ef4b75f9 | |||
| 7332acd9ef | |||
| 1688a184d4 | |||
| ba20940301 | |||
| 0e73e56737 | |||
| 24aea6f20c | |||
| 0cf21ee20f | |||
| d883d6247b | |||
| 91e4a5ce37 | |||
| d2bcf265cf | |||
| d97ace60cc | |||
| 7781e3c833 | |||
| cc39df8419 | |||
| ffe183a9cf | |||
| ced08dcd27 | |||
| c751411d86 | |||
| 5f3f47ce23 | |||
| 245b6ee3fd | |||
| 4e11cc0b34 | |||
| 0dfdbf743a | |||
| b722c1325d | |||
| 6ae155045f | |||
| e929194b90 | |||
| 73ffb5da88 | |||
| 1dc3f5da73 | |||
| 1f529ae47d | |||
| 5ea258c32a | |||
| 87a3ac4c48 | |||
| c8f574ae15 | |||
| 9e2b09fa14 | |||
| 0f5c0496b2 | |||
| 2c3ca2d159 | |||
| 02824e4bf9 | |||
| 1364d0c994 | |||
| bd7d4a4210 | |||
| 2ef3fad37d | |||
| 22e1e0d659 | |||
| bc873018de | |||
| 01ac2c9212 | |||
| e98478e9f7 | |||
| 8059809246 | |||
| da76f3926e | |||
| 31077020f9 | |||
| a0d85e2b18 | |||
| d0c5856be8 | |||
| 906ab71f63 | |||
| 937189b9e6 | |||
| af531f3a5b | |||
| 1a2d0559bf | |||
| ee77073131 | |||
| bb4b35c238 | |||
| 694502d203 | |||
| 6c0b8506ba | |||
| c51b38dc3c | |||
| 77bb8f3522 | |||
| cf291a31ac | |||
| eaf67dd330 | |||
| 17eaf904ed | |||
| 516e96f974 | |||
| c056e92759 | |||
| 394ee65af8 | |||
| fa3641b0a3 | |||
| 7a27f1418d | |||
| c3f6ef1e34 | |||
| 09725b8eb2 | |||
| f0e2bb74f2 | |||
| a84c15de1e | |||
| b5f0f27cae | |||
| 086e157199 | |||
| e6899e6e5c | |||
| 705a30b35c | |||
| 2c056df6b9 | |||
| 0d6083e352 | |||
| 385244999d | |||
| a7bf7f5c22 | |||
| 1ddcbe36e1 | |||
| e77ea3b421 | |||
| 0852dc8215 | |||
| f0d54025ac | |||
| 23c99dc2a1 | |||
| 993d04bbc5 | |||
| f2b1cbcb89 | |||
| b443c87f11 | |||
| 91f0471f27 | |||
| 340eeb326e | |||
| 79176efdea | |||
| ed72c11dbb | |||
| 41b1df47e2 | |||
| 86bd8e5606 | |||
| 007c4d6d21 | |||
| 8f645cd7ef | |||
| 53f2e0b298 | |||
| f353ca306c | |||
| 366522edde | |||
| 40e599c8a9 | |||
| 24f3ce3dd1 | |||
| 9b7f70bf53 | |||
| ad979f98c6 | |||
| 6305f27187 | |||
| ae171f1829 | |||
| c5fb78d48b | |||
| 170d107074 | |||
| d21b30a6c3 | |||
| 480f25e7be | |||
| ddce25f244 | |||
| 773e3b8e32 | |||
| 43ad10e640 | |||
| d989db884c | |||
| 84d1af9889 | |||
| 4c8cec147b | |||
| d31b86af21 | |||
| 555c79273b | |||
| 94c2621bf7 | |||
| 297d7e3643 | |||
| a2780f75b8 | |||
| 52d5edd809 | |||
| 7ebb4a8172 | |||
| b820a2429f | |||
| 97598af290 | |||
| 696ffa15c3 | |||
| be05e87f2d | |||
| 262fc7c618 | |||
| e2b447ffd4 | |||
| 33dd5573e9 | |||
| b16c97fe90 | |||
| b9efcfb630 | |||
| 60fe32b46a | |||
| c5075b9e59 | |||
| 67957cb009 | |||
| 9c1f4cbeee | |||
| cd853690ff | |||
| daf804ac17 | |||
| 19a4a94796 | |||
| eabac316d9 | |||
| b0f8f954c9 | |||
| 668eba9027 | |||
| 68f288006f | |||
| c89f8ed66a | |||
| 39b248ddda | |||
| aa51cebab4 | |||
| 769bdaca8c | |||
| b79cb2d81a | |||
| 2fd863b6e2 | |||
| 5b3d60c6d3 | |||
| 8feb3ea52e | |||
| 4e3f2eb2ba | |||
| c2f5f2a510 | |||
| f33d31fe13 | |||
| 7f6b68b898 | |||
| 6e12d32310 | |||
| ed90d9ae86 | |||
| 8aed248091 | |||
| 0e2d6cb3f2 | |||
| aeb8ac8b19 | |||
| 2165ecae38 | |||
| 0ef57e56e9 | |||
| 8fea119c90 | |||
| f59901bd04 | |||
| 8721ea222c | |||
| 98fedbf9e1 | |||
| db88b8eeeb | |||
| 44086b267e | |||
| 67785b3a90 | |||
| 3e37accac2 | |||
| 44bf9cfd85 | |||
| 98ba7320af | |||
| 825d28af0a | |||
| 5183d9e5e8 | |||
| f5da796fe1 | |||
| ebc014e76b | |||
| 5bb5410db5 | |||
| fadd71a1af | |||
| e8040d561b | |||
| 3156520fef | |||
| e225fd7fcf | |||
| e5de7984c7 | |||
| d16fdf2c3c | |||
| fa6803dda5 | |||
| 8f73c9df13 | |||
| be2ddaf9ea | |||
| a39cd3e5df | |||
| 7f2b29abd5 | |||
| 8ed82754a7 | |||
| a4cd9ad755 | |||
| db555844ec | |||
| 8fb29e849b | |||
| b5de3159ce | |||
| f8f00c716e | |||
| 4e9c6f3d69 | |||
| 0cadf34bee | |||
| 0decefbe71 | |||
| e8a0da3b31 | |||
| ea09e6c607 | |||
| 08b987b6ac | |||
| 06c5e2d3e3 | |||
| 18d830faa4 | |||
| 2b8d55adc8 | |||
| 0e6bfa18e8 | |||
| e87375ca10 | |||
| aa1854cf25 | |||
| 703a6b7a3f | |||
| a16e632661 | |||
| e654ad6243 | |||
| 8cfe0780f6 | |||
| aeceb61767 | |||
| efcb8c79ac | |||
| c8dbcfda64 | |||
| ba49f61542 | |||
| 1532454bf2 | |||
| d09d8e9b81 | |||
| 6613963683 | |||
| 2ab511b326 | |||
| 01cf7dd97f | |||
| 8deb91c79f | |||
| 4701cb78a9 | |||
| 4f71292078 | |||
| c7fb2ab208 | |||
| e5db9b36a9 | |||
| 1e7bea121c | |||
| 04f08124c4 | |||
| 2687d801d4 | |||
| f6d68b724e | |||
| 92c6e89db4 | |||
| 0793b69200 | |||
| 14582758c9 | |||
| 9bb72d03e4 | |||
| dfa17d8dcd | |||
| d81bec2477 | |||
| e7412503db | |||
| 535b93c4b4 | |||
| 8e6e3f58fb | |||
| 922ee3212b | |||
| f1a7ac4cb1 | |||
| e2c3d3416f | |||
| 8928afa3d1 | |||
| 5e94534d7e | |||
| b4ef12eaff | |||
| 584c368b48 | |||
| 2e373e3857 | |||
| 5f5120f705 | |||
| 146aa1942d | |||
| a9e7f54519 | |||
| fd836ec480 | |||
| 628c0d29aa | |||
| d4e9eecc20 | |||
| 9b8b6cdf65 | |||
| 9e60f4b8c3 | |||
| a421afee4b | |||
| 9424f92870 | |||
| c9e2d866a2 | |||
| 91e519a56a | |||
| 9807082e06 | |||
| d2d15f5e67 | |||
| 5f9f73a85e | |||
| 36b38cfed8 | |||
| 9ac53c508e | |||
| 7226841a15 | |||
| 69353f85e6 | |||
| 7fac4a6f63 | |||
| 1918d0d89e | |||
| 3b6de93bba | |||
| 2ff44676b7 | |||
| 771a12da56 | |||
| 5432421cfa | |||
| cd1c40c230 | |||
| 3e0011ced2 | |||
| 34142f5678 | |||
| 3afd356842 | |||
| c6e50991a7 | |||
| b16df09929 | |||
| 15d72b348a | |||
| 25dfb591fa | |||
| f382c4fa8e | |||
| bc577c567c | |||
| 2ec12a1e59 | |||
| 220fd55b26 | |||
| f35d36219e | |||
| 8c1ee84908 | |||
| ee1ae8eccf | |||
| 329507427b | |||
| 7037febbbb | |||
| da0d570cb7 | |||
| 704ef6145c | |||
| f6db4cb11a | |||
| cdafc43776 | |||
| 0c25465edf | |||
| c0c95aeaaa | |||
| 7e0a5b5d12 | |||
| f1d9ac79ac | |||
| c271686771 | |||
| 6b803a1a2e | |||
| 4815111217 | |||
| ad9f2934ad | |||
| be65e1ffd4 | |||
| 2346dba94c | |||
| 56978b1b67 | |||
| 4548173c2f | |||
| 255d4a3200 | |||
| 8762477051 | |||
| af008a05ee | |||
| d0b78e148a | |||
| 67bcb46a36 | |||
| 23151f0fa8 | |||
| 24fb83c3ad | |||
| 7f6f7a6aba | |||
| 1956f6f32d | |||
| 27d58a258b | |||
| 51355c062c | |||
| de5a01ae82 | |||
| e912f0aa3a | |||
| 13ad112c7c | |||
| d88c682e2a | |||
| cf7e43b287 | |||
| 45365c5619 | |||
| 2fff45e772 | |||
| e12d273711 | |||
| 359dc5d2ba | |||
| 906e28ad6e | |||
| f726ff9b79 | |||
| 293b8cbc6b | |||
| 5155f1d804 | |||
| 23fbaee8a9 | |||
| e43aee9be7 | |||
| e7d358db6c | |||
| 55d5a4e6b0 | |||
| 2d7fcf8c51 | |||
| 5557ac383c | |||
| b6d249487c | |||
| 8124f4653e | |||
| bbe19f4e18 | |||
| a8528527db | |||
| 511472ad37 | |||
| 1ab59d50ce | |||
| ecf3a089f7 | |||
| a8ac651aab | |||
| 1e769fe44c | |||
| 4b95fcd825 | |||
| eedf0dbffa | |||
| ebd6786309 | |||
| ab466e40e8 | |||
| 8ca6126c25 | |||
| 55e0988837 | |||
| 83e7e9f0ab | |||
| 9ac87e6f7b | |||
| ad29c7c640 | |||
| 0e25b114ba | |||
| 99e23a9308 | |||
| d092f4d5ec | |||
| df9e0db484 | |||
| 70a6a24b5d | |||
| 7f274312be | |||
| b312f5ab17 | |||
| a759fccbbf | |||
| 96f1c247fb | |||
| e487e4cc0b | |||
| af492e7839 | |||
| 5d5a9c3686 | |||
| f94b39928b | |||
| 610748889f | |||
| c9e2376453 | |||
| 465bd696d7 | |||
| 84f9e5a595 | |||
| 6243e9c385 | |||
| 10ba07b48c | |||
| b72b9138e1 | |||
| a829247e86 | |||
| 4f4a423538 | |||
| b5b9aac03b | |||
| 20c3df6c11 | |||
| b908e1442c | |||
| 504740ccdd | |||
| 9f1ce77c86 | |||
| 96ce1440f7 | |||
| 6899999471 | |||
| df247cc289 | |||
| ffba32ace9 | |||
| eafcbbf2f2 | |||
| 66b2ee3c38 | |||
| 9f59bf2a17 | |||
| ddf2484f1d | |||
| 16d5746baa | |||
| e3cd0b2614 | |||
| 78cbfcbac9 | |||
| b2028a9e4d | |||
| cef03e293a | |||
| f54a73c88a | |||
| b887663f65 | |||
| e08dcf2467 | |||
| 492253b6bf | |||
| f46a8ca36b | |||
| 1ef8acb445 | |||
| c405365e39 | |||
| b9c1222c17 | |||
| e325a2cee1 | |||
| e1f53e57a7 | |||
| 669c78687d | |||
| 827b56cd45 | |||
| 61c1548a07 | |||
| a7d4c5bfa1 | |||
| 20ea5cbbed | |||
| c927e2e1fa | |||
| bf89e159a0 | |||
| 25fc086f5e | |||
| 07cf8ce1e5 | |||
| c68293e70e | |||
| 787bec59e9 | |||
| b40b325162 | |||
| 5abd8c6cf3 | |||
| 8df0898c2d | |||
| 2d5d02fe9a | |||
| 80f688e97f | |||
| 286b2b5cfe | |||
| 5b6b804a50 | |||
| 5c92ae41ee | |||
| 8af00c710d | |||
| 25196640bb | |||
| ffbf09d758 | |||
| e53d540c38 | |||
| 24358a71d2 | |||
| c0b8c77b5e | |||
| de143792e2 | |||
| 5ae86518a5 | |||
| 58a09b050f | |||
| a22867c857 | |||
| 43e47d235c | |||
| 6de3f68c19 | |||
| ec729bbe55 | |||
| 8f932ce8de | |||
| f34a0cb316 | |||
| 7745617fa1 | |||
| 9dccb02bb6 | |||
| b13d31051b | |||
| 7f9cf43604 | |||
| 16356749be | |||
| 106d1e5130 | |||
| 25ac3ae0ef | |||
| 039483fab2 | |||
| 8ee4dfe676 | |||
| 7fdc4b57b1 | |||
| 5e5112e42c | |||
| aa8916170c | |||
| a51495ea47 | |||
| 4e11db9d5c | |||
| a4a010f06a | |||
| d2dafffc4e | |||
| b30ea8b1ab | |||
| 61fb07fcb1 | |||
| 16869a7ee1 | |||
| 922b85716b | |||
| 9e6dfe83d6 | |||
| d8961a5924 | |||
| 06722366fd | |||
| d14beeb0e4 | |||
| f7a63e14e6 | |||
| 0f016efe43 | |||
| 3d58461d7a | |||
| cfed9b0348 | |||
| 90e52524e9 | |||
| 6b61ee93bf | |||
| 9691ff7cff | |||
| 68f2f7b02f | |||
| 0eaaafda20 | |||
| 8338c086e4 | |||
| decca955c2 | |||
| 3a1768936e | |||
| faf5278525 | |||
| 1b65f9879a | |||
| c3d0e82469 | |||
| 539fa7e406 | |||
| 6b70f9d0f3 | |||
| 891d81e77c | |||
| 7bcf9009d0 | |||
| e5f9eb4263 | |||
| 2ea1afb4d3 | |||
| eef4a5d6aa | |||
| 1d5c55b9aa | |||
| b3ab68db01 | |||
| 6d9a734853 | |||
| 607fa77271 | |||
| cc025699a8 | |||
| a74dd676a0 | |||
| 00bf4695ee | |||
| 208f1345de | |||
| b536ddd06e | |||
| cb8807c5c7 | |||
| 6cc1dc3e7d | |||
| 76e45071bd | |||
| 01535e43fa | |||
| 5bb5e7e8c6 | |||
| c0492021bd | |||
| 4c09bb8f99 | |||
| 865f8d5d21 | |||
| a2af97d931 | |||
| e607f46a01 | |||
| 91d9278d9f | |||
| c884e70171 | |||
| a4c0fa8fc7 | |||
| 2c43a933aa | |||
| 1b24ed3446 | |||
| 008552bb7b | |||
| 038155d225 | |||
| 733409bbd7 | |||
| c0f666d8cc | |||
| 8a1b6ad45b | |||
| af8a7e63f9 | |||
| d88fa05bb5 | |||
| c153e84e6b | |||
| 6d22f77ce6 | |||
| 5e778f9f80 | |||
| 61fa40da52 | |||
| 5cfa672ee4 | |||
| ab6a3c61e6 | |||
| 96125bac5b | |||
| 375a1ba995 | |||
| 9e91caae57 | |||
| aa795bf830 | |||
| 5aac8503c0 | |||
| fac3e64199 | |||
| 5c29dccaa2 | |||
| ba6017be21 | |||
| 91b5379f50 | |||
| 33264648f7 | |||
| bbe5978939 | |||
| a5acdbe279 | |||
| 11904020ee | |||
| 18549698d3 | |||
| b82f00016f | |||
| efbaadc136 | |||
| 27487210e3 | |||
| a1a4bc91fb | |||
| c0b78a2d2b | |||
| 307096268b | |||
| 7513e29757 | |||
| a031c979f2 | |||
| 32f7274df4 | |||
| d0873dedeb | |||
| 3b65e3b88a | |||
| 67d6d71312 | |||
| 06fa14c350 | |||
| 7e1e0831eb | |||
| bb7726d1cd | |||
| f540cc2d1b | |||
| bcef976699 | |||
| 39071edd21 | |||
| ffd63610ac | |||
| 2bacc56f06 | |||
| 133458b4a3 | |||
| d8fd8df52a | |||
| b38bd1eacf | |||
| 3c1f24558a | |||
| 6a633386a0 | |||
| eaae060ea4 | |||
| 3bcf603b4d | |||
| 0d5264e3f2 | |||
| 1d59d3e542 | |||
| fdffd4c1f3 | |||
| c7d52cce25 | |||
| 82ef1fffe2 | |||
| 46b9508837 | |||
| 02a142608d | |||
| 3c8b78ea9d | |||
| 8d26de57d3 | |||
| 66b974280f | |||
| 1b891d7382 | |||
| 5f1b525c15 | |||
| a579d588a1 | |||
| 928cbc11bd | |||
| 3c4299cdf0 | |||
| 6bd530951a | |||
| a685a75292 | |||
| ef30ae49db | |||
| 5440ec203d | |||
| ab53033ca1 | |||
| 03ae3a9d94 | |||
| 4aebcd4432 | |||
| fb50621d9f | |||
| 09c9746e05 | |||
| 2bc7b763f8 | |||
| eabc74bb8d | |||
| d8837433cc | |||
| b2a9ac9b62 | |||
| 3c8b38641d | |||
| 83078def51 | |||
| f94a8f6fce | |||
| fb730c30c4 | |||
| cdc006a751 | |||
| 52d1f5efc7 | |||
| c158120db4 | |||
| 8b1bc8b3e2 | |||
| b5b129aec5 | |||
| 79a68a909c | |||
| fcb035836c | |||
| 7ddd0f35bb | |||
| 80bfe0085d | |||
| 581b7d38ee | |||
| d77a99972c | |||
| 3dd987de54 | |||
| 5fb8e82675 | |||
| 54ea963271 | |||
| 59a27598e9 | |||
| 9a50e3c16c | |||
| 07b171b046 | |||
| 7451bf18d9 | |||
| c3f0766535 | |||
| 99ea8200fe | |||
| d4fe66a096 | |||
| de9ddceb93 | |||
| e32adddc9e | |||
| a7b8d2a997 | |||
| a18a104fbb | |||
| 2051d76a6b | |||
| e1623cbe1e | |||
| 8b91af00ba | |||
| 7e40eb7ab2 | |||
| 22d7a743da | |||
| 537861db6c | |||
| 68da7b62ef | |||
| 5dcfd17628 | |||
| 013ef5ef89 | |||
| 87b2775599 | |||
| bc3570dbd6 | |||
| 2b57246dc2 | |||
| 11541166bc | |||
| cf359b3b2a | |||
| 8c64ba9d6f | |||
| 9dc67f98b2 | |||
| d39fbcb4b4 | |||
| d88b9fb699 | |||
| 0ddb42d9bf | |||
| ad23f4097e | |||
| aed2e68c09 | |||
| d73d18ad4f | |||
| ce27ff80d4 | |||
| 3f514078e2 | |||
| 6d6c527f3f | |||
| 2f81f4f50a | |||
| 10ac283d73 | |||
| 341d7df151 | |||
| 5721a50f8c | |||
| e3454c63ef | |||
| df426c3d93 | |||
| a2adb4d63c | |||
| 04d99bc96e | |||
| 43af3d0592 | |||
| fd107ffa3d | |||
| 7ade9c9327 | |||
| 7879d6c092 | |||
| 7378933f45 | |||
| a4958d2167 | |||
| 6760fdbcec | |||
| eee8db0b30 | |||
| 3cb2f59fbc | |||
| 8b7dc674ff | |||
| 904504b7b6 | |||
| 5d1e989e48 | |||
| 9941588283 | |||
| c496e89827 | |||
| 5e5823d6da | |||
| d3cf5fa97f | |||
| 7f23441b95 | |||
| fa0df7007f | |||
| 10734e219a | |||
| 4a1da34465 | |||
| 225cd95adb | |||
| 7a4522829e | |||
| 833af97460 | |||
| e203cd2198 | |||
| febc6f8213 | |||
| 209a638559 | |||
| 08f4e64479 | |||
| 85933831c1 | |||
| 70d4c87157 | |||
| 5396826745 | |||
| e8f24687bd | |||
| e250d8f255 | |||
| 1c57c88bc8 | |||
| 299385d091 | |||
| 518d06698f | |||
| 4f449dd743 | |||
| 9b30d03501 | |||
| f95681c2db | |||
| 7b3c301eea | |||
| efa77145b9 | |||
| 256d89813c | |||
| 0b2e3190b4 | |||
| 7a55f611c5 | |||
| 72d6400b00 | |||
| d098917903 | |||
| eb21cc4331 | |||
| 76be648ea5 | |||
| 92f23e481a | |||
| 9acb48e5ef | |||
| e1f44bd6b5 | |||
| f0c57b1ed8 | |||
| 2a49b5f555 | |||
| 0857f60931 | |||
| 4770d65056 | |||
| f9bbeab272 | |||
| 3ad57edaa1 | |||
| 985ad6e138 | |||
| e0b04061b5 | |||
| 65e5b129cf | |||
| 24f77db4e5 | |||
| 0c116a9b47 | |||
| da53b758d7 | |||
| 4fbc953d39 | |||
| 6faab161cb | |||
| 0939601e79 | |||
| 8f3b6a97cf | |||
| 10091af5bb | |||
| 516b9c8fbe | |||
| 558e512e8d | |||
| caedde05a2 | |||
| bbda964e7a | |||
| 8aab2a6c9c | |||
| d136723b7c | |||
| c6c74c62b0 | |||
| 73d0ad4aee | |||
| 31939b295f | |||
| 77e837e653 | |||
| aa721ff2a6 | |||
| 96a33b7e0b | |||
| 9484fe7a37 | |||
| bec9ef4369 | |||
| b75b8156ea | |||
| 5b7a1567c1 | |||
| a405e2f5a8 | |||
| 2f20507419 | |||
| af357efcdd | |||
| 2098ae9cce | |||
| 561bb3745f | |||
| 637dd720b2 | |||
| ff6440f72a | |||
| f4ce2c5874 | |||
| 5552d22e2c | |||
| a28e753e6e | |||
| cd2cfbdad7 | |||
| b84899a4e5 | |||
| fc577e115e | |||
| f2a634523a | |||
| b01502d1be | |||
| 66b17a30b7 | |||
| 055eb4222d | |||
| 55ce1c7e7f | |||
| 9b65b5e5a3 | |||
| 279e74b9d6 | |||
| a0026fb21d | |||
| a8df0f467b | |||
| 60e8ef6404 | |||
| ab1b11ad09 | |||
| f7a0c8a6ba | |||
| b65a20431f | |||
| 851b4088aa | |||
| 9b03f12cc2 | |||
| b6963a1245 | |||
| bf1ede8969 | |||
| 49858c1363 | |||
| efa9d08b53 | |||
| fbac64127e | |||
| b587d8adeb | |||
| 48682440e0 | |||
| 909e15882b | |||
| 5b30d76cd0 | |||
| d9fbd06db7 | |||
| 4fb2796ce1 | |||
| fa5db3d38c | |||
| 5fb68e468b | |||
| c51d5ada25 | |||
| d8d0157d5e | |||
| 6ee3a15ab2 | |||
| 807f6c1afd | |||
| d1b96fe659 | |||
| e541c73b81 | |||
| 1e27443762 | |||
| 2f9817d54f | |||
| b7887a519d | |||
| ca46582ecb | |||
| e0dc41e1d2 | |||
| e6babfac77 | |||
| b0bc8ea126 | |||
| f48f63e132 | |||
| f9cefeb657 | |||
| 13c4abf56e | |||
| 14a58c83ae | |||
| f791874dbc | |||
| 4e15e67cbe | |||
| 0c7b13c410 | |||
| c6ea76f463 | |||
| 400c0d12d3 | |||
| ebef70a148 | |||
| 148a4bfed4 | |||
| c57c4a9743 | |||
| a57473bb72 | |||
| 1bbaa50e2f | |||
| a1bc459033 | |||
| 7c048ce3ee | |||
| 5c6a39f5a6 | |||
| 013b3d4fc6 | |||
| d877fb8f62 | |||
| 75b6ae1880 | |||
| af6590ff04 | |||
| b5a40449b8 | |||
| 381da2a108 | |||
| 1cb87cdb4d | |||
| 0f6e534aee | |||
| e330b8c6ae | |||
| 051f089ba1 | |||
| 4a948f46ae | |||
| 1cfd58066e | |||
| c34f537fa5 | |||
| d6fcc0368b | |||
| 5ff625daf2 | |||
| 9e1339da33 | |||
| 021d9f1d16 | |||
| e289b221e4 | |||
| 40b7314d08 | |||
| 0b75880148 | |||
| bbc6c34d3a | |||
| bc7a98d3fe | |||
| 2d207224a5 | |||
| 75350ae3a9 | |||
| 872f524eb6 | |||
| c19c81ab28 | |||
| 7a107273b1 | |||
| 7d64fc83b7 | |||
| 4a131bec65 | |||
| 432d5bd94b | |||
| b8fa3d9394 | |||
| fdf1f5c828 | |||
| 110ac97864 | |||
| 046ffad3a4 | |||
| ae8c985cf1 | |||
| e93cb8b9e1 | |||
| 99a097a955 | |||
| af15aa023b | |||
| 2eed44d798 | |||
| 74e366c855 | |||
| 844ee96038 | |||
| 2251175355 | |||
| 819126926f | |||
| ff950bddb1 | |||
| e290680df2 | |||
| e26a3a82d3 | |||
| b3d7733018 | |||
| 2fc3715b07 | |||
| 5bc64bd22c | |||
| 004b3b0e55 | |||
| bcd939890b | |||
| 57efa980cc | |||
| 562c0442d5 | |||
| 6c2e9c3019 | |||
| 04e2492638 | |||
| 8221cc58ff | |||
| 10fdfa4b3d | |||
| f6acf5b5fe | |||
| a685f55166 | |||
| eafb6ece60 | |||
| 3b1b4dcd2e | |||
| bbac744374 | |||
| d59ce220f2 | |||
| d46390e05a | |||
| d5b71faec3 | |||
| b6a8133ceb | |||
| c8beb1a827 | |||
| 98ef2cb87e | |||
| e6d6e477f5 | |||
| 035651dcb7 | |||
| da1c5fa16f | |||
| 20b64bef27 | |||
| b5e0157b8e | |||
| 5d23227674 | |||
| 34c2fa8edf | |||
| 6e4117e15f | |||
| 3760e942bd | |||
| 9ab83179c7 | |||
| 5fe009e579 | |||
| 8c61bbbd93 | |||
| 23b50c0497 | |||
| 9cdb6d7810 | |||
| fe46600319 | |||
| 1ef61d0cf8 | |||
| 1c0d9e1a88 | |||
| 1fef4a5d16 | |||
| b89ea8b1c3 | |||
| b92c3daef0 | |||
| f3284616e7 | |||
| e1f44fb620 | |||
| 7302c61870 | |||
| 854db485ea | |||
| e2a507bca5 | |||
| 38dd80df0e | |||
| 6015565d3d | |||
| 044fb050b1 | |||
| 5ebcd09562 | |||
| 29404eea07 | |||
| f011e126a0 | |||
| a8d21d876f | |||
| 54f57c4b6b | |||
| f8fa766b62 | |||
| 075ef2f222 | |||
| 87ebf3b993 | |||
| b0f36f17e3 | |||
| 539b183a44 | |||
| 5e53c0db3b | |||
| a2bb3b9ded | |||
| a67178cf79 | |||
| b79f08b794 | |||
| 0f1a6570f1 | |||
| ab8827546e | |||
| 4a00d6d3a1 | |||
| 46573fec94 | |||
| acd54b47c9 | |||
| ecc6df2a35 | |||
| 551211b885 | |||
| 82322275fb | |||
| ae51064967 | |||
| cef0c638d5 | |||
| ffd51c5243 | |||
| 5c85bc95a3 | |||
| c09390fed9 | |||
| af77cb4098 | |||
| 31606984b7 | |||
| 07400c9337 | |||
| 789ed15d0d | |||
| e3d21f87bb | |||
| d6b9493527 | |||
| c545772140 | |||
| d2ed735694 | |||
| 57c9a26f45 | |||
| 232161b9c2 | |||
| 222b5cc3a2 | |||
| 75445cbacc | |||
| d1037d2320 | |||
| 44df58d8f4 | |||
| 0d4f96652d | |||
| 5f86897a9b | |||
| 8921d31314 | |||
| 81c23c3065 | |||
| 3c01c725ff | |||
| e6e6a82ed1 | |||
| 332eca5cbd | |||
| 3001f08bda | |||
| e976e666b1 | |||
| 15eed84121 | |||
| 80df6c06dd | |||
| d2d1a92bbc | |||
| 1db1b2d4f5 | |||
| 81bb72e750 | |||
| 34efaf9927 | |||
| dceb2a711c | |||
| dc48f89f32 | |||
| 900f18b68b | |||
| c86c5078bf | |||
| 7be350472a | |||
| 90068c265a | |||
| e1d634d914 | |||
| 69ae4c0c34 | |||
| 0edfc88578 | |||
| bf3768d31f | |||
| 4c60ef17b1 | |||
| a809b55417 | |||
| 35211fb9c5 | |||
| bc220e6eaa | |||
| 35a3cdd4da | |||
| fa7eb6c6f6 | |||
| 2f3f2c8b0c | |||
| 81a8c1e059 | |||
| c33286733c | |||
| 6e07389048 | |||
| a9f2518c3f | |||
| 789ad5d8df | |||
| d137f10ec9 | |||
| 3ea64b9c91 | |||
| 92014ad658 | |||
| fef8817bda | |||
| 7c413cf570 | |||
| 0c9ed66794 | |||
| 19549233be | |||
| 5fdf61a0bd | |||
| b309d3c628 | |||
| 7d83192af0 | |||
| 5c7d5dbe1b | |||
| f1d034b3bf | |||
| b00c87046a | |||
| ed25979012 | |||
| 2e5ae40953 | |||
| 6e3cecc5b2 | |||
| 23ae4d4a51 | |||
| 7f033b7749 | |||
| 15f58185f5 | |||
| 7cd4da78a5 | |||
| eccfd48c7a | |||
| 9e1d6813a3 | |||
| 34c40566eb | |||
| 528e651502 | |||
| 7d2d4c7e03 | |||
| ddc7b39cd6 | |||
| dedcc9abb2 | |||
| 3a74f96023 | |||
| 6c85106619 | |||
| eadf2c36cf | |||
| 51687e556c | |||
| cb0993eb65 | |||
| 421455b46d | |||
| b27c22d977 | |||
| 23c3aafe7d | |||
| 70b2f0f3c5 | |||
| 691bc258a9 | |||
| 70e3cafa84 | |||
| 6a1e8ea635 | |||
| 183a90c0dd | |||
| cb2164241e | |||
| f6aaa24d8a | |||
| 7c0de0b93d | |||
| 8d705444ed | |||
| f9a921ea43 | |||
| ae48e2d17d | |||
| cfecb52849 | |||
| 05bdfe0ce4 | |||
| 38eda5fa6b | |||
| 09822fd7a2 | |||
| 6f70090369 | |||
| 3dc399c521 | |||
| a5f37c125b | |||
| ee574a38cf | |||
| 4aed76c197 | |||
| 199e486263 | |||
| 7cdc54e645 | |||
| 5355044eae | |||
| 099e55bd7e | |||
| 45d37ef626 | |||
| d160a404f8 | |||
| 33ee62ac8d | |||
| 46c1c6e41f | |||
| 1ec64cc35c | |||
| 8a93a0fc26 | |||
| 8d19bd915f | |||
| b386714775 | |||
| 6c4d27a0f1 | |||
| d7873db0c8 | |||
| e52da693db | |||
| b023d46f17 | |||
| 44d1037b6d | |||
| d1d9798265 | |||
| 1803ecf28e | |||
| cd0f9615be | |||
| 22f50ded46 | |||
| 0cb33fa443 | |||
| a3f204edc3 | |||
| 753f94f15d | |||
| aa59f96c65 | |||
| 6a5442f89b | |||
| 47ae2f60e8 | |||
| d02ca19dab | |||
| d26e47b869 | |||
| 94056158af | |||
| 31f54255c3 | |||
| 831de06515 | |||
| 4900ef7f06 | |||
| 3bc323fcf1 | |||
| 2e1afaf72d | |||
| a585a29c54 | |||
| 3a0e10fa03 | |||
| 0094f6bb81 | |||
| b84e57f701 | |||
| ddd5a4ddf2 | |||
| 5fca8e84e2 | |||
| de8f96a20b | |||
| f407d6b440 | |||
| 5336285887 | |||
| 297a478f78 | |||
| 827a3e323d | |||
| 047f67da5c | |||
| dc3d7f7e64 | |||
| 51bb22fb00 | |||
| 61a1963148 | |||
| 73a4fd05ad | |||
| 6b42c662f1 | |||
| 55328d6b6e | |||
| b461a944e3 | |||
| 636544fa45 | |||
| 57482458c1 | |||
| cf50bfd2bb | |||
| 1d4bac11ac | |||
| 41f633dfd9 | |||
| a20a7814ee | |||
| 22a0de5750 | |||
| ff40512aeb | |||
| 8b19a34d2d | |||
| 5dcc728c9d | |||
| 00a6e65c92 | |||
| 84e968ef6f | |||
| 2553bce949 | |||
| 4a357dc47d | |||
| c93f415c7a | |||
| 6ce1fe82c6 | |||
| b97b43c972 | |||
| 0a213eb31e | |||
| 28947a4f66 | |||
| a13bbc9c77 | |||
| 0e1e3e6b6d | |||
| dc7beb2475 | |||
| cc012f749e | |||
| 9c56e89050 | |||
| 6d69f95485 | |||
| 92b4a30156 | |||
| 3deb0f00e7 | |||
| 02a7750c81 | |||
| 285b07f52c | |||
| 24720ee2b4 | |||
| 60a2b76ab8 | |||
| 1b887918aa | |||
| fa57a08669 | |||
| b90c9c4736 | |||
| 3b7be61352 | |||
| 20287e836d | |||
| 2d9bbc5896 | |||
| 2e366fb1f1 | |||
| 9a56b54bf3 | |||
| bc1ffe4d8c | |||
| e17c35d2b7 | |||
| d5ddbe1353 | |||
| b44a6aaba3 | |||
| b5e0bbf60b | |||
| 50dc42bd61 | |||
| 3f76fed824 | |||
| 376c2d604f | |||
| 3e47b3ec20 | |||
| 043261cd62 | |||
| 3b35a5da2c | |||
| d442d986ca | |||
| 95b24bb34d | |||
| c50e079e3b | |||
| 314e74fed7 | |||
| 04c7176644 | |||
| 6c200ef0b2 | |||
| 756f66134d | |||
| 1ebec8e5f2 | |||
| bead722a25 | |||
| 381ed10115 | |||
| caf5dd91cf | |||
| f5bc3958d2 | |||
| 4546c6092c | |||
| c534f2d7a1 | |||
| f78d001a2d | |||
| 740eb1291e | |||
| 35ca3df79e | |||
| 8a7bbc184f | |||
| c2e1aa3b8d | |||
| 10157e7561 | |||
| b5a962960e | |||
| 675e6e22ca | |||
| 555a3d9bb9 | |||
| 6df96f6bb3 | |||
| bd6937eb77 | |||
| 61208fadfa | |||
| b4b0e589bf | |||
| dd8a5bb856 | |||
| b9a60162a6 | |||
| 50d70c9461 | |||
| 09a4572604 | |||
| f378698cbc | |||
| eb7ddcbfc6 | |||
| 5413a2134a | |||
| b73c4abac2 | |||
| 399eeb0494 | |||
| fff0568e5a | |||
| e267f3ae12 | |||
| 87a295e31a | |||
| 5f40e9d620 | |||
| 920fbb2ee7 | |||
| ad111478c5 | |||
| 12dace38f9 | |||
| 2eb962a323 | |||
| 8d8baaa643 | |||
| eb885408d7 | |||
| 583105ee88 | |||
| d13df40076 | |||
| 1173432bfe | |||
| fe4129a44a | |||
| b658c44084 | |||
| ddff553415 | |||
| a499586cbf | |||
| 4a722d32ab | |||
| 5ebdb7613d | |||
| 05491d08c4 | |||
| c736850a0a | |||
| f1aa4defbb | |||
| 3ca6146024 | |||
| 5a6e6b0476 | |||
| 8d12212701 | |||
| 23489d7e9b | |||
| e2b53b55c1 | |||
| 2edd2760bd | |||
| a44f78202b | |||
| c207002d09 | |||
| 622fcb1fcd | |||
| 5b6e3808cf | |||
| 67b8af8172 | |||
| 72da42d4cb | |||
| 7b27c1037a | |||
| 6687b0b163 | |||
| c8d7edadaa | |||
| 4d9aa0c92c | |||
| 41074dbcb7 | |||
| ff336988f2 | |||
| a2534c518b | |||
| 5f3ff56602 | |||
| 3a79ba8dbd | |||
| 6c9833a780 | |||
| 76973a40d9 | |||
| 729468152c | |||
| bbe1bf75e7 | |||
| a152014974 | |||
| d53a7842df | |||
| 1329b00a53 | |||
| c4f3364a62 | |||
| fccb02514b | |||
| 18488b5aa1 | |||
| b1a20d8412 | |||
| 4c39e9e515 | |||
| 337cdbc930 | |||
| a1c04def7a | |||
| 8ea21a2784 | |||
| a7c1718cfe | |||
| f9b2284a85 | |||
| a4d2807273 | |||
| 34be63ed93 | |||
| f2074c444a | |||
| d9eab6a513 | |||
| 88b6a9a82e | |||
| 4c94831671 | |||
| 2c04f096a0 | |||
| 59ad88aff3 | |||
| 88f20de23f | |||
| 30f6765ab5 | |||
| cd335db897 | |||
| 265ef89577 | |||
| ecf831e7df | |||
| b3695fdf19 | |||
| de5b4a3779 | |||
| 05e88cc00b | |||
| a5c0041f10 | |||
| 78b7a993ea | |||
| d51b262a43 | |||
| 3ce30caab8 | |||
| 626b00e6d8 | |||
| bff128c640 | |||
| a6a53586c5 | |||
| 261c776d77 | |||
| 679051c1cb | |||
| 6d44a067a7 | |||
| a6e818b611 | |||
| d24361dcd7 | |||
| 2b79467cb8 | |||
| d5c14e3c4f | |||
| 5922d52fb9 | |||
| e34617515b | |||
| e9096a88d7 | |||
| 274eb6ed03 | |||
| 0fbe5fbe52 | |||
| 848c030367 | |||
| 4ad1a662e8 | |||
| 602b4b9f3c | |||
| 1e7cb61ffa | |||
| 3c95f185cc | |||
| 566731736f | |||
| 6b7112fece | |||
| b2c52e19e2 | |||
| 4cfc15dc01 | |||
| 7b656190c6 | |||
| bb413447a1 | |||
| 4fbff02d57 | |||
| f3ef797451 | |||
| bb0361e58f | |||
| 49bdcb1a8e | |||
| f8d0859bd6 | |||
| 29f744830a | |||
| 1f92244e36 | |||
| e021b64a12 | |||
| 5514a887bf | |||
| 8af85ed10e | |||
| 49e7996d1a | |||
| 110746c70f | |||
| 135b44973a | |||
| 9b78169667 | |||
| 501f503b11 | |||
| 6b435778c1 | |||
| 3158d630c6 | |||
| b4f08dd9b3 | |||
| 56a5d440e7 | |||
| cf5aeb833a | |||
| dfc0926f8d | |||
| b880e64f7c | |||
| f8bf0751e3 | |||
| 294af3fb6e | |||
| aab3431a5f | |||
| 29ab127a73 | |||
| 0ff8714b04 | |||
| cc376b6924 | |||
| 04d0e499c4 | |||
| a6306ec754 | |||
| cfd362ce10 | |||
| 5fb29bfb92 | |||
| 8e97f77d0d | |||
| a2f4ec57ff | |||
| a823181b9b | |||
| ee41582582 | |||
| 870aa612f4 | |||
| 505ebf4708 | |||
| e8c3d96705 | |||
| 0789a637e9 | |||
| aa54562f9b | |||
| 61bdbf395d | |||
| 8ccc6f6fe1 | |||
| 5e40239353 | |||
| 6ece7bc5e9 | |||
| 17f2a6fc69 | |||
| 18d248695b | |||
| 721846b882 | |||
| 758d7ecc96 | |||
| 7edd936bfd | |||
| 062d1553c9 | |||
| bd8c0ec926 | |||
| 24fd7461ff | |||
| e4f821c637 | |||
| 594d9e5156 | |||
| 598f369799 | |||
| 289488e0fc | |||
| 9a656231d1 | |||
| 913aea50e1 | |||
| 163fb5429d | |||
| 4f09df8001 | |||
| e778895947 | |||
| daab5381f5 | |||
| 6c1df2b8b2 | |||
| 7f89b2f350 | |||
| 5d7d060512 | |||
| d2008ffc66 | |||
| 3678e048aa | |||
| 1d0fc3e505 | |||
| e6d1315a15 | |||
| aa359babbb | |||
| 57ad6c6bc8 | |||
| 28dcf0f707 | |||
| c1d7d96f0f | |||
| ecb6da1cd5 | |||
| 4775ccb036 | |||
| 020df19481 | |||
| 4d75bbc6a4 | |||
| 5f721002ed | |||
| f346f4f662 | |||
| d7e3f7188d | |||
| 7f1ce6f9af | |||
| 6e65fb5059 | |||
| a8b62273f2 | |||
| 6be44cdb02 | |||
| e86ae4a985 | |||
| 1222f283b2 | |||
| f559675fd3 | |||
| 8709a92148 | |||
| c45824754d | |||
| ce9ba63426 | |||
| 5ca3c144e3 | |||
| b4811cc766 | |||
| a26a6652e0 | |||
| 304379e252 | |||
| dac7ab069c | |||
| b1ab4c4cb2 | |||
| a89f5cfe56 | |||
| c55fb6abf0 | |||
| 41c2290002 | |||
| 3d60959a00 | |||
| 3322529af1 | |||
| 278843393e | |||
| 206345b284 | |||
| 1f556504a2 | |||
| 29749c290e | |||
| fd6c4cf3d8 | |||
| d12abd6a05 | |||
| ddc3ba6775 | |||
| d20675181d | |||
| bb292c3b62 | |||
| 1c98c8dc9b | |||
| 8f3156ba76 | |||
| 566025c5f4 | |||
| a0402e04c8 | |||
| 6d38e89b3b | |||
| 76d8930c11 | |||
| a7989e5268 | |||
| b92ef89202 | |||
| b66dd8a804 | |||
| f50025ffc1 | |||
| ae9ebe447c | |||
| f683141d1e | |||
| 86d447efa1 | |||
| 92de488918 | |||
| b4a6f76ab3 | |||
| 6f11b5d12b | |||
| fb9cc70109 | |||
| 76febc736c | |||
| 6e1f37ae13 | |||
| f9a50f7612 | |||
| ac07b2c4e7 | |||
| 2c8591a367 | |||
| 7436b3ea6d | |||
| 3d3f1dd1eb | |||
| 5ccb321a0d | |||
| a660d8ef10 | |||
| 57394b90b1 | |||
| cc5c820b43 | |||
| bd7e652c6e | |||
| f3b44e7dc0 | |||
| 73629f70c3 | |||
| cc536b33ef | |||
| 414a445c23 | |||
| 5946c0e124 | |||
| 67fe1eba6d | |||
| ee0951db0e | |||
| 30decec4f5 | |||
| 44e5ff5a37 | |||
| d45b050a4c | |||
| e00d2ce31b | |||
| cf8e38f1b0 | |||
| aeee4192f7 | |||
| 097e37319c | |||
| ae7fb59f68 | |||
| ffbbae40b2 | |||
| 19de321bf2 | |||
| 2dd9de223c | |||
| b387c4c7fe | |||
| da3e7345d5 | |||
| 3380fc4d5b | |||
| 76cdb5e458 | |||
| 50b6cbbc64 | |||
| 6ffa943116 | |||
| c717ffd3d9 | |||
| 9e3f432f68 | |||
| 678dc831c8 | |||
| 97671a307e | |||
| bdef5b0b60 | |||
| d0add25c86 | |||
| 843e825865 | |||
| 4933ed7ec4 | |||
| 6a710c1e6d | |||
| fc59d46ef5 | |||
| 6f07348cb6 | |||
| 43f6678441 | |||
| a4161a6c2f | |||
| a7dcace88f | |||
| 78de15f1f3 | |||
| 4b23d53932 | |||
| bdb244f598 | |||
| 94783510fa | |||
| ed3743984c | |||
| f95f824a00 | |||
| 51af914b18 | |||
| 45657bcf4d | |||
| 56066856de | |||
| 701ef0c8b7 | |||
| ec5b3ec634 | |||
| d6683f7e27 | |||
| 6ebf0c2c6f | |||
| 90b2740b3a | |||
| 47710a5047 | |||
| cb51024da1 | |||
| b1ba9f740b | |||
| 4ceaa6a9b2 | |||
| 841e9bf758 | |||
| 4925aaceff | |||
| 1b5083ced8 | |||
| fb41ae3407 | |||
| f7c452f8bc | |||
| 1424e863fc | |||
| ef325320af | |||
| 61ae8d1ed2 | |||
| ac1a5ea2dc | |||
| 4791f23d46 | |||
| ce9f140b35 | |||
| 5811471512 | |||
| 78c4c62984 | |||
| 6bf9ad9a88 | |||
| 08e23fdd9b | |||
| 5b148f6769 | |||
| ce1047ae28 | |||
| c4931b1163 | |||
| 207e16ea32 | |||
| 7638961cc3 | |||
| 85474cd2c2 | |||
| 4f8fc60479 | |||
| 95cd86768b | |||
| 798143e27e | |||
| 1c66be182f | |||
| 01fb954c86 | |||
| dab0e2bd53 | |||
| 9f6b0dac23 | |||
| 56d8c3735e | |||
| cd35e42338 | |||
| d57882f6b5 | |||
| 92bde130ac | |||
| 329aef1494 | |||
| d600372b15 | |||
| 34bf8fe8ea | |||
| 98de922524 | |||
| 47e1759fcd | |||
| 2e1dd07122 | |||
| f411c3ef18 | |||
| 6bd2df43cc | |||
| 04cf8681dc | |||
| 01a7cbdeba | |||
| 20514ec6b7 | |||
| 07d670db55 | |||
| d23d7693c2 | |||
| cd20c56bb2 | |||
| 69edfc2440 | |||
| 317bdfa82a | |||
| 53bbf1069e | |||
| 03761a65f7 | |||
| eb5eb65e15 | |||
| d565ff0735 | |||
| 6bad39c9c1 | |||
| 9839c9d6b1 | |||
| ba6b6892da | |||
| 46b1cad8e9 | |||
| 8f552cf7c3 | |||
| 469af0eb87 | |||
| 5a11bd6478 | |||
| b97255a5fe | |||
| d65343c5b2 | |||
| 78d98e43cc | |||
| 5d55fc8a07 | |||
| 200e79c66e | |||
| d6c5b356da | |||
| 1310dd12dd | |||
| e1ea210f37 | |||
| dc0bbcb072 | |||
| de4f37e22c | |||
| e810d9ffee | |||
| eb4e3f3d35 | |||
| 001d8cac16 | |||
| d29a7ad88c | |||
| 5264818df5 | |||
| 1f365b5724 | |||
| ea83232533 | |||
| fc65ee68b8 | |||
| ad1184f185 | |||
| c6e6ef7b86 | |||
| 2ec9ca2a5d | |||
| 2f9da87ca5 | |||
| 1050de7b2b | |||
| 5ebc42e9ee | |||
| 38a560eff5 | |||
| 90455ae6a9 | |||
| 644162d19b | |||
| 62a702e245 | |||
| 4d9ed1d883 | |||
| 789866cb88 | |||
| 4b21760c59 | |||
| 4a7c9f8c6e | |||
| b625933eaa | |||
| d67e1e79ba | |||
| 488dbb7a1c | |||
| d6b2c248a0 | |||
| 4e35475647 | |||
| 92a290967b | |||
| 967388fac6 | |||
| af95fd6f39 | |||
| 12a5166817 | |||
| eff738ac09 | |||
| b72f68f0bd | |||
| 8dd38672d4 | |||
| eb52577f32 | |||
| a840108999 | |||
| 59a0cf2761 | |||
| 829fb2edd1 | |||
| c0f6b9c934 | |||
| 655d4877ec | |||
| be0a23e48a | |||
| 2255400c20 | |||
| 1171d6c5fd | |||
| 3a08f3ec7d | |||
| 3b3d53328f | |||
| f2af18a58a | |||
| 7367998917 | |||
| 0ea826af73 | |||
| f1772170c8 | |||
| 33d6d0d037 | |||
| 26b57a13cb | |||
| 205d8b41c1 | |||
| 36688abbfe | |||
| f26fbda860 | |||
| f1578125f9 | |||
| aa8d41f2ed | |||
| dc5799d97f | |||
| 7b48ca1ee1 | |||
| 93038a5a34 | |||
| 4e1b782731 | |||
| 0c894c9723 | |||
| 5c77b98c12 | |||
| 463bc1284f | |||
| 2a755f5ade | |||
| e7abdae326 | |||
| d3b13788b0 | |||
| 2e3e5ce837 | |||
| 3d93fe5e9c | |||
| 1700bd3caa | |||
| 1d4bfb15a8 | |||
| 04f144720a | |||
| 13d9e0af58 | |||
| 8708783594 | |||
| d390b238c5 | |||
| 572b143490 | |||
| c4aec664f2 | |||
| a9a964f01f | |||
| 7a8e24654b | |||
| 270098a46b | |||
| 17044f6485 | |||
| cd6ba91cc7 | |||
| d9aed47a51 | |||
| adeb9f9798 | |||
| a97129e0e5 | |||
| e1a8bc4c51 | |||
| 9e74f293ea | |||
| 98c8946fea | |||
| a7fb7e779d | |||
| feee2c7eaf | |||
| 3e3dcfd420 | |||
| d939c58f69 | |||
| 510a872772 | |||
| 6a292bb0ef | |||
| 47a785a203 | |||
| 96fc5c43a0 | |||
| c4fbd49903 | |||
| d0aaa6ae2e | |||
| 64f4e8f007 | |||
| 81ff195459 | |||
| 0fa25c2a74 | |||
| 6a93dd6687 | |||
| cd12590611 | |||
| c688bdecf7 | |||
| ca06d98541 | |||
| c8d0225a12 | |||
| acd4158f27 | |||
| 8c12fb66f7 | |||
| eae2cd512d | |||
| 1df7af06ac | |||
| f3d674a1f7 | |||
| 8e7801c7b2 | |||
| 21ed56031a | |||
| b8be76b01c | |||
| eec6f76798 | |||
| 13deb1ddd9 | |||
| 1babcdac23 | |||
| ad200de3a8 | |||
| f0631b2da0 | |||
| 8e9dc0446e | |||
| 545f92e55b | |||
| c42ea83494 | |||
| d8c79f2a23 | |||
| b7448fc793 | |||
| cb0455448b | |||
| 264bfed769 | |||
| 55ee1f941c | |||
| 9cfbd99116 | |||
| ff704ae936 | |||
| a2ec7735df | |||
| e49f26091c | |||
| 8a35baa302 | |||
| d66c6e5ea4 | |||
| fcbc16337c | |||
| afa00d493f | |||
| f4d01f5913 | |||
| 32e2b4fc0b | |||
| 69c330a759 | |||
| 4672978a3d | |||
| 3a7b5b23cb | |||
| 3bb01bc371 | |||
| 88c8aa22a9 | |||
| 3752e4fed4 | |||
| bf613e31d2 | |||
| 8dc6c4627b | |||
| 105d643887 | |||
| 413efeb714 | |||
| 069234db2a | |||
| 6255731a3e | |||
| 5b0faea043 | |||
| 4fd73cfed8 | |||
| befc9da530 | |||
| 5683a09f8f | |||
| e5ffb9d887 | |||
| 3b5611b165 | |||
| c51254ef0f | |||
| 15f63f833f | |||
| f25782ff1e | |||
| fa0856a0f1 | |||
| b18081489a | |||
| b0adc0d2a9 | |||
| e2db5d95ff | |||
| cfdd6486e7 | |||
| 573e35b477 | |||
| 590683bbd3 | |||
| 16f39905f5 | |||
| 29d4b6fb81 | |||
| 1991d0b497 | |||
| 9cc973c43a | |||
| fca1b20a90 | |||
| 58f003587f | |||
| 5b80fb029a | |||
| af041ef412 | |||
| 31c3a2304d | |||
| 6b5a16f0bc | |||
| a09796354a | |||
| 496fbdf9ea | |||
| 7d47f62c1b | |||
| 7b676b6ddb | |||
| e768bdfe90 | |||
| 13c51c02da | |||
| 01a4eff8c4 | |||
| 7899248bbd | |||
| 20049d7646 | |||
| 38c8474978 | |||
| 558f8fb138 | |||
| 208f83e1ec | |||
| 42fc61f4bc | |||
| 8fb2b08b23 | |||
| 53e0b346ef | |||
| 1add48d07b | |||
| e95c2038c6 | |||
| 8d7a24c9c4 | |||
| e9ff5eea94 | |||
| 78985d5ea4 | |||
| a743ef8b9f | |||
| 7eb6dc6cf4 | |||
| 5b2b7aff80 | |||
| 53cc049235 | |||
| ee0e6a391a | |||
| 42ad2542f7 | |||
| 2102d1958e | |||
| e58dbd4b51 | |||
| b95a287c01 | |||
| 9cd408968f | |||
| e11b54a62b | |||
| e7a766b80e | |||
| 51209afee1 | |||
| 5939f216de | |||
| 2056a809e8 | |||
| 0485129e36 | |||
| 640d11a828 | |||
| 46f867ac26 | |||
| 160d039208 | |||
| 53f16c93e5 | |||
| 2c1752fa96 | |||
| 23500d49f9 | |||
| 5cb2fd72d1 | |||
| 0bb2ab1b35 | |||
| 7abe325875 | |||
| aacf3425c5 | |||
| 82bab57c21 | |||
| 0ec20e2431 | |||
| b0ddfdc604 | |||
| 869f5668a5 | |||
| 3214b8fd9f | |||
| fc5803a9b1 | |||
| 3916d40a9c | |||
| f7228f23ec | |||
| 6884e4e057 | |||
| a73af8339d | |||
| 944e95f8c2 | |||
| efac2e0a43 | |||
| f54dcb82bb | |||
| f4c89709bf | |||
| 8556549d47 | |||
| 4eeca0baf5 | |||
| d228e41cac | |||
| d5453e60b5 | |||
| 9b35ce5647 | |||
| 0c9e86fe1a | |||
| 6644a8419d | |||
| 6fc30d1777 | |||
| 204ce27814 | |||
| 5f47fde6b1 | |||
| 9657466644 | |||
| a4515ef8b8 | |||
| 31a20f0893 | |||
| 60f58b0cf3 | |||
| 59e5d2f119 | |||
| b7719b36d2 | |||
| ae8cd8b404 | |||
| 3a96a0ff58 | |||
| 140c8d2efa | |||
| ad38bcc02b | |||
| 069f04b173 | |||
| c23215d0e7 | |||
| a99bc8f917 | |||
| fe669b818c | |||
| 5d48ec7a8b | |||
| 0437297d5b | |||
| 2e4d74b5a8 | |||
| 4173200aa2 | |||
| 81a2ccdced | |||
| d21781f855 | |||
| e13da19350 | |||
| de146216f7 | |||
| bccb2a7742 | |||
| e8fea9412d | |||
| c4e5cf7a87 | |||
| 8709029053 | |||
| 2890bcd73a | |||
| 33bb1c385b | |||
| 30057e8170 | |||
| 62f3caebad | |||
| a9b6b07f5b | |||
| f7424e0d0b | |||
| d9b64ab9de | |||
| 3ad1de566a | |||
| 5206e75658 | |||
| 03a6c7d64a | |||
| e3da638e74 | |||
| 1c28461c28 | |||
| 947ec6ff67 | |||
| e7e4fafd85 | |||
| da0995279e | |||
| 7298788802 | |||
| 99228aa4e3 | |||
| 031b6adf90 | |||
| ef9f679f3a | |||
| e83aeec0f4 | |||
| 4d2ec4d1db | |||
| f7fb02521d | |||
| 577a108b0d | |||
| 68157d163d | |||
| 33f2a5473c | |||
| 52d1242ac9 | |||
| 9f97fefed0 | |||
| 235643b486 | |||
| 0dc5ed4d51 | |||
| 6ec0e2a941 | |||
| 6a0e4151c2 | |||
| f918570512 | |||
| bcf800dd1d | |||
| 2f318ac8e5 | |||
| b0b3787d9e | |||
| f48c1a990e | |||
| a809f30cbd | |||
| 3e64476dda | |||
| 312f0d43f2 | |||
| 9ccc84eafb | |||
| 7b904b8af9 | |||
| 341ad0a18e | |||
| e1835be0ed | |||
| 21e7d76832 | |||
| d9ec2e0a69 | |||
| 441b512056 | |||
| 9c9910699b | |||
| 933c673a1c | |||
| c404243761 | |||
| 81953d1db7 | |||
| f5f08bcc22 | |||
| f5822d1482 | |||
| 155efd073e | |||
| 8deb7ca789 | |||
| 29324fcb92 | |||
| 67bd7fe33f | |||
| a7bbd35636 | |||
| bea1bd0a99 | |||
| 7e956f80fc | |||
| 8407118f6e | |||
| 2489548322 | |||
| e3f9db95a1 | |||
| 7224329a66 | |||
| 398dd9579e | |||
| 0073b83ef0 | |||
| 5cd5a6c9bb | |||
| 1c5b9245e4 | |||
| 8160c99c83 | |||
| 9195382451 | |||
| 736f138507 | |||
| 921822c07f | |||
| 546631e076 | |||
| e4ab638f93 | |||
| 53f3bb62a8 | |||
| e0de385a28 | |||
| 4cfee5bd58 | |||
| dbd24a5a1e | |||
| 12b3f3e930 | |||
| 512778013f | |||
| aa0832d3ba | |||
| 83745aa012 | |||
| dc5aa1b4a7 | |||
| b30b77431c | |||
| 5b56ca08bd | |||
| b667b78faa | |||
| 8e5c8d2aaa | |||
| 40f7e0bb47 | |||
| 7ea68e4d98 | |||
| 7993fd3183 | |||
| 2391fef067 | |||
| 9811f485d2 | |||
| bb08c7ec98 | |||
| 2f77cb0e39 | |||
| 722cb630c4 | |||
| a0d27c1eba | |||
| 2268184b13 | |||
| 684b9faad0 | |||
| c989c258c4 | |||
| e6cba9b879 | |||
| 4bc84223ee | |||
| 941728adad | |||
| b75fcde24d | |||
| 09d7aa75b7 | |||
| 8ba414adec | |||
| ea6b96239a | |||
| 814be42213 | |||
| 2e786f9bd3 | |||
| affca093fc | |||
| 8d761b4bf8 | |||
| 790204ef51 | |||
| 233169cfea | |||
| eb93040427 | |||
| 787c97d830 | |||
| 4640ddeaea | |||
| 49efc02641 | |||
| 63222fc107 | |||
| 2e9f9cef98 | |||
| 184411f7b5 | |||
| 58ed13bbc0 | |||
| 4710db4abf | |||
| 23b794d591 | |||
| 8bdaff5901 | |||
| b573f3080e | |||
| 65237a1dce | |||
| 5af2402bbd | |||
| 7aa7059704 | |||
| ec96a6bb68 | |||
| 9ae27231d0 | |||
| a4bb5e62ec | |||
| f809b3d850 | |||
| 4f25198848 | |||
| 84d056cee7 | |||
| 1429fd5e64 | |||
| f9c27d6e98 | |||
| 7838139edc | |||
| c279021d04 | |||
| 04d08a885e | |||
| 2fdf1110f7 | |||
| 257448039d | |||
| 4797add8dd | |||
| e46861761e | |||
| d90363bab4 | |||
| c1b9b1e720 | |||
| b64288c86a | |||
| b18cf53e81 | |||
| 6ba2f5a11f | |||
| 175ebe2845 | |||
| 4ef59d4439 | |||
| 65423809fa | |||
| d382d1d159 | |||
| c8e6edbda1 | |||
| a500b721a2 | |||
| b644f64737 | |||
| 81f13e4e22 | |||
| cfe917374e | |||
| 9b1df7c720 | |||
| cad0ed56a2 | |||
| 48ac5f3aff | |||
| 61a0e34a57 | |||
| 6724bcaf5c | |||
| 6fc8473933 | |||
| 505951489d | |||
| 2314b686b0 | |||
| e08033b887 | |||
| 6dc72c982c | |||
| 4febc76384 | |||
| 84cab2b651 | |||
| f697a5a2a0 | |||
| 5d1dfc40fe | |||
| 775a97ee72 | |||
| f8e5779466 | |||
| b4443d5212 | |||
| 4122fd6978 | |||
| 2fd2134361 | |||
| be238df9e5 | |||
| 39a380d6e2 | |||
| c901b13ffe | |||
| 120ff4fd5e | |||
| cbdc0cbd7f | |||
| 0a4220be7c | |||
| 4b4c4374bf | |||
| 8cb096fe63 | |||
| 98b98ca072 | |||
| 73b5c5c838 | |||
| df05a5c8fa | |||
| b584c6e1d4 | |||
| 7925a9af28 | |||
| f69f9968f9 | |||
| 225782f07d | |||
| bc96ed650e | |||
| 75d1d958b5 | |||
| 92254a1f11 | |||
| 4d20640389 | |||
| bae3f5574e | |||
| 21ed1cdf15 | |||
| 8b299c151d | |||
| 00b59d1f7e | |||
| f78fb303d3 | |||
| 8915a1da71 | |||
| 783fac82b7 | |||
| 27090139da | |||
| 2c689c7569 | |||
| 64fb0be61c | |||
| 68b554db11 | |||
| ce6f83123f | |||
| 337dc4c9d7 | |||
| a4f2850da5 | |||
| d4b1f68504 | |||
| 7ba5abeff7 | |||
| ff8d97d388 | |||
| 37102c00b6 | |||
| 4d940e53f8 | |||
| 8a6e85b966 | |||
| 243a8b0e32 | |||
| 8015d65b01 | |||
| fbabffb529 | |||
| 6d16a6b9c5 | |||
| e6888a4505 | |||
| 9dd992febf | |||
| 1a706bb703 | |||
| e5bdc398a9 | |||
| ceca10e677 | |||
| 29a2730198 | |||
| 5ad399dabe | |||
| dba502ad58 | |||
| dddcc1ebd9 | |||
| 73ca9f2bfe | |||
| 2c3ff472bc | |||
| cdbfac352b | |||
| fcaf8fd2fa | |||
| c816e98135 | |||
| 1137accc96 | |||
| 47c76052ef | |||
| 6943b60759 | |||
| 43d5e889d0 | |||
| 0bec53b59d | |||
| 66c1ba5f2d | |||
| 83b707c01f | |||
| ff3589917b | |||
| 72b55771b0 | |||
| 46d2ef3384 | |||
| cd518fc59a | |||
| 75411b6783 | |||
| 08e3f5e81f | |||
| d1b04e85b3 | |||
| 5fa20b73fe | |||
| 7f4f56975c | |||
| ac8cf2f494 | |||
| 2262bafe22 | |||
| 73c4484848 | |||
| 7d1b69c01d | |||
| b531d12ebb | |||
| a695a219fa | |||
| 62f2d9beac | |||
| d3d43df442 | |||
| f62f2131ec | |||
| ab191e9464 | |||
| 277b65f172 | |||
| b6f5ee9711 | |||
| 0f158852f0 | |||
| b426e3900c | |||
| 6c790db7fe | |||
| 99e97cfe17 | |||
| 97ccdfc1ea | |||
| 5bf57d1426 | |||
| 79a16cc155 | |||
| 85e07e740f | |||
| b016b2f26b | |||
| 87eff6c892 | |||
| 1d33076c88 | |||
| 4e622e5bb1 | |||
| 45b7c5eaf5 | |||
| 99d4aaec95 | |||
| 0cbc427de4 | |||
| 2ccba5f4e8 | |||
| 745a03ae75 | |||
| fe4d2fa19d | |||
| d1cfc76a0e | |||
| 56b772d142 | |||
| b3b3449a5f | |||
| 84d5a71cff | |||
| c95bbdd081 | |||
| 5bd4722089 | |||
| b83a038840 | |||
| 7743c35f35 | |||
| 82194cd861 | |||
| 09397f86b8 | |||
| a7ef8a5206 | |||
| 854509d17e | |||
| 05778d3836 | |||
| 81dd2059c9 | |||
| 8cb733e336 | |||
| 87be5ae921 | |||
| 4db45a4f96 | |||
| 3457dd6ae3 | |||
| 7567d416d9 | |||
| 3e7dd6e3d3 | |||
| 99f78152f0 | |||
| 1e61ad0454 | |||
| fe534efa97 | |||
| f0113bb609 | |||
| 6be0f7bdd5 | |||
| 2b31800e2f | |||
| 65875f1e9b | |||
| d3bfb671d4 | |||
| 6024ec4159 | |||
| 2bfc609dbe | |||
| 691ecb3ce5 | |||
| b1437a0da0 | |||
| df2658cb7b | |||
| 74a1d6bacf | |||
| c2efa67ddd | |||
| b09f8e3e7e | |||
| 9d4a223369 | |||
| e22dbfe966 | |||
| 93b0e29937 | |||
| fa8b5327f8 | |||
| c0d4128e58 | |||
| d46938c380 | |||
| 0bfd7a364f | |||
| 3e9a443ae6 | |||
| f643d494e1 | |||
| 4de8b801fc | |||
| 4a00ff5720 | |||
| cd1580f56c | |||
| d0e2ec299b | |||
| d8d84ce15d | |||
| b15355cec2 | |||
| 7f6c325c98 | |||
| ba96ee01e7 | |||
| f5d263f3a8 | |||
| 1fd23420a4 | |||
| 59fca82af1 | |||
| fa1201a553 | |||
| 9758d947c7 | |||
| 97508d9af2 | |||
| 1dbf7b6083 | |||
| 55366b520e | |||
| 59eed6e8eb | |||
| 16438f7380 | |||
| a93a4bc761 | |||
| 9f8af65d42 | |||
| 776a028c4d | |||
| 5022717145 | |||
| 7eb9edd0b4 | |||
| 5e1919098a | |||
| 593fc03d52 | |||
| 4fb88622f8 | |||
| 040bb4e5e0 | |||
| 7eabb2f6a9 | |||
| a0aea9d498 | |||
| febafeb8a0 | |||
| e683a00d90 | |||
| d13d4d720d | |||
| 0651a4ead6 | |||
| 1fe3029df4 | |||
| 41d94ba4bf | |||
| 6b9af06365 | |||
| fd8079a076 | |||
| d1c002b79b | |||
| 7a97dfd1c9 | |||
| 9cb5555ecb | |||
| 2bd0118211 | |||
| 3e6d5ed3de | |||
| 9f05b50f39 | |||
| 202378b48e | |||
| 8d74790a2e | |||
| 911a1cda9e | |||
| 45043f72ec | |||
| 5080642b2b | |||
| 62b450deb8 | |||
| 9f4bb76d62 | |||
| 96566ad744 | |||
| d2c19459e0 | |||
| a1bfb5ed59 | |||
| f8a12622c2 | |||
| 639ac3df20 | |||
| 65d12e04e0 | |||
| f7818481ab | |||
| 076185abb4 | |||
| d96f76a9eb | |||
| 8e43ef2da8 | |||
| 36b3e6c367 | |||
| 63eb0dd47a | |||
| 1501eb5040 | |||
| b633c20ff9 | |||
| e77d6af167 | |||
| 07cf3c024e | |||
| 6c31297bbf | |||
| e219320f49 | |||
| 508cfeade3 | |||
| 529a989936 | |||
| 967d869367 | |||
| 9402025f32 | |||
| 3cbb0a71c7 | |||
| ac5c2d8b47 | |||
| 34424f28b1 | |||
| e53e232975 | |||
| be09b4d207 | |||
| 8695a575ea | |||
| 0963d0e9de | |||
| 7535d16d34 | |||
| ba9f6a322c | |||
| ed190c3586 | |||
| cca3ab34ea | |||
| c9294ba3af | |||
| 63aec62e07 | |||
| 7863ea0914 | |||
| 5566c01e1e | |||
| d51d60e4dc | |||
| 3e999261ce | |||
| 54b92d2510 | |||
| 690dad8ece | |||
| ea23788124 | |||
| 07a31aaf12 | |||
| b57deb756d | |||
| 8fdf51b852 | |||
| 020e059779 | |||
| c9262b1fda | |||
| 7bcddf5894 | |||
| a5cdb59574 | |||
| 048f503ec3 | |||
| 39f8955f1d | |||
| 2932d21521 | |||
| 884c2bcd56 | |||
| 1fb63b5e7f | |||
| 22bea2fb2f | |||
| 90bb61d0ed | |||
| a248670163 | |||
| 7524245e81 | |||
| 057c743540 | |||
| 44c2e7d3de | |||
| 47dde3c5d0 | |||
| 6413b26edf | |||
| eff6a7fd32 | |||
| 91edc7e162 | |||
| bf4ff1e991 | |||
| f06cb49e57 | |||
| 928978ebba | |||
| 4e05894f91 | |||
| 71057d03eb | |||
| 9e5236eb7b | |||
| 49bd9d48e7 | |||
| 440bb707bd | |||
| 551b9d3632 | |||
| 452d51f45b | |||
| fbbf0eed47 | |||
| c65da14706 | |||
| cb365d21a3 | |||
| b532ee7abb | |||
| 7feffc9467 | |||
| d4ddd0447e | |||
| ea3fcd3e20 | |||
| c55767203a | |||
| d66962b61b | |||
| dcb4817b28 | |||
| 5c58c8e51d | |||
| b9769d83e3 | |||
| 2757fe3ba4 | |||
| 3a35a02122 | |||
| 6aa9442830 | |||
| 451205c5a3 | |||
| d337c3d986 | |||
| 1e3a11a3bd | |||
| 28a54b75f7 | |||
| 92b346d6f5 | |||
| f869fe3f58 | |||
| d1ea57cc6b | |||
| c6e9c16056 | |||
| 817e8d3f11 | |||
| 223528455c | |||
| 99dc31d6e5 | |||
| 640e8590dc | |||
| 78d451fa9f | |||
| a7ce0c2395 | |||
| e21c9a3e1f | |||
| 90e8c98822 | |||
| 0605de6997 | |||
| e3b7f4fddf | |||
| 6fcf43d06b | |||
| c9baed3300 | |||
| 67897747c8 | |||
| 9d55036b25 | |||
| c056d97ee1 | |||
| 0747a3c017 | |||
| 8065ca1458 | |||
| f0405aeef1 | |||
| 807437c152 | |||
| 1e598a9992 | |||
| b4115e12de | |||
| 17c48ffbbf | |||
| fab539292f | |||
| 4c6ed9f0b9 | |||
| e2ce76cb04 | |||
| a5e371f0e7 | |||
| 1f0d5b0319 | |||
| a1f059abc0 | |||
| 0a0d1ccc46 | |||
| cc625eac0c | |||
| 516e317034 | |||
| d76e4f1a46 | |||
| 96bd7d8fd9 | |||
| a401d21d46 | |||
| 8cbceada88 | |||
| eda3969b6f | |||
| d1f3242358 | |||
| 130955e8e9 | |||
| 3306526b0c | |||
| f7b682a4d8 | |||
| 4146917d58 | |||
| 4df292837a | |||
| 7aaaf7ca88 | |||
| 5af612915d | |||
| 6eebc6a306 | |||
| 59103d9ef4 | |||
| 4dd4c42a58 | |||
| 2567630c84 | |||
| 5a228ba0eb | |||
| 5844f2e49b | |||
| f18e13ec27 | |||
| 166ea890dd | |||
| 64688ae66f | |||
| 822a2fbbd6 | |||
| 865e59290b | |||
| 954c6fe0dc | |||
| 3c2af05ed6 | |||
| 4e1c2d8be6 | |||
| 442c51d302 | |||
| e30befc3ed | |||
| 1bd4ee12a2 | |||
| 230de6036f | |||
| 784373a597 | |||
| 0b377672f9 | |||
| 759858a290 | |||
| 285b89048c | |||
| f8eef1e46b | |||
| c188bf0014 | |||
| 31b1b88136 | |||
| 50d6f16dcf | |||
| f02ef9bd48 | |||
| 2ace39a9e4 | |||
| 6ea64f9abd | |||
| c5d8c56019 | |||
| 5d8311e418 | |||
| feb5738ed9 | |||
| e1d68c0349 | |||
| e813be9e4a | |||
| 757de86c1a | |||
| e0f01b73ae | |||
| f7d32eb6db | |||
| c358d67b0e | |||
| 75d0a14c1b | |||
| c37846894b | |||
| 736a121e7a | |||
| 687fa84630 | |||
| a21e2aa66d | |||
| a210665f60 | |||
| 45babf5e9b | |||
| 1a4fb4849d | |||
| 38c04841b0 | |||
| 6ba9bd4d18 | |||
| c4497fbb7d | |||
| b28aea39ec | |||
| 28da8a75c8 | |||
| 7157b5d503 | |||
| 655c72ccf3 | |||
| 5a75ae3876 | |||
| 208e0e8f52 | |||
| 23b8bf5272 | |||
| d47399762a | |||
| de786dd13a | |||
| 29ba1945ca | |||
| 4651671071 | |||
| f23295495d | |||
| bd4ad142ac | |||
| 0fbb3def9d | |||
| 4daa689ecb | |||
| 9415654234 | |||
| 42ce71322d | |||
| 0a99a7f0cc | |||
| 982d41dd48 | |||
| f22bfd5afe | |||
| 3b542c6492 | |||
| 74d387b001 | |||
| d9bf749484 | |||
| 56c563de07 | |||
| 80135ecdea | |||
| 93ab8a63f6 | |||
| 4fa42a16f9 | |||
| a981350a71 | |||
| 7b6afdb696 | |||
| 4641d49d95 | |||
| c81cf9eafd | |||
| c1ae3ecf8b | |||
| 1c82c0fffe | |||
| 1e1f926a2f | |||
| a636174d88 | |||
| f6977e889e | |||
| 1f4fc9b769 | |||
| 459b72a444 | |||
| 590f6c2a7f | |||
| df7592088f | |||
| d6826a11d8 | |||
| fd24946449 | |||
| 45711a61f9 | |||
| 91691284c6 | |||
| 13a478aa1b | |||
| 9e76a6df96 | |||
| b349ee53ec | |||
| 983004ee27 | |||
| 6ce1a59544 | |||
| 905869823f | |||
| 9a9a4f52bf | |||
| e69d6dda2c | |||
| 211bef5dbf | |||
| 68a1d3b0bc | |||
| 841657321a | |||
| a0e2be14a7 | |||
| d3130f5416 | |||
| 75059219a7 | |||
| 869a2667a8 | |||
| 6569960212 | |||
| 0afbef41ba | |||
| 9f6f27f4d1 | |||
| 78dc32e028 | |||
| 0bd073bb35 | |||
| 93e2337a14 | |||
| 81d33b35c8 | |||
| eb58efe3ff | |||
| d28e8fe64a | |||
| 79a9dbd5e5 | |||
| 2ceb336ee3 | |||
| cf3f52d09f | |||
| 95349ef191 | |||
| 61a86b492d | |||
| 2ed7258efb | |||
| 31af7b6bca | |||
| 6bc3f71b2f | |||
| dc3d0ebfe0 | |||
| 3172a4a56f | |||
| e9be741086 | |||
| 13ed1a9bd7 | |||
| 16c1419b36 | |||
| c37f2938c4 | |||
| df0b6d4d9e | |||
| d8a04d025e | |||
| 300ce179ff | |||
| 5b2f0f44c5 | |||
| f004dafbfe | |||
| 7667aebf62 | |||
| c1c28974ee | |||
| a54a49f753 | |||
| 904cdd5a36 | |||
| e13926e051 | |||
| ddeb6fefd3 | |||
| 6635370d82 | |||
| 3587c0982f | |||
| bfd3e56e49 | |||
| d57f4596c3 | |||
| 7ff8638b1d | |||
| 969fd973c7 | |||
| 21b0808c10 | |||
| 560e5852b2 | |||
| 098cd4c013 | |||
| e0fced0693 | |||
| d6c3935b80 | |||
| f9a239fa77 | |||
| fcd5d3a651 | |||
| a23207e40b | |||
| e2c189a558 | |||
| 59f066c3f5 | |||
| 69b78c5e28 | |||
| 6ec37de330 | |||
| cca1c4779c | |||
| 677b49ff8e | |||
| 443488a1fa | |||
| c02769d654 | |||
| 704cc8f0ba | |||
| 40fbd2c9a8 | |||
| d5e6e83d66 | |||
| 90490429fe | |||
| 1c46170a40 | |||
| 17b6ead4cc | |||
| b9bcf5fd43 | |||
| 8296dc7a5a | |||
| 60f3ff6136 | |||
| da14de174d | |||
| 61e644b0a1 | |||
| d68909fc8f | |||
| ba1595dcff | |||
| eb3bd915fc | |||
| 2b8125c29f | |||
| 72bd5674ff | |||
| 77b919ef8c | |||
| feff2004da | |||
| a6f0133b7c | |||
| 742e879ee1 | |||
| 60ac55fd07 | |||
| a0c069839b | |||
| f90874ed29 | |||
| 4296365370 | |||
| 16aa8075e1 | |||
| 9637475f9f | |||
| 2986972eec | |||
| 852b5686bb | |||
| 8f401ba08c | |||
| d191dc4169 | |||
| 31b3e1f432 | |||
| 9110b5f747 | |||
| 381b389256 | |||
| 733d2095dd | |||
| ad57073cbe | |||
| 4b5b9ca026 | |||
| 2e23470005 | |||
| 62446983cd | |||
| 40ada9c030 | |||
| 72c8d7e699 | |||
| ba2c2cb763 | |||
| 3b7d6459e8 | |||
| db1caf3624 | |||
| 7cb9b6bf58 | |||
| 894db02078 | |||
| ccfc7091bc | |||
| b4bec633de | |||
| 21c554335b | |||
| 267d5c0f17 | |||
| e402f1ac3a | |||
| 5aa1a6e15b |
+4
-1
@@ -31,9 +31,12 @@ Debug*/
|
||||
\#*
|
||||
*.bak
|
||||
*.cbTemp
|
||||
*.swp
|
||||
*.sw?
|
||||
gmon.out
|
||||
|
||||
# System Files
|
||||
Thumbs.db
|
||||
.DS_Store
|
||||
core
|
||||
tags
|
||||
cscope.*
|
||||
|
||||
+2
-2
@@ -39,7 +39,7 @@ ADD_EXECUTABLE(cataclysm ${CataclysmDDA_SRCS} ${CataclysmDDA_HDRS})
|
||||
ADD_CUSTOM_COMMAND(
|
||||
TARGET cataclysm PRE_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/data $<TARGET_FILE_DIR:cataclysm>/data
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/LICENSE $<TARGET_FILE_DIR:cataclysm> # Don't forget the license :)
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/LICENSE.txt $<TARGET_FILE_DIR:cataclysm> # Don't forget the license :)
|
||||
)
|
||||
|
||||
IF(MINGW)
|
||||
@@ -75,7 +75,7 @@ IF(SDL OR TILES)
|
||||
|
||||
Include(FindSDL_image)
|
||||
TARGET_LINK_LIBRARIES(cataclysm ${SDLIMAGE_LIBRARY})
|
||||
ADD_DEFINITIONS(-DSDLTILES)
|
||||
ADD_DEFINITIONS(-DSDLTILES -DTILES)
|
||||
ELSE()
|
||||
ADD_DEFINITIONS(-DTILES)
|
||||
ENDIF()
|
||||
|
||||
+80
-15
@@ -8,23 +8,25 @@
|
||||
<Build>
|
||||
<Target title="Release">
|
||||
<Option output="Cataclysm" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option object_output="obj\Release\" />
|
||||
<Option type="0" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-Os" />
|
||||
<Add option="-O2" />
|
||||
<Add option="-DRELEASE=1" />
|
||||
</Compiler>
|
||||
</Target>
|
||||
<Target title="Release - Localized">
|
||||
<Option output="Cataclysm" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option object_output="obj\Release\" />
|
||||
<Option type="0" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-Os" />
|
||||
<Add option="-O2" />
|
||||
<Add option="-DLOCALIZE" />
|
||||
<Add option="-DRELEASE=1" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add library="intl" />
|
||||
@@ -33,22 +35,34 @@
|
||||
</Target>
|
||||
<Target title="Release -SDL">
|
||||
<Option output="Cataclysm" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option object_output="obj\Release\" />
|
||||
<Option type="0" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-Os" />
|
||||
<Add option="-O2" />
|
||||
<Add option="-DTILES" />
|
||||
<Add option="-DRELEASE=1" />
|
||||
<Add directory="WinDepend\SDLttf\SDL_ttf-2.0.11\include" />
|
||||
<Add directory="WinDepend\SDL-1.2.15\include\SDL" />
|
||||
<Add directory="WinDepend\SDLImg_binVC\SDL_image-1.2.12\include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add library="libSDL.dll" />
|
||||
<Add library="SDL_ttf" />
|
||||
<Add library="WinDepend\SDLttf\SDL_ttf-2.0.11\lib\x86\SDL_ttf.lib" />
|
||||
<Add library="WinDepend\SDL-1.2.15\lib\libSDL.dll.a" />
|
||||
<Add library="WinDepend\SDL-1.2.15\lib\libSDLmain.a" />
|
||||
<Add library="WinDepend\SDLImg_binVC\SDL_image-1.2.12\lib\x86\SDL_image.lib" />
|
||||
<Add directory="WinDepend\SDL-1.2.15\lib" />
|
||||
<Add directory="WinDepend\SDLttf\SDL_ttf-2.0.11\lib\x86" />
|
||||
<Add directory="WinDepend\libiconv\lib" />
|
||||
<Add directory="WinDepend\SDLImg_binVC\SDL_image-1.2.12\lib\x86" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release -SDL -Localized">
|
||||
<Option output="Cataclysm" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option object_output="obj\Release\" />
|
||||
<Option type="0" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
@@ -56,17 +70,28 @@
|
||||
<Add option="-O2" />
|
||||
<Add option="-DLOCALIZE" />
|
||||
<Add option="-DTILES" />
|
||||
<Add option="-DSDLTILES" />
|
||||
<Add option="-DRELEASE=1" />
|
||||
<Add directory="WinDepend\SDLttf\SDL_ttf-2.0.11\include" />
|
||||
<Add directory="WinDepend\SDL-1.2.15\include\SDL" />
|
||||
<Add directory="WinDepend\SDLImg_binVC\SDL_image-1.2.12\include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add library="intl" />
|
||||
<Add library="iconv" />
|
||||
<Add library="libSDL.dll" />
|
||||
<Add library="SDL_ttf" />
|
||||
<Add library="WinDepend\SDLttf\SDL_ttf-2.0.11\lib\x86\SDL_ttf.lib" />
|
||||
<Add library="WinDepend\SDL-1.2.15\lib\libSDL.dll.a" />
|
||||
<Add library="WinDepend\SDL-1.2.15\lib\libSDLmain.a" />
|
||||
<Add library="WinDepend\SDLImg_binVC\SDL_image-1.2.12\lib\x86\SDL_image.lib" />
|
||||
<Add directory="WinDepend\SDL-1.2.15\lib" />
|
||||
<Add directory="WinDepend\SDLttf\SDL_ttf-2.0.11\lib\x86" />
|
||||
<Add directory="WinDepend\libiconv\lib" />
|
||||
<Add directory="WinDepend\SDLImg_binVC\SDL_image-1.2.12\lib\x86" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Debug">
|
||||
<Option output="Cataclysm" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option object_output="obj\Debug\" />
|
||||
<Option type="0" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
@@ -79,7 +104,7 @@
|
||||
</Target>
|
||||
<Target title="Debug - Localized">
|
||||
<Option output="Cataclysm" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option object_output="obj\Debug\" />
|
||||
<Option type="0" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
@@ -95,7 +120,7 @@
|
||||
</Target>
|
||||
<Target title="Release - Tile Support">
|
||||
<Option output="Cataclysm-Tiles" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/TilesRelease/" />
|
||||
<Option object_output="obj\TilesRelease\" />
|
||||
<Option type="0" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
@@ -103,6 +128,7 @@
|
||||
<Add option="-O2" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-DSDLTILES" />
|
||||
<Add option="-DTILES" />
|
||||
<Add directory="3rdparty/include/SDL" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
@@ -111,8 +137,32 @@
|
||||
<Add library="3rdparty\lib\libSDLmain.a" />
|
||||
<Add library="3rdparty\lib\x86\SDL_image.lib" />
|
||||
<Add library="3rdparty\lib\x86\SDL_ttf.lib" />
|
||||
<Add directory="3rdparty/lib" />
|
||||
<Add directory="3rdparty/lib/x86" />
|
||||
<Add directory="3rdparty\lib" />
|
||||
<Add directory="3rdparty\lib\x86" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Debug - Tile Support">
|
||||
<Option output="Cataclysm-Tiles" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj\TilesRelease\" />
|
||||
<Option type="0" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-Os" />
|
||||
<Add option="-O2" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
<Add option="-DSDLTILES" />
|
||||
<Add option="-DTILES" />
|
||||
<Add directory="3rdparty/include/SDL" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add library="3rdparty\lib\libSDL.dll.a" />
|
||||
<Add library="3rdparty\lib\libSDLmain.a" />
|
||||
<Add library="3rdparty\lib\x86\SDL_image.lib" />
|
||||
<Add library="3rdparty\lib\x86\SDL_ttf.lib" />
|
||||
<Add directory="3rdparty\lib" />
|
||||
<Add directory="3rdparty\lib\x86" />
|
||||
</Linker>
|
||||
</Target>
|
||||
</Build>
|
||||
@@ -156,14 +206,15 @@
|
||||
<Unit filename="catacharset.cpp" />
|
||||
<Unit filename="catacharset.h" />
|
||||
<Unit filename="catacurse.h" />
|
||||
<Unit filename="catajson.cpp" />
|
||||
<Unit filename="catajson.h" />
|
||||
<Unit filename="char_validity_check.cpp" />
|
||||
<Unit filename="char_validity_check.h" />
|
||||
<Unit filename="color.cpp" />
|
||||
<Unit filename="color.h" />
|
||||
<Unit filename="computer.cpp" />
|
||||
<Unit filename="computer.h" />
|
||||
<Unit filename="construction.cpp" />
|
||||
<Unit filename="construction.h" />
|
||||
<Unit filename="coordinates.h" />
|
||||
<Unit filename="crafting.cpp" />
|
||||
<Unit filename="crafting.h" />
|
||||
<Unit filename="cursesdef.h" />
|
||||
@@ -183,6 +234,8 @@
|
||||
<Unit filename="faction.h" />
|
||||
<Unit filename="field.cpp" />
|
||||
<Unit filename="field.h" />
|
||||
<Unit filename="file_finder.cpp" />
|
||||
<Unit filename="file_finder.h" />
|
||||
<Unit filename="game.cpp" />
|
||||
<Unit filename="game.h" />
|
||||
<Unit filename="gamemode.cpp" />
|
||||
@@ -196,6 +249,8 @@
|
||||
<Unit filename="helper.h" />
|
||||
<Unit filename="iexamine.cpp" />
|
||||
<Unit filename="iexamine.h" />
|
||||
<Unit filename="init.cpp" />
|
||||
<Unit filename="init.h" />
|
||||
<Unit filename="input.cpp" />
|
||||
<Unit filename="input.h" />
|
||||
<Unit filename="inventory.cpp" />
|
||||
@@ -219,6 +274,8 @@
|
||||
<Unit filename="iuse_software_snake.h" />
|
||||
<Unit filename="iuse_software_sokoban.cpp" />
|
||||
<Unit filename="iuse_software_sokoban.h" />
|
||||
<Unit filename="json.cpp" />
|
||||
<Unit filename="json.h" />
|
||||
<Unit filename="keypress.cpp" />
|
||||
<Unit filename="keypress.h" />
|
||||
<Unit filename="lightmap.cpp" />
|
||||
@@ -237,6 +294,8 @@
|
||||
<Unit filename="mapgenformat.cpp" />
|
||||
<Unit filename="mapgenformat.h" />
|
||||
<Unit filename="mapitems.h" />
|
||||
<Unit filename="martialarts.cpp" />
|
||||
<Unit filename="martialarts.h" />
|
||||
<Unit filename="material.cpp" />
|
||||
<Unit filename="material.h" />
|
||||
<Unit filename="melee.cpp" />
|
||||
@@ -247,6 +306,7 @@
|
||||
<Unit filename="mission_place.cpp" />
|
||||
<Unit filename="mission_start.cpp" />
|
||||
<Unit filename="missiondef.cpp" />
|
||||
<Unit filename="mod_factory.h" />
|
||||
<Unit filename="monattack.cpp" />
|
||||
<Unit filename="monattack.h" />
|
||||
<Unit filename="mondeath.cpp" />
|
||||
@@ -257,6 +317,8 @@
|
||||
<Unit filename="monmove.cpp" />
|
||||
<Unit filename="monster.cpp" />
|
||||
<Unit filename="monster.h" />
|
||||
<Unit filename="monstergenerator.cpp" />
|
||||
<Unit filename="monstergenerator.h" />
|
||||
<Unit filename="morale.h" />
|
||||
<Unit filename="moraledata.h" />
|
||||
<Unit filename="mtype.h" />
|
||||
@@ -296,7 +358,8 @@
|
||||
</Unit>
|
||||
<Unit filename="rng.cpp" />
|
||||
<Unit filename="rng.h" />
|
||||
<Unit filename="sdlcurse.cpp" />
|
||||
<Unit filename="savegame_json.cpp" />
|
||||
<Unit filename="savegame_legacy.cpp" />
|
||||
<Unit filename="sdltiles.cpp" />
|
||||
<Unit filename="settlement.cpp" />
|
||||
<Unit filename="settlement.h" />
|
||||
@@ -309,6 +372,7 @@
|
||||
<Unit filename="tile_id_data.h" />
|
||||
<Unit filename="tileray.cpp" />
|
||||
<Unit filename="tileray.h" />
|
||||
<Unit filename="translations.cpp" />
|
||||
<Unit filename="translations.h" />
|
||||
<Unit filename="trap.h" />
|
||||
<Unit filename="trapdef.cpp" />
|
||||
@@ -325,7 +389,6 @@
|
||||
<Unit filename="vehicle.cpp" />
|
||||
<Unit filename="vehicle.h" />
|
||||
<Unit filename="version.cpp" />
|
||||
<Unit filename="version.h" />
|
||||
<Unit filename="wcwidth.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
@@ -335,6 +398,8 @@
|
||||
<Unit filename="weather_data.cpp" />
|
||||
<Unit filename="wincurse.cpp" />
|
||||
<Unit filename="wish.cpp" />
|
||||
<Unit filename="worldfactory.cpp" />
|
||||
<Unit filename="worldfactory.h" />
|
||||
<Extensions>
|
||||
<code_completion />
|
||||
<debugger />
|
||||
|
||||
@@ -29,10 +29,9 @@
|
||||
# (for example: make LANGUAGES="zh_CN zh_TW" for Chinese)
|
||||
|
||||
# comment these to toggle them as one sees fit.
|
||||
# WARNINGS will spam hundreds of warnings, mostly safe, if turned on
|
||||
# DEBUG is best turned on if you plan to debug in gdb -- please do!
|
||||
# PROFILE is for use with gprof or a similar program -- don't bother generally
|
||||
WARNINGS = -Wall -Wextra -Wno-switch -Wno-sign-compare -Wno-missing-braces -Wno-unused-parameter
|
||||
WARNINGS = -Werror -Wall -Wextra -Wno-switch -Wno-sign-compare -Wno-missing-braces -Wno-unused-parameter -Wno-narrowing -Wno-maybe-uninitialized
|
||||
# Uncomment below to disable warnings
|
||||
#WARNINGS = -w
|
||||
DEBUG = -g
|
||||
@@ -55,7 +54,7 @@ DEBUG = -g
|
||||
#DEFINES += -DDEBUG_ENABLE_MAP_GEN
|
||||
#DEFINES += -DDEBUG_ENABLE_GAME
|
||||
|
||||
VERSION = 0.8
|
||||
VERSION = 0.9
|
||||
|
||||
|
||||
TARGET = cataclysm
|
||||
@@ -85,6 +84,13 @@ ifdef RELEASE
|
||||
DEBUG =
|
||||
endif
|
||||
|
||||
ifdef CLANG
|
||||
CXX = $(CROSS)clang++
|
||||
LD = $(CROSS)clang++
|
||||
OTHERS = --std=c++98 --analyze -fixit
|
||||
WARNINGS = -Wall -Wextra -Wno-switch -Wno-sign-compare -Wno-missing-braces -Wno-unused-parameter -Wno-type-limits -Wno-narrowing
|
||||
endif
|
||||
|
||||
CXXFLAGS += $(WARNINGS) $(DEBUG) $(PROFILE) $(OTHERS) -MMD
|
||||
|
||||
BINDIST_EXTRAS = README.md data
|
||||
@@ -127,6 +133,7 @@ ifeq ($(NATIVE), osx)
|
||||
OSX_MIN = 10.5
|
||||
DEFINES += -DMACOSX
|
||||
CXXFLAGS += -mmacosx-version-min=$(OSX_MIN)
|
||||
WARNINGS = -Werror -Wall -Wextra -Wno-switch -Wno-sign-compare -Wno-missing-braces -Wno-unused-parameter
|
||||
ifeq ($(LOCALIZE), 1)
|
||||
LDFLAGS += -lintl
|
||||
endif
|
||||
@@ -200,9 +207,8 @@ ifdef SDL
|
||||
endif
|
||||
ifdef TILES
|
||||
DEFINES += -DSDLTILES
|
||||
else
|
||||
DEFINES += -DTILES
|
||||
endif
|
||||
DEFINES += -DTILES
|
||||
ifeq ($(TARGETSYSTEM),WINDOWS)
|
||||
LDFLAGS += -lgdi32 -ldxguid -lwinmm -ljpeg -lpng
|
||||
TARGET = $(W32TILESTARGET)
|
||||
@@ -218,7 +224,11 @@ else
|
||||
ifeq ($(shell sh -c 'uname -o 2>/dev/null || echo not'),Darwin)
|
||||
LDFLAGS += -lncurses
|
||||
else
|
||||
LDFLAGS += -lncursesw
|
||||
ifeq ($(NATIVE), osx)
|
||||
LDFLAGS += -lncurses
|
||||
else
|
||||
LDFLAGS += -lncursesw
|
||||
endif
|
||||
endif
|
||||
# Work around Cygwin not including gettext support in glibc
|
||||
ifeq ($(shell sh -c 'uname -o 2>/dev/null || echo not'),Cygwin)
|
||||
|
||||
@@ -33,3 +33,4 @@ Angela Graves <Rivet.the.Zombie@gmail.com>
|
||||
Ian Strachan <ian_e_strachan@hotmail.com>
|
||||
Greg McNew <gmcnew@gmail.com>
|
||||
NaturesWitness <natureswitness@gmail.com>
|
||||
CodeHero <codehero@nerdpol.ch>
|
||||
|
||||
+303
-14
@@ -1,13 +1,16 @@
|
||||
#include "game.h"
|
||||
#include "action.h"
|
||||
#include "keypress.h"
|
||||
#include "output.h"
|
||||
#include <istream>
|
||||
#include <sstream>
|
||||
#include <fstream>
|
||||
|
||||
std::map<char, action_id> keymap;
|
||||
std::map<char, action_id> default_keymap;
|
||||
|
||||
void parse_keymap(std::istream &keymap_txt, std::map<char, action_id> &kmap);
|
||||
|
||||
void game::load_keyboard_settings()
|
||||
void load_keyboard_settings()
|
||||
{
|
||||
// Load the default keymap
|
||||
std::istringstream sin;
|
||||
@@ -34,11 +37,10 @@ void game::load_keyboard_settings()
|
||||
|
||||
// Check for new defaults, and automatically bind them if possible
|
||||
std::map<char, action_id>::iterator d_it;
|
||||
bool found;
|
||||
for (d_it = default_keymap.begin(); d_it != default_keymap.end(); d_it++) {
|
||||
found = false;
|
||||
for (d_it = default_keymap.begin(); d_it != default_keymap.end(); ++d_it) {
|
||||
bool found = false;
|
||||
std::map<char, action_id>::iterator k_it;
|
||||
for (k_it = keymap.begin(); k_it != keymap.end(); k_it++) {
|
||||
for (k_it = keymap.begin(); k_it != keymap.end(); ++k_it) {
|
||||
if (d_it->second == k_it->second) {
|
||||
found = true;
|
||||
break;
|
||||
@@ -87,7 +89,7 @@ Fix data/keymap.txt at your next chance!", ch, id.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
void game::save_keymap()
|
||||
void save_keymap()
|
||||
{
|
||||
std::ofstream fout;
|
||||
fout.open("data/keymap.txt");
|
||||
@@ -97,17 +99,17 @@ void game::save_keymap()
|
||||
return;
|
||||
}
|
||||
std::map<char, action_id>::iterator it;
|
||||
for (it = keymap.begin(); it != keymap.end(); it++)
|
||||
for (it = keymap.begin(); it != keymap.end(); ++it)
|
||||
fout << action_ident( (*it).second ) << " " << (*it).first << std::endl;
|
||||
|
||||
fout.close();
|
||||
}
|
||||
|
||||
std::vector<char> game::keys_bound_to(action_id act)
|
||||
std::vector<char> keys_bound_to(action_id act)
|
||||
{
|
||||
std::vector<char> ret;
|
||||
std::map<char, action_id>::iterator it;
|
||||
for (it = keymap.begin(); it != keymap.end(); it++) {
|
||||
for (it = keymap.begin(); it != keymap.end(); ++it) {
|
||||
if ( (*it).second == act )
|
||||
ret.push_back( (*it).first );
|
||||
}
|
||||
@@ -115,10 +117,10 @@ std::vector<char> game::keys_bound_to(action_id act)
|
||||
return ret;
|
||||
}
|
||||
|
||||
void game::clear_bindings(action_id act)
|
||||
void clear_bindings(action_id act)
|
||||
{
|
||||
std::map<char, action_id>::iterator it;
|
||||
for (it = keymap.begin(); it != keymap.end(); it++) {
|
||||
for (it = keymap.begin(); it != keymap.end(); ++it) {
|
||||
if ( (*it).second == act ) {
|
||||
keymap.erase(it);
|
||||
it = keymap.begin();
|
||||
@@ -287,8 +289,9 @@ std::string action_ident(action_id act)
|
||||
return "debug_mode";
|
||||
case ACTION_NULL:
|
||||
return "null";
|
||||
default:
|
||||
return "unkown";
|
||||
}
|
||||
return "unknown";
|
||||
}
|
||||
|
||||
action_id look_up_action(std::string ident)
|
||||
@@ -465,7 +468,293 @@ std::string action_name(action_id act)
|
||||
return _("Toggle Debug Messages");
|
||||
case ACTION_NULL:
|
||||
return _("No Action");
|
||||
default:
|
||||
return "Someone forgot to name an action.";
|
||||
}
|
||||
}
|
||||
|
||||
void get_direction(int &x, int &y, char ch)
|
||||
{
|
||||
x = 0;
|
||||
y = 0;
|
||||
action_id act;
|
||||
if (keymap.find(ch) == keymap.end()) {
|
||||
act = ACTION_NULL;
|
||||
} else {
|
||||
act = keymap[ch];
|
||||
}
|
||||
|
||||
switch (act) {
|
||||
case ACTION_MOVE_NW:
|
||||
x = -1;
|
||||
y = -1;
|
||||
return;
|
||||
case ACTION_MOVE_NE:
|
||||
x = 1;
|
||||
y = -1;
|
||||
return;
|
||||
case ACTION_MOVE_W:
|
||||
x = -1;
|
||||
return;
|
||||
case ACTION_MOVE_S:
|
||||
y = 1;
|
||||
return;
|
||||
case ACTION_MOVE_N:
|
||||
y = -1;
|
||||
return;
|
||||
case ACTION_MOVE_E:
|
||||
x = 1;
|
||||
return;
|
||||
case ACTION_MOVE_SW:
|
||||
x = -1;
|
||||
y = 1;
|
||||
return;
|
||||
case ACTION_MOVE_SE:
|
||||
x = 1;
|
||||
y = 1;
|
||||
return;
|
||||
case ACTION_PAUSE:
|
||||
case ACTION_PICKUP:
|
||||
x = 0;
|
||||
y = 0;
|
||||
return;
|
||||
default:
|
||||
x = -2;
|
||||
y = -2;
|
||||
}
|
||||
}
|
||||
|
||||
std::string default_keymap_txt()
|
||||
{
|
||||
return "\
|
||||
# This is the keymapping for Cataclysm.\n\
|
||||
# You can start a line with # to make it a comment--it will be ignored.\n\
|
||||
# Blank lines are ignored too.\n\
|
||||
# Extra whitespace, including tab, is ignored, so format things how you like.\n\
|
||||
# If you wish to restore defaults, simply remove this file.\n\
|
||||
\n\
|
||||
# The format for each line is an action identifier, followed by several\n\
|
||||
# keys. Any action may have an unlimited number of keys bound to it.\n\
|
||||
# If you bind the same key to multiple actions, the second and subsequent\n\
|
||||
# bindings will be ignored--and you'll get a warning when the game starts.\n\
|
||||
# Keys are case-sensitive, of course; c and C are different.\n\
|
||||
\n\
|
||||
# WARNING: If you skip an action identifier, there will be no key bound to\n\
|
||||
# that action! You will be NOT be warned of this when the game starts.\n\
|
||||
# If you're going to mess with stuff, maybe you should back this file up?\n\
|
||||
\n\
|
||||
# It is okay to split commands across lines.\n\
|
||||
# pause . 5 is equivalent to:\n\
|
||||
# pause .\n\
|
||||
# pause 5\n\
|
||||
\n\
|
||||
# Note that movement keybindings ONLY apply to movement (for now).\n\
|
||||
# That is, binding w to move_n will let you use w to move north, but you\n\
|
||||
# cannot use w to smash north, examine to the north, etc.\n\
|
||||
# For now, you must use vikeys, the numpad, or arrow keys for those actions.\n\
|
||||
# This is planned to change in the future.\n\
|
||||
\n\
|
||||
# Finally, there is no support for special keys, like spacebar, Home, and\n\
|
||||
# so on. This is not a planned feature, but if it's important to you, please\n\
|
||||
# let me know.\n\
|
||||
\n\
|
||||
# MOVEMENT:\n\
|
||||
pause . 5\n\
|
||||
move_n k 8\n\
|
||||
move_ne u 9\n\
|
||||
move_e l 6\n\
|
||||
move_se n 3\n\
|
||||
move_s j 2\n\
|
||||
move_sw b 1\n\
|
||||
move_w h 4\n\
|
||||
move_nw y 7\n\
|
||||
move_down >\n\
|
||||
move_up <\n\
|
||||
\n\
|
||||
# MOVEMENT:\n\
|
||||
center :\n\
|
||||
shift_n K\n\
|
||||
shift_e L\n\
|
||||
shift_s J\n\
|
||||
shift_w H\n\
|
||||
\n\
|
||||
# ENVIRONMENT INTERACTION\n\
|
||||
open o\n\
|
||||
close c\n\
|
||||
smash s\n\
|
||||
examine e\n\
|
||||
advinv /\n\
|
||||
pickup , g\n\
|
||||
grab G\n\
|
||||
butcher B\n\
|
||||
chat C\n\
|
||||
look ; x\n\
|
||||
peek X\n\
|
||||
listitems V\n\
|
||||
\n\
|
||||
# INVENTORY & QUASI-INVENTORY INTERACTION\n\
|
||||
inventory i\n\
|
||||
compare I\n\
|
||||
organize =\n\
|
||||
apply a\n\
|
||||
apply_wielded A\n\
|
||||
wear W\n\
|
||||
take_off T\n\
|
||||
eat E\n\
|
||||
read R\n\
|
||||
wield w\n\
|
||||
pick_style _\n\
|
||||
reload r\n\
|
||||
unload U\n\
|
||||
throw t\n\
|
||||
fire f\n\
|
||||
#fire_burst F\n\
|
||||
select_fire_mode F\n\
|
||||
drop d\n\
|
||||
drop_adj D\n\
|
||||
bionics p\n\
|
||||
sort_armor +\n\
|
||||
\n\
|
||||
# LONG TERM & SPECIAL ACTIONS\n\
|
||||
wait |\n\
|
||||
craft &\n\
|
||||
recraft -\n\
|
||||
construct *\n\
|
||||
disassemble (\n\
|
||||
sleep $\n\
|
||||
control_vehicle ^\n\
|
||||
safemode !\n\
|
||||
autosafe \"\n\
|
||||
ignore_enemy '\n\
|
||||
save S\n\
|
||||
quit Q\n\
|
||||
\n\
|
||||
# INFO SCREENS\n\
|
||||
player_data @\n\
|
||||
map m\n\
|
||||
missions M\n\
|
||||
factions #\n\
|
||||
kills )\n\
|
||||
morale v\n\
|
||||
messages P\n\
|
||||
help ?\n\
|
||||
\n\
|
||||
# DEBUG FUNCTIONS\n\
|
||||
debug_mode ~\n\
|
||||
# debug Z\n\
|
||||
# debug_scent -\n\
|
||||
";
|
||||
}
|
||||
|
||||
// (Press X (or Y)|Try) to Z
|
||||
std::string press_x(action_id act)
|
||||
{
|
||||
return press_x(act,_("Press "),"",_("Try"));
|
||||
}
|
||||
std::string press_x(action_id act, std::string key_bound, std::string key_unbound)
|
||||
{
|
||||
return press_x(act,key_bound,"",key_unbound);
|
||||
}
|
||||
std::string press_x(action_id act, std::string key_bound_pre, std::string key_bound_suf, std::string key_unbound)
|
||||
{
|
||||
std::vector<char> keys = keys_bound_to( action_id(act) );
|
||||
if (keys.empty()) {
|
||||
return key_unbound;
|
||||
} else {
|
||||
std::string keyed = key_bound_pre.append("");
|
||||
for (int j = 0; j < keys.size(); j++) {
|
||||
if (keys[j] == '\'' || keys[j] == '"'){
|
||||
if (j < keys.size() - 1) {
|
||||
keyed += keys[j]; keyed += _(" or ");
|
||||
} else {
|
||||
keyed += keys[j];
|
||||
}
|
||||
} else {
|
||||
if (j < keys.size() - 1) {
|
||||
keyed += "'"; keyed += keys[j]; keyed += _("' or ");
|
||||
} else {
|
||||
if (keys[j] == '_') {
|
||||
keyed += _("'_' (underscore)");
|
||||
} else {
|
||||
keyed += "'"; keyed += keys[j]; keyed += "'";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return keyed.append(key_bound_suf.c_str());
|
||||
}
|
||||
}
|
||||
// ('Z'ing|zing) (\(X( or Y))\))
|
||||
std::string press_x(action_id act, std::string act_desc)
|
||||
{
|
||||
bool key_after=false;
|
||||
bool z_ing=false;
|
||||
char zing = tolower(act_desc.at(0));
|
||||
std::vector<char> keys = keys_bound_to( action_id(act) );
|
||||
if (keys.empty()) {
|
||||
return act_desc;
|
||||
} else {
|
||||
std::string keyed = ("");
|
||||
for (int j = 0; j < keys.size(); j++) {
|
||||
if (tolower(keys[j])==zing) {
|
||||
if (z_ing) {
|
||||
keyed.replace(1,1,1,act_desc.at(0));
|
||||
if (key_after) {
|
||||
keyed += _(" or '");
|
||||
keyed += (islower(act_desc.at(0)) ? toupper(act_desc.at(0))
|
||||
: tolower(act_desc.at(0)));
|
||||
keyed += "'";
|
||||
} else {
|
||||
keyed +=" ('";
|
||||
keyed += (islower(act_desc.at(0)) ? toupper(act_desc.at(0))
|
||||
: tolower(act_desc.at(0)));
|
||||
keyed += "'";
|
||||
key_after=true;
|
||||
}
|
||||
} else {
|
||||
std::string uhh="";
|
||||
if (keys[j] == '\'' || keys[j] == '"'){
|
||||
uhh+="("; uhh+=keys[j]; uhh+=")";
|
||||
} else {
|
||||
uhh+="'"; uhh+=keys[j]; uhh+="'";
|
||||
}
|
||||
if(act_desc.length()>1) {
|
||||
uhh+=act_desc.substr(1);
|
||||
}
|
||||
if (keys[j] == '_') {
|
||||
uhh += _(" (underscore)");
|
||||
}
|
||||
keyed.insert(0,uhh);
|
||||
z_ing=true;
|
||||
}
|
||||
} else {
|
||||
if (key_after) {
|
||||
if (keys[j] == '\'' || keys[j] == '"'){
|
||||
keyed += _(" or "); keyed += keys[j];
|
||||
} else if (keys[j] == '_') {
|
||||
keyed += _("or '_' (underscore)");
|
||||
} else {
|
||||
keyed+=_(" or '"); keyed+=keys[j]; keyed+="'";
|
||||
}
|
||||
} else {
|
||||
if (keys[j] == '\'' || keys[j] == '"'){
|
||||
keyed += " ("; keyed += keys[j];
|
||||
} else if (keys[j] == '_') {
|
||||
keyed += _(" ('_' (underscore)");
|
||||
} else {
|
||||
keyed += " ('"; keyed+=keys[j]; keyed+="'";
|
||||
}
|
||||
key_after=true;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!z_ing) {
|
||||
keyed.insert(0,act_desc);
|
||||
}
|
||||
if (key_after) {
|
||||
keyed+=")";
|
||||
}
|
||||
return keyed;
|
||||
}
|
||||
return "Someone forgot to name an action.";
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
#ifndef _ACTION_H_
|
||||
#define _ACTION_H_
|
||||
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
enum action_id {
|
||||
ACTION_NULL = 0,
|
||||
// Movement
|
||||
@@ -91,8 +95,30 @@ ACTION_TOGGLE_DEBUGMON,
|
||||
NUM_ACTIONS
|
||||
};
|
||||
|
||||
extern std::map<char, action_id> keymap;
|
||||
|
||||
// Load keybindings from disk
|
||||
void load_keyboard_settings();
|
||||
std::string default_keymap_txt();
|
||||
// Save keybindings to disk
|
||||
void save_keymap();
|
||||
// All keys bound to act
|
||||
std::vector<char> keys_bound_to(action_id act);
|
||||
// Delete all keys bound to act
|
||||
void clear_bindings(action_id act);
|
||||
action_id look_up_action(std::string ident);
|
||||
std::string action_ident(action_id);
|
||||
std::string action_name(action_id);
|
||||
// Use the keymap to figure out direction properly
|
||||
void get_direction(int &x, int &y, char ch);
|
||||
// (Press X (or Y)|Try) to Z
|
||||
std::string press_x(action_id act);
|
||||
std::string press_x(action_id act, std::string key_bound,
|
||||
std::string key_unbound);
|
||||
std::string press_x(action_id act, std::string key_bound_pre,
|
||||
std::string key_bound_suf, std::string key_unbound);
|
||||
// ('Z'ing|zing) (X( or Y)))
|
||||
std::string press_x(action_id act, std::string act_desc);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
+34
-46
@@ -8,7 +8,6 @@ void addict_effect(game *g, addiction &add)
|
||||
case ADD_CIG:
|
||||
if (in > 20 || one_in((500 - 20 * in))) {
|
||||
g->add_msg(rng(0, 6) < in ? _("You need a cigarette.") : _("You could use a cigarette."));
|
||||
g->cancel_activity_query(_("You have a nicotine craving."));
|
||||
g->u.add_morale(MORALE_CRAVING_NICOTINE, -15, -50);
|
||||
if (one_in(800 - 50 * in)) {
|
||||
g->u.fatigue++;
|
||||
@@ -23,7 +22,6 @@ void addict_effect(game *g, addiction &add)
|
||||
g->u.moves -= 2;
|
||||
if (in > 20 || one_in((500 - 20 * in))) {
|
||||
g->add_msg(_("You want some caffeine."));
|
||||
g->cancel_activity_query(_("You have a caffeine craving."));
|
||||
g->u.add_morale(MORALE_CRAVING_CAFFEINE, -5, -30);
|
||||
if (g->u.stim > -150 && rng(0, 10) < in) {
|
||||
g->u.stim--;
|
||||
@@ -38,16 +36,14 @@ void addict_effect(game *g, addiction &add)
|
||||
case ADD_ALCOHOL:
|
||||
g->u.per_cur--;
|
||||
g->u.int_cur--;
|
||||
if (rng(40, 1200) <= in * 10) {
|
||||
if (rng(40, 1200) <= in * 10 && g->u.health > -100) {
|
||||
g->u.health--;
|
||||
}
|
||||
if (one_in(20) && rng(0, 20) < in) {
|
||||
g->add_msg(_("You could use a drink."));
|
||||
g->cancel_activity_query(_("You have an alcohol craving."));
|
||||
g->u.add_morale(MORALE_CRAVING_ALCOHOL, -35, -120);
|
||||
} else if (rng(8, 300) < in) {
|
||||
g->add_msg(_("Your hands start shaking... you need a drink bad!"));
|
||||
g->cancel_activity_query(_("You have an alcohol craving."));
|
||||
g->u.add_morale(MORALE_CRAVING_ALCOHOL, -35, -120);
|
||||
g->u.add_disease("shakes", 50);
|
||||
} else if (!g->u.has_disease("hallu") && rng(10, 1600) < in) {
|
||||
@@ -76,18 +72,16 @@ void addict_effect(game *g, addiction &add)
|
||||
if (g->u.pain < in * 3) {
|
||||
g->u.pain++;
|
||||
}
|
||||
if (in >= 40 || one_in((1200 - 30 * in))) {
|
||||
if ((in >= 40 || one_in(1200 - 30 * in)) && g->u.health > -100) {
|
||||
g->u.health--;
|
||||
}
|
||||
if (one_in(20) && dice(2, 20) < in) {
|
||||
g->add_msg(_("Your hands start shaking... you need some painkillers."));
|
||||
g->cancel_activity_query(_("You have an opiate craving."));
|
||||
g->u.add_morale(MORALE_CRAVING_OPIATE, -40, -200);
|
||||
g->u.add_disease("shakes", 20 + in * 5);
|
||||
} else if (one_in(20) && dice(2, 30) < in) {
|
||||
g->add_msg(_("You feel anxious. You need your painkillers!"));
|
||||
g->u.add_morale(MORALE_CRAVING_OPIATE, -30, -200);
|
||||
g->cancel_activity_query(_("You have a craving."));
|
||||
} else if (one_in(50) && dice(3, 50) < in) {
|
||||
g->add_msg(_("You throw up heavily!"));
|
||||
g->cancel_activity_query(_("Throwing up."));
|
||||
@@ -107,16 +101,14 @@ void addict_effect(game *g, addiction &add)
|
||||
if (g->u.stim > -100 && (in >= 20 || int(g->turn) % (100 - in * 5) == 0)) {
|
||||
g->u.stim--;
|
||||
}
|
||||
if (rng(0, 150) <= in) {
|
||||
if (rng(0, 150) <= in && g->u.health > -100) {
|
||||
g->u.health--;
|
||||
}
|
||||
if (dice(2, 100) < in) {
|
||||
g->add_msg(_("You feel depressed. Speed would help."));
|
||||
g->cancel_activity_query(_("You have a speed craving."));
|
||||
g->u.add_morale(MORALE_CRAVING_SPEED, -25, -200);
|
||||
} else if (one_in(10) && dice(2, 80) < in) {
|
||||
g->add_msg(_("Your hands start shaking... you need a pick-me-up."));
|
||||
g->cancel_activity_query(_("You have a speed craving."));
|
||||
g->u.add_morale(MORALE_CRAVING_SPEED, -25, -200);
|
||||
g->u.add_disease("shakes", in * 20);
|
||||
} else if (one_in(50) && dice(2, 100) < in) {
|
||||
@@ -133,12 +125,10 @@ void addict_effect(game *g, addiction &add)
|
||||
g->u.per_cur--;
|
||||
if (in >= 30 || one_in((900 - 30 * in))) {
|
||||
g->add_msg(_("You feel like you need a bump."));
|
||||
g->cancel_activity_query(_("You have a craving for cocaine."));
|
||||
g->u.add_morale(MORALE_CRAVING_COCAINE, -20, -250);
|
||||
}
|
||||
if (dice(2, 80) <= in) {
|
||||
g->add_msg(_("You feel like you need a bump."));
|
||||
g->cancel_activity_query(_("You have a craving for cocaine."));
|
||||
g->u.add_morale(MORALE_CRAVING_COCAINE, -20, -250);
|
||||
if (g->u.stim > -150) {
|
||||
g->u.stim -= 3;
|
||||
@@ -151,12 +141,10 @@ void addict_effect(game *g, addiction &add)
|
||||
g->u.per_cur--;
|
||||
if (in >= 30 || one_in((900 - 30 * in))) {
|
||||
g->add_msg(_("You're shivering, you need some crack."));
|
||||
g->cancel_activity_query(_("You have a craving for crack."));
|
||||
g->u.add_morale(MORALE_CRAVING_CRACK, -80, -250);
|
||||
}
|
||||
if (dice(2, 80) <= in) {
|
||||
g->add_msg(_("You're shivering, you need some crack."));
|
||||
g->cancel_activity_query(_("You have a craving for crack."));
|
||||
g->u.add_morale(MORALE_CRAVING_CRACK, -80, -250);
|
||||
if (g->u.stim > -150) {
|
||||
g->u.stim -= 3;
|
||||
@@ -172,32 +160,32 @@ void addict_effect(game *g, addiction &add)
|
||||
*/
|
||||
std::string addiction_type_name(add_type cur)
|
||||
{
|
||||
switch(cur) {
|
||||
case ADD_CIG: return _("nicotine");
|
||||
case ADD_CAFFEINE: return _("caffeine");
|
||||
case ADD_ALCOHOL: return _("alcohol");
|
||||
case ADD_SLEEP: return _("sleeping pills");
|
||||
case ADD_PKILLER: return _("opiates");
|
||||
case ADD_SPEED: return _("amphetamine");
|
||||
case ADD_COKE: return _("cocaine");
|
||||
case ADD_CRACK: return _("crack cocaine");
|
||||
default: return "bugs in addiction.cpp";
|
||||
}
|
||||
switch(cur) {
|
||||
case ADD_CIG: return _("nicotine");
|
||||
case ADD_CAFFEINE: return _("caffeine");
|
||||
case ADD_ALCOHOL: return _("alcohol");
|
||||
case ADD_SLEEP: return _("sleeping pills");
|
||||
case ADD_PKILLER: return _("opiates");
|
||||
case ADD_SPEED: return _("amphetamine");
|
||||
case ADD_COKE: return _("cocaine");
|
||||
case ADD_CRACK: return _("crack cocaine");
|
||||
default: return "bugs in addiction.cpp";
|
||||
}
|
||||
}
|
||||
|
||||
std::string addiction_name(addiction cur)
|
||||
{
|
||||
switch (cur.type) {
|
||||
case ADD_CIG: return _("Nicotine Withdrawal");
|
||||
case ADD_CAFFEINE: return _("Caffeine Withdrawal");
|
||||
case ADD_ALCOHOL: return _("Alcohol Withdrawal");
|
||||
case ADD_SLEEP: return _("Sleeping Pill Dependance");
|
||||
case ADD_PKILLER: return _("Opiate Withdrawal");
|
||||
case ADD_SPEED: return _("Amphetamine Withdrawal");
|
||||
case ADD_COKE: return _("Cocaine Withdrawal");
|
||||
case ADD_CRACK: return _("Crack Cocaine Withdrawal");
|
||||
default: return "Erroneous addiction";
|
||||
}
|
||||
switch (cur.type) {
|
||||
case ADD_CIG: return _("Nicotine Withdrawal");
|
||||
case ADD_CAFFEINE: return _("Caffeine Withdrawal");
|
||||
case ADD_ALCOHOL: return _("Alcohol Withdrawal");
|
||||
case ADD_SLEEP: return _("Sleeping Pill Dependance");
|
||||
case ADD_PKILLER: return _("Opiate Withdrawal");
|
||||
case ADD_SPEED: return _("Amphetamine Withdrawal");
|
||||
case ADD_COKE: return _("Cocaine Withdrawal");
|
||||
case ADD_CRACK: return _("Crack Cocaine Withdrawal");
|
||||
default: return "Erroneous addiction";
|
||||
}
|
||||
}
|
||||
|
||||
morale_type addiction_craving(add_type cur)
|
||||
@@ -217,23 +205,23 @@ morale_type addiction_craving(add_type cur)
|
||||
add_type addiction_type(std::string name)
|
||||
{
|
||||
if (name == "nicotine")
|
||||
return ADD_CIG;
|
||||
return ADD_CIG;
|
||||
else if (name == "caffeine")
|
||||
return ADD_CAFFEINE;
|
||||
return ADD_CAFFEINE;
|
||||
else if (name == "alcohol")
|
||||
return ADD_ALCOHOL;
|
||||
return ADD_ALCOHOL;
|
||||
else if (name == "sleeping pill")
|
||||
return ADD_SLEEP;
|
||||
return ADD_SLEEP;
|
||||
else if (name == "opiate")
|
||||
return ADD_PKILLER;
|
||||
return ADD_PKILLER;
|
||||
else if (name == "amphetamine")
|
||||
return ADD_SPEED;
|
||||
return ADD_SPEED;
|
||||
else if (name == "cocaine")
|
||||
return ADD_COKE;
|
||||
return ADD_COKE;
|
||||
else if (name == "crack")
|
||||
return ADD_CRACK;
|
||||
return ADD_CRACK;
|
||||
else
|
||||
return ADD_NULL;
|
||||
return ADD_NULL;
|
||||
}
|
||||
|
||||
std::string addiction_text(addiction cur)
|
||||
|
||||
+78
-25
@@ -183,7 +183,7 @@ void advanced_inventory::print_items(advanced_inventory_pane &pane, bool active)
|
||||
}
|
||||
|
||||
if( isinventory && items[i].stacks > 1 ) {
|
||||
mvwprintz(window, 6 + x, amount_column, thiscolor, "[%d]", items[i].stacks);
|
||||
mvwprintz(window, 6 + x, amount_column, thiscolor, "x %d", items[i].stacks);
|
||||
} else if ( isall ) {
|
||||
mvwprintz(window, 6 + x, amount_column, thiscolor, "%s", squares[items[i].area].shortname.c_str());
|
||||
}
|
||||
@@ -324,7 +324,7 @@ void advanced_inv_update_area( advanced_inv_area &area, game *g ) {
|
||||
area.max_size = MAX_ITEM_IN_VEHICLE_STORAGE;
|
||||
area.max_volume = area.veh->max_volume(area.vstor);
|
||||
} else {
|
||||
area.canputitems=(!(g->m.has_flag(noitem,u.posx+area.offx,u.posy+area.offy)) && !(g->m.has_flag(sealed,u.posx+area.offx,u.posy+area.offy) ));
|
||||
area.canputitems=(!(g->m.has_flag("NOITEM",u.posx+area.offx,u.posy+area.offy)) && !(g->m.has_flag("SEALED",u.posx+area.offx,u.posy+area.offy) ));
|
||||
area.size = g->m.i_at(u.posx+area.offx,u.posy+area.offy).size();
|
||||
area.max_size = MAX_ITEM_IN_SQUARE;
|
||||
area.max_volume = g->m.max_volume(u.posx+area.offx,u.posy+area.offy);
|
||||
@@ -433,7 +433,7 @@ void advanced_inventory::init(game *gp, player *pp)
|
||||
|
||||
src = left; // the active screen , 0 for left , 1 for right.
|
||||
dest = right;
|
||||
max_inv = inv_chars.size() - p->worn.size() - ( p->is_armed() || p->weapon.is_style() ? 1 : 0 );
|
||||
max_inv = inv_chars.size() - p->worn.size() - ( p->is_armed() ? 1 : 0 );
|
||||
examineScroll = false;
|
||||
filter_edit = false;
|
||||
}
|
||||
@@ -468,7 +468,6 @@ void advanced_inventory::recalc_pane(int i)
|
||||
int aweight = 0;
|
||||
|
||||
if(panes[i].area == isinventory) {
|
||||
|
||||
const invslice & stacks = u.inv.slice(0, u.inv.size());
|
||||
for( int x = 0; x < stacks.size(); ++x ) {
|
||||
item &item = stacks[x]->front();
|
||||
@@ -712,7 +711,7 @@ void advanced_inventory::display(game * gp, player * pp) {
|
||||
|
||||
if(redraw || panes[0].redraw || panes[1].redraw ) // any redraw = redraw everything except opposite
|
||||
{
|
||||
max_inv = inv_chars.size() - u.worn.size() - ( u.is_armed() || u.weapon.is_style() ? 1 : 0 );
|
||||
max_inv = inv_chars.size() - u.worn.size() - ( u.is_armed() ? 1 : 0 );
|
||||
for (int i = 0; i < 2; i++) {
|
||||
if ( redraw || panes[i].redraw ) {
|
||||
redraw_pane( i );
|
||||
@@ -858,30 +857,29 @@ void advanced_inventory::display(game * gp, player * pp) {
|
||||
if(panes[src].area == isinventory) {
|
||||
|
||||
int max = (squares[destarea].max_size - squares[destarea].size);
|
||||
int volmax = max;
|
||||
int free_volume = ( squares[ destarea ].vstor >= 0 ?
|
||||
squares[ destarea ].veh->free_volume( squares[ destarea ].vstor ) :
|
||||
m.free_volume ( squares[ destarea ].x, squares[ destarea ].y )
|
||||
) * 100;
|
||||
) * 1000;
|
||||
// TODO figure out a better way to get the item. Without invlets.
|
||||
item* it = &u.inv.slice(item_pos, 1).front()->front();
|
||||
std::list<item>& stack = u.inv.stack_by_letter(it->invlet);
|
||||
|
||||
int amount = 1;
|
||||
int volume = it->volume() * 100; // sigh
|
||||
|
||||
// int volume = it->volume() * 100; // sigh
|
||||
int volume = it->precise_unit_volume();
|
||||
bool askamount = false;
|
||||
if ( stack.size() > 1) {
|
||||
amount = stack.size();
|
||||
askamount = true;
|
||||
} else if ( it->count_by_charges() ) {
|
||||
amount = it->charges;
|
||||
volume = it->type->volume;
|
||||
// volume = it->type->volume;
|
||||
askamount = true;
|
||||
}
|
||||
|
||||
if ( volume > 0 && volume * amount > free_volume ) {
|
||||
volmax = int( free_volume / volume );
|
||||
int volmax = int( free_volume / volume );
|
||||
if ( volmax == 0 ) {
|
||||
popup(_("Destination area is full. Remove some items first."));
|
||||
continue;
|
||||
@@ -1004,39 +1002,91 @@ void advanced_inventory::display(game * gp, player * pp) {
|
||||
popup(_("Source area is the same as destination (%s)."),squares[destarea].name.c_str());
|
||||
continue;
|
||||
}
|
||||
item *it = panes[src].items[list_pos].it;
|
||||
|
||||
std::vector<item> src_items = squares[s].vstor >= 0 ?
|
||||
/* std::vector<item> src_items = squares[s].vstor >= 0 ?
|
||||
squares[s].veh->parts[squares[s].vstor].items :
|
||||
m.i_at(squares[s].x,squares[s].y);
|
||||
if(src_items[item_pos].made_of(LIQUID))
|
||||
*/
|
||||
if ( it->made_of(LIQUID) )
|
||||
{
|
||||
popup(_("You can't pick up a liquid."));
|
||||
continue;
|
||||
}
|
||||
else // from veh/map
|
||||
{
|
||||
int trycharges = -1;
|
||||
if ( destarea == isinventory ) // if destination is inventory
|
||||
{
|
||||
if(!u.can_pickVolume(src_items[item_pos].volume()))
|
||||
if(squares[destarea].size >= max_inv) {
|
||||
popup(_("Too many items."));
|
||||
continue;
|
||||
}
|
||||
int tryvolume = it->volume();
|
||||
int tryweight = it->weight();
|
||||
int amount = 1;
|
||||
if ( it->count_by_charges() && it->charges > 1 ) {
|
||||
amount = it->charges;
|
||||
int unitvolume = it->precise_unit_volume();
|
||||
int unitweight = ( tryweight * 1000 ) / it->charges;
|
||||
int max_vol = u.volume_capacity() - u.volume_carried();
|
||||
int max_weight = ( u.weight_capacity() * 4 ) - u.weight_carried();
|
||||
max_vol *= 1000;
|
||||
max_weight *= 1000;
|
||||
int max = amount;
|
||||
if ( unitvolume > 0 && unitvolume * amount > max_vol ) {
|
||||
max = int( max_vol / unitvolume );
|
||||
}
|
||||
if ( unitweight > 0 && unitweight * amount > max_weight ) {
|
||||
max = int( max_weight / unitweight );
|
||||
}
|
||||
// popup("uvol: %d amt: %d mvol: %d mamt: %d", unitvolume, amount, max_vol, max);
|
||||
if ( max != 0 ) {
|
||||
std::string popupmsg=_("How many do you want to move? (0 to cancel)");
|
||||
if(amount > max) {
|
||||
popupmsg=string_format(_("Destination can only hold %d! Move how many? (0 to cancel) "), max);
|
||||
}
|
||||
// fixme / todo make popup take numbers only (m = accept, q = cancel)
|
||||
amount = helper::to_int(
|
||||
string_input_popup( popupmsg, 20,
|
||||
helper::to_string(
|
||||
( amount > max ? max : amount )
|
||||
)
|
||||
)
|
||||
);
|
||||
if ( amount > max ) amount = max;
|
||||
if ( amount != it->charges ) {
|
||||
tryvolume = ( unitvolume * amount ) / 1000;
|
||||
tryweight = ( unitweight * amount ) / 1000;
|
||||
trycharges = amount;
|
||||
}
|
||||
if ( trycharges == 0 ) continue;
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
// ...not even going to think about checking for stack
|
||||
// at this time...
|
||||
if(!u.can_pickVolume(tryvolume))
|
||||
{
|
||||
popup(_("There's no room in your inventory."));
|
||||
continue;
|
||||
}
|
||||
else if(!u.can_pickWeight(src_items[item_pos].weight(), false))
|
||||
else if(!u.can_pickWeight(tryweight, false))
|
||||
{
|
||||
popup(_("This is too heavy!"));
|
||||
continue;
|
||||
}
|
||||
else if(squares[destarea].size >= max_inv)
|
||||
{
|
||||
popup(_("Too many itens"));
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
recalc=true;
|
||||
|
||||
item new_item = src_items[item_pos];
|
||||
item new_item = (*it);
|
||||
|
||||
if ( trycharges > 0 ) {
|
||||
new_item.charges = trycharges;
|
||||
}
|
||||
if(destarea == isinventory) {
|
||||
new_item.invlet = g->nextinv;
|
||||
g->advance_nextinv();
|
||||
@@ -1053,10 +1103,14 @@ void advanced_inventory::display(game * gp, player * pp) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if(panes[src].vstor>=0) {
|
||||
panes[src].veh->remove_item (panes[src].vstor, item_pos);
|
||||
if( trycharges > 0 ) {
|
||||
it->charges -= trycharges;
|
||||
} else {
|
||||
m.i_rem(u.posx+panes[src].offx,u.posy+panes[src].offy, item_pos);
|
||||
if(panes[src].vstor>=0) {
|
||||
panes[src].veh->remove_item (panes[src].vstor, item_pos);
|
||||
} else {
|
||||
m.i_rem(u.posx+panes[src].offx,u.posy+panes[src].offy, item_pos);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1089,7 +1143,6 @@ void advanced_inventory::display(game * gp, player * pp) {
|
||||
long key = 0;
|
||||
int spos = -1;
|
||||
std::string filter=panes[src].filter;
|
||||
std::string origfilter = filter;
|
||||
filter_edit = true;
|
||||
|
||||
do {
|
||||
@@ -1136,7 +1189,7 @@ void advanced_inventory::display(game * gp, player * pp) {
|
||||
recalc=true;
|
||||
checkshowmsg=true;
|
||||
} else {
|
||||
std::vector<iteminfo> vThisItem, vDummy, vMenu;
|
||||
std::vector<iteminfo> vThisItem, vDummy;
|
||||
it->info(true, &vThisItem, g);
|
||||
int rightWidth = w_width / 2 - 2;
|
||||
vThisItem.push_back(iteminfo(_("DESCRIPTION"), "\n"));
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
#ifndef _ADVANCED_INV_H
|
||||
#ifndef _ADVANCED_INV_H_
|
||||
#define _ADVANCED_INV_H_
|
||||
#include "output.h"
|
||||
#include "game.h"
|
||||
@@ -96,7 +96,7 @@ class advanced_inventory
|
||||
|
||||
int src;// = left; // the active screen , 0 for left , 1 for right.
|
||||
int dest;// = right;
|
||||
int max_inv;// = inv_chars.size() - u.worn.size() - ( u.is_armed() || u.weapon.is_style() ? 1 : 0 );
|
||||
int max_inv;// = inv_chars.size() - u.worn.size() - ( u.is_armed() ? 1 : 0 );
|
||||
bool examineScroll;// = false;
|
||||
bool filter_edit;
|
||||
|
||||
|
||||
+50
-32
@@ -7,24 +7,18 @@ void game::draw_explosion(int x, int y, int radius, nc_color col)
|
||||
timespec ts; // Timespec for the animation of the explosion
|
||||
ts.tv_sec = 0;
|
||||
ts.tv_nsec = EXPLOSION_SPEED;
|
||||
const int ypos = POSY + (y - (u.posy + u.view_offset_y));
|
||||
const int xpos = POSX + (x - (u.posx + u.view_offset_x));
|
||||
for (int i = 1; i <= radius; i++) {
|
||||
mvwputch(w_terrain, y - i + VIEWY - u.posy - u.view_offset_y,
|
||||
x - i + VIEWX - u.posx - u.view_offset_x, col, '/');
|
||||
mvwputch(w_terrain, y - i + VIEWY - u.posy - u.view_offset_y,
|
||||
x + i + VIEWX - u.posx - u.view_offset_x, col,'\\');
|
||||
mvwputch(w_terrain, y + i + VIEWY - u.posy - u.view_offset_y,
|
||||
x - i + VIEWX - u.posx - u.view_offset_x, col,'\\');
|
||||
mvwputch(w_terrain, y + i + VIEWY - u.posy - u.view_offset_y,
|
||||
x + i + VIEWX - u.posx - u.view_offset_x, col, '/');
|
||||
mvwputch(w_terrain, ypos - i, xpos - i, col, '/');
|
||||
mvwputch(w_terrain, ypos - i, xpos + i, col,'\\');
|
||||
mvwputch(w_terrain, ypos + i, xpos - i, col,'\\');
|
||||
mvwputch(w_terrain, ypos + i, xpos + i, col, '/');
|
||||
for (int j = 1 - i; j < 0 + i; j++) {
|
||||
mvwputch(w_terrain, y - i + VIEWY - u.posy - u.view_offset_y,
|
||||
x + j + VIEWX - u.posx - u.view_offset_x, col,'-');
|
||||
mvwputch(w_terrain, y + i + VIEWY - u.posy - u.view_offset_y,
|
||||
x + j + VIEWX - u.posx - u.view_offset_x, col,'-');
|
||||
mvwputch(w_terrain, y + j + VIEWY - u.posy - u.view_offset_y,
|
||||
x - i + VIEWX - u.posx - u.view_offset_x, col,'|');
|
||||
mvwputch(w_terrain, y + j + VIEWY - u.posy - u.view_offset_y,
|
||||
x + i + VIEWX - u.posx - u.view_offset_x, col,'|');
|
||||
mvwputch(w_terrain, ypos - i, xpos + j, col,'-');
|
||||
mvwputch(w_terrain, ypos + i, xpos + j, col,'-');
|
||||
mvwputch(w_terrain, ypos + j, xpos - i, col,'|');
|
||||
mvwputch(w_terrain, ypos + j, xpos + i, col,'|');
|
||||
}
|
||||
wrefresh(w_terrain);
|
||||
nanosleep(&ts, NULL);
|
||||
@@ -44,8 +38,8 @@ void game::draw_bullet(player &p, int tx, int ty, int i, std::vector<point> traj
|
||||
if (is_aflame)
|
||||
bullet = '#';
|
||||
*/
|
||||
mvwputch(w_terrain, ty + VIEWY - u.posy - u.view_offset_y,
|
||||
tx + VIEWX - u.posx - u.view_offset_x, c_red, bullet);
|
||||
mvwputch(w_terrain, POSY + (ty - (u.posy + u.view_offset_y)),
|
||||
POSX + (tx - (u.posx + u.view_offset_x)), c_red, bullet);
|
||||
wrefresh(w_terrain);
|
||||
if (&p == &u)
|
||||
nanosleep(&ts, NULL);
|
||||
@@ -54,22 +48,18 @@ void game::draw_bullet(player &p, int tx, int ty, int i, std::vector<point> traj
|
||||
/* Monster hit animation */
|
||||
void game::draw_hit_mon(int x, int y, monster m, bool dead)
|
||||
{
|
||||
/*
|
||||
x - u.posx + VIEWX - u.view_offset_x,
|
||||
y - u.posy + VIEWY - u.view_offset_y,
|
||||
*/
|
||||
nc_color cMonColor = m.type->color;
|
||||
char sMonSym = m.symbol();
|
||||
|
||||
hit_animation(x + VIEWX - u.posx - u.view_offset_x,
|
||||
y + VIEWY - u.posy - u.view_offset_y,
|
||||
hit_animation(POSX + (x - (u.posx + u.view_offset_x)),
|
||||
POSY + (y - (u.posy + u.view_offset_y)),
|
||||
red_background(cMonColor), dead?'%':sMonSym);
|
||||
}
|
||||
/* Player hit animation */
|
||||
void game::draw_hit_player(player *p, bool dead)
|
||||
{
|
||||
hit_animation(p->posx + VIEWX - u.posx - u.view_offset_x,
|
||||
p->posy + VIEWY - u.posy - u.view_offset_y,
|
||||
hit_animation(POSX + (p->posx - (u.posx + u.view_offset_x)),
|
||||
POSY + (p->posy - (u.posy + u.view_offset_y)),
|
||||
red_background(p->color()), '@');
|
||||
}
|
||||
/* Line drawing code, not really an animation but should be separated anyway */
|
||||
@@ -84,9 +74,9 @@ void game::draw_line(const int x, const int y, const point center_point, std::ve
|
||||
npcdex = npc_at(ret[i].x, ret[i].y);
|
||||
|
||||
// NPCs and monsters get drawn with inverted colors
|
||||
if (mondex != -1 && u_see(&(_z[mondex])))
|
||||
if (mondex != -1 && u_see(&(_active_monsters[mondex])))
|
||||
{
|
||||
_z[mondex].draw(w_terrain, center_point.x, center_point.y, true);
|
||||
_active_monsters[mondex].draw(w_terrain, center_point.x, center_point.y, true);
|
||||
}
|
||||
else if (npcdex != -1)
|
||||
{
|
||||
@@ -106,8 +96,8 @@ void game::draw_line(const int x, const int y, std::vector<point> vPoint)
|
||||
m.drawsq(w_terrain, u, vPoint[i-1].x, vPoint[i-1].y, true, true);
|
||||
}
|
||||
|
||||
mvwputch(w_terrain, vPoint[vPoint.size()-1].y + VIEWY - u.posy - u.view_offset_y,
|
||||
vPoint[vPoint.size()-1].x + VIEWX - u.posx - u.view_offset_x, c_white, 'X');
|
||||
mvwputch(w_terrain, POSY + (vPoint[vPoint.size()-1].y - (u.posy + u.view_offset_y)),
|
||||
POSX + (vPoint[vPoint.size()-1].x - (u.posx + u.view_offset_x)), c_white, 'X');
|
||||
}
|
||||
//*/
|
||||
void game::draw_weather(weather_printable wPrint)
|
||||
@@ -118,7 +108,35 @@ void game::draw_weather(weather_printable wPrint)
|
||||
{
|
||||
mvwputch(w_terrain, weather_iterator->second, weather_iterator->first, wPrint.colGlyph, wPrint.cGlyph);
|
||||
}
|
||||
|
||||
//mvwputch(w_terrain, iRandY, iRandX, colGlyph, cGlyph);
|
||||
}
|
||||
|
||||
// draws footsteps that have been created by monsters moving about
|
||||
void game::draw_footsteps()
|
||||
{
|
||||
for (int i = 0; i < footsteps.size(); i++) {
|
||||
if (!u_see(footsteps_source[i]->posx(),footsteps_source[i]->posy())) {
|
||||
std::vector<point> unseen_points;
|
||||
for (int j = 0; j < footsteps[i].size(); j++) {
|
||||
if (!u_see(footsteps[i][j].x,footsteps[i][j].y)) {
|
||||
unseen_points.push_back(point(footsteps[i][j].x,
|
||||
footsteps[i][j].y));
|
||||
}
|
||||
}
|
||||
|
||||
if (unseen_points.size() > 0) {
|
||||
point selected = unseen_points[ rng(0, unseen_points.size() - 1) ];
|
||||
|
||||
mvwputch(w_terrain,
|
||||
POSY + (selected.y - (u.posy + u.view_offset_y)),
|
||||
POSX + (selected.x - (u.posx + u.view_offset_x)),
|
||||
c_yellow, '?');
|
||||
}
|
||||
}
|
||||
}
|
||||
footsteps.clear();
|
||||
footsteps_source.clear();
|
||||
wrefresh(w_terrain);
|
||||
return;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
+66
-58
@@ -15,27 +15,19 @@ void game::draw_explosion(int x, int y, int radius, nc_color col)
|
||||
ts.tv_sec = 0;
|
||||
ts.tv_nsec = EXPLOSION_SPEED;
|
||||
// added offset values to keep from calculating the same value over and over again.
|
||||
const int offset_x = VIEWX - u.posx - u.view_offset_x;
|
||||
const int offset_y = VIEWY - u.posy - u.view_offset_y;
|
||||
const int ypos = POSY + (y - (u.posy + u.view_offset_y));
|
||||
const int xpos = POSX + (x - (u.posx + u.view_offset_x));
|
||||
|
||||
for (int i = 1; i <= radius; i++) {
|
||||
mvwputch(w_terrain, y - i + offset_y,
|
||||
x - i + offset_x, col, '/');
|
||||
mvwputch(w_terrain, y - i + offset_y,
|
||||
x + i + offset_x, col,'\\');
|
||||
mvwputch(w_terrain, y + i + offset_y,
|
||||
x - i + offset_x, col,'\\');
|
||||
mvwputch(w_terrain, y + i + offset_y,
|
||||
x + i + offset_x, col, '/');
|
||||
mvwputch(w_terrain, ypos - i, xpos - i, col, '/');
|
||||
mvwputch(w_terrain, ypos - i, xpos + i, col,'\\');
|
||||
mvwputch(w_terrain, ypos + i, xpos - i, col,'\\');
|
||||
mvwputch(w_terrain, ypos + i, xpos + i, col, '/');
|
||||
for (int j = 1 - i; j < 0 + i; j++) {
|
||||
mvwputch(w_terrain, y - i + offset_y,
|
||||
x + j + offset_x, col,'-');
|
||||
mvwputch(w_terrain, y + i + offset_y,
|
||||
x + j + offset_x, col,'-');
|
||||
mvwputch(w_terrain, y + j + offset_y,
|
||||
x - i + offset_x, col,'|');
|
||||
mvwputch(w_terrain, y + j + offset_y,
|
||||
x + i + offset_x, col,'|');
|
||||
mvwputch(w_terrain, ypos - i, xpos + j, col,'-');
|
||||
mvwputch(w_terrain, ypos + i, xpos + j, col,'-');
|
||||
mvwputch(w_terrain, ypos + j, xpos - i, col,'|');
|
||||
mvwputch(w_terrain, ypos + j, xpos + i, col,'|');
|
||||
}
|
||||
tilecontext->init_explosion(x, y, i);
|
||||
//tilecontext->draw_explosion_frame(x, y, radius, offset_x, offset_y);
|
||||
@@ -58,8 +50,8 @@ void game::draw_bullet(player &p, int tx, int ty, int i, std::vector<point> traj
|
||||
case '`': bullet = "animation_bullet_shrapnel"; break;
|
||||
}
|
||||
|
||||
mvwputch(w_terrain, ty + VIEWY - u.posy - u.view_offset_y,
|
||||
tx + VIEWX - u.posx - u.view_offset_x, c_red, bullet_char);
|
||||
mvwputch(w_terrain, POSY + (ty - (u.posy + u.view_offset_y)),
|
||||
POSX + (tx - (u.posx + u.view_offset_x)), c_red, bullet_char);
|
||||
// pass to tilecontext
|
||||
tilecontext->init_draw_bullet(tx, ty, bullet);
|
||||
wrefresh(w_terrain);
|
||||
@@ -74,7 +66,7 @@ void game::draw_hit_mon(int x, int y, monster m, bool dead)
|
||||
if (use_tiles)
|
||||
{
|
||||
//int iTimeout = 0;
|
||||
tilecontext->init_draw_hit(x, y, monster_names[m.type->id]);
|
||||
tilecontext->init_draw_hit(x, y, m.type->id);
|
||||
wrefresh(w_terrain);
|
||||
|
||||
timespec tspec;
|
||||
@@ -82,20 +74,10 @@ void game::draw_hit_mon(int x, int y, monster m, bool dead)
|
||||
tspec.tv_nsec = BULLET_SPEED;
|
||||
|
||||
nanosleep(&tspec, NULL);
|
||||
/*
|
||||
nc_color cMonColor = m.type->color;
|
||||
char sMonSym = m.symbol();
|
||||
hit_animation(x,
|
||||
y,
|
||||
red_background(cMonColor), dead?'%':sMonSym);
|
||||
*/
|
||||
/*
|
||||
x + VIEWX - u.posx - u.view_offset_x,
|
||||
y + VIEWY - u.posy - u.view_offset_y,
|
||||
*/
|
||||
|
||||
mvwputch(w_terrain,
|
||||
x + VIEWX - u.posx - u.view_offset_x,
|
||||
y + VIEWY - u.posy - u.view_offset_y,
|
||||
POSX + (x - (u.posx + u.view_offset_x)),
|
||||
POSY + (y - (u.posy + u.view_offset_y)),
|
||||
c_white, ' ');
|
||||
wrefresh(w_terrain);
|
||||
}
|
||||
@@ -104,9 +86,9 @@ void game::draw_hit_mon(int x, int y, monster m, bool dead)
|
||||
nc_color cMonColor = m.type->color;
|
||||
char sMonSym = m.symbol();
|
||||
|
||||
hit_animation(x + VIEWX - u.posx - u.view_offset_x,
|
||||
y + VIEWY - u.posy - u.view_offset_y,
|
||||
red_background(cMonColor), dead?'%':sMonSym);
|
||||
hit_animation(POSX + (x - (u.posx + u.view_offset_x)),
|
||||
POSY + (y - (u.posy + u.view_offset_y)),
|
||||
red_background(cMonColor), dead ? '%' : sMonSym);
|
||||
}
|
||||
}
|
||||
/* Player hit animation */
|
||||
@@ -127,30 +109,17 @@ void game::draw_hit_player(player *p, bool dead)
|
||||
tspec.tv_nsec = BULLET_SPEED;
|
||||
|
||||
nanosleep(&tspec, NULL);
|
||||
/*
|
||||
hit_animation(p->posx - g->u.posx + VIEWX - g->u.view_offset_x,
|
||||
p->posy - g->u.posy + VIEWY - g->u.view_offset_y,
|
||||
red_background(p->color()), '@');
|
||||
*/
|
||||
/*
|
||||
if (iTimeout <= 0 || iTimeout > 999) {
|
||||
iTimeout = 70;
|
||||
}
|
||||
|
||||
timeout(iTimeout);
|
||||
getch(); //useing this, because holding down a key with nanosleep can get yourself killed
|
||||
timeout(-1);
|
||||
*/
|
||||
mvwputch(w_terrain,
|
||||
p->posx + VIEWX - u.posx - u.view_offset_x,
|
||||
p->posy + VIEWY - u.posy - u.view_offset_y,
|
||||
POSX + (p->posx - (u.posx + u.view_offset_x)),
|
||||
POSY + (p->posy - (u.posy + u.view_offset_y)),
|
||||
c_white, ' ');
|
||||
wrefresh(w_terrain);
|
||||
}
|
||||
else
|
||||
{
|
||||
hit_animation(p->posx + VIEWX - u.posx - u.view_offset_x,
|
||||
p->posy + VIEWY - u.posy - u.view_offset_y,
|
||||
hit_animation(POSX + (p->posx - (u.posx + u.view_offset_x)),
|
||||
POSY + (p->posy - (u.posy + u.view_offset_y)),
|
||||
red_background(p->color()), '@');
|
||||
}
|
||||
}
|
||||
@@ -167,9 +136,9 @@ void game::draw_line(const int x, const int y, const point center_point, std::ve
|
||||
npcdex = npc_at(ret[i].x, ret[i].y);
|
||||
|
||||
// NPCs and monsters get drawn with inverted colors
|
||||
if (mondex != -1 && u_see(&(_z[mondex])))
|
||||
if (mondex != -1 && u_see(&(_active_monsters[mondex])))
|
||||
{
|
||||
_z[mondex].draw(w_terrain, center_point.x, center_point.y, true);
|
||||
_active_monsters[mondex].draw(w_terrain, center_point.x, center_point.y, true);
|
||||
}
|
||||
else if (npcdex != -1)
|
||||
{
|
||||
@@ -191,8 +160,8 @@ void game::draw_line(const int x, const int y, std::vector<point> vPoint)
|
||||
m.drawsq(w_terrain, u, vPoint[i-1].x, vPoint[i-1].y, true, true);
|
||||
}
|
||||
|
||||
mvwputch(w_terrain, vPoint[vPoint.size()-1].y + VIEWY - u.posy - u.view_offset_y,
|
||||
vPoint[vPoint.size()-1].x + VIEWX - u.posx - u.view_offset_x, c_white, 'X');
|
||||
mvwputch(w_terrain, POSY + (vPoint[vPoint.size()-1].y - (u.posy + u.view_offset_y)),
|
||||
POSX + (vPoint[vPoint.size()-1].x - (u.posx + u.view_offset_x)), c_white, 'X');
|
||||
|
||||
tilecontext->init_draw_line(x,y,vPoint,"line_trail", false);
|
||||
}
|
||||
@@ -243,4 +212,43 @@ void game::draw_weather(weather_printable wPrint)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// draws footsteps that have been created by monsters moving about
|
||||
void game::draw_footsteps()
|
||||
{
|
||||
std::queue<point> step_tiles;
|
||||
for (int i = 0; i < footsteps.size(); i++) {
|
||||
if (!u_see(footsteps_source[i]->posx(),footsteps_source[i]->posy())){
|
||||
std::vector<point> unseen_points;
|
||||
for (int j = 0; j < footsteps[i].size(); j++){
|
||||
if (!u_see(footsteps[i][j].x,footsteps[i][j].y)){
|
||||
unseen_points.push_back(point(footsteps[i][j].x,
|
||||
footsteps[i][j].y));
|
||||
}
|
||||
}
|
||||
|
||||
if (use_tiles){
|
||||
if (unseen_points.size() > 0){
|
||||
step_tiles.push(unseen_points[rng(0, unseen_points.size()-1)]);
|
||||
}
|
||||
}else{
|
||||
if (unseen_points.size() > 0){
|
||||
point selected = unseen_points[rng(0,unseen_points.size() - 1)];
|
||||
|
||||
mvwputch(w_terrain,
|
||||
POSY + (selected.y - (u.posy + u.view_offset_y)),
|
||||
POSX + (selected.x - (u.posx + u.view_offset_x)),
|
||||
c_yellow, '?');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (use_tiles){
|
||||
tilecontext->init_draw_footsteps(step_tiles);
|
||||
}
|
||||
footsteps.clear();
|
||||
footsteps_source.clear();
|
||||
wrefresh(w_terrain);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
+47
-59
@@ -10,47 +10,47 @@ std::vector<art_effect_active> fill_good_active();
|
||||
std::vector<art_effect_active> fill_bad_active();
|
||||
|
||||
int passive_effect_cost[NUM_AEPS] = {
|
||||
0, // AEP_NULL
|
||||
0, // AEP_NULL
|
||||
|
||||
3, // AEP_STR_UP
|
||||
3, // AEP_DEX_UP
|
||||
3, // AEP_PER_UP
|
||||
3, // AEP_INT_UP
|
||||
5, // AEP_ALL_UP
|
||||
4, // AEP_SPEED_UP
|
||||
2, // AEP_IODINE
|
||||
4, // AEP_SNAKES
|
||||
7, // AEP_INVISIBLE
|
||||
5, // AEP_CLAIRVOYANCE
|
||||
50, // AEP_SUPER_CLAIRVOYANCE
|
||||
2, // AEP_STEALTH
|
||||
2, // AEP_EXTINGUISH
|
||||
1, // AEP_GLOW
|
||||
1, // AEP_PSYSHIELD
|
||||
3, // AEP_RESIST_ELECTRICITY
|
||||
3, // AEP_CARRY_MORE
|
||||
5, // AEP_SAP_LIFE
|
||||
3, // AEP_STR_UP
|
||||
3, // AEP_DEX_UP
|
||||
3, // AEP_PER_UP
|
||||
3, // AEP_INT_UP
|
||||
5, // AEP_ALL_UP
|
||||
4, // AEP_SPEED_UP
|
||||
2, // AEP_IODINE
|
||||
4, // AEP_SNAKES
|
||||
7, // AEP_INVISIBLE
|
||||
5, // AEP_CLAIRVOYANCE
|
||||
50,// AEP_SUPER_CLAIRVOYANCE
|
||||
2, // AEP_STEALTH
|
||||
2, // AEP_EXTINGUISH
|
||||
1, // AEP_GLOW
|
||||
1, // AEP_PSYSHIELD
|
||||
3, // AEP_RESIST_ELECTRICITY
|
||||
3, // AEP_CARRY_MORE
|
||||
5, // AEP_SAP_LIFE
|
||||
|
||||
0, // AEP_SPLIT
|
||||
0, // AEP_SPLIT
|
||||
|
||||
-2, // AEP_HUNGER
|
||||
-2, // AEP_THIRST
|
||||
-1, // AEP_SMOKE
|
||||
-5, // AEP_EVIL
|
||||
-3, // AEP_SCHIZO
|
||||
-5, // AEP_RADIOACTIVE
|
||||
-3, // AEP_MUTAGENIC
|
||||
-5, // AEP_ATTENTION
|
||||
-2, // AEP_STR_DOWN
|
||||
-2, // AEP_DEX_DOWN
|
||||
-2, // AEP_PER_DOWN
|
||||
-2, // AEP_INT_DOWN
|
||||
-5, // AEP_ALL_DOWN
|
||||
-4, // AEP_SPEED_DOWN
|
||||
-5, // AEP_FORCE_TELEPORT
|
||||
-3, // AEP_MOVEMENT_NOISE
|
||||
-2, // AEP_BAD_WEATHER
|
||||
-1 // AEP_SICK
|
||||
-2, // AEP_HUNGER
|
||||
-2, // AEP_THIRST
|
||||
-1, // AEP_SMOKE
|
||||
-5, // AEP_EVIL
|
||||
-3, // AEP_SCHIZO
|
||||
-5, // AEP_RADIOACTIVE
|
||||
-3, // AEP_MUTAGENIC
|
||||
-5, // AEP_ATTENTION
|
||||
-2, // AEP_STR_DOWN
|
||||
-2, // AEP_DEX_DOWN
|
||||
-2, // AEP_PER_DOWN
|
||||
-2, // AEP_INT_DOWN
|
||||
-5, // AEP_ALL_DOWN
|
||||
-4, // AEP_SPEED_DOWN
|
||||
-5, // AEP_FORCE_TELEPORT
|
||||
-3, // AEP_MOVEMENT_NOISE
|
||||
-2, // AEP_BAD_WEATHER
|
||||
-1 // AEP_SICK
|
||||
};
|
||||
|
||||
int active_effect_cost[NUM_AEAS] = {
|
||||
@@ -261,18 +261,13 @@ void game::init_artifacts()
|
||||
for(int i=0;i<NUM_ARTTOOLFORMS;i++) {artifact_tool_form_data[i]=tmp_artifact_tool_form_data[i];}
|
||||
|
||||
artifact_weapon_datum tmp_artifact_weapon_data[NUM_ARTWEAPS] = {
|
||||
{"", 0, 0, 0, 0, 0, 0, 0, 0, ""},
|
||||
// Adjective Vol,wgt Bash Cut To-Hit tags
|
||||
{_("Heavy"), 0,1400, 10, 20, 0, 0, -2, 0,
|
||||
""},
|
||||
{_("Knobbed"), 1,250, 14, 30, 0, 0, -1, 1,
|
||||
""},
|
||||
{_("Spiked"), 1,100, 0, 0, 20, 40, -1, 1,
|
||||
"SPEAR"},
|
||||
{_("Edged"), 2,450, 0, 0, 20, 50, -1, 2,
|
||||
""},
|
||||
{_("Bladed"), 1,2250, 0, 0, 12, 30, -1, 1,
|
||||
"STAB"}
|
||||
{"", 0, 0, 0, 0, 0, 0, 0, 0, ""},
|
||||
// Adjective Vol,wgt Bash Cut To-Hit tags
|
||||
{_("Heavy"), 0,1400, 10, 20, 0, 0, -2, 0, ""},
|
||||
{_("Knobbed"), 1,250, 14, 30, 0, 0, -1, 1, ""},
|
||||
{_("Spiked"), 1,100, 0, 0, 20, 40, -1, 1, "SPEAR"},
|
||||
{_("Edged"), 2,450, 0, 0, 20, 50, -1, 2, ""},
|
||||
{_("Bladed"), 1,2250, 0, 0, 12, 30, -1, 1, "STAB"}
|
||||
};
|
||||
for(int i=0;i<NUM_ARTWEAPS;i++) {artifact_weapon_data[i]=tmp_artifact_weapon_data[i];}
|
||||
|
||||
@@ -770,7 +765,7 @@ std::string artifact_name(std::string type)
|
||||
const char *fmtstr = _("<artifact_name>%1$s of %2$s");
|
||||
std::string noun = artifact_noun[rng(0, NUM_ART_NOUNS - 1)];
|
||||
std::string adj = artifact_adj[rng(0, NUM_ART_ADJS - 1)];
|
||||
ret = string_format(noun.c_str(), adj.c_str());
|
||||
ret = string_format(noun, adj.c_str());
|
||||
ret = rmp_format(fmtstr, type.c_str(),ret.c_str());
|
||||
return ret;
|
||||
}
|
||||
@@ -861,14 +856,7 @@ void game::process_artifact(item *it, player *p, bool wielded)
|
||||
case AEP_EXTINGUISH:
|
||||
for (int x = p->posx - 1; x <= p->posx + 1; x++) {
|
||||
for (int y = p->posy - 1; y <= p->posy + 1; y++) {
|
||||
field &fire_field = m.field_at(x, y);
|
||||
if (fire_field.findField(fd_fire)) {
|
||||
if (fire_field.findField(fd_fire)->getFieldDensity() == 0) {
|
||||
m.remove_field(x, y, fd_fire);
|
||||
} else {
|
||||
fire_field.findField(fd_fire)->setFieldDensity(fire_field.findField(fd_fire)->getFieldDensity() - 1);
|
||||
}
|
||||
}
|
||||
m.adjust_field_age(point(x,y), fd_fire, -1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -54,17 +54,6 @@ struct artifact_tool_form_datum
|
||||
int weight_min, weight_max;
|
||||
artifact_weapon_type base_weapon;
|
||||
artifact_weapon_type extra_weapons[3];
|
||||
|
||||
/*
|
||||
artifact_tool_form_datum
|
||||
(std::string Name, char Sym, nc_color Color, std::string M1, std::string M2,
|
||||
int Volmin, int Volmax, int Wgtmin, int Wgtmax, artifact_weapon_type Base,
|
||||
artifact_weapon_type extra[3])
|
||||
: name (Name), sym (Sym), color (Color), m1 (M1), m2 (M2),
|
||||
volume_min (Volmin), volume_max (Volmax), weight_min (Wgtmin),
|
||||
weight_max (Wgtmax), base_weapon (Base), extra_weapons (extra) { };
|
||||
*/
|
||||
|
||||
};
|
||||
|
||||
enum artifact_tool_form
|
||||
@@ -121,21 +110,6 @@ struct artifact_armor_form_datum
|
||||
unsigned char covers;
|
||||
bool plural;
|
||||
artifact_armor_mod available_mods[5];
|
||||
|
||||
/*
|
||||
// Constructor
|
||||
artifact_armor_form_datum
|
||||
(std::string Name, nc_color Color, std::string M1, std::string M2, int Volume,
|
||||
int Weight, int Encumb, int Dmg_res, int Cut_res, int Env_res,
|
||||
int Warmth, int Storage, int Bash, int Cut, int Hit, unsigned char Covers,
|
||||
bool Plural, artifact_armor_mod Mods[5])
|
||||
: name (Name), color (Color), m1 (M1), m2 (M2), volume (Volume),
|
||||
weight (Weight), encumb (Encumb), coverage (Coverage),
|
||||
thickness (thickness), env_resist (Env_res), warmth (Warmth),
|
||||
storage (Storage), melee_bash (Bash), melee_cut (Cut), melee_hit (Hit),
|
||||
covers (Covers), plural (Plural), available_mods (Mods) { };
|
||||
|
||||
*/
|
||||
};
|
||||
|
||||
enum artifact_armor_form
|
||||
|
||||
+12
-20
@@ -5,15 +5,17 @@
|
||||
#include "keypress.h"
|
||||
#include "item_factory.h"
|
||||
#include "catacharset.h"
|
||||
#include "translations.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
#include <locale>
|
||||
|
||||
std::map<std::string, std::string> mapAutoPickupItems;
|
||||
std::vector<cPickupRules> vAutoPickupRules[5];
|
||||
|
||||
void game::show_auto_pickup()
|
||||
void show_auto_pickup()
|
||||
{
|
||||
save_reset_changes(false);
|
||||
|
||||
@@ -27,8 +29,6 @@ void game::show_auto_pickup()
|
||||
mapLines[3] = true;
|
||||
mapLines[50] = true;
|
||||
mapLines[54] = true;
|
||||
//mapLines[61] = true;
|
||||
//mapLines[68] = true;
|
||||
|
||||
const int iTotalCols = mapLines.size()-1;
|
||||
|
||||
@@ -57,11 +57,11 @@ void game::show_auto_pickup()
|
||||
tmpx += shortcut_print(w_auto_pickup_header, 0, tmpx, c_white, c_ltgreen, _("<M>ove"))+2;
|
||||
tmpx += shortcut_print(w_auto_pickup_header, 0, tmpx, c_white, c_ltgreen, _("<E>nable"))+2;
|
||||
tmpx += shortcut_print(w_auto_pickup_header, 0, tmpx, c_white, c_ltgreen, _("<D>isable"))+2;
|
||||
tmpx += shortcut_print(w_auto_pickup_header, 0, tmpx, c_white, c_ltgreen, _("<T>est"))+2;
|
||||
shortcut_print(w_auto_pickup_header, 0, tmpx, c_white, c_ltgreen, _("<T>est"));
|
||||
tmpx = 0;
|
||||
tmpx += shortcut_print(w_auto_pickup_header, 1, tmpx, c_white, c_ltgreen, _("<+-> Move up/down"))+2;
|
||||
tmpx += shortcut_print(w_auto_pickup_header, 1, tmpx, c_white, c_ltgreen, _("<Enter>-Edit"))+2;
|
||||
tmpx += shortcut_print(w_auto_pickup_header, 1, tmpx, c_white, c_ltgreen, _("<Tab>-Switch Page"))+2;
|
||||
shortcut_print(w_auto_pickup_header, 1, tmpx, c_white, c_ltgreen, _("<Tab>-Switch Page"));
|
||||
|
||||
for (int i = 0; i < 78; i++) {
|
||||
if (mapLines[i]) {
|
||||
@@ -75,8 +75,6 @@ void game::show_auto_pickup()
|
||||
mvwprintz(w_auto_pickup_header, 3, 0, c_white, "#");
|
||||
mvwprintz(w_auto_pickup_header, 3, 7, c_white, _("Rules"));
|
||||
mvwprintz(w_auto_pickup_header, 3, 51, c_white, _("I/E"));
|
||||
//mvwprintz(w_auto_pickup_header, 3, 55, c_white, "Volume");
|
||||
//mvwprintz(w_auto_pickup_header, 3, 62, c_white, "Weight");
|
||||
|
||||
wrefresh(w_auto_pickup_header);
|
||||
|
||||
@@ -92,13 +90,7 @@ void game::show_auto_pickup()
|
||||
do {
|
||||
int locx = 17;
|
||||
locx += shortcut_print(w_auto_pickup_header, 2, locx, c_white, (iCurrentPage == 1) ? hilite(c_white) : c_white, _("[<Global>]"))+1;
|
||||
locx = shortcut_print(w_auto_pickup_header, 2, locx, c_white, (iCurrentPage == 2) ? hilite(c_white) : c_white, _("[<Character>]"))+1;
|
||||
|
||||
/*
|
||||
mvwprintz(w_auto_pickup_header, 2, 12 + 21, c_white, "[");
|
||||
wprintz(w_auto_pickup_header, (iCurrentPage == 3) ? hilite(c_white) : c_white, "Options");
|
||||
wprintz(w_auto_pickup_header, c_white, "]");
|
||||
*/
|
||||
shortcut_print(w_auto_pickup_header, 2, locx, c_white, (iCurrentPage == 2) ? hilite(c_white) : c_white, _("[<Character>]"));
|
||||
|
||||
wrefresh(w_auto_pickup_header);
|
||||
|
||||
@@ -157,7 +149,7 @@ void game::show_auto_pickup()
|
||||
wrefresh(w_auto_pickup_options);
|
||||
}
|
||||
|
||||
ch = input();
|
||||
ch = (char)input();
|
||||
|
||||
if (iCurrentPage == 3) {
|
||||
switch(ch) {
|
||||
@@ -390,7 +382,7 @@ void test_pattern(int iCurrentPage, int iCurrentLine)
|
||||
|
||||
wrefresh(w_test_rule_content);
|
||||
|
||||
ch = input();
|
||||
ch = (char)input();
|
||||
|
||||
switch(ch) {
|
||||
case 'j': //move down
|
||||
@@ -418,7 +410,7 @@ void load_auto_pickup(bool bCharacter)
|
||||
std::string sFile = "data/auto_pickup.txt";
|
||||
|
||||
if (bCharacter) {
|
||||
sFile = "save/" + base64_encode(g->u.name) + ".apu.txt";
|
||||
sFile = world_generator->active_world->world_path + "/" + base64_encode(g->u.name) + ".apu.txt";
|
||||
}
|
||||
|
||||
fin.open(sFile.c_str());
|
||||
@@ -619,10 +611,10 @@ void save_auto_pickup(bool bCharacter)
|
||||
std::string sFile = "data/auto_pickup.txt";
|
||||
|
||||
if (bCharacter) {
|
||||
sFile = "save/" + base64_encode(g->u.name) + ".apu.txt";
|
||||
sFile = world_generator->active_world->world_path + "/" + base64_encode(g->u.name) + ".apu.txt";
|
||||
std::ifstream fin;
|
||||
|
||||
fin.open(("save/" + base64_encode(g->u.name) + ".sav").c_str());
|
||||
fin.open((world_generator->active_world->world_path + "/" + base64_encode(g->u.name) + ".sav").c_str());
|
||||
if(!fin.is_open()) {
|
||||
return;
|
||||
}
|
||||
@@ -655,7 +647,7 @@ void create_default_auto_pickup(bool bCharacter)
|
||||
std::string sFile = "data/auto_pickup.txt";
|
||||
|
||||
if (bCharacter) {
|
||||
sFile = "save/" + base64_encode(g->u.name) + ".apu.txt";
|
||||
sFile = world_generator->active_world->world_path + "/" + base64_encode(g->u.name) + ".apu.txt";
|
||||
}
|
||||
|
||||
fout.open(sFile.c_str());
|
||||
|
||||
@@ -41,6 +41,7 @@ void save_reset_changes(bool bReset);
|
||||
void show_auto_pickup();
|
||||
void load_auto_pickup(bool bCharacter);
|
||||
void save_auto_pickup(bool bCharacter);
|
||||
void show_auto_pickup();
|
||||
std::string auto_pickup_header(bool bCharacter);
|
||||
void create_default_auto_pickup(bool bCharacter);
|
||||
bool auto_pickup_match(std::string sText, std::string sPattern);
|
||||
|
||||
+14
-18
@@ -4,42 +4,38 @@
|
||||
#include "basecamp.h"
|
||||
|
||||
basecamp::basecamp()
|
||||
: name()
|
||||
, posx(0), posy(0)
|
||||
: name(), posx(0), posy(0)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
basecamp::basecamp(std::string const& name_, int const posx_, int const posy_)
|
||||
: name(name_)
|
||||
, posx(posx_), posy(posy_)
|
||||
: name(name_), posx(posx_), posy(posy_)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
std::string basecamp::board_name() const
|
||||
{
|
||||
return name + " Board";
|
||||
return name + " Board";
|
||||
}
|
||||
|
||||
std::string basecamp::save_data() const
|
||||
{
|
||||
std::stringstream data;
|
||||
std::stringstream data;
|
||||
|
||||
// TODO: This will lose underscores, is that a problem?
|
||||
// strip spaces from name
|
||||
std::string savename = name;
|
||||
replace(savename.begin(), savename.end(), ' ', '_');
|
||||
// TODO: This will lose underscores, is that a problem?
|
||||
// strip spaces from name
|
||||
std::string savename = name;
|
||||
replace(savename.begin(), savename.end(), ' ', '_');
|
||||
|
||||
data << savename << " " << posx << " " << posy;
|
||||
return data.str();
|
||||
data << savename << " " << posx << " " << posy;
|
||||
return data.str();
|
||||
}
|
||||
|
||||
void basecamp::load_data(std::string const& data)
|
||||
{
|
||||
std::stringstream stream(data);
|
||||
stream >> name >> posx >> posy;
|
||||
std::stringstream stream(data);
|
||||
stream >> name >> posx >> posy;
|
||||
|
||||
// add space to name
|
||||
replace(name.begin(), name.end(), '_', ' ');
|
||||
// add space to name
|
||||
replace(name.begin(), name.end(), '_', ' ');
|
||||
}
|
||||
|
||||
+12
-12
@@ -6,23 +6,23 @@
|
||||
class basecamp
|
||||
{
|
||||
public:
|
||||
basecamp();
|
||||
basecamp(std::string const& name_, int const posx_, int const posy_);
|
||||
basecamp();
|
||||
basecamp(std::string const& name_, int const posx_, int const posy_);
|
||||
|
||||
inline bool is_valid() const { return !name.empty(); }
|
||||
inline int board_x() const { return posx; }
|
||||
inline int board_y() const { return posy; }
|
||||
inline std::string const& camp_name() const { return name; }
|
||||
inline bool is_valid() const { return !name.empty(); }
|
||||
inline int board_x() const { return posx; }
|
||||
inline int board_y() const { return posy; }
|
||||
inline std::string const& camp_name() const { return name; }
|
||||
|
||||
std::string board_name() const;
|
||||
std::string board_name() const;
|
||||
|
||||
// Save/load
|
||||
std::string save_data() const;
|
||||
void load_data(std::string const& data);
|
||||
// Save/load
|
||||
std::string save_data() const;
|
||||
void load_data(std::string const& data);
|
||||
|
||||
private:
|
||||
std::string name;
|
||||
int posx, posy; // location of associated bulletin board
|
||||
std::string name;
|
||||
int posx, posy; // location of associated bulletin board
|
||||
};
|
||||
|
||||
|
||||
|
||||
+66
-93
@@ -6,7 +6,7 @@
|
||||
#include "item.h"
|
||||
#include "bionics.h"
|
||||
#include "line.h"
|
||||
#include "catajson.h"
|
||||
#include "json.h"
|
||||
#include <math.h> //sqrt
|
||||
#include <algorithm> //std::min
|
||||
|
||||
@@ -20,13 +20,12 @@ std::vector<bionic_id> unpowered_bionics;
|
||||
void bionics_install_failure(game *g, player *u, it_bionic* type, int success);
|
||||
|
||||
bionic_data::bionic_data(std::string new_name, bool new_power_source, bool new_activated,
|
||||
int new_power_cost, int new_charge_time, std::string new_description, bool new_faulty){
|
||||
int new_power_cost, int new_charge_time, std::string new_description, bool new_faulty) : description(new_description){
|
||||
name = new_name;
|
||||
power_source = new_power_source;
|
||||
activated = new_activated;
|
||||
power_cost = new_power_cost;
|
||||
charge_time = new_charge_time;
|
||||
description = new_description;
|
||||
faulty = new_faulty;
|
||||
}
|
||||
|
||||
@@ -38,6 +37,7 @@ bionic_id game::random_good_bionic() const
|
||||
random_bionic = bionics.begin();
|
||||
std::advance(random_bionic,rng(0,bionics.size()-1));
|
||||
} while (random_bionic->first == "bio_null" || random_bionic->second->faulty);
|
||||
// TODO: remove bio_null
|
||||
return random_bionic->first;
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ void player::power_bionics(game *g)
|
||||
active.push_back(my_bionics[i]);
|
||||
}
|
||||
nc_color type;
|
||||
if (passive.size() > 0) {
|
||||
if (!passive.empty()) {
|
||||
mvwprintz(wBio, 3, 1, c_ltblue, _("Passive:"));
|
||||
for (int i = 0; i < passive.size(); i++) {
|
||||
if (bionics[passive[i].id]->power_source)
|
||||
@@ -103,7 +103,7 @@ void player::power_bionics(game *g)
|
||||
mvwprintz(wBio, 4 + i, 3, type, bionics[passive[i].id]->name.c_str());
|
||||
}
|
||||
}
|
||||
if (active.size() > 0) {
|
||||
if (!active.empty()) {
|
||||
mvwprintz(wBio, 3, 33, c_ltblue, _("Active:"));
|
||||
for (int i = 0; i < active.size(); i++) {
|
||||
if (active[i].powered && !bionics[active[i].id]->power_source)
|
||||
@@ -162,7 +162,7 @@ void player::power_bionics(game *g)
|
||||
You can not activate %s! To read a description of \
|
||||
%s, press '!', then '%c'."), bionics[tmp->id]->name.c_str(),
|
||||
bionics[tmp->id]->name.c_str(), tmp->invlet);
|
||||
} else { // Describing bionics, not activating them!
|
||||
} else { // Describing bionics, not activating them!
|
||||
// Clear the lines first
|
||||
ch = 0;
|
||||
werase(w_description);
|
||||
@@ -215,8 +215,7 @@ void player::activate_bionic(int b, game *g)
|
||||
std::vector<point> traj;
|
||||
std::vector<std::string> good;
|
||||
std::vector<std::string> bad;
|
||||
WINDOW* w;
|
||||
int dirx, diry, t, l, index;
|
||||
int dirx, diry;
|
||||
item tmp_item;
|
||||
|
||||
if(bio.id == "bio_painkiller"){
|
||||
@@ -225,7 +224,8 @@ void player::activate_bionic(int b, game *g)
|
||||
if (pkill > pain)
|
||||
pkill = pain;
|
||||
} else if (bio.id == "bio_nanobots"){
|
||||
healall(4);
|
||||
rem_disease("bleed");
|
||||
healall(4);
|
||||
} else if (bio.id == "bio_night"){
|
||||
if (g->turn % 5)
|
||||
g->add_msg(_("Artificial night generator active!"));
|
||||
@@ -234,7 +234,7 @@ void player::activate_bionic(int b, game *g)
|
||||
for (int i = posx - 1; i <= posx + 1; i++) {
|
||||
for (int j = posy - 1; j <= posy + 1; j++) {
|
||||
g->m.bash(i, j, 40, junk);
|
||||
g->m.bash(i, j, 40, junk); // Multibash effect, so that doors &c will fall
|
||||
g->m.bash(i, j, 40, junk); // Multibash effect, so that doors &c will fall
|
||||
g->m.bash(i, j, 40, junk);
|
||||
if (g->m.is_destructable(i, j) && rng(1, 10) >= 4)
|
||||
g->m.ter_set(i, j, t_rubble);
|
||||
@@ -250,7 +250,7 @@ void player::activate_bionic(int b, game *g)
|
||||
hurt(g, bp_arms, 1, rng(5, 10));
|
||||
hurt(g, bp_legs, 0, rng(7, 12));
|
||||
hurt(g, bp_legs, 1, rng(7, 12));
|
||||
hurt(g, bp_torso, 0, rng(5, 15));
|
||||
hurt(g, bp_torso, -1, rng(5, 15));
|
||||
}
|
||||
if (one_in(5))
|
||||
add_disease("teleglow", rng(50, 400));
|
||||
@@ -260,7 +260,7 @@ void player::activate_bionic(int b, game *g)
|
||||
}
|
||||
// TODO: More stuff here (and bio_blood_filter)
|
||||
else if(bio.id == "bio_blood_anal"){
|
||||
w = newwin(20, 40, 3 + ((TERMY > 25) ? (TERMY-25)/2 : 0), 10+((TERMX > 80) ? (TERMX-80)/2 : 0));
|
||||
WINDOW* w = newwin(20, 40, 3 + ((TERMY > 25) ? (TERMY-25)/2 : 0), 10+((TERMX > 80) ? (TERMX-80)/2 : 0));
|
||||
wborder(w, LINE_XOXO, LINE_XOXO, LINE_OXOX, LINE_OXOX,
|
||||
LINE_OXXO, LINE_OOXX, LINE_XXOO, LINE_XOOX );
|
||||
if (has_disease("fungus"))
|
||||
@@ -301,7 +301,7 @@ void player::activate_bionic(int b, game *g)
|
||||
good.push_back(_("Antihistamines"));
|
||||
if (has_disease("adrenaline"))
|
||||
good.push_back(_("Adrenaline Spike"));
|
||||
if (good.size() == 0 && bad.size() == 0)
|
||||
if (good.empty() && bad.empty())
|
||||
mvwprintz(w, 1, 1, c_white, _("No effects."));
|
||||
else {
|
||||
for (int line = 1; line < 39 && line <= good.size() + bad.size(); line++) {
|
||||
@@ -345,7 +345,7 @@ void player::activate_bionic(int b, game *g)
|
||||
{
|
||||
inv.push_back(water);
|
||||
water = inv.item_by_type(water.typeId());
|
||||
eat(g, water.invlet);
|
||||
consume(g, water.invlet);
|
||||
moves -= 350;
|
||||
}
|
||||
else
|
||||
@@ -353,7 +353,7 @@ void player::activate_bionic(int b, game *g)
|
||||
power_level += bionics["bio_evap"]->power_cost;
|
||||
}
|
||||
} else if(bio.id == "bio_lighter"){
|
||||
if(!g->choose_adjacent(_("Start a fire"), dirx, diry) ||
|
||||
if(!g->choose_adjacent(_("Start a fire where?"), dirx, diry) ||
|
||||
(!g->m.add_field(g, dirx, diry, fd_fire, 1))){
|
||||
g->add_msg_if_player(this,_("You can't light a fire there."));
|
||||
power_level += bionics["bio_lighter"]->power_cost;
|
||||
@@ -362,7 +362,7 @@ void player::activate_bionic(int b, game *g)
|
||||
} else if(bio.id == "bio_claws"){
|
||||
if (weapon.type->id == "bio_claws_weapon") {
|
||||
g->add_msg(_("You withdraw your claws."));
|
||||
weapon = get_combat_style();
|
||||
weapon = ret_null;
|
||||
} else if(weapon.type->id != "null"){
|
||||
g->add_msg(_("Your claws extend, forcing you to drop your %s."),
|
||||
weapon.tname().c_str());
|
||||
@@ -391,7 +391,7 @@ void player::activate_bionic(int b, game *g)
|
||||
g->plfire(false);
|
||||
weapon = tmp_item;
|
||||
} else if (bio.id == "bio_emp"){
|
||||
if(g->choose_adjacent(_("create an EMP"), dirx, diry))
|
||||
if(g->choose_adjacent(_("Create an EMP where?"), dirx, diry))
|
||||
g->emp_blast(dirx, diry);
|
||||
else{
|
||||
power_level += bionics["bio_emp"]->power_cost;
|
||||
@@ -402,24 +402,30 @@ void player::activate_bionic(int b, game *g)
|
||||
} else if (bio.id == "bio_water_extractor"){
|
||||
bool extracted = false;
|
||||
for (int i = 0; i < g->m.i_at(posx, posy).size(); i++) {
|
||||
item tmp = g->m.i_at(posx, posy)[i];
|
||||
if (tmp.type->id == "corpse" && query_yn(_("Extract water from the %s"),
|
||||
tmp.tname().c_str())) {
|
||||
item water = item(g->itypes["water_clean"], 0);
|
||||
if (g->handle_liquid(water, true, true))
|
||||
{
|
||||
moves -= 100;
|
||||
}
|
||||
else if (query_yn(_("Drink directly from the condensor?")))
|
||||
{
|
||||
inv.push_back(water);
|
||||
water = inv.item_by_type(water.typeId());
|
||||
eat(g, water.invlet);
|
||||
moves -= 350;
|
||||
}
|
||||
extracted = true;
|
||||
break;
|
||||
}
|
||||
item & tmp = g->m.i_at(posx, posy)[i];
|
||||
if (tmp.type->id == "corpse" ) {
|
||||
int avail=0;
|
||||
if ( tmp.item_vars.find("remaining_water") != tmp.item_vars.end() ) {
|
||||
avail = atoi ( tmp.item_vars["remaining_water"].c_str() );
|
||||
} else {
|
||||
avail = tmp.volume() / 2;
|
||||
}
|
||||
if(avail > 0 && query_yn(_("Extract water from the %s"), tmp.tname().c_str())) {
|
||||
item water = item(g->itypes["water_clean"], 0);
|
||||
if (g->handle_liquid(water, true, true)) {
|
||||
moves -= 100;
|
||||
} else if (query_yn(_("Drink directly from the condensor?"))) {
|
||||
inv.push_back(water);
|
||||
water = inv.item_by_type(water.typeId());
|
||||
consume(g, water.invlet);
|
||||
moves -= 350;
|
||||
}
|
||||
extracted = true;
|
||||
avail--;
|
||||
tmp.item_vars["remaining_water"] = string_format("%d",avail);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!extracted)
|
||||
power_level += bionics["bio_water_extractor"]->power_cost;
|
||||
@@ -427,6 +433,7 @@ void player::activate_bionic(int b, game *g)
|
||||
for (int i = posx - 10; i <= posx + 10; i++) {
|
||||
for (int j = posy - 10; j <= posy + 10; j++) {
|
||||
if (g->m.i_at(i, j).size() > 0) {
|
||||
int t; //not sure why map:sees really needs this, but w/e
|
||||
if (g->m.sees(i, j, posx, posy, -1, t))
|
||||
traj = line_to(i, j, posx, posy, t);
|
||||
else
|
||||
@@ -435,10 +442,11 @@ void player::activate_bionic(int b, game *g)
|
||||
traj.insert(traj.begin(), point(i, j));
|
||||
for (int k = 0; k < g->m.i_at(i, j).size(); k++) {
|
||||
if (g->m.i_at(i, j)[k].made_of("iron") || g->m.i_at(i, j)[k].made_of("steel")){
|
||||
int l = 0;
|
||||
tmp_item = g->m.i_at(i, j)[k];
|
||||
g->m.i_rem(i, j, k);
|
||||
for (l = 0; l < traj.size(); l++) {
|
||||
index = g->mon_at(traj[l].x, traj[l].y);
|
||||
int index = g->mon_at(traj[l].x, traj[l].y);
|
||||
if (index != -1) {
|
||||
if (g->zombie(index).hurt(tmp_item.weight() / 225))
|
||||
g->kill_mon(index, true);
|
||||
@@ -460,7 +468,7 @@ void player::activate_bionic(int b, game *g)
|
||||
}
|
||||
}
|
||||
} else if(bio.id == "bio_lockpick"){
|
||||
if(!g->choose_adjacent(_("Activate your bio lockpick"), dirx, diry)){
|
||||
if(!g->choose_adjacent(_("Activate your bio lockpick where?"), dirx, diry)){
|
||||
power_level += bionics["bio_lockpick"]->power_cost;
|
||||
return;
|
||||
}
|
||||
@@ -511,7 +519,7 @@ bool player::install_bionics(game *g, it_bionic* type)
|
||||
|
||||
// we will base chance_of_success on a ratio of skill and difficulty
|
||||
// when skill=difficulty, this gives us 1. skill < difficulty gives a fraction.
|
||||
float skill_difficulty_parameter = adjusted_skill / (4.0 * type->difficulty);
|
||||
float skill_difficulty_parameter = float(adjusted_skill / (4.0 * type->difficulty));
|
||||
|
||||
// when skill == difficulty, chance_of_success is 50%. Chance of success drops quickly below that
|
||||
// to reserve bionics for characters with the appropriate skill. For more difficult bionics, the
|
||||
@@ -529,9 +537,9 @@ bool player::install_bionics(game *g, it_bionic* type)
|
||||
}
|
||||
}
|
||||
|
||||
practice(g->turn, "electronics", (100 - chance_of_success) * 1.5);
|
||||
practice(g->turn, "firstaid", (100 - chance_of_success) * 1.0);
|
||||
practice(g->turn, "mechanics", (100 - chance_of_success) * 0.5);
|
||||
practice(g->turn, "electronics", int((100 - chance_of_success) * 1.5));
|
||||
practice(g->turn, "firstaid", int((100 - chance_of_success) * 1.0));
|
||||
practice(g->turn, "mechanics", int((100 - chance_of_success) * 0.5));
|
||||
int success = chance_of_success - rng(1, 100);
|
||||
if (success > 0) {
|
||||
g->u.add_memorial_log(_("Installed bionic: %s."), bionics[type->id]->name.c_str());
|
||||
@@ -571,7 +579,7 @@ void bionics_install_failure(game *g, player *u, it_bionic* type, int success)
|
||||
// this is scaled up or down by the ratio of difficulty/skill. At high skill levels (or low
|
||||
// difficulties), only minor consequences occur. At low skill levels, severe consequences
|
||||
// are more likely.
|
||||
int failure_level = sqrt(success * 4.0 * type->difficulty / float (adjusted_skill));
|
||||
int failure_level = int(sqrt(success * 4.0 * type->difficulty / float (adjusted_skill)));
|
||||
int fail_type = (failure_level > 5 ? 5 : failure_level);
|
||||
|
||||
if (fail_type <= 0) {
|
||||
@@ -608,7 +616,7 @@ void bionics_install_failure(game *g, player *u, it_bionic* type, int success)
|
||||
} else {
|
||||
g->add_msg(_("Some of your existing bionics are lost!"));
|
||||
}
|
||||
for (int i = 0; i < failure_level && u->remove_random_bionic(); i++);
|
||||
for (int i = 0; i < failure_level && u->remove_random_bionic(); i++) ;
|
||||
break;
|
||||
|
||||
case 4:
|
||||
@@ -628,7 +636,7 @@ void bionics_install_failure(game *g, player *u, it_bionic* type, int success)
|
||||
valid.push_back(*it);
|
||||
}
|
||||
}
|
||||
if (valid.size() == 0) { // We've got all the bad bionics!
|
||||
if (valid.empty()) { // We've got all the bad bionics!
|
||||
if (u->max_power_level > 0) {
|
||||
int old_power = u->max_power_level;
|
||||
g->add_msg(_("You lose power capacity!"));
|
||||
@@ -646,57 +654,22 @@ void bionics_install_failure(game *g, player *u, it_bionic* type, int success)
|
||||
}
|
||||
}
|
||||
|
||||
void game::init_bionics() throw (std::string)
|
||||
void load_bionic(JsonObject &jsobj)
|
||||
{
|
||||
catajson bionics_file("data/raw/bionics.json");
|
||||
std::string id = jsobj.get_string("id");
|
||||
std::string name = _(jsobj.get_string("name").c_str());
|
||||
std::string description = _(jsobj.get_string("description").c_str());
|
||||
int cost = jsobj.get_int("cost", 0);
|
||||
int time = jsobj.get_int("time", 0);
|
||||
bool faulty = jsobj.get_bool("faulty", false);
|
||||
bool power_source = jsobj.get_bool("power_source", false);
|
||||
bool active = jsobj.get_bool("active", false);
|
||||
|
||||
if(!json_good())
|
||||
{
|
||||
throw (std::string)"data/raw/bionics.json was not found";
|
||||
}
|
||||
if (faulty) { faulty_bionics.push_back(id); }
|
||||
if (power_source) { power_source_bionics.push_back(id); }
|
||||
if (!active && id != "bio_null") { unpowered_bionics.push_back(id); }
|
||||
|
||||
for(bionics_file.set_begin(); bionics_file.has_curr(); bionics_file.next())
|
||||
{
|
||||
catajson bio = bionics_file.curr();
|
||||
|
||||
std::set<std::string> tags;
|
||||
|
||||
if(bio.has("flags"))
|
||||
{
|
||||
tags = bio.get("flags").as_tags();
|
||||
}
|
||||
|
||||
// set up all the bionic parameters
|
||||
std::string id = bio.get("id").as_string();
|
||||
std::string name = _(bio.get("name").as_string().c_str());
|
||||
int cost = bio.get("cost").as_int();
|
||||
int time = bio.get("time").as_int();
|
||||
std::string description = _(bio.get("description").as_string().c_str());
|
||||
bool faulty = (tags.find("FAULTY") != tags.end());
|
||||
bool powersource = (tags.find("POWER") != tags.end());
|
||||
bool active = (tags.find("ACTIVE") != tags.end());
|
||||
|
||||
bionics[id] = new bionic_data(name, powersource, active, cost, time, description, faulty);
|
||||
|
||||
// Don't add bio_null to any vectors.
|
||||
if(id != "bio_null")
|
||||
{
|
||||
if(faulty)
|
||||
{
|
||||
faulty_bionics.push_back(id);
|
||||
}
|
||||
else if(powersource)
|
||||
{
|
||||
power_source_bionics.push_back(id);
|
||||
}
|
||||
else if(!active)
|
||||
{
|
||||
unpowered_bionics.push_back(id);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
if(!json_good())
|
||||
throw (std::string)"There was an error reading data/raw/bionics.json";
|
||||
bionics[id] = new bionic_data(name, power_source, active, cost, time, description, faulty);
|
||||
//dout(D_INFO) << "Loaded bionic: " << name << "\n";
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#ifndef _BIONICS_H_
|
||||
#define _BIONICS_H_
|
||||
#include "json.h"
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
@@ -15,11 +16,11 @@ public:
|
||||
|
||||
std::string name;
|
||||
bool power_source;
|
||||
bool activated; // If true, then the below function only happens when
|
||||
// activated; otherwise, it happens every turn
|
||||
bool activated; // If true, then the below function only happens when
|
||||
// activated; otherwise, it happens every turn
|
||||
int power_cost;
|
||||
int charge_time; // How long, when activated, between drawing power_cost
|
||||
// If 0, it draws power once
|
||||
int charge_time; // How long, when activated, between drawing power_cost
|
||||
// If 0, it draws power once
|
||||
std::string description;
|
||||
bool faulty; // Whether or not the bionic is faulty
|
||||
};
|
||||
@@ -29,13 +30,12 @@ struct bionic {
|
||||
char invlet;
|
||||
bool powered;
|
||||
int charge;
|
||||
bionic() {
|
||||
id = "bio_batteries";
|
||||
bionic() : id("bio_batteries") {
|
||||
invlet = 'a';
|
||||
powered = false;
|
||||
charge = 0;
|
||||
}
|
||||
bionic(bionic_id pid, char pinvlet) {
|
||||
bionic(bionic_id pid, char pinvlet) : id(pid) {
|
||||
id = pid;
|
||||
invlet = pinvlet;
|
||||
powered = false;
|
||||
@@ -48,4 +48,6 @@ extern std::vector<bionic_id> faulty_bionics;
|
||||
extern std::vector<bionic_id> power_source_bionics;
|
||||
extern std::vector<bionic_id> unpowered_bionics;
|
||||
|
||||
void load_bionic(JsonObject &jsobj); // load a bionic from JSON
|
||||
|
||||
#endif
|
||||
|
||||
+45
-13
@@ -57,18 +57,50 @@ std::string encumb_text(body_part bp)
|
||||
}
|
||||
}
|
||||
|
||||
body_part random_body_part()
|
||||
body_part random_body_part(bool main_parts_only)
|
||||
{
|
||||
int rn = rng(0, 100);
|
||||
if (rn == 0)
|
||||
return bp_eyes;
|
||||
if (rn <= 1)
|
||||
return bp_mouth;
|
||||
if (rn <= 7)
|
||||
return bp_head;
|
||||
if (rn <= 28)
|
||||
return bp_legs;
|
||||
if (rn <= 50)
|
||||
return bp_arms;
|
||||
return bp_torso;
|
||||
int rn = rng(0, 100);
|
||||
if (!main_parts_only) {
|
||||
if (rn == 0)
|
||||
return bp_eyes;
|
||||
if (rn <= 1)
|
||||
return bp_mouth;
|
||||
if (rn <= 7)
|
||||
return bp_head;
|
||||
if (rn <= 24)
|
||||
return bp_legs;
|
||||
if (rn <= 30)
|
||||
return bp_feet;
|
||||
if (rn <= 47)
|
||||
return bp_arms;
|
||||
if (rn <= 53)
|
||||
return bp_hands;
|
||||
return bp_torso;
|
||||
} else {
|
||||
if (rn <= 7)
|
||||
return bp_head;
|
||||
if (rn <= 30)
|
||||
return bp_legs;
|
||||
if (rn <= 53)
|
||||
return bp_arms;
|
||||
return bp_torso;
|
||||
}
|
||||
}
|
||||
|
||||
int random_side(body_part bp)
|
||||
{
|
||||
switch (bp) {
|
||||
case bp_torso:
|
||||
case bp_head:
|
||||
case bp_eyes:
|
||||
case bp_mouth:
|
||||
return -1;
|
||||
case bp_arms:
|
||||
case bp_hands:
|
||||
case bp_legs:
|
||||
case bp_feet:
|
||||
return rng(0, 1);
|
||||
default:
|
||||
return rng(0, 1);
|
||||
}
|
||||
}
|
||||
|
||||
+2
-1
@@ -18,6 +18,7 @@ enum body_part {
|
||||
std::string body_part_name(body_part bp, int side);
|
||||
std::string encumb_text(body_part bp);
|
||||
|
||||
body_part random_body_part();
|
||||
body_part random_body_part(bool main_parts_only = false);
|
||||
int random_side(body_part);
|
||||
|
||||
#endif
|
||||
|
||||
+1083
-203
File diff suppressed because it is too large
Load Diff
+25
-3
@@ -7,13 +7,18 @@
|
||||
struct mapgendata
|
||||
{
|
||||
public:
|
||||
oter_id t_nesw[4];
|
||||
oter_id t_nesw[8];
|
||||
int n_fac; // dir == 0
|
||||
int e_fac; // dir == 1
|
||||
int s_fac; // dir == 2
|
||||
int w_fac; // dir == 3
|
||||
int ne_fac; // dir == 4
|
||||
int se_fac; // dir == 5
|
||||
int nw_fac; // dir == 6
|
||||
int sw_fac; // dir == 7
|
||||
|
||||
mapgendata(oter_id north, oter_id east, oter_id south, oter_id west);
|
||||
mapgendata(oter_id t_north, oter_id t_east, oter_id t_south, oter_id t_west, oter_id t_neast,
|
||||
oter_id t_seast, oter_id t_nwest, oter_id t_swest);
|
||||
void set_dir(int dir_in, int val);
|
||||
void fill(int val);
|
||||
int& dir(int dir_in);
|
||||
@@ -26,7 +31,24 @@ ter_id dirt_or_pile();
|
||||
void mapgen_null(map *m);
|
||||
void mapgen_crater(map *m, mapgendata dat);
|
||||
void mapgen_field(map *m, int turn);
|
||||
void mapgen_dirtlot(map *m, game *g);
|
||||
void mapgen_dirtlot(map *m);
|
||||
void mapgen_forest_general(map *m, oter_id terrain_type, mapgendata dat, int turn);
|
||||
void mapgen_hive(map *m, mapgendata dat, int turn);
|
||||
void mapgen_spider_pit(map *m, mapgendata dat, int turn);
|
||||
void mapgen_fungal_bloom(map *m);
|
||||
void mapgen_road_straight(map *m, oter_id terrain_type, mapgendata dat, int turn, float density);
|
||||
void mapgen_road_curved(map *m, oter_id terrain_type, mapgendata dat, int turn, float density);
|
||||
void mapgen_road_tee(map *m, oter_id terrain_type, mapgendata dat, int turn, float density);
|
||||
void mapgen_road_four_way(map *m, oter_id terrain_type, mapgendata dat, int turn, float density);
|
||||
void mapgen_field(map *m, int turn);
|
||||
void mapgen_bridge(map *m, oter_id terrain_type, int turn);
|
||||
void mapgen_highway(map *m, oter_id terrain_type, int turn);
|
||||
void mapgen_river_curved_not(map *m, oter_id terrain_type);
|
||||
void mapgen_river_straight(map *m, oter_id terrain_type);
|
||||
void mapgen_river_curved(map *m, oter_id terrain_type);
|
||||
void mapgen_parking_lot(map *m, oter_id terrain_type, mapgendata dat, int turn);
|
||||
void mapgen_pool(map *m);
|
||||
void mapgen_park(map *m);
|
||||
void mapgen_gas_station(map *m, oter_id terrain_type, int turn, float density);
|
||||
|
||||
#endif
|
||||
|
||||
+4
-4
@@ -39,7 +39,7 @@ calendar::calendar(int turn)
|
||||
int minute_param = int(turn / 10);
|
||||
int hour_param = minute_param / 60;
|
||||
int day_param = hour_param / 24;
|
||||
int season_param = day_param / OPTIONS["SEASON_LENGTH"];
|
||||
int season_param = int(day_param / OPTIONS["SEASON_LENGTH"]);
|
||||
second = 6 * (turn % 10);
|
||||
minute = minute_param % 60;
|
||||
hour = hour_param % 24;
|
||||
@@ -90,7 +90,7 @@ calendar& calendar::operator =(int rhs)
|
||||
int minute_param = int(rhs / 10);
|
||||
int hour_param = minute_param / 60;
|
||||
int day_param = hour_param / 24;
|
||||
int season_param = day_param / OPTIONS["SEASON_LENGTH"];
|
||||
int season_param = int(day_param / OPTIONS["SEASON_LENGTH"]);
|
||||
second = 6 * (rhs % 10);
|
||||
minute = minute_param % 60;
|
||||
hour = hour_param % 24;
|
||||
@@ -220,7 +220,7 @@ void calendar::standardize()
|
||||
}
|
||||
int tmpseason = int(season);
|
||||
if (day >= OPTIONS["SEASON_LENGTH"]) {
|
||||
tmpseason += day / OPTIONS["SEASON_LENGTH"];
|
||||
tmpseason += int(day / OPTIONS["SEASON_LENGTH"]);
|
||||
day %= (int)OPTIONS["SEASON_LENGTH"];
|
||||
}
|
||||
if (tmpseason >= 4) {
|
||||
@@ -239,7 +239,7 @@ int calendar::minutes_past_midnight() const
|
||||
|
||||
moon_phase calendar::moon() const
|
||||
{
|
||||
int phase = day / (OPTIONS["SEASON_LENGTH"] / 4);
|
||||
int phase = int(day / (OPTIONS["SEASON_LENGTH"] / 4));
|
||||
//phase %= 4; Redundant?
|
||||
if (phase == 3)
|
||||
return MOON_HALF;
|
||||
|
||||
+412
-349
File diff suppressed because it is too large
Load Diff
+72
-14
@@ -19,10 +19,10 @@
|
||||
|
||||
#include "game.h"
|
||||
#include "options.h"
|
||||
#include "catajson.h"
|
||||
#include "mapdata.h"
|
||||
#include "tile_id_data.h"
|
||||
#include "enums.h"
|
||||
#include "file_finder.h"
|
||||
|
||||
|
||||
|
||||
@@ -61,16 +61,6 @@ struct tile
|
||||
wy = y2;
|
||||
}
|
||||
};
|
||||
struct tile_rotation
|
||||
{
|
||||
int *dx, *dy;
|
||||
|
||||
tile_rotation(int num_pixels)
|
||||
{
|
||||
dx = new int[num_pixels];
|
||||
dy = new int[num_pixels];
|
||||
}
|
||||
};
|
||||
|
||||
/* Enums */
|
||||
enum LIGHTING
|
||||
@@ -90,6 +80,8 @@ enum MULTITILE_TYPE
|
||||
t_connection,
|
||||
end_piece,
|
||||
unconnected,
|
||||
open_,
|
||||
broken,
|
||||
num_multitile_types
|
||||
};
|
||||
|
||||
@@ -100,6 +92,40 @@ typedef std::map<std::string, tile_type*> tile_id_map;
|
||||
typedef tile_map::iterator tile_iterator;
|
||||
typedef tile_id_map::iterator tile_id_iterator;
|
||||
|
||||
// Cache of a single tile, used to avoid redrawing what didn't change.
|
||||
struct tile_drawing_cache {
|
||||
|
||||
tile_drawing_cache() { };
|
||||
|
||||
// Sprite indices drawn on this tile.
|
||||
// The same indices in a different order need to be drawn differently!
|
||||
std::vector<tile_type*> sprites;
|
||||
std::vector<int> rotations;
|
||||
|
||||
bool operator==(const tile_drawing_cache& other) const {
|
||||
if(sprites.size() != other.sprites.size()) {
|
||||
return false;
|
||||
} else {
|
||||
for(int i=0; i<sprites.size(); i++) {
|
||||
if(sprites[i] != other.sprites[i] || rotations[i] != other.rotations[i]) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool operator!=(const tile_drawing_cache& other) const {
|
||||
return !(this->operator==(other));
|
||||
}
|
||||
|
||||
void operator=(const tile_drawing_cache& other) {
|
||||
this->sprites = other.sprites;
|
||||
this->rotations = other.rotations;
|
||||
}
|
||||
};
|
||||
|
||||
class cata_tiles
|
||||
{
|
||||
public:
|
||||
@@ -111,15 +137,25 @@ class cata_tiles
|
||||
void load_tileset(std::string path);
|
||||
/** Load tileset config file */
|
||||
void load_tilejson(std::string path);
|
||||
void load_tilejson_from_file(std::ifstream *f);
|
||||
/* After loading tileset, create additional cache for rotating each tile assuming it is used for rotations */
|
||||
void create_rotation_cache();
|
||||
/** Draw to screen */
|
||||
void draw(); /* Deprecated */
|
||||
void draw(int destx, int desty, int centerx, int centery, int width, int height);
|
||||
|
||||
/** How many rows and columns of tiles fit into given dimensions **/
|
||||
void get_window_tile_counts(const int width, const int height, int &columns, int &rows) const;
|
||||
int get_tile_width() const;
|
||||
|
||||
bool draw_from_id_string(std::string id, int x, int y, int subtile, int rota, bool is_at_screen_position = false);
|
||||
bool draw_tile_at(tile_type *tile, int x, int y, int rota);
|
||||
|
||||
/**
|
||||
* Redraws all the tiles that have changed since the last frame.
|
||||
*/
|
||||
void apply_changes();
|
||||
|
||||
/** Surface/Sprite rotation specifics */
|
||||
SDL_Surface *rotate_tile(SDL_Surface *src, SDL_Rect *rect, int rota);
|
||||
void put_pixel(SDL_Surface *surface, int x, int y, Uint32 pixel);
|
||||
@@ -142,6 +178,8 @@ class cata_tiles
|
||||
bool draw_vpart(int x, int y);
|
||||
bool draw_entity(int x, int y);
|
||||
|
||||
bool draw_item_highlight(int x, int y);
|
||||
|
||||
// Animation layers
|
||||
bool draw_hit(int x, int y);
|
||||
|
||||
@@ -157,6 +195,10 @@ class cata_tiles
|
||||
void draw_hit_frame(int destx, int desty, int centerx, int centery, int width, int height);
|
||||
void void_hit();
|
||||
|
||||
void init_draw_footsteps(std::queue<point> steps);
|
||||
void draw_footsteps_frame(int destx, int desty, int centerx, int centery, int width, int height);
|
||||
void void_footsteps();
|
||||
|
||||
// pseudo-animated layer, not really though.
|
||||
void init_draw_line(int x, int y, std::vector<point> trajectory, std::string line_end_name, bool target_line);
|
||||
void draw_line(int destx, int desty, int centerx, int centery, int width, int height);
|
||||
@@ -169,11 +211,23 @@ class cata_tiles
|
||||
/** Overmap Layer : Not used for now, do later*/
|
||||
bool draw_omap();
|
||||
|
||||
/**
|
||||
* Scroll the map widget by (x, y)
|
||||
*
|
||||
* scroll(1, 1) would move the view one to the right and one down.
|
||||
*
|
||||
* Useful for keeping part of the previous "frame" and redrawing
|
||||
* only what changed.
|
||||
*/
|
||||
void scroll(int x, int y);
|
||||
|
||||
/** Used to properly initialize everything for display */
|
||||
void init(SDL_Surface *screen, std::string json_path, std::string tileset_path);
|
||||
/* initialize from an outside file */
|
||||
void init(SDL_Surface *screen, std::string load_file_path);
|
||||
void get_tile_information(std::string file_path, std::string &json_path, std::string &tileset_path);
|
||||
/* Reinitializes the tile context using the original screen information */
|
||||
void reinit(std::string load_file_path);
|
||||
void get_tile_information(std::string dir_path, std::string &json_path, std::string &tileset_path);
|
||||
/** Lighting */
|
||||
void init_light();
|
||||
LIGHTING light_at(int x, int y);
|
||||
@@ -197,6 +251,7 @@ class cata_tiles
|
||||
bool do_draw_hit;
|
||||
bool do_draw_line;
|
||||
bool do_draw_weather;
|
||||
bool do_draw_footsteps;
|
||||
|
||||
int exp_pos_x, exp_pos_y, exp_rad;
|
||||
|
||||
@@ -214,6 +269,10 @@ class cata_tiles
|
||||
weather_printable anim_weather;
|
||||
std::string weather_name;
|
||||
|
||||
std::queue<point> footsteps;
|
||||
std::map<point, tile_drawing_cache> cache;
|
||||
std::map<point, tile_drawing_cache> tiles_to_draw_this_frame;
|
||||
|
||||
// offset values
|
||||
int o_x, o_y;
|
||||
|
||||
@@ -231,9 +290,8 @@ class cata_tiles
|
||||
boomered,
|
||||
sight_impaired,
|
||||
bionight_bionic_active;
|
||||
int last_pos_x, last_pos_y;
|
||||
|
||||
|
||||
tile_rotation *tile_rotations;
|
||||
};
|
||||
|
||||
#endif // CATA_TILES_H
|
||||
|
||||
+33
-32
@@ -133,7 +133,7 @@ int utf8_width(const char* s)
|
||||
{
|
||||
unsigned ch = UTF8_getch(&ptr, &len);
|
||||
if(ch!=UNKNOWN_UNICODE) {
|
||||
w += mk_wcwidth((wchar_t)ch);
|
||||
w += mk_wcwidth(ch);
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
@@ -148,23 +148,24 @@ int utf8_width(const char* s)
|
||||
// should be a different value.
|
||||
int cursorx_to_position(const char* line, int cursorx, int* prevpos)
|
||||
{
|
||||
int dummy;
|
||||
int i=0, c=0, *p=prevpos?prevpos:&dummy;
|
||||
*p = 0;
|
||||
while(c<cursorx)
|
||||
{
|
||||
const char* utf8str = line+i;
|
||||
int len = ANY_LENGTH;
|
||||
unsigned ch = UTF8_getch(&utf8str, &len);
|
||||
int cw = mk_wcwidth((wchar_t)ch);
|
||||
len = ANY_LENGTH-len;
|
||||
int dummy;
|
||||
int i=0, c=0, *p=prevpos?prevpos:&dummy;
|
||||
*p = 0;
|
||||
while(c<cursorx)
|
||||
{
|
||||
const char* utf8str = line+i;
|
||||
int len = ANY_LENGTH;
|
||||
unsigned ch = UTF8_getch(&utf8str, &len);
|
||||
int cw = mk_wcwidth(ch);
|
||||
len = ANY_LENGTH-len;
|
||||
|
||||
if(len<=0) len=1;
|
||||
i+=len;
|
||||
if(cw<=0) cw=1;
|
||||
c+=cw;
|
||||
if(c<=cursorx) *p = i;
|
||||
}
|
||||
return i;
|
||||
i+=len;
|
||||
if(cw<=0) cw=1;
|
||||
c+=cw;
|
||||
if(c<=cursorx) *p = i;
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
//Erase character by unicode char width.
|
||||
@@ -176,15 +177,16 @@ int erease_utf8_by_cw( char* t, int cw, int clen, int maxlen)
|
||||
int c=0,i=0;
|
||||
while(c<cw)
|
||||
{
|
||||
const char* utf8str = t+i;
|
||||
int len = ANY_LENGTH;
|
||||
unsigned ch = UTF8_getch(&utf8str, &len);
|
||||
int cw = mk_wcwidth((wchar_t)ch);
|
||||
len = ANY_LENGTH-len;
|
||||
const char* utf8str = t+i;
|
||||
int len = ANY_LENGTH;
|
||||
unsigned ch = UTF8_getch(&utf8str, &len);
|
||||
int cw = mk_wcwidth(ch);
|
||||
len = ANY_LENGTH-len;
|
||||
|
||||
if(len<=0) len=1;
|
||||
i+=len;
|
||||
if(cw<=0) cw=1;
|
||||
c+=cw;
|
||||
i+=len;
|
||||
if(cw<=0) cw=1;
|
||||
c+=cw;
|
||||
}
|
||||
if(cw==c && clen==i)
|
||||
{
|
||||
@@ -215,12 +217,11 @@ std::string utf8_substr(std::string s, int start, int size)
|
||||
int begin = cursorx_to_position(buf, start, &pos);
|
||||
if(begin!=pos)
|
||||
{
|
||||
const char* ts = buf+pos;
|
||||
int l = ANY_LENGTH;
|
||||
unsigned tc = UTF8_getch(&ts, &l);
|
||||
int tw = mk_wcwidth((wchar_t)tc);
|
||||
erease_utf8_by_cw(buf+pos, tw, tw, len-pos-1);
|
||||
begin = pos+tw-1;
|
||||
const char* ts = buf+pos;
|
||||
int l = ANY_LENGTH;
|
||||
unsigned tc = UTF8_getch(&ts, &l);
|
||||
int tw = mk_wcwidth(tc);
|
||||
erease_utf8_by_cw(buf+pos, tw, tw, len-pos-1);
|
||||
}
|
||||
|
||||
if(size>0)
|
||||
@@ -231,7 +232,7 @@ std::string utf8_substr(std::string s, int start, int size)
|
||||
const char* ts = buf+pos;
|
||||
int l = ANY_LENGTH;
|
||||
unsigned tc = UTF8_getch(&ts, &l);
|
||||
int tw = mk_wcwidth((wchar_t)tc);
|
||||
int tw = mk_wcwidth(tc);
|
||||
erease_utf8_by_cw(buf+pos, tw, tw, len-pos-1);
|
||||
end = pos+tw-1;
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
#ifndef CATACHARSET_H
|
||||
#define CATACHARSET_H
|
||||
#include <wchar.h>
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
#define ANY_LENGTH 5
|
||||
#define UNKNOWN_UNICODE 0xFFFD
|
||||
@@ -8,7 +8,7 @@
|
||||
// get a unicode character from a utf8 string
|
||||
unsigned UTF8_getch(const char **src, int *srclen);
|
||||
// from wcwidth.c, return "cell" width of a unicode char
|
||||
int mk_wcwidth(wchar_t ucs);
|
||||
int mk_wcwidth(uint32_t ucs);
|
||||
// convert cursorx value to byte position
|
||||
int cursorx_to_position(const char* line, int cursorx, int* prevppos=NULL);
|
||||
//erease for characters insertion
|
||||
|
||||
+57
-43
@@ -11,24 +11,32 @@
|
||||
#include "mmsystem.h"
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
typedef int chtype;
|
||||
typedef unsigned short attr_t;
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include "json.h"
|
||||
|
||||
#include "input_defs.h"
|
||||
|
||||
typedef int chtype;
|
||||
typedef unsigned short attr_t;
|
||||
typedef unsigned int u_int32_t;
|
||||
|
||||
#define __CHARTEXT 0x000000ff /* bits for 8-bit characters */ //<---------not used
|
||||
#define __NORMAL 0x00000000 /* Added characters are normal. */ //<---------not used
|
||||
#define __STANDOUT 0x00000100 /* Added characters are standout. */ //<---------not used
|
||||
#define __UNDERSCORE 0x00000200 /* Added characters are underscored. */ //<---------not used
|
||||
#define __REVERSE 0x00000400 /* Added characters are reverse //<---------not used
|
||||
video. */
|
||||
#define __BLINK 0x00000800 /* Added characters are blinking. */
|
||||
#define __DIM 0x00001000 /* Added characters are dim. */ //<---------not used
|
||||
#define __BOLD 0x00002000 /* Added characters are bold. */
|
||||
#define __BLANK 0x00004000 /* Added characters are blanked. */ //<---------not used
|
||||
#define __PROTECT 0x00008000 /* Added characters are protected. */ //<---------not used
|
||||
#define __ALTCHARSET 0x00010000 /* Added characters are ACS */ //<---------not used
|
||||
#define __COLOR 0x03fe0000 /* Color bits */
|
||||
#define __ATTRIBUTES 0x03ffff00 /* All 8-bit attribute bits */ //<---------not used
|
||||
// TODO: remove unused stuff
|
||||
|
||||
#define __CHARTEXT 0x000000ff /* bits for 8-bit characters */ //<---------not used
|
||||
#define __NORMAL 0x00000000 /* Added characters are normal. */ //<---------not used
|
||||
#define __STANDOUT 0x00000100 /* Added characters are standout. */ //<---------not used
|
||||
#define __UNDERSCORE 0x00000200 /* Added characters are underscored. */ //<---------not used
|
||||
#define __REVERSE 0x00000400 /* Added characters are reverse //<---------not used
|
||||
video. */
|
||||
#define __BLINK 0x00000800 /* Added characters are blinking. */
|
||||
#define __DIM 0x00001000 /* Added characters are dim. */ //<---------not used
|
||||
#define __BOLD 0x00002000 /* Added characters are bold. */
|
||||
#define __BLANK 0x00004000 /* Added characters are blanked. */ //<---------not used
|
||||
#define __PROTECT 0x00008000 /* Added characters are protected. */ //<---------not used
|
||||
#define __ALTCHARSET 0x00010000 /* Added characters are ACS */ //<---------not used
|
||||
#define __COLOR 0x03fe0000 /* Color bits */
|
||||
#define __ATTRIBUTES 0x03ffff00 /* All 8-bit attribute bits */ //<---------not used
|
||||
|
||||
//a pair of colors[] indexes, foreground and background
|
||||
typedef struct
|
||||
@@ -70,31 +78,31 @@ typedef struct {
|
||||
|
||||
} WINDOW;
|
||||
|
||||
#define A_NORMAL __NORMAL
|
||||
#define A_STANDOUT __STANDOUT
|
||||
#define A_UNDERLINE __UNDERSCORE
|
||||
#define A_REVERSE __REVERSE
|
||||
#define A_BLINK __BLINK
|
||||
#define A_DIM __DIM
|
||||
#define A_BOLD __BOLD
|
||||
#define A_BLANK __BLANK
|
||||
#define A_PROTECT __PROTECT
|
||||
#define A_ALTCHARSET __ALTCHARSET
|
||||
#define A_ATTRIBUTES __ATTRIBUTES
|
||||
#define A_CHARTEXT __CHARTEXT
|
||||
#define A_COLOR __COLOR
|
||||
#define A_NORMAL __NORMAL
|
||||
#define A_STANDOUT __STANDOUT
|
||||
#define A_UNDERLINE __UNDERSCORE
|
||||
#define A_REVERSE __REVERSE
|
||||
#define A_BLINK __BLINK
|
||||
#define A_DIM __DIM
|
||||
#define A_BOLD __BOLD
|
||||
#define A_BLANK __BLANK
|
||||
#define A_PROTECT __PROTECT
|
||||
#define A_ALTCHARSET __ALTCHARSET
|
||||
#define A_ATTRIBUTES __ATTRIBUTES
|
||||
#define A_CHARTEXT __CHARTEXT
|
||||
#define A_COLOR __COLOR
|
||||
|
||||
#define COLOR_BLACK 0x00 //RGB{0,0,0}
|
||||
#define COLOR_RED 0x01 //RGB{196, 0, 0}
|
||||
#define COLOR_GREEN 0x02 //RGB{0,196,0}
|
||||
#define COLOR_YELLOW 0x03 //RGB{196,180,30}
|
||||
#define COLOR_BLUE 0x04 //RGB{0, 0, 196}
|
||||
#define COLOR_MAGENTA 0x05 //RGB{196, 0, 180}
|
||||
#define COLOR_CYAN 0x06 //RGB{0, 170, 200}
|
||||
#define COLOR_WHITE 0x07 //RGB{196, 196, 196}
|
||||
#define COLOR_BLACK 0x00 //RGB{0,0,0}
|
||||
#define COLOR_RED 0x01 //RGB{196, 0, 0}
|
||||
#define COLOR_GREEN 0x02 //RGB{0,196,0}
|
||||
#define COLOR_YELLOW 0x03 //RGB{196,180,30}
|
||||
#define COLOR_BLUE 0x04 //RGB{0, 0, 196}
|
||||
#define COLOR_MAGENTA 0x05 //RGB{196, 0, 180}
|
||||
#define COLOR_CYAN 0x06 //RGB{0, 170, 200}
|
||||
#define COLOR_WHITE 0x07 //RGB{196, 196, 196}
|
||||
|
||||
#define COLOR_PAIR(n) ((((u_int32_t)n) << 17) & A_COLOR)
|
||||
//#define PAIR_NUMBER(n) ((((u_int32_t)n) & A_COLOR) >> 17)
|
||||
#define COLOR_PAIR(n) ((((u_int32_t)n) << 17) & A_COLOR)
|
||||
//#define PAIR_NUMBER(n) ((((u_int32_t)n) & A_COLOR) >> 17)
|
||||
|
||||
#define KEY_MIN 0x101 /* minimum extended key value */ //<---------not used
|
||||
#define KEY_BREAK 0x101 /* break key */ //<---------not used
|
||||
@@ -111,14 +119,13 @@ typedef struct {
|
||||
|
||||
/* Curses external declarations. */
|
||||
|
||||
#define stdscr 0
|
||||
//WINDOW *stdscr; //Define this for portability, strscr will basically be window[0] anyways
|
||||
extern WINDOW *stdscr;
|
||||
|
||||
#define getmaxyx(w, y, x) (y = getmaxy(w), x = getmaxx(w))
|
||||
|
||||
//Curses Functions
|
||||
#define ERR (-1) /* Error return. */
|
||||
#define OK (0) /* Success return. */
|
||||
#define ERR (-1) // Error return.
|
||||
#define OK (0) // Success return.
|
||||
WINDOW *newwin(int nlines, int ncols, int begin_y, int begin_x);
|
||||
int delwin(WINDOW *win);
|
||||
int wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br);
|
||||
@@ -167,6 +174,8 @@ int getmaxx(WINDOW *win);
|
||||
int getmaxy(WINDOW *win);
|
||||
int getbegx(WINDOW *win);
|
||||
int getbegy(WINDOW *win);
|
||||
int getcurx(WINDOW *win);
|
||||
int getcury(WINDOW *win);
|
||||
int move(int y, int x);
|
||||
void timeout(int delay);//PORTABILITY, DUMMY FUNCTION
|
||||
void set_escdelay(int delay);//PORTABILITY, DUMMY FUNCTION
|
||||
@@ -175,11 +184,16 @@ int noecho(void);
|
||||
//non-curses functions, Do not call these in the main game code
|
||||
extern WINDOW* mainwin;
|
||||
extern pairs *colorpairs;
|
||||
extern std::map< std::string,std::vector<int> > consolecolors;
|
||||
WINDOW* curses_init();
|
||||
int curses_destroy();
|
||||
void curses_drawwindow(WINDOW* win);
|
||||
void curses_delay(int delay);
|
||||
void curses_timeout(int t);
|
||||
int curses_getch(WINDOW* win);
|
||||
input_event getch_kyb_mouse(WINDOW* capture_win = NULL);
|
||||
int curses_start_color();
|
||||
#ifdef SDLTILES
|
||||
void init_tiles();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
-322
@@ -1,322 +0,0 @@
|
||||
#include "catajson.h"
|
||||
#include "output.h"
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
|
||||
catajson::catajson()
|
||||
{
|
||||
path_msg = "";
|
||||
}
|
||||
|
||||
catajson::catajson(std::string path, bool is_static)
|
||||
{
|
||||
std::ifstream file;
|
||||
file.open(path.c_str());
|
||||
file >> val;
|
||||
file.close();
|
||||
|
||||
path_msg = path;
|
||||
|
||||
std::string err = picojson::get_last_error();
|
||||
if (! err.empty()) {
|
||||
if(is_static)
|
||||
{
|
||||
std::cout << "Parse error in " << path << std::endl << "ERROR: " << err;
|
||||
exit(1);
|
||||
}
|
||||
else
|
||||
debugmsg("Parse error in %s.\n\nERROR: %s", path.c_str(), err.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
catajson::catajson(picojson::value val_in, std::string path_msg_in)
|
||||
{
|
||||
val = val_in;
|
||||
path_msg = path_msg_in;
|
||||
}
|
||||
|
||||
char catajson::as_char() const
|
||||
{
|
||||
std::string temp = as_string();
|
||||
if (temp.size() != 1)
|
||||
{
|
||||
debugmsg("JSON warning at %s: value requested as char, string length is not 1", path_msg.c_str());
|
||||
}
|
||||
return temp[0];
|
||||
}
|
||||
|
||||
std::string catajson::as_string() const
|
||||
{
|
||||
if (val.is<std::string>())
|
||||
{
|
||||
return val.get<std::string>();
|
||||
}
|
||||
else
|
||||
{
|
||||
debugmsg("JSON error at %s: value is not a string", path_msg.c_str());
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
int catajson::as_int() const
|
||||
{
|
||||
double temp = as_double();
|
||||
int ret = static_cast<int>(temp);
|
||||
if (ret != temp)
|
||||
{
|
||||
debugmsg("JSON warning at %s: value was requested as int, provided as double", path_msg.c_str());
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool catajson::as_bool() const
|
||||
{
|
||||
if (val.is<bool>())
|
||||
{
|
||||
return val.get<bool>();
|
||||
}
|
||||
else
|
||||
{
|
||||
debugmsg("JSON error at %s: value is not a boolean", path_msg.c_str());
|
||||
}
|
||||
return val.evaluate_as_boolean();
|
||||
}
|
||||
|
||||
double catajson::as_double() const
|
||||
{
|
||||
if (val.is<double>())
|
||||
{
|
||||
return val.get<double>();
|
||||
}
|
||||
else
|
||||
{
|
||||
debugmsg("JSON error at %s: value is not numeric", path_msg.c_str());
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
std::set<std::string> catajson::as_tags()
|
||||
{
|
||||
std::set<std::string> tags;
|
||||
if (is_array())
|
||||
{
|
||||
for (set_begin(); has_curr(); next())
|
||||
{
|
||||
tags.insert( curr().as_string() );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// We should have gotten a string, if not an array.
|
||||
tags.insert( as_string() );
|
||||
}
|
||||
return tags;
|
||||
}
|
||||
|
||||
catajson catajson::get(std::string key) const
|
||||
{
|
||||
if (val.is<picojson::object>())
|
||||
{
|
||||
if (has(key))
|
||||
{
|
||||
return catajson(val.get(key), path_msg + "[" + key + "]");
|
||||
}
|
||||
else
|
||||
{
|
||||
debugmsg("JSON error at %s[%s]: value does not exist", path_msg.c_str(), key.c_str());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
debugmsg("JSON error at %s: value is not an object", path_msg.c_str());
|
||||
}
|
||||
return catajson();
|
||||
}
|
||||
|
||||
catajson catajson::get(int index) const
|
||||
{
|
||||
if (val.is<picojson::array>())
|
||||
{
|
||||
if (has(index))
|
||||
{
|
||||
std::stringstream text;
|
||||
text << path_msg << "[" << index << "]";
|
||||
return catajson(val.get(index), text.str());
|
||||
}
|
||||
else
|
||||
{
|
||||
debugmsg("JSON error at %s[%d]: value does not exist", path_msg.c_str(), index);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
debugmsg("JSON error at %s: value is not an array", path_msg.c_str());
|
||||
}
|
||||
return catajson();
|
||||
}
|
||||
|
||||
bool catajson::has(std::string key) const
|
||||
{
|
||||
if (val.is<picojson::object>())
|
||||
{
|
||||
return val.contains(key);
|
||||
}
|
||||
else
|
||||
{
|
||||
debugmsg("JSON error at %s: value is not an object", path_msg.c_str());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool catajson::has(int index) const
|
||||
{
|
||||
if (val.is<picojson::array>())
|
||||
{
|
||||
return val.contains(index);
|
||||
}
|
||||
else
|
||||
{
|
||||
debugmsg("JSON error at %s: value is not an array", path_msg.c_str());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool catajson::is_char() const
|
||||
{
|
||||
return is_string() && as_string().size() == 1;
|
||||
}
|
||||
|
||||
bool catajson::is_string() const
|
||||
{
|
||||
return val.is<std::string>();
|
||||
}
|
||||
|
||||
bool catajson::is_number() const
|
||||
{
|
||||
return val.is<double>();
|
||||
}
|
||||
|
||||
bool catajson::is_bool() const
|
||||
{
|
||||
return val.is<bool>();
|
||||
}
|
||||
|
||||
bool catajson::is_object() const
|
||||
{
|
||||
return val.is<picojson::object>();
|
||||
}
|
||||
|
||||
bool catajson::is_array() const
|
||||
{
|
||||
return val.is<picojson::array>();
|
||||
}
|
||||
|
||||
void catajson::set_begin()
|
||||
{
|
||||
if (val.is<picojson::array>())
|
||||
{
|
||||
ar_iter = val.get<picojson::array>().begin();
|
||||
}
|
||||
else if (val.is<picojson::object>())
|
||||
{
|
||||
obj_iter = val.get<picojson::object>().begin();
|
||||
}
|
||||
else
|
||||
{
|
||||
debugmsg("JSON error at %s: cannot call set_begin(), value is not an array or object", path_msg.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
void catajson::set_end()
|
||||
{
|
||||
if (val.is<picojson::array>())
|
||||
{
|
||||
ar_iter = val.get<picojson::array>().end();
|
||||
}
|
||||
else if (val.is<picojson::object>())
|
||||
{
|
||||
obj_iter = val.get<picojson::object>().end();
|
||||
}
|
||||
else
|
||||
{
|
||||
debugmsg("JSON error at %s: cannot call set_end(), value is not an array or object", path_msg.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
void catajson::next()
|
||||
{
|
||||
if (val.is<picojson::array>())
|
||||
{
|
||||
++ar_iter;
|
||||
}
|
||||
else if (val.is<picojson::object>())
|
||||
{
|
||||
++obj_iter;
|
||||
}
|
||||
else
|
||||
{
|
||||
debugmsg("JSON error at %s: tried to iterate an invalid value", path_msg.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
void catajson::prev()
|
||||
{
|
||||
if (val.is<picojson::array>())
|
||||
{
|
||||
--ar_iter;
|
||||
}
|
||||
else if (val.is<picojson::object>())
|
||||
{
|
||||
--obj_iter;
|
||||
}
|
||||
else
|
||||
{
|
||||
debugmsg("JSON error at %s: tried to iterate an invalid value", path_msg.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
bool catajson::has_curr() const
|
||||
{
|
||||
if (val.is<picojson::array>())
|
||||
{
|
||||
if (ar_iter >= val.get<picojson::array>().begin() && ar_iter < val.get<picojson::array>().end())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else if (val.is<picojson::object>())
|
||||
{
|
||||
return has(obj_iter->first);
|
||||
}
|
||||
else
|
||||
{
|
||||
debugmsg("JSON error at %s: not an array or object", path_msg.c_str());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
catajson catajson::curr() const
|
||||
{
|
||||
if (val.is<picojson::array>())
|
||||
{
|
||||
const int count = val.get<picojson::array>().size();
|
||||
for (int i = 0; i < count; ++i)
|
||||
{
|
||||
if (val.get(i) == *ar_iter)
|
||||
{
|
||||
return get(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (val.is<picojson::object>())
|
||||
{
|
||||
return get(obj_iter->first);
|
||||
}
|
||||
else
|
||||
{
|
||||
debugmsg("JSON error at %s: not an array or object", path_msg.c_str());
|
||||
}
|
||||
return catajson();
|
||||
}
|
||||
-55
@@ -1,55 +0,0 @@
|
||||
#ifndef _CATAJSON_H_
|
||||
#define _CATAJSON_H_
|
||||
|
||||
#include "picojson.h"
|
||||
#include <set>
|
||||
|
||||
class catajson
|
||||
{
|
||||
public:
|
||||
catajson();
|
||||
catajson(std::string path, bool is_static = false);
|
||||
catajson(picojson::value val, std::string path_msg);
|
||||
|
||||
// accessors for picojson values containing simple types
|
||||
char as_char() const;
|
||||
std::string as_string() const;
|
||||
int as_int() const;
|
||||
bool as_bool() const;
|
||||
double as_double() const;
|
||||
// accessor for not-so-simple type
|
||||
std::set<std::string> as_tags();
|
||||
// accessors in the case of array or object values
|
||||
catajson get(std::string key) const;
|
||||
catajson get(int index) const;
|
||||
|
||||
//these check whether a given key/index is valid
|
||||
bool has(std::string key) const;
|
||||
bool has(int index) const;
|
||||
|
||||
bool is_char() const;
|
||||
bool is_string() const;
|
||||
bool is_number() const; // double OR int
|
||||
bool is_bool() const;
|
||||
bool is_object() const; // string-value pairs
|
||||
bool is_array() const;
|
||||
|
||||
// these are intended for use in iteration
|
||||
// STL-style iterators are acceptable too, if anyone wants to add them
|
||||
void set_begin(); // start iterating from the beginning
|
||||
void set_end(); // start iterating from the end
|
||||
void next(); // caller's responsibility to init first
|
||||
void prev(); // caller's responsibility to init first
|
||||
bool has_curr() const; // would curr() be valid?
|
||||
catajson curr() const; // get the current element
|
||||
|
||||
private:
|
||||
picojson::value val;
|
||||
picojson::array::const_iterator ar_iter;
|
||||
picojson::object::const_iterator obj_iter;
|
||||
std::string path_msg; // used for error messages
|
||||
};
|
||||
|
||||
#define json_good() picojson::get_last_error().empty()
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,23 @@
|
||||
#include "char_validity_check.h"
|
||||
|
||||
/**
|
||||
* Returns whether or not the given (ASCII) character is usable.
|
||||
* Called to check player name validity and world name validity.
|
||||
* Only printable symbols not reserved by the filesystem are
|
||||
* permitted.
|
||||
* @param ch The char to check.
|
||||
* @return true if the char is allowed in a name, false if not.
|
||||
*/
|
||||
bool is_char_allowed(char ch) {
|
||||
|
||||
//Allow everything EXCEPT the following reserved characters:
|
||||
return (ch > 31 //0-31 are control characters
|
||||
&& ch < 127 //DEL character
|
||||
&& ch != '/' && ch != '\\' //Path separators
|
||||
&& ch != '?' && ch != '*' && ch != '%' //Wildcards
|
||||
&& ch != ':' //Mount point/drive marker
|
||||
&& ch != '|' //Output pipe
|
||||
&& ch != '"' //Filename (with spaces) marker
|
||||
&& ch != '>' && ch != '<'); //Input/output redirection
|
||||
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
#ifndef _CHAR_VALIDITY_CHECK_H
|
||||
#define _CHAR_VALIDITY_CHECK_H
|
||||
|
||||
bool is_char_allowed(char ch);
|
||||
|
||||
#endif // _CHAR_VALIDITY_CHECK_H
|
||||
@@ -51,7 +51,6 @@ Format: File with definition : Name of enum
|
||||
* lightmap.h : lit_level
|
||||
* line.h : direction
|
||||
* map.cpp : astar_list
|
||||
* mapdata.h : t_flag
|
||||
* mapdata.h : ter_id
|
||||
* mapdata.h : furn_id
|
||||
* mapdata.h : map_extra
|
||||
@@ -90,7 +89,6 @@ Format: File with definition : Name of enum
|
||||
* pldata.h : hp_part
|
||||
* trap.h : trap_id
|
||||
* veh_interact.h : sel_types
|
||||
* veh_type : vpart_id
|
||||
* vehicle.cpp : vehicle_controls
|
||||
* vehicle.h : veh_coll_type
|
||||
* weather.h : weather_type
|
||||
|
||||
+76
-33
@@ -27,28 +27,36 @@
|
||||
* melee.json - anything that doesn't go in the other item jsons, melee weapons
|
||||
* mods.json - gunmods
|
||||
|
||||
##json
|
||||
* furniture.json - furniture, and features treated like furniture
|
||||
* terrain.json - terrain types and definitions
|
||||
|
||||
#raw jsons
|
||||
|
||||
###BIONICS
|
||||
```C++
|
||||
"id" : "bio_batteries", // Unique ID. Must be one continuous word, use underscores if necessary
|
||||
"name" : "Battery System", // In-game name displayed
|
||||
"cost" : 0, // How many PUs it costs to use the bionic.
|
||||
"time" : 0, // How long, when activated, between drawing cost. If 0, it draws power once.
|
||||
"flags" : ["POWER"], // Used to flag the bionic as a specific type.
|
||||
"description": "You have a battery draining attachment, and thus can make use of the energy\ncontained in normal, everyday batteries. Use 'E' to consume batteries." // In-game description
|
||||
"id" : "bio_batteries", // Unique ID. Must be one continuous word,
|
||||
// use underscores if necessary.
|
||||
"name" : "Battery System", // In-game name displayed
|
||||
"active" : false, // Whether the bionic is active or passive (default: passive)
|
||||
"power_source" : false, // Whether the bionic provides power (default: false)
|
||||
"faulty" : false, // Whether it is a faulty type (default: false)
|
||||
"cost" : 0, // How many PUs it costs to use the bionic. (default: 0)
|
||||
"time" : 0, // How long, when activated, between drawing cost.
|
||||
// If 0, it draws power once. (default: 0)
|
||||
"description" : "You have a battery draining attachment, and thus can make use of the energy contained in normal, everyday batteries. Use 'E' to consume batteries." // In-game description
|
||||
```
|
||||
###DREAMS
|
||||
```C++
|
||||
"message" : [ // List of potential dreams
|
||||
"You have a strange dream about birds.",
|
||||
"Your dreams give you a strange feathered feeling."
|
||||
],
|
||||
"category" : "MUTCAT_BIRD", // Mutation category needed to dream
|
||||
"strength" : 1 // Mutation category strength required
|
||||
1 = 20 - 34
|
||||
2 = 35 - 49
|
||||
3 = 50+
|
||||
"messages" : [ // List of potential dreams
|
||||
"You have a strange dream about birds.",
|
||||
"Your dreams give you a strange feathered feeling."
|
||||
],
|
||||
"category" : "MUTCAT_BIRD", // Mutation category needed to dream
|
||||
"strength" : 1 // Mutation category strength required
|
||||
1 = 20 - 34
|
||||
2 = 35 - 49
|
||||
3 = 50+
|
||||
```
|
||||
###ITEM GROUPS
|
||||
```C++
|
||||
@@ -60,7 +68,8 @@
|
||||
["mushroom_poison", 3],
|
||||
["mushroom_magic", 1],
|
||||
["blueberries", 3]
|
||||
]
|
||||
],
|
||||
"groups":[] // ?
|
||||
```
|
||||
###MATERIALS
|
||||
```C++
|
||||
@@ -80,11 +89,16 @@
|
||||
```C++
|
||||
"name" : "GROUP_ANT", // Unique ID. Must be one continuous word, use underscores if necessary
|
||||
"default" : "mon_ant", // Default monster, automatically fills in any remaining spawn chances
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_ant_larva", "freq" : 40, "multiplier" : 0 }, // To choose monster spawned game creates 1000 entries and picks one.
|
||||
{ "monster" : "mon_ant_soldier", "freq" : 90, "multiplier" : 5 }, // Each monster will have a number of entries equal to it's "freq" and
|
||||
{ "monster" : "mon_ant_queen", "freq" : 0, "multiplier" : 0 } // the default monster will fill in the remaining. "multiplier" increases
|
||||
] // how much each monster counts for in a spawn group (i.e. will spawn 5 larva or 1 soldier)
|
||||
"monsters" : [ // To choose monster spawned game creates 1000 entries and picks one.
|
||||
{ "monster" : "mon_ant_larva", "freq" : 40, "multiplier" : 0 }, // Each monster will have a number of entries equal to it's "freq" and
|
||||
{ "monster" : "mon_ant_soldier", "freq" : 90, "multiplier" : 5 }, // the default monster will fill in the remaining. "multiplier" increases
|
||||
{ "monster" : "mon_ant_queen", "freq" : 0, "multiplier" : 0 } // how much each monster counts for in a spawn group (i.e. will spawn 5 larva or 1 soldier)
|
||||
{ "monster" : "mon_thing", // Monsters id
|
||||
"freq" : 100, // Chance of occurence, out of a thousand
|
||||
"multiplier" : 0, // How many monsters each monster in this definition should count as, if spawning a limited number of monsters
|
||||
"pack_size" : [3,5], // The minimum and maximum number of monsters in this group that should spawn together. Optional, defaults [1,1]
|
||||
"conditions" : ["TWILIGHT","SUMMER"] // Conditions limiting when monsters spawn. Valid options: SUMMER, WINTER, AUTUMN, SPRING, DAY, NIGHT, DUSK, DAWN, TWILIGHT
|
||||
}
|
||||
```
|
||||
###NAMES
|
||||
```C++
|
||||
@@ -123,7 +137,7 @@
|
||||
"result": "javelin", // ID of resulting item
|
||||
"category": "CC_WEAPON", // Category of crafting recipe. CC_NONCRAFT used for disassembly recipes
|
||||
"skill_used": "fabrication", // Skill trained and used for success checks
|
||||
"requires_skills": [ "survival", 1, "throw", 2 ], // Skills required to unlock recipe
|
||||
"requires_skills": [["survival", 1], ["throw", 2]], // Skills required to unlock recipe
|
||||
"difficulty": 3, // Difficulty of success check
|
||||
"time": 5000, // Time to perform recipe
|
||||
"reversible": false, // Can be disassembled.
|
||||
@@ -141,9 +155,8 @@
|
||||
[ "toolset", -1 ]
|
||||
],
|
||||
[
|
||||
[ "fire", -1 ]
|
||||
]
|
||||
],
|
||||
[ "fire", -1 ]
|
||||
]],
|
||||
"components": [ // Equivalent components are surrounded by a single set of brackets
|
||||
[
|
||||
[ "spear_wood", 1 ], // Number of charges/items required
|
||||
@@ -164,10 +177,10 @@
|
||||
```
|
||||
###SKILLS
|
||||
```C++
|
||||
"smg", // Unique ID. Must be one continuous word, use underscores if necessary
|
||||
"submachine guns", // In-game name displayed
|
||||
"Your skill with submachine guns and machine pistols. Halfway between a pistol and an assault rifle, these weapons fire and reload quickly, and may fire in bursts, but they are not very accurate.", // In-game description
|
||||
["gun_type"] // Special flags, most skills will have an empty list "[]"
|
||||
"ident" : "smg", // Unique ID. Must be one continuous word, use underscores if necessary
|
||||
"name" : "submachine guns", // In-game name displayed
|
||||
"description" : "Your skill with submachine guns and machine pistols. Halfway between a pistol and an assault rifle, these weapons fire and reload quickly, and may fire in bursts, but they are not very accurate.", // In-game description
|
||||
"tags" : ["gun_type"] // Special flags (default: none)
|
||||
```
|
||||
###SNIPPETS
|
||||
```C++
|
||||
@@ -179,15 +192,16 @@
|
||||
"id": "LIGHTEATER", // Unique ID
|
||||
"name": "Optimist", // In-game name displayed
|
||||
"points": 2, // Point cost of the trait. Positive values cost points and negative values give points
|
||||
"visibility": 0, // Visibility of the trait for purposes of NPC interaction
|
||||
"ugliness": 0, // Ugliness of the trait for purposes of NPC interaction
|
||||
"visibility": 0, // Visibility of the trait for purposes of NPC interaction (default: 0)
|
||||
"ugliness": 0, // Ugliness of the trait for purposes of NPC interaction (default: 0)
|
||||
"description": "Nothing gets you down!" // In-game description
|
||||
"starting_trait": true, // Can be selected at character creation
|
||||
"valid": false, // Can be mutated ingame
|
||||
"starting_trait": true, // Can be selected at character creation (default: false)
|
||||
"valid": false, // Can be mutated ingame (default: true)
|
||||
"category": ["MUTCAT_BIRD", "MUTCAT_INSECT"], // Categories containing this mutation
|
||||
"prereqs": ["SKIN_ROUGH"], // Needs these mutations before you can mutate toward this mutation
|
||||
"cancels": ["ROT1", "ROT2", "ROT3"], // Cancels these mutations when mutating
|
||||
"changes_to": ["FASTHEALER2"], // Can change into these mutations when mutating further
|
||||
"leads_to": [], // Mutations that add to this one
|
||||
"wet_protection":[{ "part": "HEAD", // Wet Protection on specific bodyparts
|
||||
"good": 1 } ] // "neutral/good/ignored" // Good increases pos and cancels neg, neut cancels neg, ignored cancels both
|
||||
```
|
||||
@@ -420,3 +434,32 @@
|
||||
"revert_to": "torch_done", // Transforms into item when charges are expended
|
||||
"use_action": "TORCH_LIT" // Action performed when tool is used
|
||||
```
|
||||
#json jsons
|
||||
|
||||
###FURNITURE
|
||||
```C++
|
||||
"type": "furniture", //Must always be 'furniture'
|
||||
"name": "toilet", //Displayed name of the furniture
|
||||
"symbol": "&", //Symbol displayed
|
||||
"color": "white", //Glyph color. Alternately use 'bgcolor' to use a solid background color.
|
||||
//You must use EXACTLY ONE of 'color' or 'bgcolor'.
|
||||
"move_cost_mod": 2, //Movement cost modifier (-10 = impassable, 0 = no change)
|
||||
"required_str": 18, //Strength required to move past the terrain easily
|
||||
"flags": ["TRANSPARENT", "BASHABLE", "FLAMMABLE_HARD"], //Furniture flags
|
||||
"examine_action": "toilet" //(OPTIONAL) Function called when examined, see iexamine.cpp.
|
||||
//If omitted, defaults to iexamine::none.
|
||||
```
|
||||
|
||||
###TERRAIN
|
||||
```C++
|
||||
"type": "terrain", //Must always be 'terrain'
|
||||
"name": "spiked pit", //Displayed name of the terrain
|
||||
"symbol": "0", //Symbol used
|
||||
"color": "ltred", //Color of the symbol
|
||||
"move_cost": 10, //Move cost to move through. 2 = normal speed, 0 = impassable
|
||||
"trap": "spike_pit", //(OPTIONAL) trap_id minus the tr_ prefix of the trap type.
|
||||
//If omitted, defaults to tr_null.
|
||||
"flags": ["TRANSPARENT", "DIGGABLE"], //Terrain flags
|
||||
"examine_action": "pit" //(OPTIONAL) Function called when examined, see iexamine.cpp.
|
||||
//If omitted, defaults to iexamine::none.
|
||||
```
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#include "color.h"
|
||||
#include "output.h"
|
||||
#include "cursesdef.h"
|
||||
#include "options.h"
|
||||
#include "rng.h"
|
||||
|
||||
#define HILIGHT COLOR_BLUE
|
||||
void init_colors()
|
||||
@@ -410,6 +412,226 @@ nc_color int_to_color(int key)
|
||||
return c_black;
|
||||
}
|
||||
|
||||
nc_color hilite(nc_color c)
|
||||
{
|
||||
switch (c) {
|
||||
case c_white: return h_white;
|
||||
case c_ltgray: return h_ltgray;
|
||||
case c_dkgray: return h_dkgray;
|
||||
case c_red: return h_red;
|
||||
case c_green: return h_green;
|
||||
case c_blue: return h_blue;
|
||||
case c_cyan: return h_cyan;
|
||||
case c_magenta: return h_magenta;
|
||||
case c_brown: return h_brown;
|
||||
case c_ltred: return h_ltred;
|
||||
case c_ltgreen: return h_ltgreen;
|
||||
case c_ltblue: return h_ltblue;
|
||||
case c_ltcyan: return h_ltcyan;
|
||||
case c_pink: return h_pink;
|
||||
case c_yellow: return h_yellow;
|
||||
}
|
||||
return h_white;
|
||||
}
|
||||
|
||||
nc_color invert_color(nc_color c)
|
||||
{
|
||||
if (OPTIONS["NO_BRIGHT_BACKGROUNDS"]) {
|
||||
switch (c) {
|
||||
case c_white:
|
||||
case c_ltgray:
|
||||
case c_dkgray: return i_ltgray;
|
||||
case c_red:
|
||||
case c_ltred: return i_red;
|
||||
case c_green:
|
||||
case c_ltgreen: return i_green;
|
||||
case c_blue:
|
||||
case c_ltblue: return i_blue;
|
||||
case c_cyan:
|
||||
case c_ltcyan: return i_cyan;
|
||||
case c_magenta:
|
||||
case c_pink: return i_magenta;
|
||||
case c_brown:
|
||||
case c_yellow: return i_brown;
|
||||
}
|
||||
}
|
||||
|
||||
switch (c) {
|
||||
case c_white: return i_white;
|
||||
case c_ltgray: return i_ltgray;
|
||||
case c_dkgray: return i_dkgray;
|
||||
case c_red: return i_red;
|
||||
case c_green: return i_green;
|
||||
case c_blue: return i_blue;
|
||||
case c_cyan: return i_cyan;
|
||||
case c_magenta: return i_magenta;
|
||||
case c_brown: return i_brown;
|
||||
case c_yellow: return i_yellow;
|
||||
case c_ltred: return i_ltred;
|
||||
case c_ltgreen: return i_ltgreen;
|
||||
case c_ltblue: return i_ltblue;
|
||||
case c_ltcyan: return i_ltcyan;
|
||||
case c_pink: return i_pink;
|
||||
}
|
||||
|
||||
return c_pink;
|
||||
}
|
||||
|
||||
nc_color red_background(nc_color c)
|
||||
{
|
||||
switch (c) {
|
||||
case c_white: return c_white_red;
|
||||
case c_ltgray: return c_ltgray_red;
|
||||
case c_dkgray: return c_dkgray_red;
|
||||
case c_red: return c_red_red;
|
||||
case c_green: return c_green_red;
|
||||
case c_blue: return c_blue_red;
|
||||
case c_cyan: return c_cyan_red;
|
||||
case c_magenta: return c_magenta_red;
|
||||
case c_brown: return c_brown_red;
|
||||
case c_ltred: return c_ltred_red;
|
||||
case c_ltgreen: return c_ltgreen_red;
|
||||
case c_ltblue: return c_ltblue_red;
|
||||
case c_ltcyan: return c_ltcyan_red;
|
||||
case c_pink: return c_pink_red;
|
||||
case c_yellow: return c_yellow_red;
|
||||
}
|
||||
return c_white_red;
|
||||
}
|
||||
|
||||
/// colors need to be totally redone, really..
|
||||
nc_color white_background(nc_color c)
|
||||
{
|
||||
switch (c) {
|
||||
case c_black: return c_black_white;
|
||||
case c_dkgray: return c_dkgray_white;
|
||||
case c_ltgray: return c_ltgray_white;
|
||||
case c_white: return c_white_white;
|
||||
case c_red: return c_red_white;
|
||||
case c_ltred: return c_ltred_white;
|
||||
case c_green: return c_green_white;
|
||||
case c_ltgreen: return c_ltgreen_white;
|
||||
case c_brown: return c_brown_white;
|
||||
case c_yellow: return c_yellow_white;
|
||||
case c_blue: return c_blue_white;
|
||||
case c_ltblue: return c_ltblue_white;
|
||||
case c_magenta: return c_magenta_white;
|
||||
case c_pink: return c_pink_white;
|
||||
case c_cyan: return c_cyan_white;
|
||||
case c_ltcyan: return c_ltcyan_white;
|
||||
default: return c_black_white;
|
||||
}
|
||||
}
|
||||
|
||||
nc_color green_background(nc_color c)
|
||||
{
|
||||
switch (c) {
|
||||
case c_black: return c_black_green;
|
||||
case c_dkgray: return c_dkgray_green;
|
||||
case c_ltgray: return c_ltgray_green;
|
||||
case c_white: return c_white_green;
|
||||
case c_red: return c_red_green;
|
||||
case c_ltred: return c_ltred_green;
|
||||
case c_green: return c_green_green;
|
||||
case c_ltgreen: return c_ltgreen_green;
|
||||
case c_brown: return c_brown_green;
|
||||
case c_yellow: return c_yellow_green;
|
||||
case c_blue: return c_blue_green;
|
||||
case c_ltblue: return c_ltblue_green;
|
||||
case c_magenta: return c_magenta_green;
|
||||
case c_pink: return c_pink_green;
|
||||
case c_cyan: return c_cyan_green;
|
||||
case c_ltcyan: return c_ltcyan_green;
|
||||
default: return c_black_green;
|
||||
}
|
||||
}
|
||||
|
||||
nc_color yellow_background(nc_color c)
|
||||
{
|
||||
switch (c) {
|
||||
case c_black: return c_black_yellow;
|
||||
case c_dkgray: return c_dkgray_yellow;
|
||||
case c_ltgray: return c_ltgray_yellow;
|
||||
case c_white: return c_white_yellow;
|
||||
case c_red: return c_red_yellow;
|
||||
case c_ltred: return c_ltred_yellow;
|
||||
case c_green: return c_green_yellow;
|
||||
case c_ltgreen: return c_ltgreen_yellow;
|
||||
case c_brown: return c_brown_yellow;
|
||||
case c_yellow: return c_yellow_yellow;
|
||||
case c_blue: return c_blue_yellow;
|
||||
case c_ltblue: return c_ltblue_yellow;
|
||||
case c_magenta: return c_magenta_yellow;
|
||||
case c_pink: return c_pink_yellow;
|
||||
case c_cyan: return c_cyan_yellow;
|
||||
case c_ltcyan: return c_ltcyan_yellow;
|
||||
default: return c_black_yellow;
|
||||
}
|
||||
}
|
||||
|
||||
nc_color magenta_background(nc_color c)
|
||||
{
|
||||
switch (c) {
|
||||
case c_black: return c_black_magenta;
|
||||
case c_dkgray: return c_dkgray_magenta;
|
||||
case c_ltgray: return c_ltgray_magenta;
|
||||
case c_white: return c_white_magenta;
|
||||
case c_red: return c_red_magenta;
|
||||
case c_ltred: return c_ltred_magenta;
|
||||
case c_green: return c_green_magenta;
|
||||
case c_ltgreen: return c_ltgreen_magenta;
|
||||
case c_brown: return c_brown_magenta;
|
||||
case c_yellow: return c_yellow_magenta;
|
||||
case c_blue: return c_blue_magenta;
|
||||
case c_ltblue: return c_ltblue_magenta;
|
||||
case c_magenta: return c_magenta_magenta;
|
||||
case c_pink: return c_pink_magenta;
|
||||
case c_cyan: return c_cyan_magenta;
|
||||
case c_ltcyan: return c_ltcyan_magenta;
|
||||
default: return c_black_magenta;
|
||||
}
|
||||
}
|
||||
|
||||
nc_color cyan_background(nc_color c)
|
||||
{
|
||||
switch (c) {
|
||||
case c_black: return c_black_cyan;
|
||||
case c_dkgray: return c_dkgray_cyan;
|
||||
case c_ltgray: return c_ltgray_cyan;
|
||||
case c_white: return c_white_cyan;
|
||||
case c_red: return c_red_cyan;
|
||||
case c_ltred: return c_ltred_cyan;
|
||||
case c_green: return c_green_cyan;
|
||||
case c_ltgreen: return c_ltgreen_cyan;
|
||||
case c_brown: return c_brown_cyan;
|
||||
case c_yellow: return c_yellow_cyan;
|
||||
case c_blue: return c_blue_cyan;
|
||||
case c_ltblue: return c_ltblue_cyan;
|
||||
case c_magenta: return c_magenta_cyan;
|
||||
case c_pink: return c_pink_cyan;
|
||||
case c_cyan: return c_cyan_cyan;
|
||||
case c_ltcyan: return c_ltcyan_cyan;
|
||||
default: return c_black_cyan;
|
||||
}
|
||||
}
|
||||
|
||||
nc_color rand_color()
|
||||
{
|
||||
switch (rng(0, 9)) {
|
||||
case 0: return c_white;
|
||||
case 1: return c_ltgray;
|
||||
case 2: return c_green;
|
||||
case 3: return c_red;
|
||||
case 4: return c_yellow;
|
||||
case 5: return c_blue;
|
||||
case 6: return c_ltblue;
|
||||
case 7: return c_pink;
|
||||
case 8: return c_magenta;
|
||||
case 9: return c_brown;
|
||||
}
|
||||
return c_dkgray;
|
||||
}
|
||||
|
||||
/**
|
||||
* Given the name of a color, returns the nc_color constant that matches. If
|
||||
* no match is found, c_white is returned.
|
||||
@@ -423,15 +645,17 @@ nc_color color_from_string(std::string new_color){
|
||||
return c_blue;
|
||||
} else if("green"==new_color){
|
||||
return c_green;
|
||||
} else if("light_cyan"==new_color){
|
||||
} else if("light_cyan"==new_color || "ltcyan"==new_color){
|
||||
return c_ltcyan;
|
||||
} else if("brown"==new_color){
|
||||
return c_brown;
|
||||
} else if("light_red"==new_color){
|
||||
} else if("light_red"==new_color || "ltred"==new_color){
|
||||
return c_ltred;
|
||||
} else if("white"==new_color){
|
||||
return c_white;
|
||||
} else if("light_blue"==new_color){
|
||||
} else if("black"==new_color){
|
||||
return c_black;
|
||||
} else if("light_blue"==new_color || "ltblue"==new_color){
|
||||
return c_ltblue;
|
||||
} else if("yellow"==new_color){
|
||||
return c_yellow;
|
||||
@@ -439,16 +663,105 @@ nc_color color_from_string(std::string new_color){
|
||||
return c_magenta;
|
||||
} else if("cyan"==new_color){
|
||||
return c_cyan;
|
||||
} else if("light_gray"==new_color){
|
||||
} else if("light_gray"==new_color || "ltgray"==new_color){
|
||||
return c_ltgray;
|
||||
} else if("dark_gray"==new_color){
|
||||
} else if("dark_gray"==new_color || "dkgray"==new_color){
|
||||
return c_dkgray;
|
||||
} else if("light_green"==new_color){
|
||||
} else if("light_green"==new_color || "ltgreen"==new_color){
|
||||
return c_ltgreen;
|
||||
} else if("pink"==new_color){
|
||||
return c_pink;
|
||||
} else if("white_red"==new_color){
|
||||
return c_white_red;
|
||||
} else if("ltgray_red"==new_color || "light_gray_red"==new_color){
|
||||
return c_ltgray_red;
|
||||
} else if("dkgray_red"==new_color || "dark_gray_red"==new_color){
|
||||
return c_dkgray_red;
|
||||
} else if("red_red"==new_color){
|
||||
return c_red_red;
|
||||
} else if("green_red"==new_color){
|
||||
return c_green_red;
|
||||
} else if("blue_red"==new_color){
|
||||
return c_blue_red;
|
||||
} else if("cyan_red"==new_color){
|
||||
return c_cyan_red;
|
||||
} else if("magenta_red"==new_color){
|
||||
return c_magenta_red;
|
||||
} else if("brown_red"==new_color){
|
||||
return c_brown_red;
|
||||
} else if("ltred_red"==new_color || "light_red_red"==new_color){
|
||||
return c_ltred_red;
|
||||
} else if("ltgreen_red"==new_color || "light_green_red"==new_color){
|
||||
return c_ltgreen_red;
|
||||
} else if("ltblue_red"==new_color || "light_blue_red"==new_color){
|
||||
return c_ltblue_red;
|
||||
} else if("ltcyan_red"==new_color || "light_cyan_red"==new_color){
|
||||
return c_ltcyan_red;
|
||||
} else if("pink_red"==new_color){
|
||||
return c_pink_red;
|
||||
} else if("yellow_red"==new_color){
|
||||
return c_yellow_red;
|
||||
} else {
|
||||
debugmsg("Received invalid color property %s. Color is required.", new_color.c_str());
|
||||
return c_white;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Given the name of a background color (that is, one of the i_xxxxx colors),
|
||||
* returns the nc_color constant that matches. If no match is found, i_white is
|
||||
* returned.
|
||||
* @param new_color The color to get, as a std::string.
|
||||
* @return The nc_color constant that matches the input.
|
||||
*/
|
||||
nc_color bgcolor_from_string(std::string new_color) {
|
||||
if("black" == new_color) {
|
||||
return i_black;
|
||||
} else if("white" == new_color) {
|
||||
return i_white;
|
||||
} else if("light_gray" == new_color || "ltgray" == new_color) {
|
||||
return i_ltgray;
|
||||
} else if("dark_gray" == new_color || "dkgray" == new_color) {
|
||||
return i_dkgray;
|
||||
} else if("red" == new_color) {
|
||||
return i_red;
|
||||
} else if("green" == new_color) {
|
||||
return i_green;
|
||||
} else if("blue" == new_color) {
|
||||
return i_blue;
|
||||
} else if("cyan" == new_color) {
|
||||
return i_cyan;
|
||||
} else if("magenta" == new_color) {
|
||||
return i_magenta;
|
||||
} else if("brown" == new_color) {
|
||||
return i_brown;
|
||||
} else if("light_red" == new_color || "ltred" == new_color) {
|
||||
return i_ltred;
|
||||
} else if("light_blue" == new_color || "ltblue" == new_color) {
|
||||
return i_ltblue;
|
||||
} else if("light_cyan" == new_color || "ltcyan" == new_color) {
|
||||
return i_ltcyan;
|
||||
} else if("pink" == new_color) {
|
||||
return i_pink;
|
||||
} else if("yellow" == new_color) {
|
||||
return i_yellow;
|
||||
} else {
|
||||
return i_white;
|
||||
}
|
||||
}
|
||||
|
||||
nc_color get_color_from_tag(const std::string &s, const nc_color base_color)
|
||||
{
|
||||
if (s.empty() || s[0] != '<' || s.substr(0,8) == "</color>") {
|
||||
return base_color;
|
||||
}
|
||||
if (s.substr(0,7) != "<color_") {
|
||||
return base_color;
|
||||
}
|
||||
size_t tag_close = s.find('>');
|
||||
if (tag_close == std::string::npos) {
|
||||
return base_color;
|
||||
}
|
||||
std::string color_name = s.substr(7,tag_close-7);
|
||||
return color_from_string(color_name);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
#ifndef _COLOR_H_
|
||||
#define _COLOR_H
|
||||
#define _COLOR_H_
|
||||
|
||||
#ifndef _COLOR_LIST_
|
||||
#define _COLOR_LIST_
|
||||
|
||||
#include "json.h"
|
||||
#include "cursesdef.h"
|
||||
#include <string>
|
||||
|
||||
@@ -170,9 +171,23 @@ c_unset = COLOR_PAIR(31),
|
||||
|
||||
int color_to_int(nc_color col);
|
||||
nc_color int_to_color(int key);
|
||||
|
||||
nc_color hilite(nc_color c);
|
||||
nc_color invert_color(nc_color c);
|
||||
nc_color red_background(nc_color c);
|
||||
nc_color white_background(nc_color c);
|
||||
nc_color green_background(nc_color c);
|
||||
nc_color yellow_background(nc_color c);
|
||||
nc_color magenta_background(nc_color c);
|
||||
nc_color cyan_background(nc_color c);
|
||||
nc_color rand_color();
|
||||
|
||||
nc_color color_from_string(std::string color);
|
||||
nc_color bgcolor_from_string(std::string color);
|
||||
nc_color get_color_from_tag(const std::string &s, const nc_color base_color);
|
||||
|
||||
void setattr(nc_color &col, col_attribute attr);
|
||||
void load_colors(JsonObject &jo);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
+103
-117
@@ -3,32 +3,38 @@
|
||||
#include "monster.h"
|
||||
#include "overmap.h"
|
||||
#include "output.h"
|
||||
#include "json.h"
|
||||
#include "monstergenerator.h"
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
|
||||
computer::computer()
|
||||
std::vector<std::string> computer::lab_notes;
|
||||
|
||||
computer::computer(): name(DEFAULT_COMPUTER_NAME)
|
||||
{
|
||||
security = 0;
|
||||
name = DEFAULT_COMPUTER_NAME;
|
||||
w_terminal = NULL;
|
||||
w_border = NULL;
|
||||
mission_id = -1;
|
||||
}
|
||||
|
||||
computer::computer(std::string Name, int Security)
|
||||
computer::computer(std::string Name, int Security): name(Name)
|
||||
{
|
||||
security = Security;
|
||||
name = Name;
|
||||
w_terminal = NULL;
|
||||
w_border = NULL;
|
||||
mission_id = -1;
|
||||
}
|
||||
|
||||
computer::~computer()
|
||||
{
|
||||
if (w_terminal != NULL)
|
||||
{
|
||||
if (w_terminal != NULL) {
|
||||
delwin(w_terminal);
|
||||
}
|
||||
if (w_border != NULL) {
|
||||
delwin(w_border);
|
||||
}
|
||||
}
|
||||
|
||||
computer& computer::operator=(const computer &rhs)
|
||||
@@ -37,16 +43,15 @@ computer& computer::operator=(const computer &rhs)
|
||||
name = rhs.name;
|
||||
mission_id = rhs.mission_id;
|
||||
options.clear();
|
||||
for (int i = 0; i < rhs.options.size(); i++)
|
||||
{
|
||||
for (int i = 0; i < rhs.options.size(); i++) {
|
||||
options.push_back(rhs.options[i]);
|
||||
}
|
||||
failures.clear();
|
||||
for (int i = 0; i < rhs.failures.size(); i++)
|
||||
{
|
||||
for (int i = 0; i < rhs.failures.size(); i++) {
|
||||
failures.push_back(rhs.failures[i]);
|
||||
}
|
||||
w_terminal = NULL;
|
||||
w_border = NULL;
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -71,16 +76,25 @@ void computer::shutdown_terminal()
|
||||
werase(w_terminal);
|
||||
delwin(w_terminal);
|
||||
w_terminal = NULL;
|
||||
werase(w_border);
|
||||
delwin(w_border);
|
||||
w_border = NULL;
|
||||
}
|
||||
|
||||
void computer::use(game *g)
|
||||
{
|
||||
if (w_terminal == NULL)
|
||||
w_terminal = newwin(FULL_SCREEN_HEIGHT, FULL_SCREEN_WIDTH,
|
||||
if (w_border == NULL) {
|
||||
w_border = newwin(FULL_SCREEN_HEIGHT, FULL_SCREEN_WIDTH,
|
||||
(TERMY > FULL_SCREEN_HEIGHT) ? (TERMY-FULL_SCREEN_HEIGHT)/2 : 0,
|
||||
(TERMX > FULL_SCREEN_WIDTH) ? (TERMX-FULL_SCREEN_WIDTH)/2 : 0);
|
||||
wborder(w_terminal, LINE_XOXO, LINE_XOXO, LINE_OXOX, LINE_OXOX,
|
||||
}
|
||||
if (w_terminal == NULL) {
|
||||
w_terminal = newwin(getmaxy(w_border)-2, getmaxx(w_border)-2,
|
||||
getbegy(w_border)+1, getbegx(w_border)+1);
|
||||
}
|
||||
wborder(w_border, LINE_XOXO, LINE_XOXO, LINE_OXOX, LINE_OXOX,
|
||||
LINE_OXXO, LINE_OOXX, LINE_XXOO, LINE_XOOX );
|
||||
wrefresh(w_border);
|
||||
|
||||
// Login
|
||||
print_line(_("Logging into %s..."), name.c_str());
|
||||
@@ -104,7 +118,7 @@ void computer::use(game *g)
|
||||
case 'Y':
|
||||
if (!hack_attempt(g, &(g->u)))
|
||||
{
|
||||
if (failures.size() == 0)
|
||||
if (failures.empty())
|
||||
{
|
||||
query_any(_("Maximum login attempts exceeded. Press any key..."));
|
||||
shutdown_terminal();
|
||||
@@ -132,14 +146,14 @@ void computer::use(game *g)
|
||||
for (bool InUse = true; InUse; )
|
||||
{
|
||||
//reset_terminal();
|
||||
print_line("");
|
||||
print_newline();
|
||||
print_line("%s - %s", name.c_str(), _("Root Menu"));
|
||||
for (int i = 0; i < options.size(); i++)
|
||||
{
|
||||
print_line("%d - %s", i + 1, options[i].name.c_str());
|
||||
}
|
||||
print_line("Q - %s", _("Quit and shut down"));
|
||||
print_line("");
|
||||
print_newline();
|
||||
|
||||
char ch;
|
||||
do
|
||||
@@ -241,7 +255,6 @@ void computer::load_data(std::string data)
|
||||
options.clear();
|
||||
failures.clear();
|
||||
std::stringstream dump;
|
||||
std::string buffer;
|
||||
dump << data;
|
||||
|
||||
// Pull in name and security
|
||||
@@ -293,9 +306,11 @@ void computer::activate_function(game *g, computer_action action)
|
||||
query_any(_("Doors opened. Press any key..."));
|
||||
break;
|
||||
|
||||
//LOCK AND UNLOCK are used to build more complex buildings that can have multiple doors that can be locked and
|
||||
//unlocked by different computers. Simply uses translate_radius which take a given radius and player position
|
||||
//to determine which terrain tiles to edit.
|
||||
//LOCK AND UNLOCK are used to build more complex buildings
|
||||
// that can have multiple doors that can be locked and be
|
||||
// unlocked by different computers.
|
||||
//Simply uses translate_radius which take a given radius and
|
||||
// player position to determine which terrain tiles to edit.
|
||||
case COMPACT_LOCK:
|
||||
g->m.translate_radius(t_door_metal_c, t_door_metal_locked, 8.0, g->u.posx, g->u.posy);
|
||||
query_any(_("Lock enabled. Press any key..."));
|
||||
@@ -354,7 +369,7 @@ void computer::activate_function(game *g, computer_action action)
|
||||
if (!found_item)
|
||||
{
|
||||
item sewage(g->itypes["sewage"], g->turn);
|
||||
g->m.add_item(x1, y1, sewage);
|
||||
g->m.add_item_or_charges(x1, y1, sewage);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -442,7 +457,7 @@ void computer::activate_function(game *g, computer_action action)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cascade_points.size() == 0)
|
||||
if (cascade_points.empty())
|
||||
{
|
||||
g->resonance_cascade(g->u.posx, g->u.posy);
|
||||
}
|
||||
@@ -456,52 +471,14 @@ void computer::activate_function(game *g, computer_action action)
|
||||
|
||||
case COMPACT_RESEARCH:
|
||||
{
|
||||
int lines = 0, notes = 0;
|
||||
std::string log, tmp;
|
||||
int ch;
|
||||
std::ifstream fin;
|
||||
fin.open("data/LAB_NOTES");
|
||||
if (!fin.is_open())
|
||||
{
|
||||
debugmsg("Couldn't open ./data/LAB_NOTES for reading");
|
||||
return;
|
||||
}
|
||||
while (fin.good())
|
||||
{
|
||||
ch = fin.get();
|
||||
if (ch == '%')
|
||||
{
|
||||
notes++;
|
||||
}
|
||||
std::string log;
|
||||
if (lab_notes.empty()) {
|
||||
log = _("No data found.");
|
||||
} else {
|
||||
log = lab_notes[(g->levx + g->levy + g->levz) % lab_notes.size()];
|
||||
}
|
||||
|
||||
while (lines < 10)
|
||||
{
|
||||
fin.clear();
|
||||
fin.seekg(0, std::ios::beg);
|
||||
fin.clear();
|
||||
int choice = rng(1, notes);
|
||||
while (choice > 0)
|
||||
{
|
||||
getline(fin, tmp);
|
||||
if (tmp.find_first_of('%') == 0)
|
||||
{
|
||||
choice--;
|
||||
}
|
||||
}
|
||||
getline(fin, tmp);
|
||||
do
|
||||
{
|
||||
lines++;
|
||||
if (lines < 15 && tmp.find_first_of('%') != 0)
|
||||
{
|
||||
log.append(tmp);
|
||||
log.append("\n");
|
||||
}
|
||||
}
|
||||
while(tmp.find_first_of('%') != 0 && getline(fin, tmp));
|
||||
}
|
||||
print_line(" %s", log.c_str());
|
||||
print_text(log.c_str());
|
||||
query_any(_("Press any key..."));
|
||||
}
|
||||
break;
|
||||
@@ -685,9 +662,9 @@ void computer::activate_function(game *g, computer_action action)
|
||||
|
||||
reset_terminal();
|
||||
|
||||
print_line("");
|
||||
print_newline();
|
||||
print_line(_("Bionic access - Manifest:"));
|
||||
print_line("");
|
||||
print_newline();
|
||||
|
||||
for (int i = 0; i < names.size(); i++)
|
||||
{
|
||||
@@ -698,7 +675,7 @@ void computer::activate_function(game *g, computer_action action)
|
||||
print_line(_("%d OTHERS FOUND..."), more);
|
||||
}
|
||||
|
||||
print_line("");
|
||||
print_newline();
|
||||
query_any(_("Press any key..."));
|
||||
}
|
||||
break;
|
||||
@@ -718,6 +695,7 @@ void computer::activate_function(game *g, computer_action action)
|
||||
break;
|
||||
|
||||
case COMPACT_AMIGARA_LOG: // TODO: This is static, move to data file?
|
||||
reset_terminal();
|
||||
print_line(_("NEPower Mine(%d:%d) Log"), g->levx, g->levy);
|
||||
print_line(_("\
|
||||
ENTRY 47:\n\
|
||||
@@ -780,12 +758,12 @@ know that's sort of a big deal, but come on, these guys can't handle it?\n"));
|
||||
{
|
||||
print_gibberish_line();
|
||||
}
|
||||
print_line("");
|
||||
print_line("");
|
||||
print_line("");
|
||||
print_newline();
|
||||
print_newline();
|
||||
print_newline();
|
||||
print_line(_("AMIGARA PROJECT"));
|
||||
print_line("");
|
||||
print_line("");
|
||||
print_newline();
|
||||
print_newline();
|
||||
if (!query_bool(_("Continue reading?")))
|
||||
{
|
||||
return;
|
||||
@@ -806,7 +784,7 @@ QUALITIY OF FAULTLINE NOT COMPROMISED\n\
|
||||
INITIATING STANDARD TREMOR TEST..."));
|
||||
print_gibberish_line();
|
||||
print_gibberish_line();
|
||||
print_line("");
|
||||
print_newline();
|
||||
print_error(_("FILE CORRUPTED, PRESS ANY KEY..."));
|
||||
getch();
|
||||
reset_terminal();
|
||||
@@ -881,7 +859,7 @@ of pureed bone & LSD."));
|
||||
else // Success!
|
||||
{
|
||||
item *blood = &(g->m.i_at(x, y)[0].contents[0]);
|
||||
if (blood->corpse == NULL || blood->corpse->id == mon_null)
|
||||
if (blood->corpse == NULL || blood->corpse->id == "mon_null")
|
||||
{
|
||||
print_line(_("Result: Human blood, no pathogens found."));
|
||||
}
|
||||
@@ -950,7 +928,7 @@ of pureed bone & LSD."));
|
||||
{
|
||||
print_line(_("Memory Bank: Military Hexron Encryption\nPrinting Transcript\n"));
|
||||
item transcript(g->itypes["black_box_transcript"], g->turn);
|
||||
g->m.add_item(g->u.posx, g->u.posy, transcript);
|
||||
g->m.add_item_or_charges(g->u.posx, g->u.posy, transcript);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1268,7 +1246,7 @@ void computer::activate_failure(game *g, computer_failure fail)
|
||||
{
|
||||
for (int y = 0; y < SEEY * MAPSIZE; y++)
|
||||
{
|
||||
if (g->m.has_flag(console, x, y))
|
||||
if (g->m.has_flag("CONSOLE", x, y))
|
||||
{
|
||||
g->m.ter_set(x, y, t_console_broken);
|
||||
}
|
||||
@@ -1301,7 +1279,7 @@ void computer::activate_failure(game *g, computer_failure fail)
|
||||
if (tries != 10)
|
||||
{
|
||||
g->add_msg(_("Manhacks drop from compartments in the ceiling."));
|
||||
monster robot(g->mtypes[mon_manhack]);
|
||||
monster robot(GetMType("mon_manhack"));
|
||||
robot.spawn(mx, my);
|
||||
g->add_zombie(robot);
|
||||
}
|
||||
@@ -1325,7 +1303,7 @@ void computer::activate_failure(game *g, computer_failure fail)
|
||||
if (tries != 10)
|
||||
{
|
||||
g->add_msg(_("Secubots emerge from compartments in the floor."));
|
||||
monster robot(g->mtypes[mon_secubot]);
|
||||
monster robot(GetMType("mon_secubot"));
|
||||
robot.spawn(mx, my);
|
||||
g->add_zombie(robot);
|
||||
}
|
||||
@@ -1490,16 +1468,16 @@ void computer::activate_failure(game *g, computer_failure fail)
|
||||
|
||||
bool computer::query_bool(const char *mes, ...)
|
||||
{
|
||||
// Translate the printf flags
|
||||
// Translate the printf flags
|
||||
va_list ap;
|
||||
va_start(ap, mes);
|
||||
char buff[6000];
|
||||
vsprintf(buff, mes, ap);
|
||||
va_end(ap);
|
||||
// Append with (Y/N/Q)
|
||||
// Append with (Y/N/Q)
|
||||
std::string full_line = buff;
|
||||
full_line += " (Y/N/Q)";
|
||||
// Print the resulting text
|
||||
// Print the resulting text
|
||||
print_line(full_line.c_str());
|
||||
char ret;
|
||||
do
|
||||
@@ -1513,14 +1491,14 @@ bool computer::query_bool(const char *mes, ...)
|
||||
|
||||
bool computer::query_any(const char *mes, ...)
|
||||
{
|
||||
// Translate the printf flags
|
||||
// Translate the printf flags
|
||||
va_list ap;
|
||||
va_start(ap, mes);
|
||||
char buff[6000];
|
||||
vsprintf(buff, mes, ap);
|
||||
va_end(ap);
|
||||
std::string full_line = buff;
|
||||
// Print the resulting text
|
||||
// Print the resulting text
|
||||
print_line(full_line.c_str());
|
||||
getch();
|
||||
return true;
|
||||
@@ -1528,16 +1506,16 @@ bool computer::query_any(const char *mes, ...)
|
||||
|
||||
char computer::query_ynq(const char *mes, ...)
|
||||
{
|
||||
// Translate the printf flags
|
||||
// Translate the printf flags
|
||||
va_list ap;
|
||||
va_start(ap, mes);
|
||||
char buff[6000];
|
||||
vsprintf(buff, mes, ap);
|
||||
va_end(ap);
|
||||
// Append with (Y/N/Q)
|
||||
// Append with (Y/N/Q)
|
||||
std::string full_line = buff;
|
||||
full_line += " (Y/N/Q)";
|
||||
// Print the resulting text
|
||||
// Print the resulting text
|
||||
print_line(full_line.c_str());
|
||||
char ret;
|
||||
do
|
||||
@@ -1551,45 +1529,46 @@ char computer::query_ynq(const char *mes, ...)
|
||||
|
||||
void computer::print_line(const char *mes, ...)
|
||||
{
|
||||
// Translate the printf flags
|
||||
// Translate the printf flags
|
||||
va_list ap;
|
||||
va_start(ap, mes);
|
||||
char buff[6000];
|
||||
vsprintf(buff, mes, ap);
|
||||
va_end(ap);
|
||||
// Replace any '\n' with "\n " to allow for the border
|
||||
std::string message = buff;
|
||||
size_t pos = 0;
|
||||
while (pos != std::string::npos)
|
||||
{
|
||||
pos = message.find("\n", pos);
|
||||
if (pos != std::string::npos)
|
||||
{
|
||||
message.replace(pos, 1, "\n ");
|
||||
pos += 2;
|
||||
}
|
||||
}
|
||||
// Print the line.
|
||||
wprintz(w_terminal, c_green, " %s\n", message.c_str());
|
||||
// Reprint the border, in case we pushed a line over it
|
||||
wborder(w_terminal, LINE_XOXO, LINE_XOXO, LINE_OXOX, LINE_OXOX,
|
||||
LINE_OXXO, LINE_OOXX, LINE_XXOO, LINE_XOOX );
|
||||
// Print the line.
|
||||
wprintz(w_terminal, c_green, buff);
|
||||
print_newline();
|
||||
wrefresh(w_terminal);
|
||||
}
|
||||
|
||||
void computer::print_error(const char *mes, ...)
|
||||
{
|
||||
// Translate the printf flags
|
||||
// Translate the printf flags
|
||||
va_list ap;
|
||||
va_start(ap, mes);
|
||||
char buff[6000];
|
||||
vsprintf(buff, mes, ap);
|
||||
va_end(ap);
|
||||
// Print the line.
|
||||
wprintz(w_terminal, c_red, " %s%s", buff, "\n");
|
||||
// Reprint the border, in case we pushed a line over it
|
||||
wborder(w_terminal, LINE_XOXO, LINE_XOXO, LINE_OXOX, LINE_OXOX,
|
||||
LINE_OXXO, LINE_OOXX, LINE_XXOO, LINE_XOOX );
|
||||
// Print the line.
|
||||
wprintz(w_terminal, c_red, buff);
|
||||
print_newline();
|
||||
wrefresh(w_terminal);
|
||||
}
|
||||
|
||||
void computer::print_text(const char *mes, ...)
|
||||
{
|
||||
// Translate the printf flags
|
||||
va_list ap;
|
||||
va_start(ap, mes);
|
||||
char buff[6000];
|
||||
vsprintf(buff, mes, ap);
|
||||
va_end(ap);
|
||||
// Print the text.
|
||||
int y = getcury(w_terminal);
|
||||
int w = getmaxx(w_terminal) - 2;
|
||||
fold_and_print(w_terminal, y, 1, w, c_green, buff);
|
||||
print_newline();
|
||||
print_newline();
|
||||
wrefresh(w_terminal);
|
||||
}
|
||||
|
||||
@@ -1615,17 +1594,24 @@ void computer::print_gibberish_line()
|
||||
}
|
||||
}
|
||||
wprintz(w_terminal, c_yellow, gibberish.c_str());
|
||||
wborder(w_terminal, LINE_XOXO, LINE_XOXO, LINE_OXOX, LINE_OXOX,
|
||||
LINE_OXXO, LINE_OOXX, LINE_XXOO, LINE_XOOX );
|
||||
print_newline();
|
||||
wrefresh(w_terminal);
|
||||
}
|
||||
|
||||
void computer::reset_terminal()
|
||||
{
|
||||
werase(w_terminal);
|
||||
wborder(w_terminal, LINE_XOXO, LINE_XOXO, LINE_OXOX, LINE_OXOX,
|
||||
LINE_OXXO, LINE_OOXX, LINE_XXOO, LINE_XOOX );
|
||||
wmove(w_terminal, 1, 1);
|
||||
wmove(w_terminal, 0, 0);
|
||||
wrefresh(w_terminal);
|
||||
}
|
||||
|
||||
void computer::print_newline()
|
||||
{
|
||||
wprintz(w_terminal, c_green, "\n");
|
||||
}
|
||||
|
||||
void computer::load_lab_note(JsonObject &jsobj)
|
||||
{
|
||||
lab_notes.push_back(_(jsobj.get_string("text").c_str()));
|
||||
}
|
||||
|
||||
|
||||
+35
-19
@@ -2,6 +2,7 @@
|
||||
#define _COMPUTER_H_
|
||||
|
||||
#include "output.h"
|
||||
#include "json.h"
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
@@ -89,49 +90,64 @@ public:
|
||||
~computer();
|
||||
|
||||
computer & operator=(const computer &rhs);
|
||||
// Initialization
|
||||
// Initialization
|
||||
void set_security(int Security);
|
||||
void add_option(std::string opt_name, computer_action action, int Security);
|
||||
void add_failure(computer_failure failure);
|
||||
// Basic usage
|
||||
// Basic usage
|
||||
void shutdown_terminal(); // Shutdown (free w_terminal, etc)
|
||||
void use(game *g);
|
||||
bool hack_attempt(game *g, player *p, int Security = -1);// -1 defaults to main security
|
||||
// Save/load
|
||||
// Save/load
|
||||
std::string save_data();
|
||||
void load_data(std::string data);
|
||||
|
||||
std::string name; // "Jon's Computer", "Lab 6E77-B Terminal Omega"
|
||||
int mission_id; // Linked to a mission?
|
||||
|
||||
private:
|
||||
int security; // Difficulty of simply logging in
|
||||
std::vector<computer_option> options; // Things we can do
|
||||
std::vector<computer_failure> failures; // Things that happen if we fail a hack
|
||||
WINDOW *w_terminal; // Output window
|
||||
static void load_lab_note(JsonObject &jsobj);
|
||||
|
||||
// Called by use()
|
||||
private:
|
||||
// Difficulty of simply logging in
|
||||
int security;
|
||||
// Things we can do
|
||||
std::vector<computer_option> options;
|
||||
// Things that happen if we fail a hack
|
||||
std::vector<computer_failure> failures;
|
||||
// Output window
|
||||
WINDOW *w_terminal;
|
||||
// Pretty border
|
||||
WINDOW *w_border;
|
||||
// Misc research notes from json
|
||||
static std::vector<std::string> lab_notes;
|
||||
|
||||
// Called by use()
|
||||
void activate_function (game *g, computer_action action);
|
||||
// Generally called when we fail a hack attempt
|
||||
// Generally called when we fail a hack attempt
|
||||
void activate_random_failure(game *g);
|
||||
// ...but we can also choose a specific failure.
|
||||
// ...but we can also choose a specific failure.
|
||||
void activate_failure (game *g, computer_failure fail);
|
||||
|
||||
// OUTPUT/INPUT
|
||||
// Reset to a blank terminal (e.g. at start of usage loop)
|
||||
// OUTPUT/INPUT:
|
||||
|
||||
// Reset to a blank terminal (e.g. at start of usage loop)
|
||||
void reset_terminal();
|
||||
// Prints a line to the terminal (with printf flags)
|
||||
// Prints a line to the terminal (with printf flags)
|
||||
void print_line(const char *text, ...);
|
||||
// For now, the same as print_line but in red (TODO: change this?)
|
||||
// For now, the same as print_line but in red (TODO: change this?)
|
||||
void print_error(const char *text, ...);
|
||||
// Prints code-looking gibberish
|
||||
// Wraps and prints a block of text with a 1-space indent
|
||||
void print_text(const char* text, ...);
|
||||
// Prints code-looking gibberish
|
||||
void print_gibberish_line();
|
||||
// Prints a line and waits for Y/N/Q
|
||||
// Prints a line and waits for Y/N/Q
|
||||
char query_ynq(const char *text, ...);
|
||||
// Same as query_ynq, but returns true for y or Y
|
||||
// Same as query_ynq, but returns true for y or Y
|
||||
bool query_bool(const char *text, ...);
|
||||
// Simply wait for any key, returns True
|
||||
// Simply wait for any key, returns True
|
||||
bool query_any(const char *text, ...);
|
||||
// Move the cursor to the beginning of the next line
|
||||
void print_newline();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
+119
-127
@@ -9,6 +9,7 @@
|
||||
#include "crafting.h" // For the use_comps use_tools functions
|
||||
#include "item_factory.h"
|
||||
#include "catacharset.h"
|
||||
#include "action.h"
|
||||
#include <algorithm>
|
||||
|
||||
bool will_flood_stop(map *m, bool (&fill)[SEEX * MAPSIZE][SEEY * MAPSIZE],
|
||||
@@ -46,10 +47,12 @@ void game::init_construction()
|
||||
CONSTRUCT(_("Dig Pit"), 0, &construct::able_dig, &construct::done_nothing);
|
||||
STAGE(t_pit_shallow, 10);
|
||||
TOOL("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
TOOLCONT("digging_stick");
|
||||
STAGE(t_pit, 10);
|
||||
TOOL("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
|
||||
CONSTRUCT(_("Spike Pit"), 0, &construct::able_pit, &construct::done_nothing);
|
||||
@@ -60,9 +63,11 @@ void game::init_construction()
|
||||
CONSTRUCT(_("Fill Pit"), 0, &construct::able_pit, &construct::done_nothing);
|
||||
STAGE(t_pit_shallow, 5);
|
||||
TOOL("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
STAGE(t_dirt, 5);
|
||||
TOOL("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
|
||||
CONSTRUCT(_("Chop Down Tree"), 0, &construct::able_tree, &construct::done_tree);
|
||||
@@ -153,19 +158,23 @@ void game::init_construction()
|
||||
CONSTRUCT(_("Build Log Wall"), 2, &construct::able_dig, &construct::done_nothing);
|
||||
STAGE(t_pit_shallow, 10);
|
||||
TOOL("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
TOOLCONT("digging_stick");
|
||||
STAGE(t_pit, 10);
|
||||
TOOL("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
STAGE(t_wall_log_half, 20);
|
||||
TOOL("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
COMP("log", 2);
|
||||
COMP("stick", 3);
|
||||
COMPCONT("2x4", 6);
|
||||
STAGE(t_wall_log, 20);
|
||||
TOOL("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
COMP("log", 2);
|
||||
COMP("stick", 3);
|
||||
@@ -174,13 +183,16 @@ void game::init_construction()
|
||||
CONSTRUCT(_("Build Palisade Wall"), 2, &construct::able_dig, &construct::done_nothing);
|
||||
STAGE(t_pit_shallow, 10);
|
||||
TOOL("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
TOOLCONT("digging_stick");
|
||||
STAGE(t_pit, 10);
|
||||
TOOL("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
STAGE(t_palisade, 20);
|
||||
TOOL("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
COMP("log", 3);
|
||||
COMP("rope_6", 2);
|
||||
@@ -194,13 +206,16 @@ void game::init_construction()
|
||||
CONSTRUCT(_("Build Palisade Gate"), 2, &construct::able_dig, &construct::done_nothing);
|
||||
STAGE(t_pit_shallow, 10);
|
||||
TOOL("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
TOOLCONT("digging_stick");
|
||||
STAGE(t_pit, 10);
|
||||
TOOL("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
STAGE(t_palisade_gate, 20);
|
||||
TOOL("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
COMP("log", 2);
|
||||
COMP("2x4", 3);
|
||||
@@ -295,6 +310,7 @@ void game::init_construction()
|
||||
TOOLCONT("primitive_hammer");
|
||||
TOOLCONT("hatchet");
|
||||
TOOL("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
COMP("log", 2);
|
||||
COMP("stick", 4);
|
||||
@@ -303,8 +319,8 @@ void game::init_construction()
|
||||
|
||||
// Base stuff
|
||||
CONSTRUCT(_("Build Bulletin Board"), 0, &construct::able_empty,
|
||||
&construct::done_nothing);
|
||||
STAGE(f_bulletin, 10)
|
||||
&construct::done_nothing);
|
||||
STAGE(furnlist[f_bulletin], 10)
|
||||
TOOL("saw");
|
||||
TOOL("hammer");
|
||||
TOOLCONT("hatchet");
|
||||
@@ -315,7 +331,7 @@ void game::init_construction()
|
||||
// Household stuff
|
||||
CONSTRUCT(_("Build Dresser"), 1, &construct::able_empty,
|
||||
&construct::done_nothing);
|
||||
STAGE(f_dresser, 20);
|
||||
STAGE(furnlist[f_dresser], 20);
|
||||
TOOL("saw");
|
||||
TOOL("hammer");
|
||||
TOOLCONT("primitive_hammer");
|
||||
@@ -326,7 +342,7 @@ void game::init_construction()
|
||||
|
||||
CONSTRUCT(_("Build Bookcase"), 1, &construct::able_empty,
|
||||
&construct::done_nothing);
|
||||
STAGE(f_bookcase, 20);
|
||||
STAGE(furnlist[f_bookcase], 20);
|
||||
TOOL("saw");
|
||||
TOOL("hammer");
|
||||
TOOLCONT("primitive_hammer");
|
||||
@@ -337,26 +353,28 @@ void game::init_construction()
|
||||
|
||||
CONSTRUCT(_("Build Locker"), 1, &construct::able_empty,
|
||||
&construct::done_nothing);
|
||||
STAGE(f_locker, 20);
|
||||
STAGE(furnlist[f_locker], 20);
|
||||
TOOL("hammer");
|
||||
TOOLCONT("primitive_hammer");
|
||||
TOOLCONT("hatchet");
|
||||
TOOL("wrench");
|
||||
TOOLCONT("toolset");
|
||||
COMP("sheet_metal", 2);
|
||||
COMP("pipe", 8);
|
||||
|
||||
CONSTRUCT(_("Build Metal Rack"), 1, &construct::able_empty,
|
||||
&construct::done_nothing);
|
||||
STAGE(f_rack, 20);
|
||||
STAGE(furnlist[f_rack], 20);
|
||||
TOOL("hammer");
|
||||
TOOLCONT("primitive_hammer");
|
||||
TOOLCONT("hatchet");
|
||||
TOOL("wrench");
|
||||
TOOLCONT("toolset");
|
||||
COMP("pipe", 12);
|
||||
|
||||
CONSTRUCT(_("Build Counter"), 0, &construct::able_empty,
|
||||
&construct::done_nothing);
|
||||
STAGE(f_counter, 20);
|
||||
STAGE(furnlist[f_counter], 20);
|
||||
TOOL("hammer");
|
||||
TOOLCONT("primitive_hammer");
|
||||
TOOLCONT("hatchet");
|
||||
@@ -366,7 +384,7 @@ void game::init_construction()
|
||||
|
||||
CONSTRUCT(_("Build Makeshift Bed"), 0, &construct::able_empty,
|
||||
&construct::done_nothing);
|
||||
STAGE(f_makeshift_bed, 20);
|
||||
STAGE(furnlist[f_makeshift_bed], 20);
|
||||
TOOL("hammer");
|
||||
TOOLCONT("primitive_hammer");
|
||||
TOOLCONT("hatchet");
|
||||
@@ -400,6 +418,7 @@ void game::init_construction()
|
||||
TOOL("hammer");
|
||||
TOOLCONT("primitive_hammer");
|
||||
TOOLCONT("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
TOOLCONT("rock");
|
||||
TOOLCONT("hatchet");
|
||||
@@ -409,43 +428,47 @@ void game::init_construction()
|
||||
COMPCONT("spear_wood", 2);
|
||||
|
||||
CONSTRUCT(_("Build Wood Stove"), 0, &construct::able_empty,
|
||||
&construct::done_nothing);
|
||||
STAGE(f_woodstove, 10);
|
||||
&construct::done_nothing);
|
||||
STAGE(furnlist[f_woodstove], 10);
|
||||
TOOL("hacksaw");
|
||||
COMP("metal_tank", 1);
|
||||
COMP("pipe", 1);
|
||||
|
||||
CONSTRUCT(_("Build Stone Fireplace"), 0, &construct::able_empty,
|
||||
&construct::done_nothing);
|
||||
STAGE(f_fireplace, 40);
|
||||
&construct::done_nothing);
|
||||
STAGE(furnlist[f_fireplace], 40);
|
||||
TOOL("hammer");
|
||||
TOOLCONT("primitive_hammer");
|
||||
TOOLCONT("shovel");
|
||||
TOOLCONT("e_tool");
|
||||
TOOLCONT("primitive_shovel");
|
||||
COMP("rock", 40);
|
||||
}
|
||||
|
||||
void game::construction_menu()
|
||||
{
|
||||
int iMaxY = TERMY;
|
||||
if (constructions.size()+2 < iMaxY)
|
||||
iMaxY = constructions.size()+2;
|
||||
if (iMaxY < 25)
|
||||
iMaxY = 25;
|
||||
int iMaxY = TERMY;
|
||||
if (constructions.size()+2 < iMaxY) {
|
||||
iMaxY = constructions.size()+2;
|
||||
}
|
||||
if (iMaxY < FULL_SCREEN_HEIGHT) {
|
||||
iMaxY = FULL_SCREEN_HEIGHT;
|
||||
}
|
||||
|
||||
WINDOW *w_con = newwin(iMaxY, 80, (TERMY > iMaxY) ? (TERMY-iMaxY)/2 : 0, (TERMX > 80) ? (TERMX-80)/2 : 0);
|
||||
wborder(w_con, LINE_XOXO, LINE_XOXO, LINE_OXOX, LINE_OXOX,
|
||||
LINE_OXXO, LINE_OOXX, LINE_XXOO, LINE_XOOX );
|
||||
mvwprintz(w_con, 0, 8, c_ltred, _(" Construction "));
|
||||
WINDOW *w_con = newwin(iMaxY, FULL_SCREEN_WIDTH, (TERMY > iMaxY) ? (TERMY-iMaxY)/2 : 0, (TERMX > FULL_SCREEN_WIDTH) ? (TERMX-FULL_SCREEN_WIDTH)/2 : 0);
|
||||
wborder(w_con, LINE_XOXO, LINE_XOXO, LINE_OXOX, LINE_OXOX,
|
||||
LINE_OXXO, LINE_OOXX, LINE_XXOO, LINE_XOOX );
|
||||
mvwprintz(w_con, 0, 8, c_ltred, _(" Construction "));
|
||||
|
||||
mvwputch(w_con, 0, 30, c_ltgray, LINE_OXXX);
|
||||
mvwputch(w_con, iMaxY-1, 30, c_ltgray, LINE_XXOX);
|
||||
for (int i = 1; i < iMaxY-1; i++)
|
||||
mvwputch(w_con, i, 30, c_ltgray, LINE_XOXO);
|
||||
mvwputch(w_con, 0, 30, c_ltgray, LINE_OXXX);
|
||||
mvwputch(w_con, iMaxY-1, 30, c_ltgray, LINE_XXOX);
|
||||
for (int i = 1; i < iMaxY-1; ++i) {
|
||||
mvwputch(w_con, i, 30, c_ltgray, LINE_XOXO);
|
||||
}
|
||||
|
||||
mvwprintz(w_con, 1, 31, c_white, _("Difficulty:"));
|
||||
mvwprintz(w_con, 1, 31, c_white, _("Difficulty:"));
|
||||
|
||||
wrefresh(w_con);
|
||||
wrefresh(w_con);
|
||||
|
||||
bool update_info = true;
|
||||
int select = 0;
|
||||
@@ -501,7 +524,7 @@ void game::construction_menu()
|
||||
int posx = 33, posy = 2;
|
||||
for (int n = 0; n < current_con->stages.size(); n++) {
|
||||
nc_color color_stage = (player_can_build(u, total_inv, current_con, n,
|
||||
false, true) ? c_white : c_dkgray);
|
||||
false, true) ? c_white : c_dkgray);
|
||||
|
||||
const char* mes;
|
||||
if (current_con->stages[n].terrain != t_null)
|
||||
@@ -512,6 +535,8 @@ void game::construction_menu()
|
||||
mes = "";
|
||||
posy++;
|
||||
mvwprintz(w_con, posy, 31, color_stage, _("Stage %1$d: %2$s"), n + 1, mes);
|
||||
posy++;
|
||||
mvwprintz(w_con, posy, 31, color_stage, _("Time: %1d minutes"), current_con->stages[n].time);
|
||||
// Print tools
|
||||
construction_stage stage = current_con->stages[n];
|
||||
bool has_tool[10] = {stage.tools[0].empty(),
|
||||
@@ -536,14 +561,14 @@ void game::construction_menu()
|
||||
col = c_green;
|
||||
}
|
||||
int length = utf8_width(item_controller->find_template(tool)->name.c_str());
|
||||
if (posx + length > 79) {
|
||||
if (posx + length > FULL_SCREEN_WIDTH-1) {
|
||||
posy++;
|
||||
posx = 33;
|
||||
}
|
||||
mvwprintz(w_con, posy, posx, col, item_controller->find_template(tool)->name.c_str());
|
||||
posx += length + 1; // + 1 for an empty space
|
||||
if (j < stage.tools[i].size() - 1) { // "OR" if there's more
|
||||
if (posx > 77) {
|
||||
if (posx > FULL_SCREEN_WIDTH-3) {
|
||||
posy++;
|
||||
posx = 33;
|
||||
}
|
||||
@@ -581,7 +606,7 @@ void game::construction_menu()
|
||||
col = c_green;
|
||||
}
|
||||
int length = utf8_width(item_controller->find_template(comp.type)->name.c_str());
|
||||
if (posx + length > 79) {
|
||||
if (posx + length > FULL_SCREEN_WIDTH-1) {
|
||||
posy++;
|
||||
posx = 33;
|
||||
}
|
||||
@@ -597,7 +622,7 @@ void game::construction_menu()
|
||||
posx += 3;
|
||||
|
||||
if (j < stage.components[i].size() - 1) { // "OR" if there's more
|
||||
if (posx > 77) {
|
||||
if (posx > FULL_SCREEN_WIDTH-3) {
|
||||
posy++;
|
||||
posx = 33;
|
||||
}
|
||||
@@ -661,10 +686,11 @@ void game::construction_menu()
|
||||
}
|
||||
} while (!exit);
|
||||
|
||||
for (int i = iMaxY-25; i < iMaxY+1; i++) {
|
||||
for (int j = TERRAIN_WINDOW_WIDTH; j < 81; j++)
|
||||
mvwputch(w_con, i, j, c_black, ' ');
|
||||
}
|
||||
for (int i = iMaxY-FULL_SCREEN_HEIGHT; i <= iMaxY; ++i) {
|
||||
for (int j = TERRAIN_WINDOW_WIDTH; j <= FULL_SCREEN_WIDTH; ++j) {
|
||||
mvwputch(w_con, i, j, c_black, ' ');
|
||||
}
|
||||
}
|
||||
|
||||
wrefresh(w_con);
|
||||
refresh_all();
|
||||
@@ -718,8 +744,8 @@ bool game::player_can_build(player &p, inventory pinv, constructable* con,
|
||||
has_component = false;
|
||||
for (int k = 0; k < stage->components[j].size(); k++) {
|
||||
if (( item_controller->find_template(stage->components[j][k].type)->is_ammo() &&
|
||||
pinv.has_charges(stage->components[j][k].type,
|
||||
stage->components[j][k].count) ) ||
|
||||
pinv.has_charges(stage->components[j][k].type,
|
||||
stage->components[j][k].count) ) ||
|
||||
(!item_controller->find_template(stage->components[j][k].type)->is_ammo() &&
|
||||
pinv.has_amount (stage->components[j][k].type,
|
||||
stage->components[j][k].count) ))
|
||||
@@ -741,7 +767,7 @@ bool game::player_can_build(player &p, inventory pinv, constructable* con,
|
||||
(has_tool || !tools_required);
|
||||
if (exact_level && (i == level)) {
|
||||
return ((has_component || !components_required) &&
|
||||
(has_tool || !tools_required));
|
||||
(has_tool || !tools_required));
|
||||
}
|
||||
} // stage[i]
|
||||
return can_build_any;
|
||||
@@ -795,8 +821,14 @@ void game::place_construction(constructable *con)
|
||||
}
|
||||
}
|
||||
}
|
||||
// snip snip
|
||||
if (con->name == _("Move Furniture") ) {
|
||||
grab();
|
||||
return;
|
||||
}
|
||||
//
|
||||
int dirx, diry;
|
||||
if (!choose_adjacent(_("Contruct"), dirx, diry))
|
||||
if (!choose_adjacent(_("Contruct where?"), dirx, diry))
|
||||
return;
|
||||
bool point_is_okay = false;
|
||||
for (int i = 0; i < valid.size() && !point_is_okay; i++) {
|
||||
@@ -804,16 +836,8 @@ void game::place_construction(constructable *con)
|
||||
point_is_okay = true;
|
||||
}
|
||||
if (!point_is_okay) {
|
||||
construct test;
|
||||
if (con->name == _("Move Furniture") && !(test.*(con->able))(this, point(dirx, diry)))
|
||||
{
|
||||
add_msg(_("You're not strong enough!"));
|
||||
}
|
||||
else
|
||||
{
|
||||
add_msg(_("You cannot build there!"));
|
||||
}
|
||||
return;
|
||||
return;
|
||||
}
|
||||
|
||||
// Figure out what stage to start at, and what stage is the maximum
|
||||
@@ -846,8 +870,6 @@ void game::complete_construction()
|
||||
int stage_num = u.activity.values[0];
|
||||
constructable *built = constructions[u.activity.index];
|
||||
construction_stage stage = built->stages[stage_num];
|
||||
std::vector<component> player_use;
|
||||
std::vector<component> map_use;
|
||||
|
||||
u.practice(turn, "carpentry", std::max(built->difficulty, 1) * 10);
|
||||
for (int i = 0; i < 10; i++) {
|
||||
@@ -879,7 +901,7 @@ void game::complete_construction()
|
||||
|
||||
bool construct::able_empty(game *g, point p)
|
||||
{
|
||||
return (g->m.has_flag(flat, p.x, p.y) && !g->m.has_furn(p.x, p.y) &&
|
||||
return (g->m.has_flag("FLAT", p.x, p.y) && !g->m.has_furn(p.x, p.y) &&
|
||||
g->is_empty(p.x, p.y) && g->m.tr_at(p.x, p.y) == tr_null);
|
||||
}
|
||||
|
||||
@@ -895,15 +917,7 @@ bool construct::able_trunk(game *g, point p)
|
||||
|
||||
bool construct::able_move(game *g, point p)
|
||||
{
|
||||
furn_t furniture_type = furnlist[g->m.furn(p.x, p.y)];
|
||||
int required_str = furniture_type.move_str_req;
|
||||
|
||||
// Object can not be moved
|
||||
if (required_str < 0) { return false; }
|
||||
|
||||
if( g->u.str_cur < required_str ) { return false; }
|
||||
|
||||
return true;
|
||||
return g->m.can_move_furniture( p.x, p.y, &(g->u) );
|
||||
}
|
||||
|
||||
bool construct::able_window(game *g, point p)
|
||||
@@ -961,7 +975,7 @@ bool construct::able_wall_wood(game *g, point p)
|
||||
|
||||
bool construct::able_dig(game *g, point p)
|
||||
{
|
||||
return (g->m.has_flag(diggable, p.x, p.y));
|
||||
return (g->m.has_flag("DIGGABLE", p.x, p.y));
|
||||
}
|
||||
|
||||
bool construct::able_chainlink(game *g, point p)
|
||||
@@ -981,7 +995,7 @@ bool construct::able_between_walls(game *g, point p)
|
||||
for (int dx = -1; dx <= 1; dx++) {
|
||||
for (int dy = -1; dy <= 1; dy++) {
|
||||
if (((dx == 0) ^ (dy == 0))
|
||||
&& g->m.has_flag(supports_roof, p.x + dx, p.y + dy)) {
|
||||
&& g->m.has_flag("SUPPORTS_ROOF", p.x + dx, p.y + dy)) {
|
||||
num_supports++;
|
||||
}
|
||||
}
|
||||
@@ -992,7 +1006,7 @@ bool construct::able_between_walls(game *g, point p)
|
||||
|
||||
bool construct::able_deconstruct(game *g, point p)
|
||||
{
|
||||
return (g->m.has_flag(deconstruct, p.x, p.y));
|
||||
return (g->m.has_flag("DECONSTRUCT", p.x, p.y));
|
||||
}
|
||||
|
||||
void construct::done_window_pane(game *g, point p)
|
||||
@@ -1002,40 +1016,14 @@ void construct::done_window_pane(game *g, point p)
|
||||
|
||||
void construct::done_move(game *g, point p)
|
||||
{
|
||||
mvprintz(0, 0, c_red, _("Press a direction for the furniture to move (. to cancel):"));
|
||||
int x = 0, y = 0;
|
||||
//Keep looping until we get a valid direction or a cancel.
|
||||
while (true) {
|
||||
do get_direction(g, x, y, input());
|
||||
while (x == -2 || y == -2);
|
||||
if (x == 0 && y == 0) { return; }
|
||||
x += p.x;
|
||||
y += p.y;
|
||||
if (able_empty(g, point(x, y))) {
|
||||
break;
|
||||
} else {
|
||||
mvprintz(0, 0, c_red, _("Can't move furniture there! Choose a direction with open floor."));
|
||||
}
|
||||
}
|
||||
|
||||
g->sound(x, y, furnlist[g->m.furn(p.x, p.y)].move_str_req * 2, _("a scraping noise"));
|
||||
g->m.furn_set(x, y, g->m.furn(p.x, p.y));
|
||||
g->m.furn_set(p.x, p.y, f_null);
|
||||
|
||||
//Move all Items within a container
|
||||
std::vector <item> vItemMove = g->m.i_at(p.x, p.y);
|
||||
for (int i=0; i < vItemMove.size(); i++) {
|
||||
g->m.add_item(x, y, vItemMove[i]);
|
||||
}
|
||||
|
||||
g->m.i_clear(p.x, p.y);
|
||||
return; // stub
|
||||
}
|
||||
|
||||
void construct::done_tree(game *g, point p)
|
||||
{
|
||||
mvprintz(0, 0, c_red, _("Press a direction for the tree to fall in:"));
|
||||
int x = 0, y = 0;
|
||||
do get_direction(g, x, y, input());
|
||||
do get_direction(x, y, input());
|
||||
while (x == -2 || y == -2);
|
||||
x = p.x + x * 3 + rng(-1, 1);
|
||||
y = p.y + y * 3 + rng(-1, 1);
|
||||
@@ -1085,15 +1073,15 @@ void construct::done_vehicle(game *g, point p)
|
||||
void construct::done_tape(game *g, point p)
|
||||
{
|
||||
g->add_msg(_("You tape up the %s."), g->m.tername(p.x, p.y).c_str());
|
||||
switch (g->m.ter(p.x, p.y))
|
||||
switch ( g->m.oldter(p.x, p.y) )
|
||||
{
|
||||
case t_window_alarm:
|
||||
case old_t_window_alarm:
|
||||
g->m.ter_set(p.x, p.y, t_window_alarm_taped);
|
||||
|
||||
case t_window_domestic:
|
||||
case old_t_window_domestic:
|
||||
g->m.ter_set(p.x, p.y, t_window_domestic_taped);
|
||||
|
||||
case t_window:
|
||||
case old_t_window:
|
||||
g->m.ter_set(p.x, p.y, t_window_taped);
|
||||
}
|
||||
|
||||
@@ -1103,66 +1091,70 @@ void construct::done_deconstruct(game *g, point p)
|
||||
{
|
||||
if (g->m.has_furn(p.x, p.y)) {
|
||||
g->add_msg(_("You disassemble the %s."), g->m.furnname(p.x, p.y).c_str());
|
||||
switch (g->m.furn(p.x, p.y)){
|
||||
case f_makeshift_bed:
|
||||
case f_bed:
|
||||
case f_armchair:
|
||||
switch (g->m.oldfurn(p.x, p.y)){
|
||||
case old_f_makeshift_bed:
|
||||
case old_f_bed:
|
||||
case old_f_armchair:
|
||||
g->m.spawn_item(p.x, p.y, "2x4", 0, 10);
|
||||
g->m.spawn_item(p.x, p.y, "rag", 0, rng(10,15));
|
||||
g->m.spawn_item(p.x, p.y, "nail", 0, 0, rng(6,8));
|
||||
g->m.furn_set(p.x, p.y, f_null);
|
||||
case f_bench:
|
||||
case f_crate_o:
|
||||
case f_crate_c:
|
||||
case f_chair:
|
||||
case f_cupboard:
|
||||
case f_desk:
|
||||
case f_bulletin:
|
||||
case old_f_bench:
|
||||
case old_f_crate_o:
|
||||
case old_f_crate_c:
|
||||
case old_f_chair:
|
||||
case old_f_cupboard:
|
||||
case old_f_desk:
|
||||
case old_f_bulletin:
|
||||
g->m.spawn_item(p.x, p.y, "2x4", 0, 4);
|
||||
g->m.spawn_item(p.x, p.y, "nail", 0, 0, rng(6,10));
|
||||
g->m.furn_set(p.x, p.y, f_null);
|
||||
break;
|
||||
case f_locker:
|
||||
case old_f_locker:
|
||||
g->m.spawn_item(p.x, p.y, "sheet_metal", 0, rng(1,2));
|
||||
g->m.spawn_item(p.x, p.y, "pipe", 0, rng(4,8));
|
||||
g->m.furn_set(p.x, p.y, f_null);
|
||||
break;
|
||||
case f_rack:
|
||||
case old_f_rack:
|
||||
g->m.spawn_item(p.x, p.y, "pipe", 0, rng(6,12));
|
||||
g->m.furn_set(p.x, p.y, f_null);
|
||||
break;
|
||||
case f_oven:
|
||||
case old_f_oven:
|
||||
g->m.spawn_item(p.x, p.y, "scrap", 0, rng(2,6));
|
||||
g->m.spawn_item(p.x, p.y, "steel_chunk", 0, rng(2,3));
|
||||
g->m.spawn_item(p.x, p.y, "element", 0, rng(1,4));
|
||||
g->m.spawn_item(p.x, p.y, "pilot_light", 0, 1);
|
||||
g->m.furn_set(p.x, p.y, f_null);
|
||||
case f_fridge:
|
||||
case old_f_fridge:
|
||||
g->m.spawn_item(p.x, p.y, "scrap", 0, rng(2,6));
|
||||
g->m.spawn_item(p.x, p.y, "steel_chunk", 0, rng(2,3));
|
||||
g->m.spawn_item(p.x, p.y, "hose", 0, 1);
|
||||
g->m.spawn_item(p.x, p.y, "cu_pipe", 0, rng(3, 6));
|
||||
|
||||
g->m.furn_set(p.x, p.y, f_null);
|
||||
break;
|
||||
case f_glass_fridge:
|
||||
case old_f_glass_fridge:
|
||||
g->m.spawn_item(p.x, p.y, "scrap", 0, rng(2,6));
|
||||
g->m.spawn_item(p.x, p.y, "steel_chunk", 0, rng(2,3));
|
||||
g->m.spawn_item(p.x, p.y, "hose", 0, 1);
|
||||
g->m.spawn_item(p.x, p.y, "glass_sheet", 0, 1);
|
||||
g->m.spawn_item(p.x, p.y, "cu_pipe", 0, rng(3, 6));
|
||||
g->m.furn_set(p.x, p.y, f_null);
|
||||
break;
|
||||
case f_counter:
|
||||
case f_dresser:
|
||||
case f_table:
|
||||
case old_f_counter:
|
||||
case old_f_dresser:
|
||||
case old_f_table:
|
||||
g->m.spawn_item(p.x, p.y, "2x4", 0, 6);
|
||||
g->m.spawn_item(p.x, p.y, "nail", 0, 0, rng(6,8));
|
||||
g->m.furn_set(p.x, p.y, f_null);
|
||||
break;
|
||||
case f_pool_table:
|
||||
case old_f_pool_table:
|
||||
g->m.spawn_item(p.x, p.y, "2x4", 0, 4);
|
||||
g->m.spawn_item(p.x, p.y, "rag", 0, 4);
|
||||
g->m.spawn_item(p.x, p.y, "nail", 0, 0, rng(6,10));
|
||||
g->m.furn_set(p.x, p.y, f_null);
|
||||
break;
|
||||
case f_bookcase:
|
||||
case old_f_bookcase:
|
||||
g->m.spawn_item(p.x, p.y, "2x4", 0, 12);
|
||||
g->m.spawn_item(p.x, p.y, "nail", 0, 0, rng(12,16));
|
||||
g->m.furn_set(p.x, p.y, f_null);
|
||||
@@ -1173,16 +1165,16 @@ void construct::done_deconstruct(game *g, point p)
|
||||
}
|
||||
} else {
|
||||
g->add_msg(_("You disassemble the %s."), g->m.tername(p.x, p.y).c_str());
|
||||
switch (g->m.ter(p.x, p.y))
|
||||
switch (g->m.oldter(p.x, p.y))
|
||||
{
|
||||
case t_door_c:
|
||||
case t_door_o:
|
||||
case old_t_door_c:
|
||||
case old_t_door_o:
|
||||
g->m.spawn_item(p.x, p.y, "2x4", 0, 4);
|
||||
g->m.spawn_item(p.x, p.y, "nail", 0, 0, rng(6,12));
|
||||
g->m.ter_set(p.x, p.y, t_door_frame);
|
||||
break;
|
||||
case t_curtains:
|
||||
case t_window_domestic:
|
||||
case old_t_curtains:
|
||||
case old_t_window_domestic:
|
||||
g->m.spawn_item(g->u.posx, g->u.posy, "stick", 0);
|
||||
g->m.spawn_item(g->u.posx, g->u.posy, "sheet", 0, 2);
|
||||
g->m.spawn_item(g->u.posx, g->u.posy, "glass_sheet", 0);
|
||||
@@ -1190,26 +1182,26 @@ void construct::done_deconstruct(game *g, point p)
|
||||
g->m.spawn_item(g->u.posx, g->u.posy, "string_36", 0, 0, 1);
|
||||
g->m.ter_set(p.x, p.y, t_window_empty);
|
||||
break;
|
||||
case t_window:
|
||||
case old_t_window:
|
||||
g->m.spawn_item(p.x, p.y, "glass_sheet", 0);
|
||||
g->m.ter_set(p.x, p.y, t_window_empty);
|
||||
break;
|
||||
case t_backboard:
|
||||
case old_t_backboard:
|
||||
g->m.spawn_item(p.x, p.y, "2x4", 0, 4);
|
||||
g->m.spawn_item(p.x, p.y, "nail", 0, 0, rng(6,10));
|
||||
g->m.ter_set(p.x, p.y, t_pavement);
|
||||
break;
|
||||
case t_sandbox:
|
||||
case old_t_sandbox:
|
||||
g->m.spawn_item(p.x, p.y, "2x4", 0, 4);
|
||||
g->m.spawn_item(p.x, p.y, "nail", 0, 0, rng(6,10));
|
||||
g->m.ter_set(p.x, p.y, t_floor);
|
||||
break;
|
||||
case t_slide:
|
||||
case old_t_slide:
|
||||
g->m.spawn_item(p.x, p.y, "sheet_metal", 0);
|
||||
g->m.spawn_item(p.x, p.y, "pipe", 0, rng(4,8));
|
||||
g->m.ter_set(p.x, p.y, t_grass);
|
||||
break;
|
||||
case t_monkey_bars:
|
||||
case old_t_monkey_bars:
|
||||
g->m.spawn_item(p.x, p.y, "pipe", 0, rng(6,12));
|
||||
g->m.ter_set(p.x, p.y, t_grass);
|
||||
break;
|
||||
|
||||
+3
-3
@@ -1,7 +1,6 @@
|
||||
bool able_window(game *, point); // Any window tile#include <vector>
|
||||
#include <string>
|
||||
#include "crafting.h"
|
||||
|
||||
struct construct;
|
||||
|
||||
struct construction_stage
|
||||
@@ -14,8 +13,8 @@ struct construction_stage
|
||||
|
||||
construction_stage(ter_id Terrain, int Time) :
|
||||
terrain (Terrain), furniture(f_null), time (Time) { };
|
||||
construction_stage(furn_id Furniture, int Time) :
|
||||
terrain (t_null), furniture (Furniture), time (Time) { };
|
||||
construction_stage(furn_t Furniture, int Time) :
|
||||
terrain (t_null), furniture (Furniture.loadid), time (Time) { };
|
||||
construction_stage(int Time) :
|
||||
terrain (t_null), furniture (f_null), time (Time) { };
|
||||
};
|
||||
@@ -74,6 +73,7 @@ struct construct // Construction functions.
|
||||
void done_nothing(game *, point) { }
|
||||
void done_window_pane(game *, point);
|
||||
void done_vehicle(game *, point);
|
||||
void done_cart(game *, point);
|
||||
void done_tree(game *, point);
|
||||
void done_trunk_log(game *, point);
|
||||
void done_trunk_plank(game *, point);
|
||||
|
||||
+100
@@ -0,0 +1,100 @@
|
||||
#ifndef _COORDINATES_H_
|
||||
#define _COORDINATES_H_
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <set>
|
||||
#include <map>
|
||||
|
||||
#include "mapdata.h"
|
||||
#include "overmap.h"
|
||||
|
||||
/* find appropriate subdivided coordinates for absolute tile coordinate.
|
||||
* This is less obvious than one might think, for negative coordinates, so this
|
||||
* was created to give a definitive answer.
|
||||
*
|
||||
* 'absolute' is defined as the -actual- submap x,y * 12 + position in submap, and
|
||||
* can be obtained from map.getabs(x, y);
|
||||
* usage:
|
||||
* real_coords rc( g->m.getabs(g->u.posx, g->u.posy ) );
|
||||
*/
|
||||
struct real_coords {
|
||||
static const int tiles_in_sub = SEEX;
|
||||
static const int tiles_in_sub_n = tiles_in_sub - 1;
|
||||
static const int subs_in_om = OMAPX * 2;
|
||||
static const int subs_in_om_n = subs_in_om - 1;
|
||||
|
||||
point abs_pos; // 1 per tile, starting from tile 0,0 of submap 0,0 of overmap 0,0
|
||||
point abs_sub; // submap: 12 tiles.
|
||||
point abs_om; // overmap: 360 submaps.
|
||||
|
||||
point sub_pos; // coordinate (0-11) in submap / abs_pos constrained to % 12.
|
||||
|
||||
point om_pos; // overmap tile: 2x2 submaps.
|
||||
point om_sub; // submap (0-359) in overmap / abs_sub constrained to % 360. equivalent to g->levx
|
||||
|
||||
real_coords() {
|
||||
}
|
||||
|
||||
real_coords(point ap) {
|
||||
fromabs( ap.x, ap.y );
|
||||
}
|
||||
|
||||
void fromabs(const int absx, const int absy) {
|
||||
const int normx = abs(absx);
|
||||
const int normy = abs(absy);
|
||||
abs_pos = point(absx, absy);
|
||||
|
||||
if ( absx < 0 ) {
|
||||
abs_sub.x = (absx-11)/12;
|
||||
sub_pos.x = 11-((normx-1) % 12);
|
||||
abs_om.x = (abs_sub.x-subs_in_om_n)/subs_in_om;
|
||||
om_sub.x = subs_in_om_n-(((normx-1)/12) % subs_in_om);
|
||||
} else {
|
||||
abs_sub.x = normx/12;
|
||||
sub_pos.x = absx % 12;
|
||||
abs_om.x = abs_sub.x/subs_in_om;
|
||||
om_sub.x = abs_sub.x % subs_in_om;
|
||||
}
|
||||
om_pos.x = om_sub.x / 2;
|
||||
|
||||
if ( absy < 0 ) {
|
||||
abs_sub.y = (absy-11)/12;
|
||||
sub_pos.y = 11-((normy-1) % 12);
|
||||
abs_om.y = (abs_sub.y-subs_in_om_n)/subs_in_om;
|
||||
om_sub.y = subs_in_om_n-(((normy-1)/12) % subs_in_om);
|
||||
} else {
|
||||
abs_sub.y = normy/12;
|
||||
sub_pos.y = absy % 12;
|
||||
abs_om.y = abs_sub.y/subs_in_om;
|
||||
om_sub.y = abs_sub.y % subs_in_om;
|
||||
}
|
||||
om_pos.y = om_sub.y / 2;
|
||||
}
|
||||
|
||||
void fromabs(point absolute) {
|
||||
fromabs(absolute.x, absolute.y);
|
||||
}
|
||||
|
||||
// specifically for the subjective position returned by overmap::draw
|
||||
void fromomap( int rel_omx, int rel_omy, int rel_om_posx, int rel_om_posy ) {
|
||||
int ax=(rel_omx*OMAPX) + rel_om_posx;
|
||||
int ay=(rel_omy*OMAPY) + rel_om_posy;
|
||||
fromabs(ax*24, ay*24);
|
||||
}
|
||||
|
||||
// helper functions to return abs_pos of submap/overmap tile/overmap's start
|
||||
|
||||
point begin_sub() {
|
||||
return point( abs_sub.x * tiles_in_sub, abs_sub.y * tiles_in_sub );
|
||||
}
|
||||
point begin_om_pos() {
|
||||
return point( (abs_om.x * subs_in_om * tiles_in_sub) + ( om_pos.x * 2 * tiles_in_sub ),
|
||||
(abs_om.y * subs_in_om * tiles_in_sub) + ( om_pos.y * 2 * tiles_in_sub ) );
|
||||
}
|
||||
point begin_om() {
|
||||
return point( abs_om.x * subs_in_om * tiles_in_sub, abs_om.y * subs_in_om * tiles_in_sub);
|
||||
}
|
||||
};
|
||||
#endif
|
||||
+293
-283
@@ -2,7 +2,7 @@
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include "catajson.h"
|
||||
#include "json.h"
|
||||
#include "input.h"
|
||||
#include "game.h"
|
||||
#include "options.h"
|
||||
@@ -11,161 +11,149 @@
|
||||
#include "inventory.h"
|
||||
#include "item_factory.h"
|
||||
#include "catacharset.h"
|
||||
#include <queue>
|
||||
|
||||
//apparently we can't declare this in crafting.h? Complained about multiple definition.
|
||||
std::vector<craft_cat> craft_cat_list;
|
||||
std::vector<std::string> recipe_names;
|
||||
recipe_map recipes;
|
||||
std::map<std::string,quality> qualities;
|
||||
std::map<std::string, std::queue<std::pair<recipe*, int> > > recipe_booksets;
|
||||
|
||||
void draw_recipe_tabs(WINDOW *w, craft_cat tab,bool filtered=false);
|
||||
|
||||
// This function just defines the recipes used throughout the game.
|
||||
void game::init_recipes() throw (std::string)
|
||||
void load_recipe_category(JsonObject &jsobj)
|
||||
{
|
||||
int id = -1;
|
||||
int tl, cl;
|
||||
recipe* last_rec = NULL;
|
||||
craft_cat_list.push_back(jsobj.get_string("id"));
|
||||
}
|
||||
|
||||
catajson recipeRaw("data/raw/recipes.json");
|
||||
void load_recipe(JsonObject &jsobj)
|
||||
{
|
||||
JsonArray jsarr;
|
||||
|
||||
if(!json_good())
|
||||
throw (std::string)"data/raw/recipes.json could not be read";
|
||||
// required
|
||||
std::string result = jsobj.get_string("result");
|
||||
std::string category = jsobj.get_string("category");
|
||||
int difficulty = jsobj.get_int("difficulty");
|
||||
int time = jsobj.get_int("time");
|
||||
bool autolearn = jsobj.get_bool("autolearn");
|
||||
// optional
|
||||
bool reversible = jsobj.get_bool("reversible", false);
|
||||
std::string skill_used = jsobj.get_string("skill_used", "");
|
||||
std::string id_suffix = jsobj.get_string("id_suffix", "");
|
||||
int learn_by_disassembly = jsobj.get_int("decomp_learn", -1);
|
||||
|
||||
catajson craftCats = recipeRaw.get("categories");
|
||||
for (craftCats.set_begin(); craftCats.has_curr(); craftCats.next())
|
||||
{
|
||||
craft_cat_list.push_back(craftCats.curr().as_string());
|
||||
std::map<std::string, int> requires_skills;
|
||||
jsarr = jsobj.get_array("skills_required");
|
||||
if (jsarr.size() > 0) {
|
||||
// could be a single requirement, or multiple
|
||||
try {
|
||||
// try to parse as single requirement
|
||||
requires_skills[jsarr.get_string(0)] = jsarr.get_int(1);
|
||||
} catch (std::string e) {
|
||||
// get_string or get_int failed, so assume array of arrays
|
||||
while (jsarr.has_more()) {
|
||||
JsonArray ja = jsarr.next_array();
|
||||
requires_skills[ja.get_string(0)] = ja.get_int(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
catajson recipeList = recipeRaw.get("recipes");
|
||||
std::vector<std::string> recipeNames;
|
||||
for (recipeList.set_begin(); recipeList.has_curr(); recipeList.next())
|
||||
std::string rec_name = result + id_suffix;
|
||||
|
||||
for (std::vector<std::string>::iterator name_iter = recipe_names.begin();
|
||||
name_iter != recipe_names.end();
|
||||
++name_iter)
|
||||
{
|
||||
catajson curr = recipeList.curr();
|
||||
// required fields
|
||||
std::string result = curr.get("result").as_string();
|
||||
std::string category = curr.get("category").as_string();
|
||||
int difficulty = curr.get("difficulty").as_int();
|
||||
int time = curr.get("time").as_int();
|
||||
bool autolearn = curr.get("autolearn").as_bool();
|
||||
// optional fields
|
||||
bool reversible = curr.has("reversible") ? curr.get("reversible").as_bool() : false;
|
||||
std::string skill_used = curr.has("skill_used") ? curr.get("skill_used").as_string() : "";
|
||||
std::map<std::string, int> requires_skills;
|
||||
//Find skill requirements, if any exist
|
||||
if(curr.has("requires_skills")){
|
||||
catajson skill_list = curr.get("requires_skills");
|
||||
// The json could contain the data for a single requirement, or multiple, but either way its an array
|
||||
if(skill_list.is_array()){
|
||||
skill_list.set_begin();
|
||||
if(skill_list.curr().is_array()){
|
||||
// If the first element is an array, we have a list of requirements
|
||||
for(skill_list.set_begin(); skill_list.has_curr(); skill_list.next()){
|
||||
catajson sub_list = skill_list.curr();
|
||||
sub_list.set_begin();
|
||||
std::string skill_name = sub_list.curr().as_string();
|
||||
sub_list.next();
|
||||
int skill_level = sub_list.curr().as_int();
|
||||
requires_skills[skill_name]=skill_level;
|
||||
}
|
||||
} else {
|
||||
// If the first element is not an array, we just have a single requirement
|
||||
std::string skill_name = skill_list.curr().as_string();
|
||||
skill_list.next();
|
||||
int skill_level = skill_list.curr().as_int();
|
||||
requires_skills[skill_name]=skill_level;
|
||||
}
|
||||
}
|
||||
else {
|
||||
debugmsg("Invalid skill requirements: %s", result.c_str());
|
||||
}
|
||||
|
||||
if ((*name_iter) == rec_name) {
|
||||
throw jsobj.line_number() + ": Recipe name collision (set a unique value for the id_suffix field to fix): " + rec_name;
|
||||
}
|
||||
std::string id_suffix = curr.has("id_suffix") ? curr.get("id_suffix").as_string() : "";
|
||||
int learn_by_disassembly = curr.has("decomp_learn") ? curr.get("decomp_learn").as_int() : -1;
|
||||
|
||||
tl = -1;
|
||||
cl = -1;
|
||||
++id;
|
||||
|
||||
std::string rec_name = result + id_suffix;
|
||||
|
||||
last_rec = new recipe(rec_name, id, result, category, skill_used, requires_skills,
|
||||
difficulty, time, reversible, autolearn,
|
||||
learn_by_disassembly);
|
||||
|
||||
for (std::vector<std::string>::iterator name_iter = recipeNames.begin();
|
||||
name_iter != recipeNames.end();
|
||||
++name_iter)
|
||||
{
|
||||
if ((*name_iter) == rec_name)
|
||||
{
|
||||
debugmsg("Recipe name collision (set a unique value for the id_suffix field to fix): %s", rec_name.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
recipeNames.push_back(rec_name);
|
||||
|
||||
catajson compList = curr.get("components");
|
||||
for (compList.set_begin(); compList.has_curr(); compList.next())
|
||||
{
|
||||
++cl;
|
||||
std::vector<component> component_choices;
|
||||
catajson comp = compList.curr();
|
||||
// interchangable components
|
||||
for (comp.set_begin(); comp.has_curr(); comp.next())
|
||||
{
|
||||
std::string name = comp.curr().get(0).as_string();
|
||||
int quant = comp.curr().get(1).as_int();
|
||||
component_choices.push_back(component(name, quant));
|
||||
}
|
||||
last_rec->components.push_back(component_choices);
|
||||
}
|
||||
|
||||
if (curr.has("tools"))
|
||||
{
|
||||
catajson toolList = curr.get("tools");
|
||||
for (toolList.set_begin(); toolList.has_curr(); toolList.next())
|
||||
{
|
||||
++tl;
|
||||
std::vector<component> tool_choices;
|
||||
catajson tool = toolList.curr();
|
||||
// interchangable tools
|
||||
for (tool.set_begin(); tool.has_curr(); tool.next())
|
||||
{
|
||||
std::string name = tool.curr().get(0).as_string();
|
||||
int quant = tool.curr().get(1).as_int();
|
||||
tool_choices.push_back(component(name, quant));
|
||||
}
|
||||
last_rec->tools.push_back(tool_choices);
|
||||
}
|
||||
}
|
||||
|
||||
if (curr.has("book_learn"))
|
||||
{
|
||||
catajson book_list = curr.get("book_learn");
|
||||
for (book_list.set_begin(); book_list.has_curr(); book_list.next())
|
||||
{
|
||||
catajson book = book_list.curr();
|
||||
std::string book_name = book.get(0).as_string();
|
||||
int book_level = book.get(1).as_int();
|
||||
|
||||
if (item_controller->find_template(book_name)->is_book())
|
||||
{
|
||||
it_book *book_def = dynamic_cast<it_book*>(item_controller->find_template(book_name));
|
||||
book_def->recipes[last_rec] = book_level;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
recipes[category].push_back(last_rec);
|
||||
}
|
||||
if(!json_good())
|
||||
throw (std::string)"There was an error reading data/raw/recipes.json";
|
||||
|
||||
recipe_names.push_back(rec_name);
|
||||
int id = recipe_names.size();
|
||||
|
||||
recipe* rec = new recipe(rec_name, id, result, category, skill_used,
|
||||
requires_skills, difficulty, time, reversible,
|
||||
autolearn, learn_by_disassembly);
|
||||
|
||||
|
||||
jsarr = jsobj.get_array("components");
|
||||
while (jsarr.has_more()) {
|
||||
std::vector<component> component_choices;
|
||||
JsonArray ja = jsarr.next_array();
|
||||
while (ja.has_more()) {
|
||||
JsonArray comp = ja.next_array();
|
||||
std::string name = comp.get_string(0);
|
||||
int quant = comp.get_int(1);
|
||||
component_choices.push_back(component(name, quant));
|
||||
}
|
||||
rec->components.push_back(component_choices);
|
||||
}
|
||||
|
||||
jsarr = jsobj.get_array("qualities");
|
||||
while(jsarr.has_more()){
|
||||
JsonObject quality_data = jsarr.next_object();
|
||||
std::string ident = quality_data.get_string("id");
|
||||
int level = quality_data.get_int("level", 1);
|
||||
int amount = quality_data.get_int("amount", 1);
|
||||
rec->qualities.push_back(quality_requirement(ident, level, amount));
|
||||
}
|
||||
|
||||
jsarr = jsobj.get_array("tools");
|
||||
while (jsarr.has_more()) {
|
||||
std::vector<component> tool_choices;
|
||||
JsonArray ja = jsarr.next_array();
|
||||
while (ja.has_more()) {
|
||||
JsonArray comp = ja.next_array();
|
||||
std::string name = comp.get_string(0);
|
||||
int quant = comp.get_int(1);
|
||||
tool_choices.push_back(component(name, quant));
|
||||
}
|
||||
rec->tools.push_back(tool_choices);
|
||||
}
|
||||
|
||||
jsarr = jsobj.get_array("book_learn");
|
||||
while (jsarr.has_more()) {
|
||||
JsonArray ja = jsarr.next_array();
|
||||
std::string book_name = ja.get_string(0);
|
||||
int book_level = ja.get_int(1);
|
||||
std::pair<recipe*, int> temp_pair(rec, book_level);
|
||||
if (recipe_booksets.find(book_name) == recipe_booksets.end()){
|
||||
recipe_booksets[book_name] = std::queue<std::pair<recipe*, int> >();
|
||||
}
|
||||
recipe_booksets[book_name].push(temp_pair);
|
||||
}
|
||||
|
||||
recipes[category].push_back(rec);
|
||||
}
|
||||
|
||||
void finalize_recipes()
|
||||
{
|
||||
for (std::map<std::string, std::queue<std::pair<recipe*, int> > >::iterator book_ref_it = recipe_booksets.begin();
|
||||
book_ref_it != recipe_booksets.end(); ++book_ref_it){
|
||||
if (!book_ref_it->second.empty() && item_controller->find_template(book_ref_it->first)->is_book()){
|
||||
it_book *book_def = dynamic_cast<it_book*>(item_controller->find_template(book_ref_it->first));
|
||||
while (!book_ref_it->second.empty()){
|
||||
std::pair<recipe*, int> rec_pair = book_ref_it->second.front();
|
||||
book_ref_it->second.pop();
|
||||
book_def->recipes[rec_pair.first] = rec_pair.second;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void load_quality(JsonObject &jo)
|
||||
{
|
||||
quality qual;
|
||||
qual.id = jo.get_string("id");
|
||||
qual.name = _(jo.get_string("name").c_str());
|
||||
qualities[qual.id] = qual;
|
||||
}
|
||||
|
||||
bool game::crafting_allowed()
|
||||
{
|
||||
if (u.morale_level() < MIN_MORALE_CRAFT)
|
||||
{ // See morale.h
|
||||
{ // See morale.h
|
||||
add_msg(_("Your morale is too low to craft..."));
|
||||
return false;
|
||||
}
|
||||
@@ -188,17 +176,14 @@ void game::recraft()
|
||||
//TODO clean up this function to give better status messages (e.g., "no fire available")
|
||||
bool game::making_would_work(recipe *making)
|
||||
{
|
||||
if (!crafting_allowed())
|
||||
{
|
||||
return false;
|
||||
if (!crafting_allowed()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if(can_make(making))
|
||||
{
|
||||
if (item_controller->find_template((making->result))->phase == LIQUID)
|
||||
{
|
||||
if (u.has_watertight_container() || u.has_matching_liquid(item_controller->find_template(making->result)->id))
|
||||
{
|
||||
if(can_make(making)) {
|
||||
if (item_controller->find_template((making->result))->phase == LIQUID) {
|
||||
if (u.has_watertight_container() ||
|
||||
u.has_matching_liquid(item_controller->find_template(making->result)->id)) {
|
||||
return true;
|
||||
}
|
||||
else
|
||||
@@ -226,7 +211,26 @@ bool game::can_make(recipe *r)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// under the assumption that all comp and tool's array contains all the required stuffs at the start of the array
|
||||
// under the assumption that all comp and tool's array contains
|
||||
// all the required stuffs at the start of the array
|
||||
|
||||
// check all tool_quality requirements
|
||||
// this is an alternate method of checking for tools by using the tools qualities instead of the specific tool
|
||||
// You can specify the amount of tools with this quality required, but it does not work for consumed charges.
|
||||
std::vector<quality_requirement> &qualities = r->qualities;
|
||||
std::vector<quality_requirement>::iterator quality_iter = qualities.begin();
|
||||
while(quality_iter != qualities.end()){
|
||||
std::string id = quality_iter->id;
|
||||
int amount = quality_iter->count;
|
||||
int level = quality_iter->level;
|
||||
if(crafting_inv.has_items_with_quality(id, level, amount)){
|
||||
quality_iter->available = true;
|
||||
} else {
|
||||
quality_iter->available = false;
|
||||
RET_VAL = false;
|
||||
}
|
||||
++quality_iter;
|
||||
}
|
||||
|
||||
// check all tools
|
||||
std::vector<std::vector<component> > &tools = r->tools;
|
||||
@@ -235,7 +239,7 @@ bool game::can_make(recipe *r)
|
||||
{
|
||||
std::vector<component> &set_of_tools = *tool_set_it;
|
||||
// if current tool is null(size 0), assume that there is no more after it.
|
||||
if(set_of_tools.size()==0)
|
||||
if(set_of_tools.empty())
|
||||
{
|
||||
break;
|
||||
}
|
||||
@@ -246,7 +250,8 @@ bool game::can_make(recipe *r)
|
||||
component &tool = *tool_it;
|
||||
itype_id type = tool.type;
|
||||
int req = tool.count;
|
||||
if((req<= 0 && crafting_inv.has_amount(type,1)) || (req > 0 && crafting_inv.has_charges(type,req)))
|
||||
if((req<= 0 && crafting_inv.has_amount(type, 1)) ||
|
||||
(req > 0 && crafting_inv.has_charges(type, req)))
|
||||
{
|
||||
has_tool_in_set = true;
|
||||
tool.available = 1;
|
||||
@@ -269,7 +274,7 @@ bool game::can_make(recipe *r)
|
||||
while (comp_set_it != components.end())
|
||||
{
|
||||
std::vector<component> &set_of_components = *comp_set_it;
|
||||
if(set_of_components.size() == 0)
|
||||
if(set_of_components.empty())
|
||||
{
|
||||
break;
|
||||
}
|
||||
@@ -485,7 +490,7 @@ void game::craft()
|
||||
{
|
||||
if (!crafting_allowed())
|
||||
{
|
||||
return;
|
||||
return;
|
||||
}
|
||||
|
||||
recipe *rec = select_crafting_recipe();
|
||||
@@ -499,7 +504,7 @@ void game::long_craft()
|
||||
{
|
||||
if (!crafting_allowed())
|
||||
{
|
||||
return;
|
||||
return;
|
||||
}
|
||||
|
||||
recipe *rec = select_crafting_recipe();
|
||||
@@ -539,12 +544,14 @@ craft_cat game::prev_craft_cat(craft_cat cat)
|
||||
|
||||
recipe* game::select_crafting_recipe()
|
||||
{
|
||||
const int dataHalfLines=(int)((TERMY-3-4)/2);
|
||||
const int dataLines=(int)(dataHalfLines*2); // old: 18
|
||||
const int dataHeight=dataLines+4; // old: 22
|
||||
const int headHeight = 3;
|
||||
const int tailHeight = 4;
|
||||
const int dataLines = TERMY - headHeight - tailHeight;
|
||||
const int dataHalfLines = dataLines / 2;
|
||||
const int dataHeight = TERMY - headHeight;
|
||||
|
||||
WINDOW *w_head = newwin( 3, FULL_SCREEN_WIDTH, 0, (TERMX > FULL_SCREEN_WIDTH) ? (TERMX-FULL_SCREEN_WIDTH)/2 : 0);
|
||||
WINDOW *w_data = newwin(dataHeight, FULL_SCREEN_WIDTH, 3, (TERMX > FULL_SCREEN_WIDTH) ? (TERMX -FULL_SCREEN_WIDTH)/2 : 0);
|
||||
WINDOW *w_head = newwin(headHeight, FULL_SCREEN_WIDTH, 0, (TERMX > FULL_SCREEN_WIDTH) ? (TERMX-FULL_SCREEN_WIDTH)/2 : 0);
|
||||
WINDOW *w_data = newwin(dataHeight, FULL_SCREEN_WIDTH, headHeight, (TERMX > FULL_SCREEN_WIDTH) ? (TERMX-FULL_SCREEN_WIDTH)/2 : 0);
|
||||
|
||||
|
||||
craft_cat tab = "CC_WEAPON";
|
||||
@@ -578,100 +585,72 @@ recipe* game::select_crafting_recipe()
|
||||
|
||||
// Clear the screen of recipe data, and draw it anew
|
||||
werase(w_data);
|
||||
if(filterstring != "")
|
||||
{
|
||||
if (filterstring != "") {
|
||||
mvwprintz(w_data, dataLines+1, 5, c_white, _("[?/E]: Describe, [F]ind , [R]eset"));
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
mvwprintz(w_data, dataLines+1, 5, c_white, _("[?/E]: Describe, [F]ind"));
|
||||
}
|
||||
mvwprintz(w_data, dataLines+2, 5, c_white, _("Press <ENTER> to attempt to craft object."));
|
||||
for (int i = 0; i < FULL_SCREEN_WIDTH; i++)
|
||||
{
|
||||
mvwputch(w_data, dataHeight-1, i, c_ltgray, LINE_OXOX);
|
||||
if (i < dataHeight-1)
|
||||
{
|
||||
mvwputch(w_data, i, 0, c_ltgray, LINE_XOXO);
|
||||
mvwputch(w_data, i, FULL_SCREEN_WIDTH-1, c_ltgray, LINE_XOXO);
|
||||
}
|
||||
}
|
||||
|
||||
// Draw borders
|
||||
for (int i = 1; i < FULL_SCREEN_WIDTH-1; ++i) { // _
|
||||
mvwputch(w_data, dataHeight-1, i, c_ltgray, LINE_OXOX);
|
||||
}
|
||||
for (int i = 1; i < dataHeight-1; ++i) { // |
|
||||
mvwputch(w_data, i, 0, c_ltgray, LINE_XOXO);
|
||||
mvwputch(w_data, i, FULL_SCREEN_WIDTH-1, c_ltgray, LINE_XOXO);
|
||||
}
|
||||
mvwputch(w_data, dataHeight-1, 0, c_ltgray, LINE_XXOO); // _|
|
||||
mvwputch(w_data, dataHeight-1, FULL_SCREEN_WIDTH-1, c_ltgray, LINE_XOOX); // |_
|
||||
|
||||
int recmin = 0, recmax = current.size();
|
||||
if(recmax > dataLines)
|
||||
{
|
||||
if (line <= recmin + dataHalfLines)
|
||||
{
|
||||
for (int i = recmin; i < recmin + dataLines; i++)
|
||||
{
|
||||
mvwprintz(w_data, i - recmin, 2, c_dkgray, ""); // Clear the line
|
||||
if (i == line)
|
||||
{
|
||||
if (recmax > dataLines) {
|
||||
if (line <= recmin + dataHalfLines) {
|
||||
for (int i = recmin; i < recmin + dataLines; ++i) {
|
||||
mvwprintz(w_data, i - recmin, 2, c_dkgray, ""); // Clear the line
|
||||
if (i == line) {
|
||||
mvwprintz(w_data, i - recmin, 2, (available[i] ? h_white : h_dkgray),
|
||||
item_controller->find_template(current[i]->result)->name.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
mvwprintz(w_data, i - recmin, 2, (available[i] ? c_white : c_dkgray),
|
||||
item_controller->find_template(current[i]->result)->name.c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (line >= recmax - dataHalfLines)
|
||||
{
|
||||
for (int i = recmax - dataLines; i < recmax; i++)
|
||||
{
|
||||
mvwprintz(w_data, dataLines + i - recmax, 2, c_ltgray, ""); // Clear the line
|
||||
if (i == line)
|
||||
{
|
||||
} else if (line >= recmax - dataHalfLines) {
|
||||
for (int i = recmax - dataLines; i < recmax; ++i) {
|
||||
mvwprintz(w_data, dataLines + i - recmax, 2, c_ltgray, ""); // Clear the line
|
||||
if (i == line) {
|
||||
mvwprintz(w_data, dataLines + i - recmax, 2, (available[i] ? h_white : h_dkgray),
|
||||
item_controller->find_template(current[i]->result)->name.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
mvwprintz(w_data, dataLines + i - recmax, 2, (available[i] ? c_white : c_dkgray),
|
||||
item_controller->find_template(current[i]->result)->name.c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = line - dataHalfLines; i < line + dataHalfLines; i++)
|
||||
{
|
||||
mvwprintz(w_data, dataHalfLines + i - line, 2, c_ltgray, ""); // Clear the line
|
||||
if (i == line)
|
||||
{
|
||||
} else {
|
||||
for (int i = line - dataHalfLines; i < line - dataHalfLines + dataLines; ++i) {
|
||||
mvwprintz(w_data, dataHalfLines + i - line, 2, c_ltgray, ""); // Clear the line
|
||||
if (i == line) {
|
||||
mvwprintz(w_data, dataHalfLines + i - line, 2, (available[i] ? h_white : h_dkgray),
|
||||
item_controller->find_template(current[i]->result)->name.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
mvwprintz(w_data, dataHalfLines + i - line, 2, (available[i] ? c_white : c_dkgray),
|
||||
item_controller->find_template(current[i]->result)->name.c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < current.size() && i < dataHeight+1; i++)
|
||||
{
|
||||
if (i == line)
|
||||
{
|
||||
} else {
|
||||
for (int i = 0; i < current.size() && i < dataHeight+1; ++i) {
|
||||
if (i == line) {
|
||||
mvwprintz(w_data, i, 2, (available[i] ? h_white : h_dkgray),
|
||||
item_controller->find_template(current[i]->result)->name.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
mvwprintz(w_data, i, 2, (available[i] ? c_white : c_dkgray),
|
||||
item_controller->find_template(current[i]->result)->name.c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
if (current.size() > 0)
|
||||
if (!current.empty())
|
||||
{
|
||||
nc_color col = (available[line] ? c_white : c_dkgray);
|
||||
mvwprintz(w_data, 0, 30, col, _("Skills used: %s"),
|
||||
@@ -702,7 +681,7 @@ recipe* game::select_crafting_recipe()
|
||||
int(current[line]->time / 100));
|
||||
}
|
||||
mvwprintz(w_data, 5, 30, col, _("Tools required:"));
|
||||
if (current[line]->tools.size() == 0)
|
||||
if (current[line]->tools.size() == 0 && current[line]->qualities.size() == 0)
|
||||
{
|
||||
mvwputch(w_data, 6, 30, col, '>');
|
||||
mvwprintz(w_data, 6, 32, c_green, _("NONE"));
|
||||
@@ -710,7 +689,22 @@ recipe* game::select_crafting_recipe()
|
||||
}
|
||||
else
|
||||
{
|
||||
ypos = 5;
|
||||
ypos = 6;
|
||||
// Loop to print the required tool qualities
|
||||
for(std::vector<quality_requirement>::const_iterator iter = current[line]->qualities.begin();
|
||||
iter != current[line]->qualities.end(); ++iter){
|
||||
xpos = 32;
|
||||
mvwputch(w_data, ypos, 30, col, '>');
|
||||
nc_color toolcol = c_red;
|
||||
if(iter->available){
|
||||
toolcol = c_green;
|
||||
}
|
||||
|
||||
std::stringstream qualinfo;
|
||||
qualinfo << string_format(_("Requires %d tools with %s of %d or more."), iter->count, qualities[iter->id].name.c_str(), iter->level);
|
||||
ypos += fold_and_print(w_data, ypos, xpos, getmaxx(w_data)-xpos-1, toolcol, qualinfo.str().c_str());
|
||||
}
|
||||
ypos--;
|
||||
// Loop to print the required tools
|
||||
for (int i = 0; i < current[line]->tools.size() && current[line]->tools[i].size() > 0; i++)
|
||||
{
|
||||
@@ -1059,7 +1053,7 @@ void game::complete_craft()
|
||||
int skill_sides = 16 + u.int_cur;
|
||||
|
||||
int diff_dice = making->difficulty * 4; // Since skill level is * 4 also
|
||||
int diff_sides = 24; // 16 + 8 (default intelligence)
|
||||
int diff_sides = 24; // 16 + 8 (default intelligence)
|
||||
|
||||
int skill_roll = dice(skill_dice, skill_sides);
|
||||
int diff_roll = dice(diff_dice, diff_sides);
|
||||
@@ -1127,20 +1121,20 @@ void game::complete_craft()
|
||||
}
|
||||
if (used_age_count > 0 && newit.goes_bad())
|
||||
{
|
||||
const int average_used_age = (used_age_tally / used_age_count) * dynamic_cast<it_comest*>(newit.type)->spoils;
|
||||
const int average_used_age = int((used_age_tally / used_age_count) * dynamic_cast<it_comest*>(newit.type)->spoils);
|
||||
newit.bday = newit.bday - average_used_age;
|
||||
}
|
||||
// for food items
|
||||
if (newit.is_food())
|
||||
{
|
||||
int bday_tmp = newit.bday % 3600; // fuzzy birthday for stacking reasons
|
||||
int bday_tmp = newit.bday % 3600; // fuzzy birthday for stacking reasons
|
||||
newit.bday = int(newit.bday) + 3600 - bday_tmp;
|
||||
|
||||
if (newit.has_flag("EATEN_HOT")) { // hot foods generated
|
||||
newit.item_tags.insert("HOT");
|
||||
newit.active = true;
|
||||
newit.item_counter = 600;
|
||||
}
|
||||
if (newit.has_flag("EATEN_HOT")) { // hot foods generated
|
||||
newit.item_tags.insert("HOT");
|
||||
newit.active = true;
|
||||
newit.item_counter = 600;
|
||||
}
|
||||
}
|
||||
if (!newit.craft_has_charges())
|
||||
newit.charges = 0;
|
||||
@@ -1268,7 +1262,7 @@ std::list<item> game::consume_items(player *p, std::vector<component> components
|
||||
}
|
||||
|
||||
// unlike with tools, it's a bad thing if there aren't any components available
|
||||
if (options.size() == 0)
|
||||
if (options.empty())
|
||||
{
|
||||
debugmsg("Attempted a recipe with no available components!");
|
||||
return ret;
|
||||
@@ -1379,12 +1373,13 @@ void game::consume_tools(player *p, std::vector<component> tools, bool force_ava
|
||||
if (found_nocharge)
|
||||
return; // Default to using a tool that doesn't require charges
|
||||
|
||||
if (player_has.size() == 1 && map_has.size() == 0)
|
||||
p->use_charges(player_has[0].type, player_has[0].count);
|
||||
else if (map_has.size() == 1 && player_has.size() == 0)
|
||||
m.use_charges(point(p->posx, p->posy), PICKUP_RANGE,
|
||||
map_has[0].type, map_has[0].count);
|
||||
else { // Variety of options, list them and pick one
|
||||
if (player_has.size() + map_has.size() == 1){
|
||||
if(map_has.empty()){
|
||||
p->use_charges(player_has[0].type, player_has[0].count);
|
||||
} else {
|
||||
m.use_charges(p->pos(), PICKUP_RANGE, map_has[0].type, map_has[0].count);
|
||||
}
|
||||
} else { // Variety of options, list them and pick one
|
||||
// Populate the list
|
||||
std::vector<std::string> options;
|
||||
for (int i = 0; i < map_has.size(); i++) {
|
||||
@@ -1394,7 +1389,7 @@ void game::consume_tools(player *p, std::vector<component> tools, bool force_ava
|
||||
for (int i = 0; i < player_has.size(); i++)
|
||||
options.push_back(item_controller->find_template(player_has[i].type)->name);
|
||||
|
||||
if (options.size() == 0) // This SHOULD only happen if cooking with a fire,
|
||||
if (options.empty()) // This SHOULD only happen if cooking with a fire,
|
||||
return; // and the fire goes out.
|
||||
|
||||
// Get selection via a popup menu
|
||||
@@ -1446,59 +1441,55 @@ void game::disassemble(char ch)
|
||||
bool have_all_tools = true;
|
||||
for (int j = 0; j < cur_recipe->tools.size(); j++)
|
||||
{
|
||||
bool have_this_tool = false;
|
||||
if (cur_recipe->tools[j].size() == 0) // no tools required, may change this
|
||||
{
|
||||
have_this_tool = true;
|
||||
continue;
|
||||
}
|
||||
else
|
||||
bool have_this_tool = false;
|
||||
for (int k = 0; k < cur_recipe->tools[j].size(); k++)
|
||||
{
|
||||
for (int k = 0; k < cur_recipe->tools[j].size(); k++)
|
||||
{
|
||||
itype_id type = cur_recipe->tools[j][k].type;
|
||||
int req = cur_recipe->tools[j][k].count; // -1 => 1
|
||||
itype_id type = cur_recipe->tools[j][k].type;
|
||||
int req = cur_recipe->tools[j][k].count; // -1 => 1
|
||||
|
||||
if ((req <= 0 && crafting_inv.has_amount (type, 1)) ||
|
||||
(req > 0 && crafting_inv.has_charges(type, req)))
|
||||
if ((req <= 0 && crafting_inv.has_amount (type, 1)) ||
|
||||
(req > 0 && crafting_inv.has_charges(type, req)))
|
||||
{
|
||||
have_this_tool = true;
|
||||
k = cur_recipe->tools[j].size();
|
||||
}
|
||||
// if crafting recipe required a welder, disassembly requires a hacksaw or super toolkit
|
||||
if (type == "welder")
|
||||
{
|
||||
if (crafting_inv.has_amount("hacksaw", 1) ||
|
||||
crafting_inv.has_amount("toolset", 1))
|
||||
{
|
||||
have_this_tool = true;
|
||||
k = cur_recipe->tools[j].size();
|
||||
}
|
||||
// if crafting recipe required a welder, disassembly requires a hacksaw or super toolkit
|
||||
if (type == "welder")
|
||||
{
|
||||
if (crafting_inv.has_amount("hacksaw", 1) ||
|
||||
crafting_inv.has_amount("toolset", 1))
|
||||
{
|
||||
have_this_tool = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
have_this_tool = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!have_this_tool)
|
||||
{
|
||||
have_all_tools = false;
|
||||
int req = cur_recipe->tools[j][0].count;
|
||||
if (cur_recipe->tools[j][0].type == "welder")
|
||||
{
|
||||
add_msg(_("You need a hacksaw to disassemble this."));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (req <= 0)
|
||||
{
|
||||
add_msg(_("You need a %s to disassemble this."),
|
||||
item_controller->find_template(cur_recipe->tools[j][0].type)->name.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
add_msg(_("You need a %s with %d charges to disassemble this."),
|
||||
item_controller->find_template(cur_recipe->tools[j][0].type)->name.c_str(), req);
|
||||
}
|
||||
have_this_tool = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!have_this_tool)
|
||||
{
|
||||
have_all_tools = false;
|
||||
int req = cur_recipe->tools[j][0].count;
|
||||
if (cur_recipe->tools[j][0].type == "welder")
|
||||
{
|
||||
add_msg(_("You need a hacksaw to disassemble this."));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (req <= 0)
|
||||
{
|
||||
add_msg(_("You need a %s to disassemble this."),
|
||||
item_controller->find_template(cur_recipe->tools[j][0].type)->name.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
add_msg(_("You need a %s with %d charges to disassemble this."),
|
||||
item_controller->find_template(cur_recipe->tools[j][0].type)->name.c_str(), req);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1506,7 +1497,18 @@ void game::disassemble(char ch)
|
||||
// all tools present, so assign the activity
|
||||
if (have_all_tools)
|
||||
{
|
||||
// check to see if it's even possible to disassemble if it happens to be a count_by_charge item
|
||||
// (num_charges / charges_required) > 0
|
||||
// done before query because it doesn't make sense to query and then say "woops, can't do that!"
|
||||
if (dis_item->count_by_charges()){
|
||||
// required number of item in inventory for disassembly to succeed
|
||||
int num_disassemblies_available = dis_item->charges / dis_item->type->stack_size;;
|
||||
|
||||
if (num_disassemblies_available == 0){
|
||||
add_msg(_("You cannot disassemble the %s into its components, too few items."), dis_item->name.c_str());
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (OPTIONS["QUERY_DISASSEMBLE"] && !(query_yn(_("Really disassemble your %s?"), dis_item->tname(this).c_str())))
|
||||
{
|
||||
return;
|
||||
@@ -1547,7 +1549,7 @@ void game::complete_disassemble()
|
||||
recipe* dis = recipe_by_index(u.activity.index); // Which recipe is it?
|
||||
item* dis_item = &u.i_at(u.activity.values[0]);
|
||||
|
||||
add_msg(_("You disassemble the item into its components."));
|
||||
add_msg(_("You disassemble the %s into its components."), dis_item->name.c_str());
|
||||
// remove any batteries or ammo first
|
||||
if (dis_item->is_gun() && dis_item->curammo != NULL && dis_item->ammo_type() != "NULL")
|
||||
{
|
||||
@@ -1572,13 +1574,21 @@ void game::complete_disassemble()
|
||||
else
|
||||
m.add_item_or_charges(u.posx, u.posy, ammodrop);
|
||||
}
|
||||
u.i_rem(u.activity.values[0]); // remove the item
|
||||
|
||||
if (dis_item->count_by_charges()){
|
||||
dis_item->charges -= dis_item->type->stack_size;
|
||||
if (dis_item->charges == 0){
|
||||
u.i_rem(u.activity.values[0]);
|
||||
}
|
||||
}else{
|
||||
u.i_rem(u.activity.values[0]); // remove the item
|
||||
}
|
||||
|
||||
// consume tool charges
|
||||
for (int j = 0; j < dis->tools.size(); j++)
|
||||
{
|
||||
if (dis->tools[j].size() > 0)
|
||||
consume_tools(&u, dis->tools[j], false);
|
||||
consume_tools(&u, dis->tools[j], false);
|
||||
}
|
||||
|
||||
// add the components to the map
|
||||
@@ -1591,7 +1601,7 @@ void game::complete_disassemble()
|
||||
int skill_sides = 16 + u.int_cur;
|
||||
|
||||
int diff_dice = dis->difficulty;
|
||||
int diff_sides = 24; // 16 + 8 (default intelligence)
|
||||
int diff_sides = 24; // 16 + 8 (default intelligence)
|
||||
|
||||
// disassembly only nets a bit of practice
|
||||
if (dis->skill_used)
|
||||
@@ -1621,7 +1631,7 @@ void game::complete_disassemble()
|
||||
} else
|
||||
{
|
||||
if (dis->difficulty == 0 || comp_success)
|
||||
m.add_item(u.posx, u.posy, newit, MAX_ITEM_IN_SQUARE);
|
||||
m.add_item_or_charges(u.posx, u.posy, newit);
|
||||
else
|
||||
add_msg(_("You fail to recover a component."));
|
||||
compcount--;
|
||||
@@ -1667,7 +1677,7 @@ recipe* game::recipe_by_index(int index)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
recipe* game::recipe_by_name(std::string name)
|
||||
recipe* recipe_by_name(std::string name)
|
||||
{
|
||||
for (recipe_map::iterator map_iter = recipes.begin(); map_iter != recipes.end(); ++map_iter)
|
||||
{
|
||||
|
||||
+37
-3
@@ -7,6 +7,7 @@
|
||||
#include "itype.h"
|
||||
#include "skill.h"
|
||||
#include "rng.h"
|
||||
#include "json.h"
|
||||
|
||||
#define MAX_DISPLAYED_RECIPES 18
|
||||
|
||||
@@ -22,6 +23,28 @@ struct component
|
||||
component(itype_id TYPE, int COUNT) : type (TYPE), count (COUNT), available(-1) {}
|
||||
};
|
||||
|
||||
struct quality_requirement
|
||||
{
|
||||
std::string id;
|
||||
int count;
|
||||
bool available;
|
||||
int level;
|
||||
|
||||
quality_requirement() { id = "UNKNOWN"; count = 0; available = false; level = 0;}
|
||||
quality_requirement(std::string new_id, int new_count, int new_level){
|
||||
id = new_id;
|
||||
count = new_count;
|
||||
level = new_level;
|
||||
available = false;
|
||||
}
|
||||
};
|
||||
|
||||
struct quality
|
||||
{
|
||||
std::string id;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
struct recipe {
|
||||
std::string ident;
|
||||
int id;
|
||||
@@ -36,13 +59,14 @@ struct recipe {
|
||||
int learn_by_disassembly; // what level (if any) do we learn it by disassembly?
|
||||
|
||||
std::vector<std::vector<component> > tools;
|
||||
std::vector<quality_requirement> qualities;
|
||||
std::vector<std::vector<component> > components;
|
||||
|
||||
//Create a string list to describe the skill requirements fir this recipe
|
||||
// Format: skill_name(amount), skill_name(amount)
|
||||
std::string required_skills_string(){
|
||||
std::ostringstream skills_as_stream;
|
||||
if(required_skills.size()){
|
||||
if(!required_skills.empty()){
|
||||
for(std::map<Skill*,int>::iterator iter=required_skills.begin(); iter!=required_skills.end();){
|
||||
skills_as_stream << iter->first->name() << "(" << iter->second << ")";
|
||||
++iter;
|
||||
@@ -65,6 +89,7 @@ struct recipe {
|
||||
time = 0;
|
||||
reversible = false;
|
||||
autolearn = false;
|
||||
learn_by_disassembly = -1;
|
||||
}
|
||||
|
||||
recipe(std::string pident, int pid, itype_id pres, craft_cat pcat, std::string &to_use,
|
||||
@@ -73,7 +98,7 @@ recipe(std::string pident, int pid, itype_id pres, craft_cat pcat, std::string &
|
||||
ident (pident), id (pid), result (pres), cat(pcat), difficulty (pdiff), time (ptime),
|
||||
reversible (preversible), autolearn (pautolearn), learn_by_disassembly (plearn_dis) {
|
||||
skill_used = to_use.size()?Skill::skill(to_use):NULL;
|
||||
if(to_require.size()){
|
||||
if(!to_require.empty()){
|
||||
for(std::map<std::string,int>::iterator iter=to_require.begin(); iter!=to_require.end(); ++iter){
|
||||
required_skills[Skill::skill(iter->first)] = iter->second;
|
||||
}
|
||||
@@ -81,8 +106,17 @@ recipe(std::string pident, int pid, itype_id pres, craft_cat pcat, std::string &
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
typedef std::vector<recipe*> recipe_list;
|
||||
typedef std::map<craft_cat, recipe_list> recipe_map;
|
||||
|
||||
void load_recipe_category(JsonObject &jsobj);
|
||||
void load_recipe(JsonObject &jsobj);
|
||||
recipe* recipe_by_name(std::string name);
|
||||
void finalize_recipes();
|
||||
|
||||
extern recipe_map recipes; // The list of valid recipes
|
||||
|
||||
void load_quality(JsonObject &jo);
|
||||
extern std::map<std::string,quality> qualities;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -4,8 +4,10 @@
|
||||
#if (defined TILES || defined SDLTILES || defined _WIN32 || defined WINDOWS)
|
||||
#include "catacurse.h"
|
||||
#elif (defined __CYGWIN__)
|
||||
#include "input_defs.h"
|
||||
#include "ncurses/curses.h"
|
||||
#else
|
||||
#include "input_defs.h"
|
||||
#include <curses.h>
|
||||
#endif
|
||||
|
||||
|
||||
+296
-268
@@ -1,4 +1,4 @@
|
||||
#if ((defined TILES ^ defined SDLTILES) || defined _WIN32 || defined WINDOWS)
|
||||
#if (defined TILES || defined _WIN32 || defined WINDOWS)
|
||||
#include "catacurse.h"
|
||||
#include "output.h"
|
||||
#include "color.h"
|
||||
@@ -9,17 +9,19 @@
|
||||
//***********************************
|
||||
|
||||
WINDOW *mainwin;
|
||||
WINDOW *stdscr;
|
||||
pairs *colorpairs; //storage for pair'ed colored, should be dynamic, meh
|
||||
int echoOn; //1 = getnstr shows input, 0 = doesn't show. needed for echo()-ncurses compatibility.
|
||||
|
||||
//***********************************
|
||||
//Psuedo-Curses Functions *
|
||||
//Pseudo-Curses Functions *
|
||||
//***********************************
|
||||
|
||||
//Basic Init, create the font, backbuffer, etc
|
||||
WINDOW *initscr(void)
|
||||
{
|
||||
return curses_init();
|
||||
stdscr = curses_init();
|
||||
return stdscr;
|
||||
}
|
||||
|
||||
WINDOW *newwin(int nlines, int ncols, int begin_y, int begin_x)
|
||||
@@ -29,48 +31,42 @@ WINDOW *newwin(int nlines, int ncols, int begin_y, int begin_x)
|
||||
}
|
||||
|
||||
// default values
|
||||
if (ncols == 0)
|
||||
{
|
||||
if (ncols == 0) {
|
||||
ncols = TERMX - begin_x;
|
||||
}
|
||||
if (nlines == 0)
|
||||
{
|
||||
if (nlines == 0) {
|
||||
nlines = TERMY - begin_y;
|
||||
}
|
||||
|
||||
int i,j;
|
||||
int i, j;
|
||||
WINDOW *newwindow = new WINDOW;
|
||||
//newwindow=&_windows[WindowCount];
|
||||
newwindow->x=begin_x;
|
||||
newwindow->y=begin_y;
|
||||
newwindow->width=ncols;
|
||||
newwindow->height=nlines;
|
||||
newwindow->inuse=true;
|
||||
newwindow->draw=false;
|
||||
newwindow->BG=0;
|
||||
newwindow->FG=8;
|
||||
newwindow->cursorx=0;
|
||||
newwindow->cursory=0;
|
||||
newwindow->x = begin_x;
|
||||
newwindow->y = begin_y;
|
||||
newwindow->width = ncols;
|
||||
newwindow->height = nlines;
|
||||
newwindow->inuse = true;
|
||||
newwindow->draw = false;
|
||||
newwindow->BG = 0;
|
||||
newwindow->FG = 8;
|
||||
newwindow->cursorx = 0;
|
||||
newwindow->cursory = 0;
|
||||
newwindow->line = new curseline[nlines];
|
||||
|
||||
for (j=0; j<nlines; j++)
|
||||
{
|
||||
newwindow->line[j].chars= new char[ncols*4];
|
||||
newwindow->line[j].FG= new char[ncols];
|
||||
newwindow->line[j].BG= new char[ncols];
|
||||
newwindow->line[j].touched=true;//Touch them all !?
|
||||
for (j = 0; j < nlines; j++) {
|
||||
newwindow->line[j].chars = new char[ncols * 4];
|
||||
newwindow->line[j].FG = new char[ncols];
|
||||
newwindow->line[j].BG = new char[ncols];
|
||||
newwindow->line[j].touched = true; //Touch them all !?
|
||||
newwindow->line[j].width_in_bytes = ncols;
|
||||
for (i=0; i<ncols; i++)
|
||||
{
|
||||
newwindow->line[j].chars[i]=0;
|
||||
newwindow->line[j].chars[i+1]=0;
|
||||
newwindow->line[j].chars[i+2]=0;
|
||||
newwindow->line[j].chars[i+3]=0;
|
||||
newwindow->line[j].FG[i]=0;
|
||||
newwindow->line[j].BG[i]=0;
|
||||
for (i = 0; i < ncols; i++) {
|
||||
newwindow->line[j].chars[i] = 0;
|
||||
newwindow->line[j].chars[i + 1] = 0;
|
||||
newwindow->line[j].chars[i + 2] = 0;
|
||||
newwindow->line[j].chars[i + 3] = 0;
|
||||
newwindow->line[j].FG[i] = 0;
|
||||
newwindow->line[j].BG[i] = 0;
|
||||
}
|
||||
}
|
||||
//WindowCount++;
|
||||
return newwindow;
|
||||
}
|
||||
|
||||
@@ -78,101 +74,116 @@ WINDOW *newwin(int nlines, int ncols, int begin_y, int begin_x)
|
||||
int delwin(WINDOW *win)
|
||||
{
|
||||
int j;
|
||||
win->inuse=false;
|
||||
win->draw=false;
|
||||
for (j=0; j<win->height; j++){
|
||||
delete win->line[j].chars;
|
||||
delete win->line[j].FG;
|
||||
delete win->line[j].BG;
|
||||
}
|
||||
delete win->line;
|
||||
win->inuse = false;
|
||||
win->draw = false;
|
||||
for (j = 0; j < win->height; j++) {
|
||||
delete[] win->line[j].chars;
|
||||
delete[] win->line[j].FG;
|
||||
delete[] win->line[j].BG;
|
||||
}
|
||||
delete[] win->line;
|
||||
delete win;
|
||||
return 1;
|
||||
}
|
||||
|
||||
inline int newline(WINDOW *win){
|
||||
if (win->cursory < win->height - 1){
|
||||
inline int newline(WINDOW *win)
|
||||
{
|
||||
if (win->cursory < win->height - 1) {
|
||||
win->cursory++;
|
||||
win->cursorx=0;
|
||||
win->cursorx = 0;
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline void addedchar(WINDOW *win){
|
||||
inline void addedchar(WINDOW *win)
|
||||
{
|
||||
win->cursorx++;
|
||||
win->line[win->cursory].touched=true;
|
||||
if (win->cursorx > win->width)
|
||||
win->line[win->cursory].touched = true;
|
||||
if (win->cursorx > win->width) {
|
||||
newline(win);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//Borders the window with fancy lines!
|
||||
int wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br)
|
||||
int wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr,
|
||||
chtype bl, chtype br)
|
||||
{
|
||||
/*
|
||||
ncurses does not do this, and this prevents: wattron(win, c_customBordercolor); wborder(win, ...); wattroff(win, c_customBorderColor);
|
||||
wattron(win, c_white);
|
||||
*/
|
||||
/*
|
||||
ncurses does not do this, and this prevents: wattron(win, c_customBordercolor); wborder(win, ...); wattroff(win, c_customBorderColor);
|
||||
wattron(win, c_white);
|
||||
*/
|
||||
int i, j;
|
||||
int oldx=win->cursorx;//methods below move the cursor, save the value!
|
||||
int oldy=win->cursory;//methods below move the cursor, save the value!
|
||||
int oldx = win->cursorx; //methods below move the cursor, save the value!
|
||||
int oldy = win->cursory; //methods below move the cursor, save the value!
|
||||
|
||||
if (ls) {
|
||||
for (j=1; j<win->height-1; j++)
|
||||
for (j = 1; j < win->height - 1; j++) {
|
||||
mvwaddch(win, j, 0, ls);
|
||||
}
|
||||
} else {
|
||||
for (j=1; j<win->height-1; j++)
|
||||
for (j = 1; j < win->height - 1; j++) {
|
||||
mvwaddch(win, j, 0, LINE_XOXO);
|
||||
}
|
||||
}
|
||||
|
||||
if (rs) {
|
||||
for (j=1; j<win->height-1; j++)
|
||||
mvwaddch(win, j, win->width-1, rs);
|
||||
for (j = 1; j < win->height - 1; j++) {
|
||||
mvwaddch(win, j, win->width - 1, rs);
|
||||
}
|
||||
} else {
|
||||
for (j=1; j<win->height-1; j++)
|
||||
mvwaddch(win, j, win->width-1, LINE_XOXO);
|
||||
for (j = 1; j < win->height - 1; j++) {
|
||||
mvwaddch(win, j, win->width - 1, LINE_XOXO);
|
||||
}
|
||||
}
|
||||
|
||||
if (ts) {
|
||||
for (i=1; i<win->width-1; i++)
|
||||
for (i = 1; i < win->width - 1; i++) {
|
||||
mvwaddch(win, 0, i, ts);
|
||||
}
|
||||
} else {
|
||||
for (i=1; i<win->width-1; i++)
|
||||
for (i = 1; i < win->width - 1; i++) {
|
||||
mvwaddch(win, 0, i, LINE_OXOX);
|
||||
}
|
||||
}
|
||||
|
||||
if (bs) {
|
||||
for (i=1; i<win->width-1; i++)
|
||||
mvwaddch(win, win->height-1, i, bs);
|
||||
for (i = 1; i < win->width - 1; i++) {
|
||||
mvwaddch(win, win->height - 1, i, bs);
|
||||
}
|
||||
} else {
|
||||
for (i=1; i<win->width-1; i++)
|
||||
mvwaddch(win, win->height-1, i, LINE_OXOX);
|
||||
for (i = 1; i < win->width - 1; i++) {
|
||||
mvwaddch(win, win->height - 1, i, LINE_OXOX);
|
||||
}
|
||||
}
|
||||
|
||||
if (tl)
|
||||
if (tl) {
|
||||
mvwaddch(win, 0, 0, tl);
|
||||
else
|
||||
} else {
|
||||
mvwaddch(win, 0, 0, LINE_OXXO);
|
||||
}
|
||||
|
||||
if (tr)
|
||||
mvwaddch(win, 0, win->width-1, tr);
|
||||
else
|
||||
mvwaddch(win, 0, win->width-1, LINE_OOXX);
|
||||
if (tr) {
|
||||
mvwaddch(win, 0, win->width - 1, tr);
|
||||
} else {
|
||||
mvwaddch(win, 0, win->width - 1, LINE_OOXX);
|
||||
}
|
||||
|
||||
if (bl)
|
||||
mvwaddch(win, win->height-1, 0, bl);
|
||||
else
|
||||
mvwaddch(win, win->height-1, 0, LINE_XXOO);
|
||||
if (bl) {
|
||||
mvwaddch(win, win->height - 1, 0, bl);
|
||||
} else {
|
||||
mvwaddch(win, win->height - 1, 0, LINE_XXOO);
|
||||
}
|
||||
|
||||
if (br)
|
||||
mvwaddch(win, win->height-1, win->width-1, br);
|
||||
else
|
||||
mvwaddch(win, win->height-1, win->width-1, LINE_XOOX);
|
||||
if (br) {
|
||||
mvwaddch(win, win->height - 1, win->width - 1, br);
|
||||
} else {
|
||||
mvwaddch(win, win->height - 1, win->width - 1, LINE_XOOX);
|
||||
}
|
||||
|
||||
//_windows[w].cursorx=oldx;//methods above move the cursor, put it back
|
||||
//_windows[w].cursory=oldy;//methods above move the cursor, put it back
|
||||
wmove(win,oldy,oldx);
|
||||
//methods above move the cursor, put it back
|
||||
wmove(win, oldy, oldx);
|
||||
wattroff(win, c_white);
|
||||
return 1;
|
||||
}
|
||||
@@ -209,12 +220,14 @@ int mvvline(int y, int x, chtype ch, int n)
|
||||
|
||||
int mvwhline(WINDOW *win, int y, int x, chtype ch, int n)
|
||||
{
|
||||
if (ch){
|
||||
for (int i=0; i<n; i++)
|
||||
if (ch) {
|
||||
for (int i = 0; i < n; i++) {
|
||||
mvwaddch(win, y, x + i, ch);
|
||||
}
|
||||
} else {
|
||||
for (int i=0; i<n; i++)
|
||||
for (int i = 0; i < n; i++) {
|
||||
mvwaddch(win, y, x + i, LINE_OXOX);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
@@ -222,12 +235,14 @@ int mvwhline(WINDOW *win, int y, int x, chtype ch, int n)
|
||||
|
||||
int mvwvline(WINDOW *win, int y, int x, chtype ch, int n)
|
||||
{
|
||||
if (ch){
|
||||
for (int j=0; j<n; j++)
|
||||
if (ch) {
|
||||
for (int j = 0; j < n; j++) {
|
||||
mvwaddch(win, y + j, x, ch);
|
||||
}
|
||||
} else {
|
||||
for (int j=0; j<n; j++)
|
||||
for (int j = 0; j < n; j++) {
|
||||
mvwaddch(win, y + j, x, LINE_XOXO);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
@@ -236,13 +251,13 @@ int mvwvline(WINDOW *win, int y, int x, chtype ch, int n)
|
||||
//Refreshes a window, causing it to redraw on top.
|
||||
int wrefresh(WINDOW *win)
|
||||
{
|
||||
if (win==0) win=mainwin;
|
||||
if (win->draw)
|
||||
if (win->draw) {
|
||||
curses_drawwindow(win);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
//Refreshes window 0 (stdscr), causing it to redraw on top.
|
||||
//Refreshes the main window, causing it to redraw on top.
|
||||
int refresh(void)
|
||||
{
|
||||
return wrefresh(mainwin);
|
||||
@@ -253,18 +268,18 @@ int getch(void)
|
||||
return wgetch(mainwin);
|
||||
}
|
||||
|
||||
int wgetch(WINDOW* win)
|
||||
int wgetch(WINDOW *win)
|
||||
{
|
||||
return curses_getch(win);
|
||||
return curses_getch(win);
|
||||
}
|
||||
|
||||
int mvgetch(int y, int x)
|
||||
{
|
||||
move(y,x);
|
||||
move(y, x);
|
||||
return getch();
|
||||
}
|
||||
|
||||
int mvwgetch(WINDOW* win, int y, int x)
|
||||
int mvwgetch(WINDOW *win, int y, int x)
|
||||
{
|
||||
move(y, x);
|
||||
return wgetch(win);
|
||||
@@ -275,34 +290,31 @@ int getnstr(char *str, int size)
|
||||
int startX = mainwin->cursorx;
|
||||
int count = 0;
|
||||
char input;
|
||||
while(true)
|
||||
{
|
||||
while(true) {
|
||||
input = getch();
|
||||
// Carriage return, Line feed and End of File terminate the input.
|
||||
if( input == '\r' || input == '\n' || input == '\x04' )
|
||||
{
|
||||
if( input == '\r' || input == '\n' || input == '\x04' ) {
|
||||
str[count] = '\x00';
|
||||
return count;
|
||||
}
|
||||
else if( input == 127 ) // Backspace, remapped from \x8 in ProcessMessages()
|
||||
{
|
||||
if( count == 0 )
|
||||
continue;
|
||||
str[count] = '\x00';
|
||||
if(echoOn == 1)
|
||||
mvaddch(mainwin->cursory, startX + count, ' ');
|
||||
--count;
|
||||
if(echoOn == 1)
|
||||
move(mainwin->cursory, startX + count);
|
||||
}
|
||||
else
|
||||
{
|
||||
if( count >= size - 1 ) // Still need space for trailing 0x00
|
||||
} else if( input == 127 ) { // Backspace, remapped from \x8 in ProcessMessages()
|
||||
if( count == 0 ) {
|
||||
continue;
|
||||
}
|
||||
str[count] = '\x00';
|
||||
if(echoOn == 1) {
|
||||
mvaddch(mainwin->cursory, startX + count, ' ');
|
||||
}
|
||||
--count;
|
||||
if(echoOn == 1) {
|
||||
move(mainwin->cursory, startX + count);
|
||||
}
|
||||
} else {
|
||||
if( count >= size - 1 ) { // Still need space for trailing 0x00
|
||||
continue;
|
||||
}
|
||||
str[count] = input;
|
||||
++count;
|
||||
if(echoOn == 1)
|
||||
{
|
||||
if(echoOn == 1) {
|
||||
move(mainwin->cursory, startX + count);
|
||||
mvaddch(mainwin->cursory, startX + count, input);
|
||||
}
|
||||
@@ -315,60 +327,60 @@ int getnstr(char *str, int size)
|
||||
inline int printstring(WINDOW *win, char *fmt)
|
||||
{
|
||||
int size = strlen(fmt);
|
||||
if(size>0)
|
||||
{
|
||||
int j, i, p=win->cursorx;
|
||||
int x = (win->line[win->cursory].width_in_bytes==win->width)?win->cursorx:cursorx_to_position(win->line[win->cursory].chars, win->cursorx, &p);
|
||||
if(size > 0) {
|
||||
int j, i, p = win->cursorx;
|
||||
int x = (win->line[win->cursory].width_in_bytes == win->width) ? win->cursorx : cursorx_to_position(
|
||||
win->line[win->cursory].chars, win->cursorx, &p);
|
||||
|
||||
if(p!=x)//so we start inside a wide character, erase it for good
|
||||
{
|
||||
const char* ts = win->line[win->cursory].chars+p;
|
||||
int len = ANY_LENGTH;
|
||||
unsigned tc = UTF8_getch(&ts, &len);
|
||||
int tw = mk_wcwidth((wchar_t)tc);
|
||||
erease_utf8_by_cw(win->line[win->cursory].chars+p, tw, tw, win->width*4-p-1);
|
||||
x = p+tw-1;
|
||||
}
|
||||
for (j=0; j<size; j++){
|
||||
if (!(fmt[j]==10)){//check that this isnt a newline char
|
||||
const char* utf8str = fmt+j;
|
||||
int len = ANY_LENGTH;
|
||||
unsigned ch = UTF8_getch(&utf8str, &len);
|
||||
int cw = mk_wcwidth((wchar_t)ch);
|
||||
len = ANY_LENGTH-len;
|
||||
if(cw<1) cw = 1;
|
||||
if(len<1) len = 1;
|
||||
if (win->cursorx+cw <= win->width && win->cursory <= win->height - 1) {
|
||||
win->line[win->cursory].width_in_bytes += erease_utf8_by_cw(win->line[win->cursory].chars+x, cw, len, win->width*4-x-1);
|
||||
for(i=0; i<len; i++)
|
||||
{
|
||||
win->line[win->cursory].chars[x+i]=fmt[j+i];
|
||||
}
|
||||
for(i=0; i<cw; i++)
|
||||
{
|
||||
win->line[win->cursory].FG[win->cursorx]=win->FG;
|
||||
win->line[win->cursory].BG[win->cursorx]=win->BG;
|
||||
addedchar(win);
|
||||
}
|
||||
win->line[win->cursory].touched=true;
|
||||
j += len-1;
|
||||
x+=len;
|
||||
} else if (win->cursory <= win->height - 1) {
|
||||
// don't write outside the window, but don't abort if there are still lines to write.
|
||||
//j += len-1;
|
||||
//x+=len;
|
||||
} else {
|
||||
return 0; //if we try and write anything outside the window, abort completely
|
||||
}
|
||||
} else {// if the character is a newline, make sure to move down a line
|
||||
if (newline(win)==0){
|
||||
return 0;
|
||||
}
|
||||
x = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
win->draw=true;
|
||||
if(p != x) { //so we start inside a wide character, erase it for good
|
||||
const char *ts = win->line[win->cursory].chars + p;
|
||||
int len = ANY_LENGTH;
|
||||
unsigned tc = UTF8_getch(&ts, &len);
|
||||
int tw = mk_wcwidth(tc);
|
||||
erease_utf8_by_cw(win->line[win->cursory].chars + p, tw, tw, win->width * 4 - p - 1);
|
||||
x = p + tw - 1;
|
||||
}
|
||||
for (j = 0; j < size; j++) {
|
||||
if (!(fmt[j] == 10)) { //check that this isnt a newline char
|
||||
const char *utf8str = fmt + j;
|
||||
int len = ANY_LENGTH;
|
||||
unsigned ch = UTF8_getch(&utf8str, &len);
|
||||
int cw = mk_wcwidth(ch);
|
||||
len = ANY_LENGTH - len;
|
||||
if(cw < 1) {
|
||||
cw = 1;
|
||||
}
|
||||
if(len < 1) {
|
||||
len = 1;
|
||||
}
|
||||
if (win->cursorx + cw <= win->width && win->cursory <= win->height - 1) {
|
||||
win->line[win->cursory].width_in_bytes += erease_utf8_by_cw(win->line[win->cursory].chars + x, cw,
|
||||
len, win->width * 4 - x - 1);
|
||||
for(i = 0; i < len; i++) {
|
||||
win->line[win->cursory].chars[x + i] = fmt[j + i];
|
||||
}
|
||||
for(i = 0; i < cw; i++) {
|
||||
win->line[win->cursory].FG[win->cursorx] = win->FG;
|
||||
win->line[win->cursory].BG[win->cursorx] = win->BG;
|
||||
addedchar(win);
|
||||
}
|
||||
win->line[win->cursory].touched = true;
|
||||
j += len - 1;
|
||||
x += len;
|
||||
} else if (win->cursory <= win->height - 1) {
|
||||
// don't write outside the window, but don't abort if there are still lines to write.
|
||||
} else {
|
||||
return 0; //if we try and write anything outside the window, abort completely
|
||||
}
|
||||
} else {// if the character is a newline, make sure to move down a line
|
||||
if (newline(win) == 0) {
|
||||
return 0;
|
||||
}
|
||||
x = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
win->draw = true;
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -380,7 +392,7 @@ int wprintw(WINDOW *win, const char *fmt, ...)
|
||||
char printbuf[2048];
|
||||
vsnprintf(printbuf, 2047, fmt, args);
|
||||
va_end(args);
|
||||
return printstring(win,printbuf);
|
||||
return printstring(win, printbuf);
|
||||
}
|
||||
|
||||
//Prints a formatted string to a window, moves the cursor
|
||||
@@ -391,11 +403,13 @@ int mvwprintw(WINDOW *win, int y, int x, const char *fmt, ...)
|
||||
char printbuf[2048];
|
||||
vsnprintf(printbuf, 2047, fmt, args);
|
||||
va_end(args);
|
||||
if (wmove(win,y,x)==0) return 0;
|
||||
return printstring(win,printbuf);
|
||||
if (wmove(win, y, x) == 0) {
|
||||
return 0;
|
||||
}
|
||||
return printstring(win, printbuf);
|
||||
}
|
||||
|
||||
//Prints a formatted string to window 0 (stdscr), moves the cursor
|
||||
//Prints a formatted string to the main window, moves the cursor
|
||||
int mvprintw(int y, int x, const char *fmt, ...)
|
||||
{
|
||||
va_list args;
|
||||
@@ -403,11 +417,13 @@ int mvprintw(int y, int x, const char *fmt, ...)
|
||||
char printbuf[2048];
|
||||
vsnprintf(printbuf, 2047, fmt, args);
|
||||
va_end(args);
|
||||
if (move(y,x)==0) return 0;
|
||||
return printstring(mainwin,printbuf);
|
||||
if (move(y, x) == 0) {
|
||||
return 0;
|
||||
}
|
||||
return printstring(mainwin, printbuf);
|
||||
}
|
||||
|
||||
//Prints a formatted string to window 0 (stdscr) at the current cursor
|
||||
//Prints a formatted string to the main window at the current cursor
|
||||
int printw(const char *fmt, ...)
|
||||
{
|
||||
va_list args;
|
||||
@@ -415,33 +431,32 @@ int printw(const char *fmt, ...)
|
||||
char printbuf[2078];
|
||||
vsnprintf(printbuf, 2047, fmt, args);
|
||||
va_end(args);
|
||||
return printstring(mainwin,printbuf);
|
||||
return printstring(mainwin, printbuf);
|
||||
}
|
||||
|
||||
//erases a window of all text and attributes
|
||||
int werase(WINDOW *win)
|
||||
{
|
||||
int j,i;
|
||||
for (j=0; j<win->height; j++)
|
||||
{
|
||||
for (i=0; i<win->width; i++) {
|
||||
win->line[j].chars[i]=0;
|
||||
win->line[j].chars[i+1]=0;
|
||||
win->line[j].chars[i+2]=0;
|
||||
win->line[j].chars[i+3]=0;
|
||||
win->line[j].FG[i]=0;
|
||||
win->line[j].BG[i]=0;
|
||||
}
|
||||
win->line[j].touched=true;
|
||||
int j, i;
|
||||
for (j = 0; j < win->height; j++) {
|
||||
for (i = 0; i < win->width; i++) {
|
||||
win->line[j].chars[i] = 0;
|
||||
win->line[j].chars[i + 1] = 0;
|
||||
win->line[j].chars[i + 2] = 0;
|
||||
win->line[j].chars[i + 3] = 0;
|
||||
win->line[j].FG[i] = 0;
|
||||
win->line[j].BG[i] = 0;
|
||||
}
|
||||
win->line[j].touched = true;
|
||||
win->line[j].width_in_bytes = win->width;
|
||||
}
|
||||
win->draw=true;
|
||||
wmove(win,0,0);
|
||||
// wrefresh(win);
|
||||
win->draw = true;
|
||||
wmove(win, 0, 0);
|
||||
// wrefresh(win);
|
||||
return 1;
|
||||
}
|
||||
|
||||
//erases window 0 (stdscr) of all text and attributes
|
||||
//erases the main window of all text and attributes
|
||||
int erase(void)
|
||||
{
|
||||
return werase(mainwin);
|
||||
@@ -450,28 +465,32 @@ int erase(void)
|
||||
//pairs up a foreground and background color and puts it into the array of pairs
|
||||
int init_pair(short pair, short f, short b)
|
||||
{
|
||||
colorpairs[pair].FG=f;
|
||||
colorpairs[pair].BG=b;
|
||||
colorpairs[pair].FG = f;
|
||||
colorpairs[pair].BG = b;
|
||||
return 1;
|
||||
}
|
||||
|
||||
//moves the cursor in a window
|
||||
int wmove(WINDOW *win, int y, int x)
|
||||
{
|
||||
if (x>=win->width)
|
||||
{return 0;}//FIXES MAP CRASH -> >= vs > only
|
||||
if (y>=win->height)
|
||||
{return 0;}// > crashes?
|
||||
if (y<0)
|
||||
{return 0;}
|
||||
if (x<0)
|
||||
{return 0;}
|
||||
win->cursorx=x;
|
||||
win->cursory=y;
|
||||
if (x >= win->width) {
|
||||
return 0; //FIXES MAP CRASH -> >= vs > only
|
||||
}
|
||||
if (y >= win->height) {
|
||||
return 0; // > crashes?
|
||||
}
|
||||
if (y < 0) {
|
||||
return 0;
|
||||
}
|
||||
if (x < 0) {
|
||||
return 0;
|
||||
}
|
||||
win->cursorx = x;
|
||||
win->cursory = y;
|
||||
return 1;
|
||||
}
|
||||
|
||||
//Clears windows 0 (stdscr) I'm not sure if its suppose to do this?
|
||||
//Clears the main window I'm not sure if its suppose to do this?
|
||||
int clear(void)
|
||||
{
|
||||
return wclear(mainwin);
|
||||
@@ -480,14 +499,16 @@ int clear(void)
|
||||
//Ends the terminal, destroy everything
|
||||
int endwin(void)
|
||||
{
|
||||
return curses_destroy();
|
||||
return curses_destroy();
|
||||
}
|
||||
|
||||
//adds a character to the window
|
||||
int mvwaddch(WINDOW *win, int y, int x, const chtype ch)
|
||||
{
|
||||
if (wmove(win,y,x)==0) return 0;
|
||||
return waddch(win, ch);
|
||||
if (wmove(win, y, x) == 0) {
|
||||
return 0;
|
||||
}
|
||||
return waddch(win, ch);
|
||||
}
|
||||
|
||||
//clears a window
|
||||
@@ -500,8 +521,7 @@ int wclear(WINDOW *win)
|
||||
|
||||
int clearok(WINDOW *win)
|
||||
{
|
||||
for (int i=0; i<win->y; i++)
|
||||
{
|
||||
for (int i = 0; i < win->y; i++) {
|
||||
win->line[i].touched = true;
|
||||
}
|
||||
return 1;
|
||||
@@ -510,39 +530,47 @@ int clearok(WINDOW *win)
|
||||
//gets the max x of a window (the width)
|
||||
int getmaxx(WINDOW *win)
|
||||
{
|
||||
if (win==0) return mainwin->width; //StdScr
|
||||
return win->width;
|
||||
}
|
||||
|
||||
//gets the max y of a window (the height)
|
||||
int getmaxy(WINDOW *win)
|
||||
{
|
||||
if (win==0) return mainwin->height; //StdScr
|
||||
return win->height;
|
||||
}
|
||||
|
||||
//gets the beginning x of a window (the x pos)
|
||||
int getbegx(WINDOW *win)
|
||||
{
|
||||
if (win==0) return mainwin->x; //StdScr
|
||||
return win->x;
|
||||
}
|
||||
|
||||
//gets the beginning y of a window (the y pos)
|
||||
int getbegy(WINDOW *win)
|
||||
{
|
||||
if (win==0) return mainwin->y; //StdScr
|
||||
return win->y;
|
||||
}
|
||||
|
||||
//gets the current cursor x position in a window
|
||||
int getcurx(WINDOW *win)
|
||||
{
|
||||
return win->cursorx;
|
||||
}
|
||||
|
||||
//gets the current cursor y position in a window
|
||||
int getcury(WINDOW *win)
|
||||
{
|
||||
return win->cursory;
|
||||
}
|
||||
|
||||
int start_color(void)
|
||||
{
|
||||
return curses_start_color();
|
||||
return curses_start_color();
|
||||
}
|
||||
|
||||
int keypad(WINDOW *faux, bool bf)
|
||||
{
|
||||
return 1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
int cbreak(void)
|
||||
@@ -560,7 +588,7 @@ int curs_set(int visibility)
|
||||
|
||||
int mvaddch(int y, int x, const chtype ch)
|
||||
{
|
||||
return mvwaddch(mainwin,y,x,ch);
|
||||
return mvwaddch(mainwin, y, x, ch);
|
||||
}
|
||||
|
||||
int wattron(WINDOW *win, int attrs)
|
||||
@@ -568,16 +596,20 @@ int wattron(WINDOW *win, int attrs)
|
||||
bool isBold = !!(attrs & A_BOLD);
|
||||
bool isBlink = !!(attrs & A_BLINK);
|
||||
int pairNumber = (attrs & A_COLOR) >> 17;
|
||||
win->FG=colorpairs[pairNumber].FG;
|
||||
win->BG=colorpairs[pairNumber].BG;
|
||||
if (isBold) win->FG += 8;
|
||||
if (isBlink) win->BG += 8;
|
||||
win->FG = colorpairs[pairNumber].FG;
|
||||
win->BG = colorpairs[pairNumber].BG;
|
||||
if (isBold) {
|
||||
win->FG += 8;
|
||||
}
|
||||
if (isBlink) {
|
||||
win->BG += 8;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
int wattroff(WINDOW *win, int attrs)
|
||||
{
|
||||
win->FG=8; //reset to white
|
||||
win->BG=0; //reset to black
|
||||
win->FG = 8; //reset to white
|
||||
win->BG = 0; //reset to black
|
||||
return 1;
|
||||
}
|
||||
int attron(int attrs)
|
||||
@@ -586,89 +618,85 @@ int attron(int attrs)
|
||||
}
|
||||
int attroff(int attrs)
|
||||
{
|
||||
return wattroff(mainwin,attrs);
|
||||
return wattroff(mainwin, attrs);
|
||||
}
|
||||
int waddch(WINDOW *win, const chtype ch)
|
||||
{
|
||||
char charcode;
|
||||
charcode=ch;
|
||||
charcode = ch;
|
||||
|
||||
switch (ch){ //LINE_NESW - X for on, O for off
|
||||
switch (ch) { //LINE_NESW - X for on, O for off
|
||||
case LINE_XOXO: //#define LINE_XOXO 4194424
|
||||
charcode=LINE_XOXO_C;
|
||||
charcode = LINE_XOXO_C;
|
||||
break;
|
||||
case LINE_OXOX: //#define LINE_OXOX 4194417
|
||||
charcode=LINE_OXOX_C;
|
||||
charcode = LINE_OXOX_C;
|
||||
break;
|
||||
case LINE_XXOO: //#define LINE_XXOO 4194413
|
||||
charcode=LINE_XXOO_C;
|
||||
charcode = LINE_XXOO_C;
|
||||
break;
|
||||
case LINE_OXXO: //#define LINE_OXXO 4194412
|
||||
charcode=LINE_OXXO_C;
|
||||
charcode = LINE_OXXO_C;
|
||||
break;
|
||||
case LINE_OOXX: //#define LINE_OOXX 4194411
|
||||
charcode=LINE_OOXX_C;
|
||||
charcode = LINE_OOXX_C;
|
||||
break;
|
||||
case LINE_XOOX: //#define LINE_XOOX 4194410
|
||||
charcode=LINE_XOOX_C;
|
||||
charcode = LINE_XOOX_C;
|
||||
break;
|
||||
case LINE_XXOX: //#define LINE_XXOX 4194422
|
||||
charcode=LINE_XXOX_C;
|
||||
charcode = LINE_XXOX_C;
|
||||
break;
|
||||
case LINE_XXXO: //#define LINE_XXXO 4194420
|
||||
charcode=LINE_XXXO_C;
|
||||
charcode = LINE_XXXO_C;
|
||||
break;
|
||||
case LINE_XOXX: //#define LINE_XOXX 4194421
|
||||
charcode=LINE_XOXX_C;
|
||||
charcode = LINE_XOXX_C;
|
||||
break;
|
||||
case LINE_OXXX: //#define LINE_OXXX 4194423
|
||||
charcode=LINE_OXXX_C;
|
||||
charcode = LINE_OXXX_C;
|
||||
break;
|
||||
case LINE_XXXX: //#define LINE_XXXX 4194414
|
||||
charcode=LINE_XXXX_C;
|
||||
charcode = LINE_XXXX_C;
|
||||
break;
|
||||
default:
|
||||
charcode = (char)ch;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int cury=win->cursory;
|
||||
int p = win->cursorx;
|
||||
int curx=(win->line[cury].width_in_bytes==win->width)?win->cursorx:cursorx_to_position(win->line[cury].chars, win->cursorx, &p);
|
||||
int cury = win->cursory;
|
||||
int p = win->cursorx;
|
||||
int curx = (win->line[cury].width_in_bytes == win->width) ? win->cursorx : cursorx_to_position(
|
||||
win->line[cury].chars, win->cursorx, &p);
|
||||
|
||||
if(curx!=p)
|
||||
{
|
||||
const char* ts = win->line[cury].chars+p;
|
||||
int len = ANY_LENGTH;
|
||||
unsigned tc = UTF8_getch(&ts, &len);
|
||||
int tw = mk_wcwidth((wchar_t)tc);
|
||||
win->line[cury].width_in_bytes += erease_utf8_by_cw(win->line[cury].chars+p, tw, tw, win->width*4-p-1);
|
||||
curx = p+tw-1;
|
||||
}
|
||||
else if(win->line[cury].width_in_bytes!=win->width)
|
||||
{
|
||||
win->line[cury].width_in_bytes += erease_utf8_by_cw(win->line[cury].chars+p, 1, 1, win->width*4-p-1);
|
||||
}
|
||||
if(curx != p) {
|
||||
const char *ts = win->line[cury].chars + p;
|
||||
int len = ANY_LENGTH;
|
||||
unsigned tc = UTF8_getch(&ts, &len);
|
||||
int tw = mk_wcwidth(tc);
|
||||
win->line[cury].width_in_bytes += erease_utf8_by_cw(win->line[cury].chars + p, tw, tw,
|
||||
win->width * 4 - p - 1);
|
||||
curx = p + tw - 1;
|
||||
} else if(win->line[cury].width_in_bytes != win->width) {
|
||||
win->line[cury].width_in_bytes += erease_utf8_by_cw(win->line[cury].chars + p, 1, 1,
|
||||
win->width * 4 - p - 1);
|
||||
}
|
||||
|
||||
//if (win2 > -1){
|
||||
win->line[cury].chars[curx]=charcode;
|
||||
win->line[cury].FG[win->cursorx]=win->FG;
|
||||
win->line[cury].BG[win->cursorx]=win->BG;
|
||||
win->line[cury].chars[curx] = charcode;
|
||||
win->line[cury].FG[win->cursorx] = win->FG;
|
||||
win->line[cury].BG[win->cursorx] = win->BG;
|
||||
|
||||
|
||||
win->draw=true;
|
||||
win->draw = true;
|
||||
addedchar(win);
|
||||
return 1;
|
||||
// else{
|
||||
// win2=win2+1;
|
||||
|
||||
}
|
||||
|
||||
//Move the cursor of windows 0 (stdscr)
|
||||
//Move the cursor of the main window
|
||||
int move(int y, int x)
|
||||
{
|
||||
return wmove(mainwin,y,x);
|
||||
return wmove(mainwin, y, x);
|
||||
}
|
||||
|
||||
//Set the amount of time getch waits for input
|
||||
|
||||
-251
@@ -1,251 +0,0 @@
|
||||
%
|
||||
Our chemical department has made great strides in the production of a
|
||||
concentrated mutagen, derived from samples of PE012.
|
||||
%
|
||||
Our chemical department has perfected an untargeted stem cell treatment.
|
||||
Consumption of the treatment will reverse the effects of mutation, and may
|
||||
even cure congenital defects. This substance has been denoted PE018.
|
||||
%
|
||||
Both PE012 and PE018 show great stability. A subject was exposed to both
|
||||
substances, alternating between the mutagen and the purifier. Ultimately, the
|
||||
subject returned to baseline state with no apparent side effects.
|
||||
%
|
||||
We have made a fascinating discovery; by creating a miniature portal with
|
||||
low stability and high power, one can transpose into the 4th dimension and
|
||||
return immediately, but shifted by several meters. Our subjects oscillated so
|
||||
quickly that none were even aware that they had visited lower planes.
|
||||
%
|
||||
Our research on teleportation has ground to a halt. For some reason, the
|
||||
creation of a long-range transportation device eludes us, and one can transfer
|
||||
no further than 30 meters.
|
||||
%
|
||||
I don't know how it happened, but a janitor managed to activate the portal
|
||||
while cleaning the lab, shifting in an assortment of prehistoric fauna.
|
||||
Security was called in immediately but was unable to save the janitor from
|
||||
being torn apart. By the time the confusion settled, all the fauna had been
|
||||
terminated.
|
||||
%
|
||||
Tests on the prehistoric fauna show extremely close genetic relationships
|
||||
with extant and extinct terranian animals. It might be that the portal had
|
||||
performed a transposition in time, unfortunately the portal device was
|
||||
destroyed when security put down the fauna.
|
||||
%
|
||||
An incident occurred in the teleportation lab, wherein a subject managed to
|
||||
teleport into another subject. The latter was completely destroyed from the
|
||||
inside out, while the former sustained little damage. I would like to explore
|
||||
the phenomenon further, but subjects are expensive.
|
||||
%
|
||||
Test subjects in the teleportation department are showing alarming
|
||||
symptoms. It seems prolonged rapid transposition along the 4th dimension
|
||||
weakens the forces holding one on this plane.
|
||||
%
|
||||
Catastrophe struck in our teleportation department yesterday. It seems
|
||||
that our test subjects are so detached from this plane that they create
|
||||
occasional tunnels along the 4th dimension, allowing life forms to transfer to
|
||||
this plane. All subjects with prolonged exposure have been terminated.
|
||||
%
|
||||
Our lifeform extraction program continues to produce samples of specimen
|
||||
XE037. It seems to be a kind of living, semi-sentient primordial ooze, and is
|
||||
the basis of much of the life we have found.
|
||||
%
|
||||
Specimen XE037, jokingly referred to as "the blob", has been observed
|
||||
entering a kind of dormant state, forming a depression in the floor. Hendelson
|
||||
stepped into one of these pits yesterday, and was immediately coated and
|
||||
attacked.
|
||||
%
|
||||
XE037 shows promise as a catalyst for both cloning and treatments that
|
||||
mimic stem cells. This is further evidence supporting Hendelson's theory of a
|
||||
near universal symbiotic relationship involving XE037.
|
||||
%
|
||||
Several of the more advanced specimens we have retrieved show stunning
|
||||
similarity to XE037. XE142 and XE157 in particular show the same amorphous,
|
||||
slime-like structure as XE037, suggesting a close genetic relationship.
|
||||
%
|
||||
Today we tested weaponry against XE142 and XE157, two amorphous subprime
|
||||
samples. Their form proved to be nearly invulnerable to projectile based
|
||||
weaponry, but they were susceptible to directed energy weapons and flagration.
|
||||
%
|
||||
Our cloning department has failed to produce results. In vats containing
|
||||
stem cell treatments, XE037, and control vats, the subjects simple
|
||||
disintegrated. This suggests that XE037, while compatible with subprime
|
||||
lifeforms, shows only destructive effects on prime plane lifeforms.
|
||||
%
|
||||
The vivisection program has shown mixed results, revealing an incredible
|
||||
degree of variation in subplane lifeforms. Certain specimens have an internal
|
||||
structure that is amazingly similar to that of mammals, while others seem to
|
||||
have no internal structure at all.
|
||||
%
|
||||
Our security department has identified several key flaws. Though our
|
||||
surface entrance is quite secure, there are several possible points of entry
|
||||
below the surface, particularly in the sewage systems.
|
||||
%
|
||||
Today we applied a very small sample of XE037, suspended in water, to
|
||||
subject TP92, prior to necessary termination. During the postmortem
|
||||
examination, the subject went through a revivification progress, but displayed
|
||||
next to no human intelligence.
|
||||
%
|
||||
Mendelson shows a dismaying lack of organization and security
|
||||
consciousness. Containment of all samples of XE037 is of critical importance,
|
||||
as shown by contamination experiments.
|
||||
%
|
||||
Mendelson has been terminated following an incident with XE037. A
|
||||
substantial mobile sample departed his lab and encountered our security
|
||||
forces. Before the sample was destroyed, it managed to kill two men.
|
||||
Alarmingly, their corpses displayed mobility and extreme aggression.
|
||||
%
|
||||
We have created a new department to investigate the effects of XE037 on the
|
||||
human body, specifically to examine the revivification effect observed on two
|
||||
prior occasions. Sadly, our human subject pool is dwindling due to the short
|
||||
lifespan of subjects in this program. More will be acquired soon.
|
||||
%
|
||||
Testing XE037 on non-human mammal subjects does not appear to display the
|
||||
same revivifying effect, oddly enough. Acquiring non-human subjects, sadly,
|
||||
is a long and costly process, and research into this area is lacking.
|
||||
%
|
||||
After our curious results with testing XE037 on non-human mammals, we
|
||||
decided to introduce the substance to some of the insects which have found
|
||||
their way into the lab. Horrifyingly, XE037 caused near-instant mutation
|
||||
and gigantism in the insects, and security intervention was required.
|
||||
%
|
||||
Earlier conjecture that revivification occurred only in humans and insects
|
||||
was premature. Exposure introduces a persistent, low level infection in all
|
||||
mammal subjects, but quickly enters a form of stasis and seems to go dormant.
|
||||
%
|
||||
The primary factor in determining revivification of mammalian subjects
|
||||
seems to be the amount of XE037 within the body at time of expiration. Smaller
|
||||
mammals such as lab rats do not obtain this critical mass of XE037 before
|
||||
going dormant. Larger canine subjects, however, do.
|
||||
%
|
||||
I swear they are talking to me. No one believes me. No one understands. They
|
||||
whisper to me, at night, in the dark. Please, please, make them stop.
|
||||
%
|
||||
Program S37ZBE, investigation of XE037 on inert human bodies, is making
|
||||
great strides. Recently we found that XE037 has no effect when introduced to a
|
||||
deceased body; revivification only occurs when the subject is exposed to XE037
|
||||
prior to expiration.
|
||||
%
|
||||
Attempts to surpass the XE037 mammalian stasis limit have had some success.
|
||||
Direct subcutaneous injection of XE037 quickly spreads through the body, and
|
||||
while it immediately enters stasis after equalizing, it remains in the body.
|
||||
%
|
||||
There has been an incident in Lab 24, 2 casualties reported, one lethal.
|
||||
A rat involved in the stasis breaking project was hooked to a monitoring
|
||||
machine and left over night. Upon opening the cage, Simon Bellevue was
|
||||
electrocuted, and another researcher at the opposite end of the lab sustained
|
||||
severe current burns, despite never approaching the cage.
|
||||
%
|
||||
A post mortem on the rat involved in the electrocution incident has
|
||||
revealed several changes to it's internal anatomy centered around it's
|
||||
connection with the monitoring device, and large buildups of XE037 were
|
||||
detected around the connection point.
|
||||
%
|
||||
There is a belief several other rat subjects experienced changes overnight
|
||||
as well. This hypothesis was informed when an inventory check after the
|
||||
incident found almost twenty rats had gone missing from their cages overnight.
|
||||
%
|
||||
Exposure of large quantities of XE037 to various types of radiation have
|
||||
shown promising results, stimulating activity and forming interesting
|
||||
structural changes in the subject being tested. Exposure to radiation on
|
||||
living subjects schedules.
|
||||
%
|
||||
Exposure to radiation of test subject T3D indicates stimulation of internal
|
||||
XE037 deposits and a temporary lifting of the mammalian stasis condition.
|
||||
%
|
||||
As in the tests of isolated XE037 samples, prolonged radiation exposure of
|
||||
T3D has resulted in significant structural changes. These do not appear to be
|
||||
random. T3D appears to be in immense pain as a result of these changes, but
|
||||
the lack of an oral opening has rendered him unable to vocalize.
|
||||
%
|
||||
Subject T3D has succumbed to radiation poisoning, but not before undergoing
|
||||
several more physiological changes the lab boys are referring to as
|
||||
"mutations". They do not appear to be truly random, and may be an attempt
|
||||
by XE037 to adapt its host to an unknown stimulus.
|
||||
%
|
||||
Post-mortem revivification of subject T3D occurred as expected, followed by
|
||||
an immediate autopsy. The internal changes were significant, with large
|
||||
parts of the subjects internal anatomy replaced with "organs" of XE037 with
|
||||
unknown properties, primarily those known to succumb earlier to the effects
|
||||
of radiation poisoning.
|
||||
%
|
||||
Samples of XE037 from subject T3D remains extremely active. Further
|
||||
experimentation on induced mutation in infected individuals shows
|
||||
significant potential. Samples of the enhanced XE037, labeled PE012, have
|
||||
been sent to several researchers for further study.
|
||||
%
|
||||
S37ZBE, the special investigation into the effects of XE037 on inert human
|
||||
bodies, has made terrific discoveries. It seems that it occasionally
|
||||
displays a mutagenic property which manifests itself after termination of
|
||||
the subject, resulting in a striking variety in postmortem morphology.
|
||||
%
|
||||
Incidence of post-mortem mutation seems to depend on several factors -
|
||||
leading candidates include type and amount of damaged sustained leading
|
||||
to expiration, embedded foreign bodies at time of revivification,
|
||||
proximity to other revived individuals, and the body mass of the subject.
|
||||
%
|
||||
Time also appears to play a large role in post-mortem revivification, as
|
||||
does sustained trauma insufficient to permanently disable the subject.
|
||||
Sufficient amounts of trauma in short periods of time lead to deactivation
|
||||
of XE037, but smaller amounts over several days cause it to expand.
|
||||
%
|
||||
S37ZBE may be put on indefinite hold shortly. Postmortem morphological
|
||||
changes have reached extreme levels; this morning one subject nearly
|
||||
doubled in size, acquiring enough strength to reduce a concrete wall to
|
||||
rubble. It required a 6 man team, heavily armed, to re-terminate the
|
||||
subject.
|
||||
%
|
||||
Jakobson insists that S37ZBE must continue, despite the extreme security
|
||||
and safety risks. Nearly half of our security forces have been redirected
|
||||
to the S37ZBE project, simply to deal with the occasional escape of a subject.
|
||||
%
|
||||
Jakobson was killed today by one of S37ZBE's subjects; ironic considering
|
||||
how hard he fought to keep the project active. Alarmingly, his corpse
|
||||
revivified immediately. This suggests that XE037 may have contaminated the
|
||||
lab at large.
|
||||
%
|
||||
Termination of a subject which was never a part of S37ZBE has confirmed my
|
||||
fears. XE037 has contaminated most, if not all of the laboratory, most
|
||||
likely via the water supply. Research has started immediately into a process
|
||||
to destroy XE037 within the human body.
|
||||
%
|
||||
Despite a wide variety of treatments, we have been completely unsuccessful
|
||||
in removing XE037 from human subjects. Every individual displayed
|
||||
revivification post termination. Interestingly, XE037 seems to be completely
|
||||
inert prior to termination.
|
||||
%
|
||||
We have finally found success in S37BEP, our emergency investigation into
|
||||
the destruction of XE037 in living subjects. 8 of 10 of the subjects showed no
|
||||
revivification, despite confirmed dosages of XE037.
|
||||
%
|
||||
PE062, our "cure" for XE037 contamination, has neared perfection. Sadly,
|
||||
the production of PE062 is a costly and time-consuming process. What is more,
|
||||
the substance shows no effect on postmortem subjects whatsoever; a substance
|
||||
which renders XE037 inert after it has activated would be immensely useful in
|
||||
the case of an outbreak.
|
||||
%
|
||||
An alarming discovery has been made. A colony of XE037 has formed nearly a
|
||||
half mile from the laboratory. It is unclear how it escaped; it is quite
|
||||
possible that it is in the ground water now.
|
||||
%
|
||||
An emergency meeting was held today to discuss the possible implications of
|
||||
widespread XE037 contamination. It was agreed that neutralization must be
|
||||
instated immediately to prevent a catastrophic event.
|
||||
%
|
||||
It has begun. The XE037 contamination has spread for miles, and those who
|
||||
have since deceased have revivified. It is my fear that extremely large
|
||||
populations will be decimated by this pandemic. We must find a way to remove
|
||||
XE037 from revivified bodies.
|
||||
%
|
||||
We have even more distressing news than the widespread XE037
|
||||
contamination, there are reports of the XE037 mutating into various new
|
||||
variants. See data files on XE037a - XE037f. Research on the effects of these
|
||||
variants is ongoing. We do know that XE037d shows signs of PE062 immunity, and
|
||||
XE037b can revive various breeds of canines. However, revival is not
|
||||
as guaranteed as standard XE037 humanoid infection. Canine body size seems
|
||||
to influence the chances. See experiment tXE037b_c.
|
||||
%
|
||||
Today we found our solution, quite by accident. It was found that XE037 is
|
||||
completely removed from a revivified body following a series of extremely-high
|
||||
energy 4th dimensional transpositions. Unfortunately, this invariably allows
|
||||
subplane life forms to pass into the prime plan. The cure is worse than the
|
||||
disease.
|
||||
%
|
||||
-186
@@ -1,186 +0,0 @@
|
||||
Squirrels are pretty yummy, but if you shoot them with a high-powered gun you'll probably be left with no meat! Use a BB gun or maybe a .22 rifle.
|
||||
|
||||
Ever run into those big worm things? If you see trails of churned-up dirt, you can be sure they're around.
|
||||
|
||||
I got chased last week by some big digging creature. I couldn't see it, but I could tell where it was by the trail of churned-up earth.
|
||||
|
||||
Try to stay on the roads as much as you can. Giant worms can't cross them!
|
||||
|
||||
Don't relax after killing a giant worm. Little bits of them can break off and still attack!
|
||||
|
||||
If you see a big mob of zombies coming, RUN! Trying to fight them all is suicide unless you have a big tactical advantage.
|
||||
|
||||
Watch out for those zombies that shriek; they'll let other zombies know where you are, and will attract them from all over.
|
||||
|
||||
Those acid-spitting zombies are pretty nasty, but if you're smart, you can get other zombies to wade through the acid.
|
||||
|
||||
If there's a pool of acid blocking your way, trying tossing a junk item into it. Eating up items will help neutralize the acid faster.
|
||||
|
||||
There's this type of zombie that can shoot bolts of lightning! Stay away from walls and stuff when they do... the electricity can travel along solid surfaces.
|
||||
|
||||
Zombie hulks are NASTY, but they're easy to outsmart. If there's other monsters between you and them, they'll kill the monster for you!
|
||||
|
||||
If you run into a zombie hulk, it's probably a good idea to run. They're fast as hell, but pretty dumb; they'll try to smash through obstacles rather than going around, and that slows them down a lot.
|
||||
|
||||
Zombie brutes and hulks have really tough hide. Don't bother shooting at them with lower-caliber guns, the bullet will bounce right off!
|
||||
|
||||
Try not to kill a boomer if it's standing right next to you. They tend to explode when they die, and that pink goop will get all over you.
|
||||
|
||||
Skeletons are a tough target. They're so skinny and full of holes that bullets fired at them will usually just fly right past.
|
||||
|
||||
Skeletons are too delicate to smash through doors or windows. They also can't smell you, unlike zombies, so if you turn your light off at night you can sneak right past.
|
||||
|
||||
Don't try to take on a skeleton with a bladed weapon... you'll just leave scratch marks. You've got to shatter those bones with a hammer or something.
|
||||
|
||||
It's a good idea to butcher corpses if you have the time, even if you don't plan on eating them. I've seen these weird zombies bring their friends back from the dead!
|
||||
|
||||
Triffids are tough. They've got natural armor, and it takes a lot to bring them down. I don't recommend getting into a fight with them.
|
||||
|
||||
Triffids can't see! They figure out where you are by your smell, but if you mask it with smoke or something, you're as good as invisible.
|
||||
|
||||
I figured out how to take care of those triffids! Let me just say this: they're made of wood, and wood and fire don't mix.
|
||||
|
||||
Have you heard about those queen triffids? You gotta keep your distance from them, unless you like having a tree grow right through your chest.
|
||||
|
||||
I have a buddy who was sleeping in this cabin way out in the woods, when he suddenly woke up to trees and vines growing right up through the floor and walls! He said it was some kind of huge triffid making it happen...
|
||||
|
||||
Oh man, have you gone down into the old subway systems? I'd be careful... there's these things down there that're like zombies, but tougher.
|
||||
|
||||
There's snakes down in most of the old sewer systems. They're slow on land, but boy, those suckers can swim fast!
|
||||
|
||||
If you're planning on wandering around the sewers--not that you'd have a reason too--watch out for those fish. Those suckers are fast, and vicious too!
|
||||
|
||||
Have you seen those eyebots flying around? It's hard to say, but some faction's controlling them--maybe the military. All I know is, I don't want them taking my picture...
|
||||
|
||||
Ever go toe-to-toe with a manhack? Tiny little helicopters covered in knives. Best be packing a shotgun!
|
||||
|
||||
They're rare, but molebots are nasty things. They bore through the ground, then pop up to stab ya. Still, you're safe from them if you stay on pavement...
|
||||
|
||||
Don't fire your gun if you can help it--the noise attracts monsters!
|
||||
|
||||
Standing behind a window is a good tactic. It takes zombies a long time to crawl through, giving you lots of opportunities to hit them.
|
||||
|
||||
Zombies are pretty dumb... heck, most monsters are! If you can get a fire going between you and them, they'll just run straight through it.
|
||||
|
||||
I know it's tempting to just go full-auto and unload as many bullets as possible, but don't except as a last resort. It's inaccurate and wastes ammo.
|
||||
|
||||
If there's a bunch of zombies in a straight line, try unloading a burst from your gun. Be sure to aim at the zombie furthest away; you'll hit more of them that way.
|
||||
|
||||
If you shoot a zombie, but don't quite kill it, try to finish it off with a punch or something instead of wasting a bullet.
|
||||
|
||||
If you're in a corridor or something, and there's a bunch of zombies chasing you down it, try to wound the guy in front badly. He'll start moving slow and cause a serious traffic jam!
|
||||
|
||||
Here's a trick for taking care of a huge swarm of zombies chasing you: head into a liquor store, shoot out as many bottles as you can, then light the alcohol on fire. Then duck out the back door, and watch the zombies run into a burning building!
|
||||
|
||||
Sledge hammers may seem like a great weapon, but swinging them is really slow, and you won't do much damage unless you're really strong.
|
||||
|
||||
For a good melee weapon, you can't beat a machete. I've seen a guy take down a zombie brute with one! Of course, if you can find a katana, that might be even better...
|
||||
|
||||
You know, a glass bottle can make a good weapon in a pinch. If you break it over someone's head, the shattering glass will hurt them extra. Of course, it might hurt your hands, too...
|
||||
|
||||
You know what makes a nice weapon? Take a two by four, or a baseball bat or something, and stick a bunch of nails through the end!
|
||||
|
||||
BB guns may seem like a joke, but they've got their uses. They're good for hunting small game, or getting to know the basics of rifles.
|
||||
|
||||
Crossbows are a great weapon for long term use. Most of the time, you can retrieve the bolt after shooting it, so running out of ammo is less of a concern.
|
||||
|
||||
It's good to keep a pistol handy, in case your main gun runs out of ammo or something. They're also better than most guns at short range.
|
||||
|
||||
Shotguns are nice; you can take out lots of baddies with a single shot. Just remember that they're noisy as hell, and you might end up attracting more than you kill.
|
||||
|
||||
A good submachine gun can't be beat. Most of them use common ammo, they're good at short and long range, and you can burst-fire if you need to!
|
||||
|
||||
Hunting rifles are great at long range, but suck close up. Plus, most of them don't carry many rounds. Keep a pistol as a sidearm if you use a rifle.
|
||||
|
||||
You know, you don't have to go full auto with an assault rifle. Firing single shots is more accurate and efficient!
|
||||
|
||||
I've seen a couple guys running around with laser pistols. They seem like the perfect weapon... quiet, accurate, and deadly. But I've never found one, and I bet ammo is wicked scarce...
|
||||
|
||||
When it comes to footwear, you've got two basic choices as far as I see it; sneakers, for running extra fast, or boots for durability. Depends on your style, I guess.
|
||||
|
||||
You don't really need to wear gloves most of the time, but once in a while they'll really come in handy.
|
||||
|
||||
It's good to keep a filter mask or gas mask handy. You never know when you'll have to go into a smoke-filled room or something.
|
||||
|
||||
There's basically no reason not to wear safety glasses... nothing's worse than taking a hit to the eyes and getting blinded for a few seconds.
|
||||
|
||||
Ski goggles are a great choice if you're worried about getting stuff in your eyes. Perfect for dealing with boomers!
|
||||
|
||||
If you get a pair of night vision goggles, hold on to them! A flashlight will give you away, but with goggles you can be sneaky.
|
||||
|
||||
I know they look dumb, but wearing a fanny pack gives you that extra bit of storage without encumbering you.
|
||||
|
||||
Backpacks let you carry lots of stuff, but they limit your movement a lot. If you're an unarmed fighter, don't wear one!
|
||||
|
||||
Don't underestimate a good book. Not only will it keep you company on lonely nights, but you can learn a hell of a lot from some of them.
|
||||
|
||||
It's a good idea to carry around a couple of empty bottles. You can fill them up with water, gasoline, or whatever!
|
||||
|
||||
If you need a bunch of rags for making molotov cocktails, take a pair of scissors to an old t-shirt or something.
|
||||
|
||||
Carrying a lighter is something all veterans do. It takes up almost no space, and can easily save your life.
|
||||
|
||||
If you can spare the space, you might want to carry a fire extinguisher along. Nothing's worse than being trapped in a burning building!
|
||||
|
||||
Crowbars not only make a pretty good weapon, they're also useful for opening locked doors and lifting manhole covers.
|
||||
|
||||
If you're spending the night in a dangerous area, grab a shovel and dig pits all around your camp.
|
||||
|
||||
A chainsaw may seem like a great weapon, but remember that they're slow, unwieldy, and very noisy.
|
||||
|
||||
Bubblewrap is pretty harmless, but setting it up around you before going to sleep will keep you from waking up to a zombie punching you.
|
||||
|
||||
Beartraps are a nice way to cover an escape. If you place one in a doorway, the first zombie through will get stuck, and the rest won't be able to get past!
|
||||
|
||||
Smoke grenades aren't really offensive weapons, but they'll cover up your scent and hide you from view--perfect for making a quick escape.
|
||||
|
||||
Don't use molotovs indoors. Especially in a liquor store.
|
||||
|
||||
If you're going to be playing with molotov cocktails around a gas station, just make sure you're a long way from those pumps.
|
||||
|
||||
I once knew a guy who figured he'd survive a night in the subway by setting fires blocking off the tunnel in both directions and sleeping between them. He wound up asphyxiating on the smoke.
|
||||
|
||||
Don't light a molotov until you're ready to throw it. Not only can they go out, but if you accidentally drop it or something, you're in trouble.
|
||||
|
||||
If you're weak or clumsy, it might be a good idea not to mess with molotovs or grenades. Accidentally dropping them when you meant to throw them could be deadly.
|
||||
|
||||
If you're wandering in the wilderness, or following a road, keep an eye out for wild strawberries or blueberries.
|
||||
|
||||
Be careful eating wild mushrooms. Some are poisonous, and others can make you hallucinate.
|
||||
|
||||
Try to go around swamps, if you can. Some of them have sinkholes that can pull you right underground.
|
||||
|
||||
I heard about this group that raided a bee hive a while ago. Everyone got massacred but one, and he came home with this weird, magic honey stuff.
|
||||
|
||||
If you need to, you can swim across a river to escape; most monsters can't swim. Just make sure you drop as much stuff as possible first, and maybe strip naked, or you'll sink like a rock.
|
||||
|
||||
Houses can be a surprisingly good resource for all kinds of stuff; clothing, medication, food, books, and more.
|
||||
|
||||
While there's not much to loot, gas stations are a good source for gasoline, to power tools or to make molotov cocktails.
|
||||
|
||||
It's not like in the movies--shooting a gas pump won't make it explode. But it WILL make it leak all over the place, which is a definite fire hazard.
|
||||
|
||||
I know grocery stores and stuff are full of fruit, but be careful, it's probably rotten.
|
||||
|
||||
Next time you visit a grocery store, load up on canned goods. They never go bad!
|
||||
|
||||
I've found more good weapons in hardware stores than anywhere else. Except gun stores, of course.
|
||||
|
||||
Liquor stores are a great place to pick up non-alcoholic beverages, too. Not that I mind alcohol!
|
||||
|
||||
Most gun stores follow pretty similar layouts. The restricted stuff--SMGs, assault rifles, and most importantly ammo--are always behind the counter.
|
||||
|
||||
I've spent many nights in the changing rooms at the back of clothing stores. Walls on four sides, far from the store's entrance, a corridor for easy defense... it's perfect!
|
||||
|
||||
If you're getting chased by a hoard of zombies, try ducking into the subways and traveling a block or two, then coming back up.
|
||||
|
||||
Have you seen those weird science labs out in the middle of nowhere? I think you need some kind of special ID card to get in.
|
||||
|
||||
I've thought about raiding an ant hill before, but I realized it wasn't worth the risk. I doubt they have any loot beyond some scraps of food, you know?
|
||||
|
||||
This guy I know was walking through the subway when he came across a giant rift in the earth, with lava far below. Weird, huh?
|
||||
|
||||
In a lot of places, there's little hallways connecting the subways with the sewers, with heavy metal doors on both ends. It's a perfect place to sleep!
|
||||
|
||||
Be careful of drinking water from rivers and stuff, it's a good way to get sick. But if you have a water purifier, it'll make it safe.
|
||||
|
||||
+97
-3
@@ -1,3 +1,97 @@
|
||||
0.9
|
||||
|
||||
Highlights:
|
||||
---
|
||||
World Factory: Multiple worlds managed at once.
|
||||
New mutation categories.
|
||||
TsuTiles.
|
||||
Basic mouse support in SDL builds.
|
||||
Vehicle constructon system rework.
|
||||
Backward compatability with 0.8 saves.
|
||||
Unbielievable amount of new content.
|
||||
|
||||
Features:
|
||||
---
|
||||
New mutation categories.
|
||||
Blob drops are semi-useful.
|
||||
World Factory: Multiple worlds managed at once.
|
||||
Single keypress pulping.
|
||||
Better Basements.
|
||||
Dynamically swap between text and tiles, and amoung tilesets.
|
||||
Funnels catch water when the player is far away.
|
||||
TsuTiles.
|
||||
Curvy roads.
|
||||
Zombears.
|
||||
V menu now lists monsters too.
|
||||
Emergency vehicles.
|
||||
Shia's back.
|
||||
Doors tougher, but zombies can pile on when trying to bash through them.
|
||||
Spawning monsters in packs.
|
||||
Shopping carts are driveable.
|
||||
Basic mouse support in SDL builds.
|
||||
Food dehydrator.
|
||||
Some clothes have hoods that are used automaticlly if there's no hat in the way.
|
||||
Only prompt to confirm butchering if there are hostiles nearby.
|
||||
Books have chapters.
|
||||
Better furniture dragging interface with 'G'rab.
|
||||
More cart types, hot dog, welding, luggage; swivel chairs.
|
||||
Track more stuff for memorial file.
|
||||
Basic tool quality support for more streamlined crafting recipes.
|
||||
Fungaloid rework.
|
||||
Vehicle workbench like components act like tools.
|
||||
Huge pile o books.
|
||||
Furniture and terrain definitions moved to json.
|
||||
Survivor armor.
|
||||
Large numbers of wild animals.
|
||||
Power system for vehicles and battery components.
|
||||
Reinforced vehicle components.
|
||||
Vehicle constructon system rework.
|
||||
Multi-square vehicle doors.
|
||||
Make vehicles more resilient to damage and better able to smash through obstacles.
|
||||
Vehicle spawns have personality added in various ways.
|
||||
Removed action interruption from drug cravings.
|
||||
Ludricrous numbers of new foods.
|
||||
Vehicle horns.
|
||||
Backward compatability with 0.8 saves.
|
||||
Stylish trait.
|
||||
Pickup partial stacks.
|
||||
Flaming weapons.
|
||||
Too many new professions to list.
|
||||
Diseases can now be bodypart specific (bleeding, bites).
|
||||
Reworked martial arts framework. Arts are no longer pseudo-items, and can be mostly defined in json.
|
||||
RPG-7.
|
||||
Reworked and streamlined bionics failure chance and install UI.
|
||||
Streamlined continuous reading.
|
||||
|
||||
Bugfixes:
|
||||
---
|
||||
Monsters that don't take damage no longer leave blood trails.
|
||||
Broken gas tanks act broken.
|
||||
Highlighting lines in tiles mode.
|
||||
Show all sounds made by player.
|
||||
Dissasemble items with charges properly.
|
||||
Supress smoke warning when you have a gas mask.
|
||||
Stims work again.
|
||||
Menu cleanups all over.
|
||||
Better in-city detection for roads.
|
||||
Funnel filling.
|
||||
Step on visible trap warning.
|
||||
Vomiting lethality nerfed.
|
||||
Better ignore monster for now feature.
|
||||
Massive audit of item values by Rivet.
|
||||
Prevent input overbuffering when it's raining.
|
||||
Eating related bugs.
|
||||
Hallucination fixes.
|
||||
Vehicle mounted turrets.
|
||||
Crafting conuming containers with contents.
|
||||
Prevents many actions from passing through walls.
|
||||
Weird handling of cancelled item use.
|
||||
Gunmods with firing modes.
|
||||
Stabilized monster coordinates.
|
||||
Many fixes in defense mode.
|
||||
Charge rifle charging.
|
||||
|
||||
|
||||
0.8
|
||||
|
||||
Highlights:
|
||||
@@ -570,7 +664,7 @@ The player now spawns with a pocket knife and lighter.
|
||||
Sledge hammer is usable to board windows and doors up.
|
||||
Heartless trait has been removed, replaced with the Cannibal trait, which allows you to eat human meat with no morale penalty.
|
||||
Braziers are now craftable. They contain fire and can be set up indoors.
|
||||
Bulletin Boards can be built to set an area as your home base. NPCs can
|
||||
Bulletin Boards can be built to set an area as your home base. NPCs can
|
||||
be told to wait there and will defend the area.
|
||||
Bear traps have been increased in weight and volume.
|
||||
Carboys have been renamed to Gallon jugs.
|
||||
@@ -581,7 +675,7 @@ Kills can now be accessed from in-game. Default key is ).
|
||||
The game now accepts wielded items when checking for containers.
|
||||
Sunny and Clear weather now provide warmth.
|
||||
Internal Climate Control bionic consumes power to cool or warm you.
|
||||
Crash bug caused by the screen being larger than the loaded overmap has
|
||||
Crash bug caused by the screen being larger than the loaded overmap has
|
||||
been fixed.
|
||||
Crash bug when going down stairs near cities has been fixed.
|
||||
Hunger now affects body temperature.
|
||||
@@ -592,7 +686,7 @@ Added a digging stick. Can be used to dig shallow pits, and level construction e
|
||||
Got angry at other developers for not updating changelog.
|
||||
|
||||
0.2
|
||||
Reworked spawning option which places zombies at world generation
|
||||
Reworked spawning option which places zombies at world generation
|
||||
rather than generating them dynamically in play.
|
||||
Implementation of a context menu when examining inventory items.
|
||||
Machine added to hospitals to regrow limbs.
|
||||
|
||||
+3
-2
@@ -2,15 +2,16 @@
|
||||
# Max length of a line is 68 characters; the following line is for reference
|
||||
####################################################################
|
||||
Original author: Project Manager: Website/Forum:
|
||||
Whales (retired) Kevingranade GlyphGryph
|
||||
Whales (retired) KevinGranade GlyphGryph
|
||||
|
||||
Current Main Developers/Github Managers:
|
||||
Kevingranade, GalenEvil, i2amroy, AtomicDryad, Ozone
|
||||
KevinGranade, GalenEvil, i2amroy, AtomicDryad, Ianestrachan
|
||||
|
||||
Special thanks to:
|
||||
TheDarklingWolf - For creating Cataclysm:DDA as we know it
|
||||
Narc - For setting up the automatic Jenkins build-bot
|
||||
yobbobanana - For working as liason between translators and github
|
||||
Angela 'Rivet' Graves, Constant Creator of Cataclysmic Content
|
||||
|
||||
For a full list of contributors please see:
|
||||
https://github.com/CleverRaven/Cataclysm-DDA/contributors
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
#Until multiple tilesets are implemented, there should only ever be these two entries
|
||||
#in this file.
|
||||
|
||||
#Paths to Deon's tileset: gfx/DeonTileset/tile_config.json & /deontiles.png
|
||||
#Paths to Hoder's tileset: gfx/HoderTileset/tile_config.json & /hodertiles.png
|
||||
|
||||
#DEON's TILESET
|
||||
#JSON Path - Default of gfx/tile_config.json
|
||||
JSON: gfx/DeonTileset/tile_config.json
|
||||
#Tileset Path - Default of gfx/tinytile.png
|
||||
TILESET: gfx/DeonTileset/deontiles.png
|
||||
|
||||
#HODER'S TILESET -- Commented out
|
||||
#JSON Path - Default of gfx/tile_config.json
|
||||
#JSON: gfx/HoderTileset/tile_config.json
|
||||
#Tileset Path - Default of gfx/tinytile.png
|
||||
#TILESET: gfx/HoderTileset/hodertiles.png
|
||||
@@ -1,588 +1,588 @@
|
||||
[
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_null",
|
||||
"name" : "NULL bionics",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "If you're seeing this, it's a bug. (game::init_bionics)"
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_power_storage",
|
||||
"name" : "Power Storage",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "Compact Bionics Module that upgrades your power capacity by 4 units. Having at least one of these is a prerequisite to using powered bionics. You will also need a power supply, found in another CBM."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_power_storage_mkII",
|
||||
"name" : "Power Storage Mk. II",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "Compact Bionics Module developed at DoubleTech Industries as a replacement for the highly successful CBM: Power Storage. Increases you power capacity by 10 units."
|
||||
"description": "Compact Bionics Module developed at DoubleTech Industries as a replacement for the highly successful CBM: Power Storage. Increases your power capacity by 10 units."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_batteries",
|
||||
"name" : "Battery System",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"flags" : ["POWER"],
|
||||
"power_source" : true,
|
||||
"description": "You have a battery draining attachment, and thus can make use of the energy contained in normal, everyday batteries. Use 'E' to consume batteries."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_metabolics",
|
||||
"name" : "Metabolic Interchange",
|
||||
"cost" : 0,
|
||||
"power_source" : true,
|
||||
"active" : true,
|
||||
"time" : 100,
|
||||
"flags" : ["POWER", "ACTIVE"],
|
||||
"description": "Your digestive system and power supply are interconnected. Any drain on energy instead increases your hunger."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_solar",
|
||||
"name" : "Solar Panels",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"flags" : ["POWER"],
|
||||
"power_source" : true,
|
||||
"description": "You have a few solar panels installed. While in direct sunlight, your power level will slowly recharge."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_torsionratchet",
|
||||
"name" : "Joint Torsion Ratchet",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"flags" : ["POWER"],
|
||||
"power_source" : true,
|
||||
"description": "Your joints have been equipped with torsion ratchets that generate power slowly when you move."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_furnace",
|
||||
"name" : "Internal Furnace",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"flags" : ["POWER"],
|
||||
"power_source" : true,
|
||||
"description": "You can burn nearly any organic material as fuel (use 'E'), recharging your power level. Some materials will burn better than others."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_ethanol",
|
||||
"name" : "Ethanol Burner",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"flags" : ["POWER"],
|
||||
"power_source" : true,
|
||||
"description": "You burn alcohol as fuel in an extremely efficient reaction. However, you will still suffer the inebriating effects of the substance."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_memory",
|
||||
"name" : "Enhanced Memory Banks",
|
||||
"cost" : 1,
|
||||
"time" : 0,
|
||||
"description": "Your memory has been enhanced with small quantum storage drives. Any time you start to forget a skill, you have a chance at retaining all knowledge, at the cost of a small amount of poweron."
|
||||
"description": "Your memory has been enhanced with small quantum storage drives. Any time you start to forget a skill, you have a chance at retaining all knowledge, at the cost of a small amount of power."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_ears",
|
||||
"name" : "Enhanced Hearing",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "Your hearing has been 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."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_eye_enhancer",
|
||||
"name" : "Diamond Cornea",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "Your vision is greatly enhanced, giving you a +2 bonus to perception."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_dex_enhancer",
|
||||
"name" : "Wired Reflexes",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "Your reaction time has been greatly enhanced with bionic nerve stimulators, giving you a +2 bonus to dexterity."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_str_enhancer",
|
||||
"name" : "Muscle Augmentation",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "Your muscular system has been enhanced with myomer fibers, giving you a +2 bonus to strength."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_int_enhancer",
|
||||
"name" : "Cerebral Booster",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "Your brain has been enhanced with bionic coprocessors, giving you a +2 bonus to intelligence."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_membrane",
|
||||
"name" : "Nictating Membrane",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "Your eyes have a thin membrane that closes over your eyes while underwater, negating any vision penalties."
|
||||
},
|
||||
{
|
||||
"id" : "bio_targeting",
|
||||
"name" : "Targeting System",
|
||||
"type" : "bionic",
|
||||
"id" : "bio_sunglasses",
|
||||
"name" : "Transition lenses",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "Your eyes have quick-reacting transition lenses installed over them, negating any glare penalties and partially protecting you from bright flashes."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_targeting",
|
||||
"name" : "Targeting System",
|
||||
"description": "Your eyes are equipped with range finders, and their movement is synced with that of your arms, to a degree. Shots you fire will be much more accurate, particularly at long range."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_gills",
|
||||
"name" : "Membrane Oxygenator",
|
||||
"cost" : 1,
|
||||
"time" : 0,
|
||||
"description": "An oxygen interchange system automatically switches on while underwater, slowly draining your energy reserves but providing oxygen."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_purifier",
|
||||
"name" : "Air Filtration System",
|
||||
"cost" : 1,
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "Implanted in your trachea is an advanced filtration system. If toxins find their way into your windpipe, the filter will attempt to remove them."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_climate",
|
||||
"name" : "Internal Climate Control",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 30,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Throughout your body lies a network of thermal piping which eases the effects of high and low ambient temperatures."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_storage",
|
||||
"name" : "Internal Storage",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "Space inside your chest cavity has been converted into a storage area. You may carry an extra 8 units of volume."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_recycler",
|
||||
"name" : "Recycler Unit",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "Your digestive system has been outfitted with a series of filters and processors, allowing you to reclaim waste liquid and, to a lesser degree, nutrients. The net effect is a greatly reduced need to eat and drink."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_digestion",
|
||||
"name" : "Expanded Digestive System",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"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."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_tools",
|
||||
"name" : "Integrated Toolset",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "Implanted in your hands and fingers is a complete tool set - screwdriver, hammer, wrench, and heating elements. You can use this in place of many tools when crafting."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_shock",
|
||||
"name" : "Electroshock Unit",
|
||||
"cost" : 0,
|
||||
"active" : true,
|
||||
"time" : 1,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "While fighting unarmed, or with a weapon that conducts electricity, there is a chance that a successful hit will shock your opponent, inflicting extra damage and disabling them temporarily at the cost of some energy."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_heat_absorb",
|
||||
"name" : "Heat Drain",
|
||||
"cost" : 0,
|
||||
"active" : true,
|
||||
"time" : 1,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "While fighting unarmed against a warm-blooded opponent, there is a chance that a successful hit will drain body heat, inflicting a small amount of extra damage, and increasing your power reserves slightly."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_carbon",
|
||||
"name" : "Subdermal Carbon Filament",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "Lying just beneath your skin is a thin armor made of carbon nanotubes. This reduces bashing damage by 2 and cutting damage by 4."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_armor_head",
|
||||
"name" : "Alloy Plating - Head",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "The flesh on your head has been replaced by a strong armor, protecting both your head and jaw regions."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_armor_torso",
|
||||
"name" : "Alloy Plating - Torso",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "The flesh on your torso has been replaced by a strong armor, protecting you greatly."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_armor_arms",
|
||||
"name" : "Alloy Plating - Arms",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "The flesh on your arms has been replaced by a strong armor, protecting you greatly."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_armor_legs",
|
||||
"name" : "Alloy Plating - Legs",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"description": "The flesh on your legs has been replaced by a strong armor, protecting you greatly."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_flashlight",
|
||||
"name" : "Cranial Flashlight",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 30,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Mounted between your eyes is a small but powerful LED flashlight."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_night_vision",
|
||||
"name" : "Implanted Night Vision",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 20,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Your eyes have been modified to amplify existing light, allowing you to see in the dark."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_infrared",
|
||||
"name" : "Infrared Vision",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 4,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Your range of vision extends into the infrared, allowing you to see warm-blooded creatures in the dark, and even through walls."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_face_mask",
|
||||
"name" : "Facial Distortion",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 10,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Your face is actually made of a compound which may be molded by electrical impulses, making you impossible to recognize. While not powered, however, the compound reverts to its default shape."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_ads",
|
||||
"name" : "Active Defense System",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 7,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "A thin forcefield surrounds your body, continually draining power. Anything attempting to penetrate this field has a chance of being deflected at the cost of more energy. Melee attacks will be stopped more often than bullets."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_ods",
|
||||
"name" : "Offensive Defense System",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 6,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "A thin forcefield surrounds your body, continually draining power. This field does not deflect penetration, but rather delivers a very strong shock, damaging unarmed attackers and those with a conductive weapon."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_scent_mask",
|
||||
"name" : "Olfactory Mask",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 8,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "While this system is powered, your body will produce very little odor, making it nearly impossible for creatures to track you by scent."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_scent_vision",
|
||||
"name" : "Scent Vision",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 30,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "While this system is powered, you're able to visually sense your own scent, making it possible for you to recognize your surroundings even if you can't see it."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_cloak",
|
||||
"name" : "Cloaking System",
|
||||
"active" : true,
|
||||
"cost" : 2,
|
||||
"time" : 1,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "This high-power system uses a set of cameras and LEDs to make you blend into your background, rendering you fully invisible to normal vision. However, you may be detected by infrared, sonar, etc."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_painkiller",
|
||||
"name" : "Sensory Dulling",
|
||||
"active" : true,
|
||||
"cost" : 2,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Your nervous system is wired to allow you to inhibit the signals of pain, allowing you to dull your senses at will. However, the use of this system may cause delayed reaction time and drowsiness."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_nanobots",
|
||||
"name" : "Repair Nanobots",
|
||||
"active" : true,
|
||||
"cost" : 5,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Inside your body is a fleet of tiny dormant robots. Once charged from your energy banks, they will flit about your body, repairing any damage."
|
||||
"description": "Inside your body is a fleet of tiny dormant robots. Once charged from your energy banks, they will flit about your body, repairing damage and stopping bleeding."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_heatsink",
|
||||
"name" : "Thermal Dissipation",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 6,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Powerful heatsinks supermaterials are woven into your flesh. While powered, this system will prevent heat damage up to 2000 degrees fahrenheit. Note that this does not affect your internal temperature."
|
||||
"description": "Powerful heatsinks and supermaterials are woven into your flesh. While powered, this system will prevent heat damage up to 2000 degrees fahrenheit. Note that this does not affect your internal temperature."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_resonator",
|
||||
"name" : "Sonic Resonator",
|
||||
"active" : true,
|
||||
"cost" : 4,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Your entire body may resonate at very high power, creating a short-range shockwave. While it will not too much damage to flexible creatures, stiff items such as walls, doors, and even robots will be severely damaged."
|
||||
"description": "Your entire body may resonate at very high power, creating a short-range shockwave. While it will not do much damage to flexible creatures, stiff items such as walls, doors, and even robots will be severely damaged."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_time_freeze",
|
||||
"name" : "Time Dilation",
|
||||
"active" : true,
|
||||
"cost" : 3,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "At an immense cost of power, you may increase your body speed and reactions dramatically, essentially freezing time. You are still delicate, however, and violent or rapid movements may damage you due to friction."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_teleport",
|
||||
"name" : "Teleportation Unit",
|
||||
"active" : true,
|
||||
"cost" : 10,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "This highly experimental unit folds space over short distances, instantly transporting your body up to 25 feet at the cost of much power. Note that prolonged or frequent use may have dangerous side effects."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_blood_anal",
|
||||
"name" : "Blood Analysis",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Small sensors have been implanted in your heart, allowing you to analyse your blood. This will detect many illnesses, drugs, and other conditions."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_blood_filter",
|
||||
"name" : "Blood Filter",
|
||||
"active" : true,
|
||||
"cost" : 3,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "A filtration system in your heart allows you to actively filter out chemical impurities, primarily drugs. It will have limited impact on viruses. Note that it is not a targeted filter; ALL drugs in your system will be affected."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_alarm",
|
||||
"name" : "Alarm System",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 400,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "A motion-detecting alarm system will notice almost all movement within a fifteen-foot radius, and will silently alert you. This is very useful during sleep, or if you suspect a cloaked pursuer."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_evap",
|
||||
"name" : "Aero-Evaporator",
|
||||
"active" : true,
|
||||
"cost" : 8,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "This unit draws moisture from the surrounding air, which then is poured from a fingertip in the form of water. It may fail in very dry environments."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_lighter",
|
||||
"name" : "Mini-Flamethrower",
|
||||
"active" : true,
|
||||
"cost" : 3,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "The index fingers of both hands have powerful fire starters which extend from the tip."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_claws",
|
||||
"name" : "Adamantium Claws",
|
||||
"active" : true,
|
||||
"cost" : 3,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Your fingers can withdraw into your hands, allowing a set of vicious claws to extend. These do considerable cutting damage, but prevent you from holding anything else."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_blaster",
|
||||
"name" : "Fusion Blaster Arm",
|
||||
"active" : true,
|
||||
"cost" : 2,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Your left arm has been replaced by a heavy-duty fusion blaster! You may use your energy banks to fire a damaging heat ray; however, you are unable to use or carry two-handed items, and may only fire handguns."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_laser",
|
||||
"name" : "Finger-Mounted Laser",
|
||||
"active" : true,
|
||||
"cost" : 2,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "One of your fingers has a small high-powered laser embedded in it. This long range weapon is not incredibly damaging, but is very accurate, and has the potential to start fires."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_emp",
|
||||
"name" : "Directional EMP",
|
||||
"active" : true,
|
||||
"cost" : 4,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Mounted in the palms of your hand are small parabolic EMP field generators. You may use power to fire a short-ranged blast which will disable electronics and robots."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_hydraulics",
|
||||
"name" : "Hydraulic Muscles",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 3,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "While activated, the muscles in your arms will be greatly enhanced, increasing your strength by 20."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_water_extractor",
|
||||
"name" : "Water Extraction Unit",
|
||||
"active" : true,
|
||||
"cost" : 2,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Nanotubes embedded in the palm of your hand will pump any available fluid out of a dead body, cleanse it of impurities and convert it into drinkable water. You must, however, have a container to store the water in."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_magnet",
|
||||
"name" : "Electromagnetic Unit",
|
||||
"active" : true,
|
||||
"cost" : 2,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Embedded in your hand is a powerful electromagnet, allowing you to pull items made of iron over short distances."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_fingerhack",
|
||||
"name" : "Fingerhack",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "One of your fingers has an electrohack embedded in it; an all-purpose hacking unit used to override control panels and the like (but not computers). Skill in computers is important, and a failed use may damage your circuits."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_lockpick",
|
||||
"name" : "Fingerpick",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "One of your fingers has an electronic lockpick embedded in it. This automatic system will quickly unlock all but the most advanced key locks without any skill required on the part of the user."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_ground_sonar",
|
||||
"name" : "Terranian Sonar",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 5,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Your feet are equipped with precision sonar equipment, allowing you to detect the movements of creatures below the ground."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_power_armor_interface",
|
||||
"name" : "Power Armor Interface",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 10,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Interfaces your power system with the internal charging port on suits of power armor."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_power_armor_interface_mkII",
|
||||
"name" : "Power Armor Interface Mk. II",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 50,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Interfaces your power system with the internal charging port on suits of power armor. The Mk. II was designed by DoubleTech Inc., to meet the popularity of the Mk. II power armor series."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_flashbang",
|
||||
"name" : "Flashbang Generator",
|
||||
"active" : true,
|
||||
"cost" : 5,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Light emitting diodes integrated into your skin can release a flash comparable to a flashbang grenade, blinding nearby enemies. Speakers integrated into your body mimic the loud sound, deafening those nearby."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_railgun",
|
||||
"name" : "Railgun",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 100,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "EM field generators in your arms double the range and damage of thrown iron and steel objects at a cost of 1 power per throw, causing them to leave a trail of electricity that can cause additional damage."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_probability_travel",
|
||||
"name" : "Probability Travel",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 100,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Increases your body's wavelength, allowing you to quantum tunnel through walls, reappearing on the other side. Power drain in standby is minimal, but each tile tunneled through costs 10 bionic power."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_shockwave",
|
||||
"name" : "Shockwave Generator",
|
||||
"active" : true,
|
||||
"cost" : 10,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "You generate a powerful shockwave, knocking back all nearby creatures. Targets are stunned briefly, take damage and additional stun upon impact with impassable terrain, and knockback any creatures they collide with."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_chain_lightning",
|
||||
"name" : "Chain Lightning",
|
||||
"active" : true,
|
||||
"cost" : 5,
|
||||
"time" : 0,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Your body is equipped with a chain lightning generator, allowing you to emit a blast of lightning at a target, leaving a trail of lightning in its wake, jumping to additional targets within 4 tiles of the previous target."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_night",
|
||||
"name" : "Artificial Night Generator",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 2,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Destructive interference eliminates all light within a 15 tile radius."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_uncanny_dodge",
|
||||
"name" : "Uncanny Dodge",
|
||||
"active" : true,
|
||||
"cost" : 1,
|
||||
"time" : 10,
|
||||
"flags" : ["ACTIVE"],
|
||||
"description": "Your nervous system has been augmented with bionic processors, allowing you to dodge attacks beyond normal human capability, including bullets."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_dis_shock",
|
||||
"name" : "Electrical Discharge",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"flags" : ["FAULTY"],
|
||||
"faulty" : true,
|
||||
"description": "A malfunctioning bionic which occasionally discharges electricity through your body, causing pain and brief paralysis but no damage."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_dis_acid",
|
||||
"name" : "Acidic Discharge",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"flags" : ["FAULTY"],
|
||||
"faulty" : true,
|
||||
"description": "A malfunctioning bionic which occasionally discharges acid into your muscles, causing sharp pain and minor damage."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_drain",
|
||||
"name" : "Electrical Drain",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"flags" : ["FAULTY"],
|
||||
"faulty" : true,
|
||||
"description": "A malfunctioning bionic. It doesn't perform any useful function, but will occasionally draw power from your batteries."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_noise",
|
||||
"name" : "Noisemaker",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"flags" : ["FAULTY"],
|
||||
"faulty" : true,
|
||||
"description": "A malfunctioning bionic. It will occasionally emit a loud burst of noise."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_power_weakness",
|
||||
"name" : "Power Overload",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"flags" : ["FAULTY"],
|
||||
"faulty" : true,
|
||||
"description": "Damaged power circuits cause short-circuiting inside your muscles when your batteries are above 75%%%% capacity, causing greatly reduced strength. This has no effect if you have no internal batteries."
|
||||
},
|
||||
{
|
||||
"type" : "bionic",
|
||||
"id" : "bio_stiff",
|
||||
"name" : "Wire-induced Stiffness",
|
||||
"cost" : 0,
|
||||
"time" : 0,
|
||||
"flags" : ["FAULTY"],
|
||||
"faulty" : true,
|
||||
"description": "Improperly installed wires cause a physical stiffness in most of your body, causing increased encumbrance."
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,21 @@
|
||||
[
|
||||
{
|
||||
"type" : "colordef",
|
||||
"BLACK" : [0,0,0],
|
||||
"RED" : [255,0,0],
|
||||
"GREEN" : [0,110,0],
|
||||
"BROWN" : [92,51,23],
|
||||
"BLUE" : [0,0,200],
|
||||
"MAGENTA" : [139,58,98],
|
||||
"CYAN" : [0,150,180],
|
||||
"GRAY" : [150,150,150],
|
||||
"DGRAY" : [99,99,99],
|
||||
"LRED" : [255,150,150],
|
||||
"LGREEN" : [0,255,0],
|
||||
"YELLOW" : [255,255,0],
|
||||
"LBLUE" : [100,100,255],
|
||||
"LMAGENTA" : [255,0,255],
|
||||
"LCYAN" : [0,240,255],
|
||||
"WHITE" : [255,255,255]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,363 @@
|
||||
[
|
||||
{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a strange dream about lizards.",
|
||||
"Your dreams give you a strange scaly feeling."
|
||||
],
|
||||
"category" : "MUTCAT_LIZARD",
|
||||
"strength" : 1
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a strange dream about being a patient in a frightening hospital.",
|
||||
"Your dreams give you an oddly medicated feeling."
|
||||
],
|
||||
"category" : "MUTCAT_MEDICAL",
|
||||
"strength" : 1
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a strange dream about birds.",
|
||||
"Your dreams give you a strange feathered feeling."
|
||||
],
|
||||
"category" : "MUTCAT_BIRD",
|
||||
"strength" : 1
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a strange dream about fish.",
|
||||
"Your dreams give you a strange wet, scaly feeling."
|
||||
],
|
||||
"category" : "MUTCAT_FISH",
|
||||
"strength" : 1
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a strange dream about animals.",
|
||||
"Your dreams give you a strange furry feeling."
|
||||
],
|
||||
"category" : "MUTCAT_BEAST",
|
||||
"strength" : 1
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a strange dream about cattle.",
|
||||
"Your dreams give you a strange content, furry feeling."
|
||||
],
|
||||
"category" : "MUTCAT_CATTLE",
|
||||
"strength" : 1
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a strange dream about insects.",
|
||||
"Your dreams give you a strange chitinous feeling."
|
||||
],
|
||||
"category" : "MUTCAT_INSECT",
|
||||
"strength" : 1
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a strange dream about plants.",
|
||||
"Your dreams give you a strange plantlike feeling."
|
||||
],
|
||||
"category" : "MUTCAT_PLANT",
|
||||
"strength" : 1
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a strange dream about slime.",
|
||||
"Your dreams give you a strange slimy feeling."
|
||||
],
|
||||
"category" : "MUTCAT_SLIME",
|
||||
"strength" : 1
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a strange dream about living in a cave.",
|
||||
"Your dreams give a strange reclusive feeling."
|
||||
],
|
||||
"category" : "MUTCAT_TROGLO",
|
||||
"strength" : 1
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a strange dream about sea creatures.",
|
||||
"Your dreams give you a strange wet feeling."
|
||||
],
|
||||
"category" : "MUTCAT_CEPHALOPOD",
|
||||
"strength" : 1
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a strange dream about spiders.",
|
||||
"Your dreams give you a strange webbed feeling."
|
||||
],
|
||||
"category" : "MUTCAT_SPIDER",
|
||||
"strength" : 1
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a strange dream about rats.",
|
||||
"Your dreams give you a strange fuzzy feeling."
|
||||
],
|
||||
"category" : "MUTCAT_RAT",
|
||||
"strength" : 1
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a strange dream.",
|
||||
"You feel...OK."
|
||||
],
|
||||
"category" : "MUTCAT_ALPHA",
|
||||
"strength" : 1
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You dream about the zoo, for some reason.",
|
||||
"Your dreams...are complex and multifaceted."
|
||||
],
|
||||
"category" : "MUTCAT_CHIMERA",
|
||||
"strength" : 1
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a disturbing dream of bathing in the sun on a rock.",
|
||||
"While dreaming, you see a distinctively lizard-like reflection of yourself."
|
||||
],
|
||||
"category" : "MUTCAT_LIZARD",
|
||||
"strength" : 2
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a disturbing dream of undergoing strange medical procedures.",
|
||||
"While dreaming, you see yourself dressed in a hospital gown, receiving treatment."
|
||||
],
|
||||
"category" : "MUTCAT_MEDICAL",
|
||||
"strength" : 2
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have strange dreams of soaring through the sky.",
|
||||
"In a dream, you see a curiously birdlike reflection of yourself."
|
||||
],
|
||||
"category" : "MUTCAT_BIRD",
|
||||
"strength" : 2
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You dream of swimming in the open ocean",
|
||||
"In your dream, you see a strangely fishlike image of yourself."
|
||||
],
|
||||
"category" : "MUTCAT_FISH",
|
||||
"strength" : 2
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a vivid dream of hunting in the woods.",
|
||||
"Whilst dreaming, you see a disturbingly bestial version of yourself."
|
||||
],
|
||||
"category" : "MUTCAT_BEAST",
|
||||
"strength" : 2
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You dream of grazing in an open field.",
|
||||
"In a dream you catch a glimpse of a strangely cattle-like image of yourself."
|
||||
],
|
||||
"category" : "MUTCAT_CATTLE",
|
||||
"strength" : 2
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a dream of working in a hive.",
|
||||
"While dreaming you look into a mirror and see a frighteningly insectoid reflection."
|
||||
],
|
||||
"category" : "MUTCAT_INSECT",
|
||||
"strength" : 2
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a confusing dream of growing in a garden.",
|
||||
"You are confused by a plantlike image of yourself in a dream."
|
||||
],
|
||||
"category" : "MUTCAT_PLANT",
|
||||
"strength" : 2
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a strange dream of living in sludge.",
|
||||
"In your dream you see an odd, slimy reflection of yourself."
|
||||
],
|
||||
"category" : "MUTCAT_SLIME",
|
||||
"strength" : 2
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You dream of living deep inside a dark cave.",
|
||||
"You dream of being a primitive cave dweller."
|
||||
],
|
||||
"category" : "MUTCAT_TROGLO",
|
||||
"strength" : 2
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You dream of living on the ocean floor.",
|
||||
"While dreaming, a reflection of yourself appears almost like an octopus."
|
||||
],
|
||||
"category" : "MUTCAT_CEPHALOPOD",
|
||||
"strength" : 2
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a strange dream of spinning webs",
|
||||
"In your dream you see a very spiderlike version of yourself."
|
||||
],
|
||||
"category" : "MUTCAT_SPIDER",
|
||||
"strength" : 2
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You vividly dream of living in the sewers.",
|
||||
"In your dream you see a group of rats that look almost like yourself."
|
||||
],
|
||||
"category" : "MUTCAT_RAT",
|
||||
"strength" : 2
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You dream of having that success you knew you deserved, back before all this.",
|
||||
"Your dream-self looks competent and in control."
|
||||
],
|
||||
"category" : "MUTCAT_ALPHA",
|
||||
"strength" : 2
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You can't quite work out what the dream is about...it just keeps changing.",
|
||||
"Your dream is filled with creatures, and yet all seem like you."
|
||||
],
|
||||
"category" : "MUTCAT_CHIMERA",
|
||||
"strength" : 2
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You are terrified by a dream of becoming a lizard hybrid.",
|
||||
"You have a disturbingly lifelike dream of living as a lizard."
|
||||
],
|
||||
"category" : "MUTCAT_LIZARD",
|
||||
"strength" : 3
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a dream of doctors and nurses doing unnatural things to your body, which brings you perverse pleasure.",
|
||||
"You have a vivid dream of being a medical anomaly, as your heartbeat syncs with the steady drip of an IV line."
|
||||
],
|
||||
"category" : "MUTCAT_MEDICAL",
|
||||
"strength" : 3
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a realistic dream of flying south with your flock for the winter.",
|
||||
"You are disturbed when your birdlike dreams are more lifelike than reality."
|
||||
],
|
||||
"category" : "MUTCAT_BIRD",
|
||||
"strength" : 3
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a disturbing dream of swimming with a school of fish.",
|
||||
"When you wake up you panic about drowning from being out of water."
|
||||
],
|
||||
"category" : "MUTCAT_FISH",
|
||||
"strength" : 3
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You vividly dream of running with your pack, hunting a wild animal.",
|
||||
"A terrifyingly real dream has you killing game with your bare teeth."
|
||||
],
|
||||
"category" : "MUTCAT_BEAST",
|
||||
"strength" : 3
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You terrifyingly dream of being led to a slaughterhouse by a farmer.",
|
||||
"You find it hard to wake from a vivid dream of grazing on a farm."
|
||||
],
|
||||
"category" : "MUTCAT_CATTLE",
|
||||
"strength" : 3
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You are terrified by a dream of serving the hive queen mindlessly.",
|
||||
"Your disturbingly lifelike dream has you pollinating plants."
|
||||
],
|
||||
"category" : "MUTCAT_INSECT",
|
||||
"strength" : 3
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You have a confusing and scary dream of becoming a plant.",
|
||||
"The transition from your lifelike dreams of living as a plant to reality shocks you."
|
||||
],
|
||||
"category" : "MUTCAT_PLANT",
|
||||
"strength" : 3
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"Your vivid dream of living as a slime blob frightens you.",
|
||||
"You find it hard to control your limbs after dreaming of amorphous blob life."
|
||||
],
|
||||
"category" : "MUTCAT_SLIME",
|
||||
"strength" : 3
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"Your dream of living in the dark for years is almost real.",
|
||||
"You are frightened of the outside after your vivid dream of cave life."
|
||||
],
|
||||
"category" : "MUTCAT_TROGLO",
|
||||
"strength" : 3
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"Your dreams of living on the ocean floor seem more lifelike than reality.",
|
||||
"You dream of living as a terrifying octopus mutant."
|
||||
],
|
||||
"category" : "MUTCAT_CEPHALOPOD",
|
||||
"strength" : 3
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You vividly dream of living in a web and consuming insects.",
|
||||
"Your dreams of fully turning into a spider frighten you."
|
||||
],
|
||||
"category" : "MUTCAT_SPIDER",
|
||||
"strength" : 3
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You scream in fear while you dream of being chased by a cat",
|
||||
"Your lifelike dreams have you scavenging food with a pack of rats."
|
||||
],
|
||||
"category" : "MUTCAT_RAT",
|
||||
"strength" : 3
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You see yourself, five years from now, as the leader of a successful city.",
|
||||
"Your success in restoring civilization was only a dream. For now."
|
||||
],
|
||||
"category" : "MUTCAT_ALPHA",
|
||||
"strength" : 3
|
||||
},{
|
||||
"type" : "dream",
|
||||
"messages" : [
|
||||
"You are many animals, and yet one.",
|
||||
"Hoof. Talon. Tooth. Fight. Feed. Forward."
|
||||
],
|
||||
"category" : "MUTCAT_CHIMERA",
|
||||
"strength" : 3
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,769 @@
|
||||
[
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_null",
|
||||
"name": "nothing",
|
||||
"symbol": " ",
|
||||
"color": "white",
|
||||
"move_cost_mod": 0,
|
||||
"required_str": -1,
|
||||
"flags": ["TRANSPARENT"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_hay",
|
||||
"name": "hay",
|
||||
"symbol": "#",
|
||||
"bgcolor": "brown",
|
||||
"move_cost_mod": 3,
|
||||
"required_str": 6,
|
||||
"flags": ["TRANSPARENT", "CONTAINER", "FLAMMABLE_ASH", "ORGANIC"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_bulletin",
|
||||
"name": "bulletin board",
|
||||
"symbol": "6",
|
||||
"color": "blue",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": -1,
|
||||
"flags": ["BASHABLE", "FLAMMABLE", "NOITEM", "DECONSTRUCT", "ORGANIC"],
|
||||
"examine_action": "bulletin_board",
|
||||
"bash": {
|
||||
"str_min": 3, "str_max": 45,
|
||||
"sound": "smash!",
|
||||
"sound_fail": "whump.",
|
||||
"items": [
|
||||
{ "item": "2x4", "amount": 6, "minamount": 2},
|
||||
{ "item": "nail", "amount": 12, "minamount": 4},
|
||||
{ "item": "splinter", "amount": 1 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_indoor_plant",
|
||||
"name": "indoor plant",
|
||||
"symbol": "^",
|
||||
"color": "green",
|
||||
"move_cost_mod": 2,
|
||||
"required_str": 5,
|
||||
"flags": ["CONTAINER", "BASHABLE", "PLACE_ITEM", "ORGANIC"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_bed",
|
||||
"name": "bed",
|
||||
"symbol": "#",
|
||||
"color": "magenta",
|
||||
"move_cost_mod": 3,
|
||||
"required_str": -1,
|
||||
"flags": ["TRANSPARENT", "CONTAINER", "FLAMMABLE_ASH", "DECONSTRUCT", "PLACE_ITEM", "ORGANIC"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_toilet",
|
||||
"name": "toilet",
|
||||
"symbol": "&",
|
||||
"color": "white",
|
||||
"move_cost_mod": 2,
|
||||
"required_str": 18,
|
||||
"flags": ["TRANSPARENT", "BASHABLE", "FLAMMABLE_HARD"],
|
||||
"examine_action": "toilet",
|
||||
"bash": {
|
||||
"str_min": 2, "str_max": 30,
|
||||
"comment": "originally result = dice(8, 4) - 8;",
|
||||
"sound": "porcelain breaking!",
|
||||
"sound_fail": "whunk!",
|
||||
"items": [
|
||||
{ "item": "cu_pipe", "amount": 1, "minamount": 0 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_makeshift_bed",
|
||||
"name": "makeshift bed",
|
||||
"symbol": "#",
|
||||
"color": "magenta",
|
||||
"move_cost_mod": 3,
|
||||
"required_str": 12,
|
||||
"flags": ["TRANSPARENT", "BASHABLE", "FLAMMABLE_ASH", "DECONSTRUCT", "ORGANIC"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_sink",
|
||||
"name": "sink",
|
||||
"symbol": "&",
|
||||
"color": "white",
|
||||
"move_cost_mod": 2,
|
||||
"required_str": 18,
|
||||
"flags": ["TRANSPARENT", "BASHABLE", "FLAMMABLE_HARD", "CONTAINER", "PLACE_ITEM"],
|
||||
"bash": {
|
||||
"str_min": 2, "str_max": 30,
|
||||
"comment": "originally result = dice(8, 4) - 8;",
|
||||
"sound": "porcelain breaking!",
|
||||
"sound_fail": "whunk!",
|
||||
"items": [
|
||||
{ "item": "cu_pipe", "amount": 1, "minamount": 0 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_oven",
|
||||
"name": "oven",
|
||||
"symbol": "#",
|
||||
"color": "dkgray",
|
||||
"move_cost_mod": 2,
|
||||
"required_str": 10,
|
||||
"flags": ["BASHABLE", "DECONSTRUCT", "PLACE_ITEM", "TRANSPARENT", "FIRE_CONTAINER", "CONTAINER", "BLOCKSDOOR"],
|
||||
"bash": {
|
||||
"str_min": 2, "str_max": 30,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
"items": [
|
||||
{ "item": "scrap", "amount": 6, "minamount": 0},
|
||||
{ "item": "steel_chunk", "amount": 3, "minamount": 0},
|
||||
{ "item": "element", "amount": 3, "minamount": 1},
|
||||
{ "item": "sheet_metal", "amount": 6, "minamount": 2},
|
||||
{ "item": "cable", "amount": 3, "minamount": 1},
|
||||
{ "item": "pilot_light", "amount": 1 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_woodstove",
|
||||
"name": "wood stove",
|
||||
"symbol": "#",
|
||||
"bgcolor": "red",
|
||||
"move_cost_mod": 2,
|
||||
"required_str": 10,
|
||||
"flags": ["TRANSPARENT", "CONTAINER", "FIRE_CONTAINER", "SUPPRESS_SMOKE", "PLACE_ITEM"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_fireplace",
|
||||
"name": "fireplace",
|
||||
"symbol": "#",
|
||||
"bgcolor": "white",
|
||||
"move_cost_mod": 2,
|
||||
"required_str": -1,
|
||||
"flags": ["TRANSPARENT", "CONTAINER", "FIRE_CONTAINER", "SUPPRESS_SMOKE", "PLACE_ITEM"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_bathtub",
|
||||
"name": "bathtub",
|
||||
"symbol": "~",
|
||||
"color": "white",
|
||||
"move_cost_mod": 2,
|
||||
"required_str": 10,
|
||||
"flags": ["TRANSPARENT", "BASHABLE", "FLAMMABLE_HARD", "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR"],
|
||||
"bash": {
|
||||
"str_min": 2, "str_max": 30,
|
||||
"comment": "originally result = dice(8, 4) - 8;",
|
||||
"sound": "porcelain breaking!",
|
||||
"sound_fail": "whunk!",
|
||||
"items": [
|
||||
{ "item": "cu_pipe", "amount": 1, "minamount": 0 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_chair",
|
||||
"name": "chair",
|
||||
"symbol": "#",
|
||||
"color": "brown",
|
||||
"move_cost_mod": 1,
|
||||
"required_str": 6,
|
||||
"flags": ["TRANSPARENT", "FLAMMABLE_ASH", "DECONSTRUCT", "ORGANIC"],
|
||||
"bash": {
|
||||
"str_min": 2, "str_max": 30,
|
||||
"sound": "smash!",
|
||||
"sound_fail": "whump.",
|
||||
"items": [
|
||||
{ "item": "2x4", "amount": 3, "minamount": 1},
|
||||
{ "item": "nail", "amount": 6, "minamount": 2},
|
||||
{ "item": "splinter", "amount": 1 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_armchair",
|
||||
"name": "arm chair",
|
||||
"symbol": "H",
|
||||
"color": "green",
|
||||
"move_cost_mod": 1,
|
||||
"required_str": 7,
|
||||
"flags": ["TRANSPARENT", "FLAMMABLE_ASH", "DECONSTRUCT", "ORGANIC"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_sofa",
|
||||
"name": "sofa",
|
||||
"symbol": "H",
|
||||
"bgcolor": "red",
|
||||
"move_cost_mod": 1,
|
||||
"required_str": 10,
|
||||
"flags": ["TRANSPARENT", "FLAMMABLE_ASH", "DECONSTRUCT", "ORGANIC", "BLOCKSDOOR"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_cupboard",
|
||||
"name": "cupboard",
|
||||
"symbol": "#",
|
||||
"color": "blue",
|
||||
"move_cost_mod": 1,
|
||||
"required_str": 8,
|
||||
"flags": ["TRANSPARENT", "FLAMMABLE_ASH", "DECONSTRUCT", "CONTAINER", "PLACE_ITEM", "ORGANIC"],
|
||||
"bash": {
|
||||
"str_min": 2, "str_max": 30,
|
||||
"sound": "smash!",
|
||||
"sound_fail": "whump.",
|
||||
"items": [
|
||||
{ "item": "2x4", "amount": 3, "minamount": 1},
|
||||
{ "item": "nail", "amount": 6, "minamount": 2},
|
||||
{ "item": "splinter", "amount": 1 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_trashcan",
|
||||
"name": "trash can",
|
||||
"symbol": "&",
|
||||
"color": "ltcyan",
|
||||
"move_cost_mod": 1,
|
||||
"required_str": 5,
|
||||
"flags": ["TRANSPARENT", "FLAMMABLE_ASH", "CONTAINER", "PLACE_ITEM"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_desk",
|
||||
"name": "desk",
|
||||
"symbol": "#",
|
||||
"color": "ltred",
|
||||
"move_cost_mod": 1,
|
||||
"required_str": 8,
|
||||
"flags": ["TRANSPARENT", "FLAMMABLE_ASH", "DECONSTRUCT", "CONTAINER", "PLACE_ITEM", "ORGANIC"],
|
||||
"bash": {
|
||||
"str_min": 2, "str_max": 30,
|
||||
"sound": "smash!",
|
||||
"sound_fail": "whump.",
|
||||
"items": [
|
||||
{ "item": "2x4", "amount": 3, "minamount": 1},
|
||||
{ "item": "nail", "amount": 6, "minamount": 2},
|
||||
{ "item": "splinter", "amount": 1 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_exercise",
|
||||
"name": "exercise machine",
|
||||
"symbol": "T",
|
||||
"color": "dkgray",
|
||||
"move_cost_mod": 1,
|
||||
"required_str": 8,
|
||||
"flags": ["TRANSPARENT", "DECONSTRUCT"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_bench",
|
||||
"name": "bench",
|
||||
"symbol": "#",
|
||||
"color": "brown",
|
||||
"move_cost_mod": 1,
|
||||
"required_str": 8,
|
||||
"flags": ["TRANSPARENT", "FLAMMABLE_ASH", "DECONSTRUCT", "ORGANIC"],
|
||||
"bash": {
|
||||
"str_min": 2, "str_max": 30,
|
||||
"sound": "smash!",
|
||||
"sound_fail": "whump.",
|
||||
"items": [
|
||||
{ "item": "2x4", "amount": 3, "minamount": 1},
|
||||
{ "item": "nail", "amount": 6, "minamount": 2},
|
||||
{ "item": "splinter", "amount": 1 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_table",
|
||||
"name": "table",
|
||||
"symbol": "#",
|
||||
"color": "red",
|
||||
"move_cost_mod": 2,
|
||||
"required_str": 9,
|
||||
"flags": ["TRANSPARENT", "FLAMMABLE", "DECONSTRUCT", "ORGANIC"],
|
||||
"bash": {
|
||||
"str_min": 3, "str_max": 45,
|
||||
"sound": "smash!",
|
||||
"sound_fail": "whump.",
|
||||
"items": [
|
||||
{ "item": "2x4", "amount": 6, "minamount": 2},
|
||||
{ "item": "nail", "amount": 12, "minamount": 4},
|
||||
{ "item": "splinter", "amount": 1 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_pool_table",
|
||||
"name": "pool table",
|
||||
"symbol": "#",
|
||||
"color": "green",
|
||||
"move_cost_mod": 2,
|
||||
"required_str": -1,
|
||||
"flags": ["TRANSPARENT", "FLAMMABLE", "DECONSTRUCT", "ORGANIC"],
|
||||
"bash": {
|
||||
"str_min": 3, "str_max": 45,
|
||||
"sound": "smash!",
|
||||
"sound_fail": "whump.",
|
||||
"items": [
|
||||
{ "item": "2x4", "amount": 6, "minamount": 2},
|
||||
{ "item": "nail", "amount": 12, "minamount": 4},
|
||||
{ "item": "splinter", "amount": 1 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_counter",
|
||||
"name": "counter",
|
||||
"symbol": "#",
|
||||
"color": "blue",
|
||||
"move_cost_mod": 2,
|
||||
"required_str": 10,
|
||||
"flags": ["TRANSPARENT", "FLAMMABLE", "DECONSTRUCT", "ORGANIC"],
|
||||
"bash": {
|
||||
"str_min": 3, "str_max": 45,
|
||||
"sound": "smash!",
|
||||
"sound_fail": "whump.",
|
||||
"items": [
|
||||
{ "item": "2x4", "amount": 6, "minamount": 2},
|
||||
{ "item": "nail", "amount": 12, "minamount": 4},
|
||||
{ "item": "splinter", "amount": 1 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_fridge",
|
||||
"name": "refrigerator",
|
||||
"symbol": "{",
|
||||
"color": "ltcyan",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": 10,
|
||||
"flags": ["CONTAINER", "BASHABLE", "DECONSTRUCT", "PLACE_ITEM", "BLOCKSDOOR"],
|
||||
"bash": {
|
||||
"str_min": 2, "str_max": 30,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
"items": [
|
||||
{ "item": "scrap", "amount": 8, "minamount": 2},
|
||||
{ "item": "steel_chunk", "amount": 3, "minamount": 0},
|
||||
{ "item": "hose", "amount": 1},
|
||||
{ "item": "cu_pipe", "amount": 5, "minamount": 2 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_glass_fridge",
|
||||
"name": "glass door fridge",
|
||||
"symbol": "{",
|
||||
"color": "ltcyan",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": 10,
|
||||
"flags": ["BASHABLE", "DECONSTRUCT", "PLACE_ITEM", "BLOCKSDOOR"],
|
||||
"bash": {
|
||||
"str_min": 2, "str_max": 30,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
"items": [
|
||||
{ "item": "scrap", "amount": 8, "minamount": 2},
|
||||
{ "item": "steel_chunk", "amount": 3, "minamount": 0},
|
||||
{ "item": "hose", "amount": 1},
|
||||
{ "item": "cu_pipe", "amount": 5, "minamount": 2 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_dresser",
|
||||
"name": "dresser",
|
||||
"symbol": "{",
|
||||
"color": "brown",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": 8,
|
||||
"flags": ["TRANSPARENT", "CONTAINER", "FLAMMABLE", "BASHABLE", "DECONSTRUCT", "PLACE_ITEM", "ORGANIC", "BLOCKSDOOR"],
|
||||
"bash": {
|
||||
"str_min": 3, "str_max": 45,
|
||||
"sound": "smash!",
|
||||
"sound_fail": "whump.",
|
||||
"items": [
|
||||
{ "item": "2x4", "amount": 6, "minamount": 2},
|
||||
{ "item": "nail", "amount": 12, "minamount": 4},
|
||||
{ "item": "splinter", "amount": 1 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_locker",
|
||||
"name": "locker",
|
||||
"symbol": "{",
|
||||
"color": "ltgray",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": 9,
|
||||
"flags": ["CONTAINER", "BASHABLE", "PLACE_ITEM", "DECONSTRUCT", "BLOCKSDOOR"],
|
||||
"bash": {
|
||||
"str_min": 2, "str_max": 30,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
"items": [
|
||||
{ "item": "scrap", "amount": 8, "minamount": 2},
|
||||
{ "item": "steel_chunk", "amount": 3, "minamount": 0},
|
||||
{ "item": "pipe", "amount": 1 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_rack",
|
||||
"name": "display rack",
|
||||
"symbol": "{",
|
||||
"color": "ltgray",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": 8,
|
||||
"flags": ["TRANSPARENT", "FLAMMABLE_HARD", "BASHABLE", "PLACE_ITEM", "DECONSTRUCT", "BLOCKSDOOR"],
|
||||
"bash": {
|
||||
"str_min": 2, "str_max": 30,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
"items": [
|
||||
{ "item": "scrap", "amount": 8, "minamount": 2},
|
||||
{ "item": "steel_chunk", "amount": 3, "minamount": 0},
|
||||
{ "item": "pipe", "amount": 1 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_bookcase",
|
||||
"name": "book case",
|
||||
"symbol": "{",
|
||||
"color": "brown",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": 9,
|
||||
"flags": ["FLAMMABLE", "BASHABLE", "DECONSTRUCT", "PLACE_ITEM", "ORGANIC", "BLOCKSDOR"],
|
||||
"bash": {
|
||||
"str_min": 3, "str_max": 45,
|
||||
"sound": "smash!",
|
||||
"sound_fail": "whump.",
|
||||
"items": [
|
||||
{ "item": "2x4", "amount": 6, "minamount": 2},
|
||||
{ "item": "nail", "amount": 12, "minamount": 4},
|
||||
{ "item": "splinter", "amount": 1 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_washer",
|
||||
"name": "washing machine",
|
||||
"symbol": "{",
|
||||
"bgcolor": "white",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": 16,
|
||||
"flags": ["CONTAINER", "BASHABLE", "PLACE_ITEM", "BLOCKSDOOR"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_dryer",
|
||||
"name": "dryer",
|
||||
"symbol": "{",
|
||||
"bgcolor": "white",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": 16,
|
||||
"flags": ["CONTAINER", "BASHABLE", "PLACE_ITEM", "BLOCKSDOOR"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_dumpster",
|
||||
"name": "dumpster",
|
||||
"symbol": "{",
|
||||
"color": "green",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": 16,
|
||||
"flags": ["CONTAINER", "BASHABLE", "PLACE_ITEM", "BLOCKSDOOR"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_dive_block",
|
||||
"name": "diving block",
|
||||
"symbol": "O",
|
||||
"color": "ltgray",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": 16,
|
||||
"flags": ["TRANSPARENT"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_crate_c",
|
||||
"name": "crate",
|
||||
"symbol": "X",
|
||||
"bgcolor": "brown",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": 14,
|
||||
"flags": ["TRANSPARENT", "BASHABLE", "CONTAINER", "SEALED", "FLAMMABLE", "DECONSTRUCT", "PLACE_ITEM", "ORGANIC"],
|
||||
"bash": {
|
||||
"str_min": 1, "str_max": 20,
|
||||
"sound": "smash!",
|
||||
"sound_fail": "wham!",
|
||||
"items": [
|
||||
{ "item": "2x4", "amount": 5, "minamount": 1},
|
||||
{ "item": "nail", "amount": 10, "minamount": 2 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_crate_o",
|
||||
"name": "open crate",
|
||||
"symbol": "O",
|
||||
"bgcolor": "brown",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": 12,
|
||||
"flags": ["TRANSPARENT", "BASHABLE", "CONTAINER", "FLAMMABLE", "PLACE_ITEM", "ORGANIC"],
|
||||
"bash": {
|
||||
"str_min": 1, "str_max": 20,
|
||||
"sound": "smash!",
|
||||
"sound_fail": "wham!",
|
||||
"items": [
|
||||
{ "item": "2x4", "amount": 5, "minamount": 1},
|
||||
{ "item": "nail", "amount": 10, "minamount": 2 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_canvas_wall",
|
||||
"name": "canvas wall",
|
||||
"symbol": "#",
|
||||
"color": "blue",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": -1,
|
||||
"flags": ["FLAMMABLE_HARD", "BASHABLE", "NOITEM"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_canvas_door",
|
||||
"name": "canvas flap",
|
||||
"symbol": "+",
|
||||
"color": "blue",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": -1,
|
||||
"flags": ["FLAMMABLE_HARD", "BASHABLE", "NOITEM"],
|
||||
"open": "f_canvas_door_o"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_canvas_door_o",
|
||||
"name": "open canvas flap",
|
||||
"symbol": ".",
|
||||
"color": "blue",
|
||||
"move_cost_mod": 0,
|
||||
"required_str": -1,
|
||||
"flags": ["TRANSPARENT"],
|
||||
"close": "f_canvas_door"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_groundsheet",
|
||||
"name": "groundsheet",
|
||||
"symbol": ";",
|
||||
"color": "green",
|
||||
"move_cost_mod": 0,
|
||||
"required_str": -1,
|
||||
"flags": ["TRANSPARENT", "INDOORS"],
|
||||
"examine_action": "tent"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_fema_groundsheet",
|
||||
"name": "groundsheet",
|
||||
"symbol": ";",
|
||||
"color": "green",
|
||||
"move_cost_mod": 0,
|
||||
"required_str": -1,
|
||||
"flags": ["TRANSPARENT", "INDOORS", "ORGANIC"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_skin_wall",
|
||||
"name": "animalskin wall",
|
||||
"symbol": "#",
|
||||
"color": "brown",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": -1,
|
||||
"flags": ["FLAMMABLE_HARD", "BASHABLE", "NOITEM"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_skin_door",
|
||||
"name": "animalskin flap",
|
||||
"symbol": "+",
|
||||
"color": "white",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": -1,
|
||||
"flags": ["FLAMMABLE_HARD", "BASHABLE", "NOITEM"],
|
||||
"open": "f_skin_door_o"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_skin_door_o",
|
||||
"name": "open animalskin flap",
|
||||
"symbol": ".",
|
||||
"color": "white",
|
||||
"move_cost_mod": 0,
|
||||
"required_str": -1,
|
||||
"flags": ["TRANSPARENT"],
|
||||
"close": "f_skin_door"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_skin_groundsheet",
|
||||
"name": "animalskin floor",
|
||||
"symbol": ";",
|
||||
"color": "brown",
|
||||
"move_cost_mod": 0,
|
||||
"required_str": -1,
|
||||
"flags": ["TRANSPARENT", "INDOORS"],
|
||||
"examine_action": "shelter"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_mutpoppy",
|
||||
"name": "mutated poppy flower",
|
||||
"symbol": "f",
|
||||
"color": "red",
|
||||
"move_cost_mod": 1,
|
||||
"required_str": -1,
|
||||
"flags": ["TRANSPARENT"],
|
||||
"examine_action": "flower_poppy"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_flower_fungal",
|
||||
"name": "fungal flower",
|
||||
"symbol": "f",
|
||||
"color": "dkgray",
|
||||
"move_cost_mod": 1,
|
||||
"required_str": -1,
|
||||
"flags": ["TRANSPARENT", "FLOWER", "FUNGUS"],
|
||||
"examine_action": "fungus"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_fungal_mass",
|
||||
"name": "fungal mass",
|
||||
"symbol": "O",
|
||||
"bgcolor": "dkgray",
|
||||
"move_cost_mod": -10,
|
||||
"required_str": -1,
|
||||
"flags": ["BASHABLE", "CONTAINER", "SEALED", "FLAMMABLE_ASH", "FUNGUS"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_fungal_clump",
|
||||
"name": "fungal clump",
|
||||
"symbol": "#",
|
||||
"bgcolor": "ltgray",
|
||||
"move_cost_mod": 3,
|
||||
"required_str": -1,
|
||||
"flags": ["TRANSPARENT", "BASHABLE", "CONTAINER", "SEALED", "FLAMMABLE_ASH", "FUNGUS"]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_safe_c",
|
||||
"name": "safe",
|
||||
"symbol": "X",
|
||||
"color": "ltgray",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": 14,
|
||||
"flags": ["TRANSPARENT", "BASHABLE", "CONTAINER", "SEALED", "PLACE_ITEM"],
|
||||
"open": "f_safe"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_safe_l",
|
||||
"name": "safe",
|
||||
"symbol": "X",
|
||||
"color": "ltgray",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": 14,
|
||||
"flags": ["TRANSPARENT", "BASHABLE", "CONTAINER", "SEALED", "PLACE_ITEM"],
|
||||
"examine_action": "safe"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_safe_o",
|
||||
"name": "open safe",
|
||||
"symbol": "O",
|
||||
"color": "ltgray",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": 14,
|
||||
"flags": ["TRANSPARENT", "BASHABLE", "CONTAINER", "PLACE_ITEM"],
|
||||
"close": "f_safe"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_plant_seed",
|
||||
"name": "seed",
|
||||
"symbol": "^",
|
||||
"color": "brown",
|
||||
"move_cost_mod": 0,
|
||||
"required_str": -1,
|
||||
"flags": ["PLANT", "SEALED", "TRANSPARENT", "CONTAINER", "NOITEM"],
|
||||
"examine_action": "aggie_plant"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_plant_seedling",
|
||||
"name": "seedling",
|
||||
"symbol": "^",
|
||||
"color": "green",
|
||||
"move_cost_mod": 0,
|
||||
"required_str": -1,
|
||||
"flags": ["PLANT", "SEALED", "TRANSPARENT", "CONTAINER", "NOITEM"],
|
||||
"examine_action": "aggie_plant"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_plant_mature",
|
||||
"name": "mature plant",
|
||||
"symbol": "#",
|
||||
"color": "green",
|
||||
"move_cost_mod": 0,
|
||||
"required_str": -1,
|
||||
"flags": ["PLANT", "SEALED", "TRANSPARENT", "CONTAINER", "NOITEM"],
|
||||
"examine_action": "aggie_plant"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_plant_harvest",
|
||||
"name": "harvestable plant",
|
||||
"symbol": "#",
|
||||
"color": "ltgreen",
|
||||
"move_cost_mod": 0,
|
||||
"required_str": -1,
|
||||
"flags": ["PLANT", "SEALED", "TRANSPARENT", "CONTAINER", "NOITEM"],
|
||||
"examine_action": "aggie_plant"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,478 @@
|
||||
[
|
||||
{
|
||||
"type": "profession",
|
||||
"description": "You are the bringer of nightmares, terror to children and adults everywhere.",
|
||||
"ident": "nightmare",
|
||||
"items": [
|
||||
"haunted_sweater",
|
||||
"haunted_pants",
|
||||
"knife_gloves",
|
||||
"boots_steel"
|
||||
],
|
||||
"name": "Dream Stalker",
|
||||
"points": 0,
|
||||
"skills": [
|
||||
{
|
||||
"level": 8,
|
||||
"name": "melee"
|
||||
},
|
||||
{
|
||||
"level": 8,
|
||||
"name": "dodge"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type" : "profession",
|
||||
"ident": "agent",
|
||||
"name": "Agent",
|
||||
"description": "You look entirely too put together for the situation, with a spotless suit and sunglasses.",
|
||||
"items":[
|
||||
"dress_shoes",
|
||||
"rm99_pistol",
|
||||
"8mm_inc",
|
||||
"8mm_inc",
|
||||
"8mm_inc",
|
||||
"advanced_suit",
|
||||
"sunglasses"
|
||||
],
|
||||
"CBMs":[
|
||||
"bio_torsionratchet",
|
||||
"bio_furnace",
|
||||
"bio_ears",
|
||||
"bio_eye_enhancer",
|
||||
"bio_dex_enhancer",
|
||||
"bio_str_enhancer",
|
||||
"bio_int_enhancer",
|
||||
"bio_probability_travel",
|
||||
"bio_ethanol",
|
||||
"bio_power_storage_mkII",
|
||||
"bio_power_storage_mkII"
|
||||
],
|
||||
"points": 0,
|
||||
"skills": [
|
||||
{
|
||||
"level": 8,
|
||||
"name": "gun"
|
||||
},
|
||||
{
|
||||
"level": 8,
|
||||
"name": "dodge"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type" : "profession",
|
||||
"ident": "terminator",
|
||||
"name": "Terminator",
|
||||
"description": "YOUR MISSION IS TO FIND AND PROTECT <ERROR: DATA EXPUNGED>.",
|
||||
"items":[
|
||||
"rm51_assault_rifle",
|
||||
"8mm_inc",
|
||||
"8mm_inc",
|
||||
"8mm_inc"
|
||||
],
|
||||
"CBMs":[
|
||||
"bio_torsionratchet",
|
||||
"bio_furnace",
|
||||
"bio_flashbang",
|
||||
"bio_ods",
|
||||
"bio_armor_legs",
|
||||
"bio_armor_arms",
|
||||
"bio_armor_torso",
|
||||
"bio_armor_head",
|
||||
"bio_carbon",
|
||||
"bio_chain_lightning",
|
||||
"bio_hydraulics",
|
||||
"bio_nanobots",
|
||||
"bio_eye_enhancer",
|
||||
"bio_dex_enhancer",
|
||||
"bio_str_enhancer",
|
||||
"bio_power_storage_mkII",
|
||||
"bio_power_storage_mkII",
|
||||
"bio_power_storage_mkII",
|
||||
"bio_power_storage_mkII"
|
||||
],
|
||||
"points": 0,
|
||||
"skills": [
|
||||
{
|
||||
"level": 4,
|
||||
"name": "gun"
|
||||
},
|
||||
{
|
||||
"level": 12,
|
||||
"name": "melee"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "killer_clown",
|
||||
"name": "Killer Clown",
|
||||
"description": "THEY FLOAT, THEY ALL FLOAT.",
|
||||
"points": 0,
|
||||
"items": [
|
||||
"clown_suit",
|
||||
"clownshoes",
|
||||
"lethal_balloon"
|
||||
],
|
||||
"skills": [
|
||||
{
|
||||
"level": 4,
|
||||
"name": "dodge"
|
||||
},
|
||||
{
|
||||
"level": 5,
|
||||
"name": "melee"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "ghost",
|
||||
"name": "Ghost",
|
||||
"description": "You are a spooky ghost. The spookiest.",
|
||||
"points": 0,
|
||||
"items": [
|
||||
"ghost_sheet"
|
||||
],
|
||||
"skills": [
|
||||
{
|
||||
"level": 30,
|
||||
"name": "dodge"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type" : "ARMOR",
|
||||
"id" : "haunted_sweater",
|
||||
"name" : "haunted sweater",
|
||||
"weight" : 1450,
|
||||
"color" : "dark_gray",
|
||||
"covers" : ["TORSO", "ARMS"],
|
||||
"to_hit" : 1,
|
||||
"storage" : 8,
|
||||
"symbol" : "[",
|
||||
"description" : "A simple striped sweater, it awakens disturbing feelings deep within you.",
|
||||
"price" : 150,
|
||||
"material" : ["leather", "null"],
|
||||
"volume" : 18,
|
||||
"cutting" : 0,
|
||||
"warmth" : 30,
|
||||
"phase" : "solid",
|
||||
"enviromental_protection" : 2,
|
||||
"encumbrance" : 1,
|
||||
"bashing" : -2,
|
||||
"flags" : ["VARSIZE"],
|
||||
"coverage" : 100,
|
||||
"material_thickness" : 8
|
||||
},
|
||||
{
|
||||
"type" : "ARMOR",
|
||||
"id" : "haunted_pants",
|
||||
"name" : "haunted leather pants",
|
||||
"weight" : 980,
|
||||
"color" : "dark_gray",
|
||||
"covers" : ["LEGS"],
|
||||
"to_hit" : 1,
|
||||
"storage" : 4,
|
||||
"symbol" : "[",
|
||||
"description" : "A pair of black leather pants, they remind you of traumas you experienced as a child.",
|
||||
"price" : 210,
|
||||
"material" : ["leather", "null"],
|
||||
"volume" : 10,
|
||||
"cutting" : 0,
|
||||
"warmth" : 25,
|
||||
"phase" : "solid",
|
||||
"enviromental_protection" : 0,
|
||||
"encumbrance" : 1,
|
||||
"bashing" : -2,
|
||||
"flags" : ["VARSIZE"],
|
||||
"coverage" : 95,
|
||||
"material_thickness" : 8
|
||||
},
|
||||
{
|
||||
"type" : "ARMOR",
|
||||
"id" : "advanced_suit",
|
||||
"name" : "agency suit",
|
||||
"weight" : 1587,
|
||||
"color" : "light_gray",
|
||||
"covers" : ["LEGS", "TORSO", "ARMS"],
|
||||
"to_hit" : -5,
|
||||
"storage" : 20,
|
||||
"symbol" : "[",
|
||||
"description" : "A professional outfit, for a professional man.",
|
||||
"price" : 180,
|
||||
"material" : ["cotton", "null"],
|
||||
"volume" : 19,
|
||||
"cutting" : 0,
|
||||
"warmth" : 25,
|
||||
"phase" : "solid",
|
||||
"enviromental_protection" : 1,
|
||||
"encumbrance" : 1,
|
||||
"bashing" : -5,
|
||||
"flags" : ["VARSIZE", "FANCY", "POCKETS"],
|
||||
"coverage" : 95,
|
||||
"material_thickness" : 4
|
||||
},
|
||||
{
|
||||
"type" : "ARMOR",
|
||||
"id" : "ghost_sheet",
|
||||
"name" : "ghost sheet",
|
||||
"weight" : 1587,
|
||||
"color" : "light_gray",
|
||||
"covers" : ["TORSO", "ARMS"],
|
||||
"to_hit" : -5,
|
||||
"storage" : 20,
|
||||
"symbol" : "[",
|
||||
"description" : "A normal white sheet with three eyeholes cut out of it. It can be worn over your head to make you look like a ghost. Spooky!",
|
||||
"price" : 180,
|
||||
"material" : ["cotton", "null"],
|
||||
"volume" : 19,
|
||||
"cutting" : 0,
|
||||
"warmth" : 25,
|
||||
"phase" : "solid",
|
||||
"enviromental_protection" : 0,
|
||||
"encumbrance" : 2,
|
||||
"bashing" : -5,
|
||||
"coverage" : 100,
|
||||
"material_thickness" : 1
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "lethal_balloon",
|
||||
"name" : "lead balloon",
|
||||
"description" : "Despite being solid, heavy, and filled with a terrifying energy, this balloon still floats.",
|
||||
"weight" : 168,
|
||||
"to_hit" : 2,
|
||||
"color" : "red",
|
||||
"symbol" : "O",
|
||||
"material" : ["plastic", "null"],
|
||||
"volume" : 8,
|
||||
"bashing" : 50,
|
||||
"cutting" : 0,
|
||||
"price" : 0
|
||||
},
|
||||
{
|
||||
"id": "haunted_machete",
|
||||
"type": "TOOL",
|
||||
"symbol": "/",
|
||||
"color": "blue",
|
||||
"name": "machete",
|
||||
"description": "This weapon whispers sweet compliments into your ear, mixed with encouraging you to kill and murder lest it, in it's unsated bloodlust, decide to kill and murder you instead.",
|
||||
"price": 280,
|
||||
"material": "iron",
|
||||
"techniques": ["RAPID", "WBLOCK_2"],
|
||||
"weight": 538,
|
||||
"volume": 8,
|
||||
"bashing": 16,
|
||||
"cutting": 56,
|
||||
"flags" : ["CHOP"],
|
||||
"to_hit": 8,
|
||||
"max_charges": 0,
|
||||
"initial_charges": 0,
|
||||
"charges_per_use": 0,
|
||||
"turns_per_charge": 0,
|
||||
"ammo": "NULL",
|
||||
"revert_to": "null",
|
||||
"use_action": "KNIFE",
|
||||
"qualities": [["CUT", 1]]
|
||||
},
|
||||
{
|
||||
"id": "knife_gloves",
|
||||
"type": "TOOL",
|
||||
"symbol": "/",
|
||||
"color": "blue",
|
||||
"name": "knife gloves",
|
||||
"description": "With these strapped to your hands, you're sure you could take on the entire world, images and memories of burning and flames be damned.",
|
||||
"price": 280,
|
||||
"material": "iron",
|
||||
"techniques": "RAPID",
|
||||
"weight": 200,
|
||||
"volume": 3,
|
||||
"bashing": 10,
|
||||
"cutting": 30,
|
||||
"flags" : ["CHOP"],
|
||||
"to_hit": 10,
|
||||
"max_charges": 0,
|
||||
"initial_charges": 0,
|
||||
"charges_per_use": 0,
|
||||
"turns_per_charge": 0,
|
||||
"ammo": "NULL",
|
||||
"revert_to": "null",
|
||||
"use_action": "KNIFE",
|
||||
"qualities": [["CUT", 1]]
|
||||
},
|
||||
{
|
||||
"type":"MONSTER",
|
||||
"id":"mon_werewolf",
|
||||
"name": "Werewolf",
|
||||
"species":"mammal",
|
||||
"symbol":"W",
|
||||
"color":"brown",
|
||||
"size":"MEDIUM",
|
||||
"material":"flesh",
|
||||
"diff":15,
|
||||
"aggression":70,
|
||||
"morale":100,
|
||||
"speed":130,
|
||||
"melee_skill":10,
|
||||
"melee_dice":2,
|
||||
"melee_dice_sides":6,
|
||||
"melee_cut":7,
|
||||
"dodge":7,
|
||||
"armor_bash":7,
|
||||
"armor_cut":10,
|
||||
"item_chance":0,
|
||||
"luminance":0,
|
||||
"hp":60,
|
||||
"death_function":"NORMAL",
|
||||
"description": "Shaggy fur, sharp teeth, hunched posture and broad shoulders. Not a wolf, no longer a man, and now very, very dangerous.",
|
||||
"flags":["SEES", "HEARS", "WARM", "BASHES", "BLEED", "REGENERATES_10", "NO_BREATHE", "VIS50"],
|
||||
"anger_triggers":["STALK", "PLAYER_WEAK", "HURT"],
|
||||
"fear_triggers":["FIRE"]
|
||||
},
|
||||
{
|
||||
"type":"MONSTER",
|
||||
"id":"mon_vampire",
|
||||
"name": "Vampire",
|
||||
"species":"ZOMBIE",
|
||||
"symbol":"V",
|
||||
"color":"dkgray",
|
||||
"size":"MEDIUM",
|
||||
"material":"flesh",
|
||||
"diff":3,
|
||||
"aggression":50,
|
||||
"morale":100,
|
||||
"speed":110,
|
||||
"melee_skill":11,
|
||||
"melee_dice":1,
|
||||
"melee_dice_sides":6,
|
||||
"melee_cut":4,
|
||||
"dodge":8,
|
||||
"armor_bash":5,
|
||||
"armor_cut":0,
|
||||
"item_chance":0,
|
||||
"luminance":0,
|
||||
"hp":80,
|
||||
"death_function":"NORMAL",
|
||||
"description":"With pale skin, a penetrating gaze, an an unnatural aura, this graceful hunter of the night will not be easy to kill.",
|
||||
"flags":["SEES", "HEARS", "WARM", "BASHES", "REGENERATES_10", "NO_BREATHE", "VIS30"],
|
||||
"anger_triggers":["PLAYER_CLOSE", "PLAYER_WEAK", "HURT"],
|
||||
"fear_triggers":["FIRE"]
|
||||
},
|
||||
{
|
||||
"type":"MONSTER",
|
||||
"id":"mon_doll",
|
||||
"name": "Possessed Doll",
|
||||
"species":"ZOMBIE",
|
||||
"symbol":"|",
|
||||
"color":"white",
|
||||
"size":"SMALL",
|
||||
"material":"plastic",
|
||||
"diff":3,
|
||||
"aggression":100,
|
||||
"morale":100,
|
||||
"speed":150,
|
||||
"melee_skill":12,
|
||||
"melee_dice":3,
|
||||
"melee_dice_sides":4,
|
||||
"melee_cut":4,
|
||||
"dodge":10,
|
||||
"armor_bash":5,
|
||||
"armor_cut":25,
|
||||
"item_chance":0,
|
||||
"luminance":0,
|
||||
"hp":90,
|
||||
"death_function":"NORMAL",
|
||||
"description":"It's cracked plastic face locked into a devilish grin, it wouldn't be nearly so bad if it wasn't carrying a knife half the size of it's body.",
|
||||
"flags":["SEES", "HEARS", "WARM", "BASHES", "NO_BREATHE", "VIS30"]
|
||||
},
|
||||
{
|
||||
"type":"MONSTER",
|
||||
"id":"mon_frankenstein",
|
||||
"name": "Frankenstein",
|
||||
"species":"ZOMBIE",
|
||||
"symbol":"Z",
|
||||
"color":"black",
|
||||
"size":"LARGE",
|
||||
"material":"flesh",
|
||||
"diff":3,
|
||||
"aggression":0,
|
||||
"morale":100,
|
||||
"speed":50,
|
||||
"melee_skill":4,
|
||||
"melee_dice":3,
|
||||
"melee_dice_sides":15,
|
||||
"melee_cut":0,
|
||||
"dodge":0,
|
||||
"armor_bash":10,
|
||||
"armor_cut":10,
|
||||
"item_chance":0,
|
||||
"luminance":0,
|
||||
"hp":460,
|
||||
"death_function":"NORMAL",
|
||||
"description":"A product of the most advanced sort of mad science, this patchwork product of dozens of worked over corpses is truly a sight to behold. Far stronger and more durable than it appears at first glance.",
|
||||
"flags":["SEES", "HEARS", "WARM", "BASHES", "NO_BREATHE", "VIS30", "DESTROYS"],
|
||||
"anger_triggers":["PLAYER_CLOSE", "PLAYER_WEAK", "HURT"],
|
||||
"fear_triggers":["FIRE"]
|
||||
},
|
||||
{
|
||||
"type":"MONSTER",
|
||||
"id":"mon_terminator",
|
||||
"name": "Terminator",
|
||||
"species":"ROBOT",
|
||||
"symbol":"T",
|
||||
"color":"ltgray",
|
||||
"size":"LARGE",
|
||||
"material":"steel",
|
||||
"diff":15,
|
||||
"aggression":100,
|
||||
"morale":100,
|
||||
"speed":100,
|
||||
"melee_skill":10,
|
||||
"melee_dice":1,
|
||||
"melee_dice_sides":20,
|
||||
"melee_cut":0,
|
||||
"dodge":0,
|
||||
"armor_bash":10,
|
||||
"armor_cut":10,
|
||||
"item_chance":0,
|
||||
"luminance":0,
|
||||
"hp":120,
|
||||
"death_function":"NORMAL",
|
||||
"description":"A metallic human skeleton, blades for hands, and bright red eyes, there is no humanity behind the eyes of this vaguely human form - just orders to kill.",
|
||||
"flags":["SEES", "HEARS", "ELECTRONIC", "BASHES", "NO_BREATHE", "VIS50", "REGENERATES_10", "DESTROYS"],
|
||||
"anger_triggers":["PLAYER_CLOSE", "PLAYER_WEAK", "HURT"],
|
||||
"fear_triggers":["FIRE"]
|
||||
},
|
||||
{
|
||||
"type":"MONSTER",
|
||||
"id":"mon_gremlin",
|
||||
"name": "Gremlin",
|
||||
"species":"UNKNOWN",
|
||||
"symbol":"g",
|
||||
"color":"green",
|
||||
"size":"TINY",
|
||||
"material":"flesh",
|
||||
"diff":3,
|
||||
"aggression":100,
|
||||
"morale":80,
|
||||
"speed":120,
|
||||
"melee_skill":4,
|
||||
"melee_dice":1,
|
||||
"melee_dice_sides":4,
|
||||
"melee_cut":3,
|
||||
"dodge":5,
|
||||
"armor_bash":2,
|
||||
"armor_cut":0,
|
||||
"item_chance":0,
|
||||
"luminance":0,
|
||||
"hp":20,
|
||||
"death_function":"NORMAL",
|
||||
"description":"Big ears, big eyes, big mouth, big sharp teeth, and a small body. These gibbering creatures, often adorned in stolen human scraps, find the idea of tearing you to pieces absolutely gleeful.",
|
||||
"flags":["SEES", "HEARS", "WARM", "BASHES", "VIS50"],
|
||||
"anger_triggers":["STALK", "PLAYER_WEAK"],
|
||||
"fear_triggers":["HURT", "FRIEND_DIED"]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,279 @@
|
||||
[
|
||||
{
|
||||
"type" : "hint",
|
||||
"text" : "Squirrels are pretty yummy, but if you shoot them with a high-powered gun you'll probably be left with no meat! Use a BB gun or maybe a .22 rifle."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Ever run into those big worm things? If you see trails of churned-up dirt, you can be sure they're around."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Try to stay on the roads as much as you can. Giant worms can't cross them!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Don't relax after killing a giant worm. Little bits of them can break off and still attack!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "If you see a big mob of zombies coming, RUN! Trying to fight them all is suicide unless you have a big tactical advantage."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Watch out for those zombies that shriek; they'll let other zombies know where you are, and will attract them from all over."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Those acid-spitting zombies are pretty nasty, but if you're smart, you can get other zombies to wade through the acid."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "If there's a pool of acid blocking your way, trying tossing a junk item into it. Eating up items will help neutralize the acid faster."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "There's this type of zombie that can shoot bolts of lightning! Stay away from walls and stuff when they do... the electricity can travel along solid surfaces."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Zombie hulks are NASTY, but they're easy to outsmart. If there's other monsters between you and them, they'll kill the monster for you!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "If you run into a zombie hulk, it's probably a good idea to run. They're fast as hell, but pretty dumb; they'll try to smash through obstacles rather than going around, and that slows them down a lot."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Zombie brutes and hulks have really tough hide. Don't bother shooting at them with lower-caliber guns, the bullet will bounce right off!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Try not to kill a boomer if it's standing right next to you. They tend to explode when they die, and that pink goop will get all over you."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Skeletons are a tough target. They're so skinny and full of holes that bullets fired at them will usually just fly right past."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Skeletons are too delicate to smash through doors or windows. They also can't smell you, unlike zombies, so if you turn your light off at night you can sneak right past."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Don't try to take on a skeleton with a bladed weapon... you'll just leave scratch marks. You've got to shatter those bones with a hammer or something."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "It's a good idea to butcher corpses if you have the time, even if you don't plan on eating them. I've seen these weird zombies bring their friends back from the dead!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Triffids are tough. They've got natural armor, and it takes a lot to bring them down. I don't recommend getting into a fight with them."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Triffids can't see! They figure out where you are by your smell, but if you mask it with smoke or something, you're as good as invisible."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "I figured out how to take care of those triffids! Let me just say this: they're made of wood, and wood and fire don't mix."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Have you heard about those queen triffids? You gotta keep your distance from them, unless you like having a tree grow right through your chest."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "I have a buddy who was sleeping in this cabin way out in the woods, when he suddenly woke up to trees and vines growing right up through the floor and walls! He said it was some kind of huge triffid making it happen..."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Oh man, have you gone down into the old subway systems? I'd be careful... there's these things down there that're like zombies, but tougher."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "There's snakes down in most of the old sewer systems. They're slow on land, but boy, those suckers can swim fast!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "If you're planning on wandering around the sewers--not that you'd have a reason too--watch out for those fish. Those suckers are fast, and vicious too!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Have you seen those eyebots flying around? It's hard to say, but some faction's controlling them--maybe the military. All I know is, I don't want them taking my picture..."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Ever go toe-to-toe with a manhack? Tiny little helicopters covered in knives. Best be packing a shotgun!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "They're rare, but molebots are nasty things. They bore through the ground, then pop up to stab ya. Still, you're safe from them if you stay on pavement..."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Don't fire your gun if you can help it--the noise attracts monsters!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Standing behind a window is a good tactic. It takes zombies a long time to crawl through, giving you lots of opportunities to hit them."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Zombies are pretty dumb... heck, most monsters are! If you can get a fire going between you and them, they'll just run straight through it."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "I know it's tempting to just go full-auto and unload as many bullets as possible, but don't except as a last resort. It's inaccurate and wastes ammo."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "If there's a bunch of zombies in a straight line, try unloading a burst from your gun. Be sure to aim at the zombie furthest away; you'll hit more of them that way."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "If you shoot a zombie, but don't quite kill it, try to finish it off with a punch or something instead of wasting a bullet."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "If you're in a corridor or something, and there's a bunch of zombies chasing you down it, try to wound the guy in front badly. He'll start moving slow and cause a serious traffic jam!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Here's a trick for taking care of a huge swarm of zombies chasing you: head into a liquor store, shoot out as many bottles as you can, then light the alcohol on fire. Then duck out the back door, and watch the zombies run into a burning building!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Sledge hammers may seem like a great weapon, but swinging them is really slow, and you won't do much damage unless you're really strong."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "For a good melee weapon, you can't beat a machete. I've seen a guy take down a zombie brute with one! Of course, if you can find a katana, that might be even better..."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "You know, a glass bottle can make a good weapon in a pinch. If you break it over someone's head, the shattering glass will hurt them extra. Of course, it might hurt your hands, too..."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "You know what makes a nice weapon? Take a two by four, or a baseball bat or something, and stick a bunch of nails through the end!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "BB guns may seem like a joke, but they've got their uses. They're good for hunting small game, or getting to know the basics of rifles."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Crossbows are a great weapon for long term use. Most of the time, you can retrieve the bolt after shooting it, so running out of ammo is less of a concern."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "It's good to keep a pistol handy, in case your main gun runs out of ammo or something. They're also better than most guns at short range."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Shotguns are nice; you can take out lots of baddies with a single shot. Just remember that they're noisy as hell, and you might end up attracting more than you kill."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "A good submachine gun can't be beat. Most of them use common ammo, they're good at short and long range, and you can burst-fire if you need to!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Hunting rifles are great at long range, but suck close up. Plus, most of them don't carry many rounds. Keep a pistol as a sidearm if you use a rifle."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "You know, you don't have to go full auto with an assault rifle. Firing single shots is more accurate and efficient!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "I've seen a couple guys running around with laser pistols. They seem like the perfect weapon... quiet, accurate, and deadly. But I've never found one, and I bet ammo is wicked scarce..."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "When it comes to footwear, you've got two basic choices as far as I see it; sneakers, for running extra fast, or boots for durability. Depends on your style, I guess."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "You don't really need to wear gloves most of the time, but once in a while they'll really come in handy."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "It's good to keep a filter mask or gas mask handy. You never know when you'll have to go into a smoke-filled room or something."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "There's basically no reason not to wear safety glasses... nothing's worse than taking a hit to the eyes and getting blinded for a few seconds."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Ski goggles are a great choice if you're worried about getting stuff in your eyes. Perfect for dealing with boomers!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "If you get a pair of night vision goggles, hold on to them! A flashlight will give you away, but with goggles you can be sneaky."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "I know they look dumb, but wearing a fanny pack gives you that extra bit of storage without encumbering you."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Backpacks let you carry lots of stuff, but they limit your movement a lot. If you're an unarmed fighter, don't wear one!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Don't underestimate a good book. Not only will it keep you company on lonely nights, but you can learn a hell of a lot from some of them."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "It's a good idea to carry around a couple of empty bottles. You can fill them up with water, gasoline, or whatever!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "If you need a bunch of rags for making molotov cocktails, take a pair of scissors to an old t-shirt or something."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Carrying a lighter is something all veterans do. It takes up almost no space, and can easily save your life."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "If you can spare the space, you might want to carry a fire extinguisher along. Nothing's worse than being trapped in a burning building!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Crowbars not only make a pretty good weapon, they're also useful for opening locked doors and lifting manhole covers."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "If you're spending the night in a dangerous area, grab a shovel and dig pits all around your camp."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "A chainsaw may seem like a great weapon, but remember that they're slow, unwieldy, and very noisy."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Bubblewrap is pretty harmless, but setting it up around you before going to sleep will keep you from waking up to a zombie punching you."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Beartraps are a nice way to cover an escape. If you place one in a doorway, the first zombie through will get stuck, and the rest won't be able to get past!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Smoke grenades aren't really offensive weapons, but they'll cover up your scent and hide you from view--perfect for making a quick escape."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Don't use molotovs indoors. Especially in a liquor store."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "If you're going to be playing with molotov cocktails around a gas station, just make sure you're a long way from those pumps."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "I once knew a guy who figured he'd survive a night in the subway by setting fires blocking off the tunnel in both directions and sleeping between them. He wound up asphyxiating on the smoke."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Don't light a molotov until you're ready to throw it. Not only can they go out, but if you accidentally drop it or something, you're in trouble."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "If you're weak or clumsy, it might be a good idea not to mess with molotovs or grenades. Accidentally dropping them when you meant to throw them could be deadly."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "If you're wandering in the wilderness, or following a road, keep an eye out for wild strawberries or blueberries."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Be careful eating wild mushrooms. Some are poisonous, and others can make you hallucinate."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Try to go around swamps, if you can. Some of them have sinkholes that can pull you right underground."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "I heard about this group that raided a bee hive a while ago. Everyone got massacred but one, and he came home with this weird, magic honey stuff."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "If you need to, you can swim across a river to escape; most monsters can't swim. Just make sure you drop as much stuff as possible first, and maybe strip naked, or you'll sink like a rock."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Houses can be a surprisingly good resource for all kinds of stuff; clothing, medication, food, books, and more."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "While there's not much to loot, gas stations are a good source for gasoline, to power tools or to make molotov cocktails."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "It's not like in the movies--shooting a gas pump won't make it explode. But it WILL make it leak all over the place, which is a definite fire hazard."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "I know grocery stores and stuff are full of fruit, but be careful, it's probably rotten."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Next time you visit a grocery store, load up on canned goods. They never go bad!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "I've found more good weapons in hardware stores than anywhere else. Except gun stores, of course."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Liquor stores are a great place to pick up non-alcoholic beverages, too. Not that I mind alcohol!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Most gun stores follow pretty similar layouts. The restricted stuff--SMGs, assault rifles, and most importantly ammo--are always behind the counter."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "I've spent many nights in the changing rooms at the back of clothing stores. Walls on four sides, far from the store's entrance, a corridor for easy defense... it's perfect!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "If you're getting chased by a hoard of zombies, try ducking into the subways and traveling a block or two, then coming back up."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Have you seen those weird science labs out in the middle of nowhere? I think you need some kind of special ID card to get in."
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "I've thought about raiding an ant hill before, but I realized it wasn't worth the risk. I doubt they have any loot beyond some scraps of food, you know?"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "This guy I know was walking through the subway when he came across a giant rift in the earth, with lava far below. Weird, huh?"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "In a lot of places, there's little hallways connecting the subways with the sewers, with heavy metal doors on both ends. It's a perfect place to sleep!"
|
||||
},{
|
||||
"type" : "hint",
|
||||
"text" : "Be careful of drinking water from rivers and stuff, it's a good way to get sick. But if you have a water purifier, it'll make it safe."
|
||||
}
|
||||
]
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -14,12 +14,14 @@
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "components",
|
||||
"casing" : "NULL",
|
||||
"damage" : 0,
|
||||
"pierce" : 0,
|
||||
"range" : 0,
|
||||
"dispersion" : 0,
|
||||
"recoil" : 0,
|
||||
"count" : 10
|
||||
"count" : 10,
|
||||
"stack_size" : 20
|
||||
},
|
||||
{
|
||||
"type" : "AMMO",
|
||||
@@ -36,12 +38,14 @@
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "components",
|
||||
"casing" : "NULL",
|
||||
"damage" : 0,
|
||||
"pierce" : 0,
|
||||
"range" : 0,
|
||||
"dispersion" : 0,
|
||||
"recoil" : 0,
|
||||
"count" : 10
|
||||
"count" : 10,
|
||||
"stack_size" : 100
|
||||
},
|
||||
{
|
||||
"type" : "AMMO",
|
||||
@@ -58,6 +62,7 @@
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 0,
|
||||
"pierce" : 0,
|
||||
"range" : 0,
|
||||
@@ -75,11 +80,12 @@
|
||||
"description" : "A heavy shaft made from wood. It needs arrowheads and fletching to become a functional arrow. You can, however, fire it from a bow.",
|
||||
"material" : "wood",
|
||||
"volume" : 1,
|
||||
"weight" : 63,
|
||||
"weight" : 48,
|
||||
"bashing" : 2,
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 2,
|
||||
"pierce" : 0,
|
||||
"range" : 1,
|
||||
@@ -97,11 +103,12 @@
|
||||
"description" : "A heavy shaft made from scrap metal. It needs arrowheads and fletching to become a functional arrow. You can, however, fire it from a bow.",
|
||||
"material" : "steel",
|
||||
"volume" : 1,
|
||||
"weight" : 441,
|
||||
"weight" : 54,
|
||||
"bashing" : 3,
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 3,
|
||||
"pierce" : 0,
|
||||
"range" : 3,
|
||||
@@ -124,6 +131,7 @@
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 3,
|
||||
"pierce" : 0,
|
||||
"range" : 2,
|
||||
@@ -141,11 +149,12 @@
|
||||
"description" : "A simple arrow shaft that has a crude arrow head. Useful for hunting small woodland creatures.",
|
||||
"material" : "wood",
|
||||
"volume" : 1,
|
||||
"weight" : 48,
|
||||
"weight" : 44,
|
||||
"bashing" : 3,
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 6,
|
||||
"pierce" : 1,
|
||||
"range" : 2,
|
||||
@@ -163,11 +172,12 @@
|
||||
"description" : "A simple arrow shaft that has a wide blunt head. Useful for hunting small woodland creatures without splattering them all over the ground.",
|
||||
"material" : "wood",
|
||||
"volume" : 1,
|
||||
"weight" : 50,
|
||||
"weight" : 44,
|
||||
"bashing" : 4,
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 2,
|
||||
"pierce" : 0,
|
||||
"range" : 2,
|
||||
@@ -191,6 +201,7 @@
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 4,
|
||||
"pierce" : 0,
|
||||
"range" : 6,
|
||||
@@ -208,11 +219,12 @@
|
||||
"description" : "A simple arrow shaft that has a crude arrow head and some fletchings. Useful for hunting small woodland creatures or as a last ditch defense against zombies.",
|
||||
"material" : "wood",
|
||||
"volume" : 1,
|
||||
"weight" : 49,
|
||||
"weight" : 46,
|
||||
"bashing" : 3,
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 7,
|
||||
"pierce" : 2,
|
||||
"range" : 6,
|
||||
@@ -235,6 +247,7 @@
|
||||
"cutting" : 1,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 10,
|
||||
"pierce" : 3,
|
||||
"range" : 7,
|
||||
@@ -257,6 +270,7 @@
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 5,
|
||||
"pierce" : 2,
|
||||
"range" : 7,
|
||||
@@ -279,6 +293,7 @@
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 6,
|
||||
"pierce" : 3,
|
||||
"range" : 7,
|
||||
@@ -301,6 +316,7 @@
|
||||
"cutting" : 2,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 12,
|
||||
"pierce" : 5,
|
||||
"range" : 8,
|
||||
@@ -323,6 +339,7 @@
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 5,
|
||||
"pierce" : 3,
|
||||
"range" : 5,
|
||||
@@ -345,6 +362,7 @@
|
||||
"cutting" : 2,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 14,
|
||||
"pierce" : 7,
|
||||
"range" : 10,
|
||||
@@ -367,12 +385,14 @@
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 10,
|
||||
"pierce" : 5,
|
||||
"range" : 8,
|
||||
"dispersion" : 9,
|
||||
"recoil" : 0,
|
||||
"count" : 8
|
||||
"count" : 8,
|
||||
"stack_size" : 10
|
||||
},
|
||||
{
|
||||
"type" : "AMMO",
|
||||
@@ -384,11 +404,12 @@
|
||||
"description" : "This arrow has a small IED strapped to its tip. Horribly inaccurate, heavy, and bulky, not only does this contraption require expert hands to pull off a shot, it requires one to loose this with a small measure of confidence the shooter won't be caught in the blast radius.",
|
||||
"material" : "steel",
|
||||
"volume" : 2,
|
||||
"weight" : 833,
|
||||
"weight" : 633,
|
||||
"bashing" : 2,
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 15,
|
||||
"pierce" : 9,
|
||||
"range" : 5,
|
||||
@@ -398,6 +419,7 @@
|
||||
"effects" : ["EXPLOSIVE"]
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "exploding_arrow_warhead",
|
||||
"symbol" : "=",
|
||||
"color" : "green",
|
||||
@@ -405,7 +427,7 @@
|
||||
"description" : "This simple IED is designed to be attached to an arrow and detonate on impact. Theoretically you could throw it but who would want to do that?",
|
||||
"price" : 400,
|
||||
"material" : "iron",
|
||||
"weight" : 762,
|
||||
"weight" : 562,
|
||||
"volume" : 1,
|
||||
"bashing" : 10,
|
||||
"cutting" : 0,
|
||||
@@ -428,6 +450,7 @@
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "arrow",
|
||||
"casing" : "NULL",
|
||||
"damage" : 15,
|
||||
"pierce" : 9,
|
||||
"range" : 5,
|
||||
@@ -443,7 +466,7 @@
|
||||
"name" : "wood crossbow bolt",
|
||||
"symbol" : "=",
|
||||
"color" : "green",
|
||||
"description" : "A sharpened bolt carved from wood. It's lighter than a steel bolt, but does less damage and is less accurate. Stands a good chance of remaining intact once fired.",
|
||||
"description" : "A sharpened bolt carved from wood. It's very light, but doesn't do much damage and isn't particularly accurate. Stands a good chance of remaining intact once fired.",
|
||||
"material" : "wood",
|
||||
"volume" : 1,
|
||||
"weight" : 31,
|
||||
@@ -451,6 +474,7 @@
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "bolt",
|
||||
"casing" : "NULL",
|
||||
"damage" : 10,
|
||||
"pierce" : 1,
|
||||
"range" : 0,
|
||||
@@ -458,10 +482,34 @@
|
||||
"recoil" : 0,
|
||||
"count" : 15
|
||||
},
|
||||
{
|
||||
"type" : "AMMO",
|
||||
"id" : "bolt_metal",
|
||||
"rarity" : 7,
|
||||
"price" : 130,
|
||||
"name" : "metal crossbow bolt",
|
||||
"symbol" : "=",
|
||||
"color" : "green",
|
||||
"description" : "A sharpened bolt made from metal of some kind. It's heavy and unwieldy, providing moderate damage and accuracy. Stands a good chance of remaining intact once fired.",
|
||||
"material" : "iron",
|
||||
"volume" : 1,
|
||||
"weight" : 250,
|
||||
"bashing" : 1,
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "bolt",
|
||||
"casing" : "NULL",
|
||||
"damage" : 15,
|
||||
"pierce" : 5,
|
||||
"range" : 3,
|
||||
"dispersion" : 9,
|
||||
"recoil" : 0,
|
||||
"count" : 10
|
||||
},
|
||||
{
|
||||
"type" : "AMMO",
|
||||
"id" : "bolt_steel",
|
||||
"price" : 400,
|
||||
"price" : 160,
|
||||
"name" : "steel crossbow bolt",
|
||||
"symbol" : "=",
|
||||
"color" : "green",
|
||||
@@ -473,13 +521,40 @@
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "bolt",
|
||||
"casing" : "NULL",
|
||||
"damage" : 20,
|
||||
"pierce" : 10,
|
||||
"range" : 6,
|
||||
"dispersion" : 9,
|
||||
"dispersion" : 8,
|
||||
"recoil" : 0,
|
||||
"count" : 10
|
||||
},
|
||||
{
|
||||
"type" : "AMMO",
|
||||
"id" : "bolt_explosive",
|
||||
"rarity" : 7,
|
||||
"price" : 200,
|
||||
"name" : "explosive crossbow bolt",
|
||||
"symbol" : "=",
|
||||
"color" : "green",
|
||||
"description" : "A sharpened bolt made from metal of some kind. It's light but unwieldy, providing moderate accuracy, because it's been filled with explosives and fitted with an impact trigger.",
|
||||
"material" : "iron",
|
||||
"volume" : 1,
|
||||
"weight" : 620,
|
||||
"bashing" : 1,
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "bolt",
|
||||
"casing" : "NULL",
|
||||
"damage" : 12,
|
||||
"pierce" : 2,
|
||||
"range" : 8,
|
||||
"dispersion" : 9,
|
||||
"recoil" : 0,
|
||||
"count" : 1,
|
||||
"stack_size" : 10,
|
||||
"effects" : ["COOKOFF", "EXPLOSIVE"]
|
||||
},
|
||||
{
|
||||
"id" : "selfbow",
|
||||
"type" : "GUN",
|
||||
@@ -493,7 +568,7 @@
|
||||
"skill" : "archery",
|
||||
"ammo" : "arrow",
|
||||
"weight" : 1360,
|
||||
"volume" : 12,
|
||||
"volume" : 10,
|
||||
"bashing" : 6,
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
@@ -649,7 +724,7 @@
|
||||
"skill" : "archery",
|
||||
"ammo" : "arrow",
|
||||
"weight" : 680,
|
||||
"volume" : 8,
|
||||
"volume" : 14,
|
||||
"bashing" : 10,
|
||||
"cutting" : 0,
|
||||
"to_hit" : 0,
|
||||
@@ -701,7 +776,7 @@
|
||||
"skill" : "archery",
|
||||
"ammo" : "bolt",
|
||||
"weight" : 900,
|
||||
"volume" : 4,
|
||||
"volume" : 2,
|
||||
"bashing" : 4,
|
||||
"cutting" : 0,
|
||||
"to_hit" : -0,
|
||||
@@ -753,7 +828,7 @@
|
||||
"skill" : "archery",
|
||||
"ammo" : "bolt",
|
||||
"weight" : 6803,
|
||||
"volume" : 40,
|
||||
"volume" : 20,
|
||||
"bashing" : 20,
|
||||
"cutting" : 0,
|
||||
"to_hit" : -1,
|
||||
@@ -836,6 +911,50 @@
|
||||
"dispersion":0,
|
||||
"count":10
|
||||
},
|
||||
{ "type" : "AMMO",
|
||||
"id" : "throwing_knife",
|
||||
"price" : 100,
|
||||
"name" : "throwing knife",
|
||||
"symbol" : ";",
|
||||
"color" : "light_gray",
|
||||
"description" : "A thin and flat knife made for throwing. Its ineffective cutting edge and odd shape makes it unsuitable for use as a tool.",
|
||||
"material" : "steel",
|
||||
"volume" : 1,
|
||||
"weight" : 268,
|
||||
"bashing" : 1,
|
||||
"cutting" : 12,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "NULL",
|
||||
"casing" : "NULL",
|
||||
"damage" : 0,
|
||||
"pierce" : 0,
|
||||
"range" : 0,
|
||||
"dispersion" : 0,
|
||||
"recoil" : 0,
|
||||
"count" : 5
|
||||
},
|
||||
{ "type" : "AMMO",
|
||||
"id" : "throwing_axe",
|
||||
"price" : 110,
|
||||
"name" : "throwing axe",
|
||||
"symbol" : ";",
|
||||
"color" : "light_gray",
|
||||
"description" : "A lightweight hatchet made for throwing. Its ineffective cutting edge and light weight makes it unsuitable for use as a tool.",
|
||||
"material" : ["iron", "wood"],
|
||||
"volume" : 3,
|
||||
"weight" : 792,
|
||||
"bashing" : 6,
|
||||
"cutting" : 16,
|
||||
"to_hit" : 0,
|
||||
"ammo_type" : "NULL",
|
||||
"casing" : "NULL",
|
||||
"damage" : 0,
|
||||
"pierce" : 0,
|
||||
"range" : 0,
|
||||
"dispersion" : 0,
|
||||
"recoil" : 0,
|
||||
"count" : 3
|
||||
},
|
||||
{
|
||||
"id":"arrow_plastic",
|
||||
"type":"AMMO",
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -228,12 +228,12 @@
|
||||
"description": "A half-litre glass jar with a metal screw top lid, used for canning.",
|
||||
"price": 2500,
|
||||
"weight": 264,
|
||||
"volume": 1,
|
||||
"volume": 2,
|
||||
"bashing": 8,
|
||||
"cutting": 0,
|
||||
"to_hit": 1,
|
||||
"material": "glass",
|
||||
"contains": 1,
|
||||
"contains": 2,
|
||||
"flags": ["RIGID", "SEALS", "WATERTIGHT"]
|
||||
},
|
||||
{
|
||||
@@ -245,12 +245,29 @@
|
||||
"description": "A three-litre glass jar with a metal screw top lid, used for canning.",
|
||||
"price": 3000,
|
||||
"weight": 365,
|
||||
"volume": 3,
|
||||
"volume": 12,
|
||||
"bashing": 10,
|
||||
"cutting": 0,
|
||||
"to_hit": 1,
|
||||
"material": "glass",
|
||||
"contains": 5,
|
||||
"contains": 12,
|
||||
"flags": ["RIGID", "SEALS", "WATERTIGHT"]
|
||||
},
|
||||
{
|
||||
"id": "flask_hip",
|
||||
"type": "CONTAINER",
|
||||
"symbol": ")",
|
||||
"color": "light_gray",
|
||||
"name": "hip flask",
|
||||
"description": "A 250 ml metal flask with a hinged screw-on lid, commonly used to discreetly transport alcohol.",
|
||||
"price": 2500,
|
||||
"weight": 120,
|
||||
"volume": 1,
|
||||
"bashing": 8,
|
||||
"cutting": 0,
|
||||
"to_hit": 1,
|
||||
"material": "steel",
|
||||
"contains": 1,
|
||||
"flags": ["RIGID", "SEALS", "WATERTIGHT"]
|
||||
},
|
||||
{
|
||||
@@ -270,5 +287,21 @@
|
||||
"material":"plastic",
|
||||
"contains":1,
|
||||
"flags":[ "RIGID" ]
|
||||
},
|
||||
{
|
||||
"id": "wrapper",
|
||||
"type": "CONTAINER",
|
||||
"symbol": ",",
|
||||
"color": "light_gray",
|
||||
"name": "paper wrapper",
|
||||
"description": "Just a piece of butcher's paper. Good for starting fires.",
|
||||
"price": 1,
|
||||
"weight": 3,
|
||||
"volume": 1,
|
||||
"bashing": -8,
|
||||
"cutting": 0,
|
||||
"to_hit": -2,
|
||||
"contains": 10,
|
||||
"material": "paper"
|
||||
}
|
||||
]
|
||||
@@ -1,5 +1,6 @@
|
||||
[
|
||||
{ "id":"GUITAR",
|
||||
{ "type":"INSTRUMENT",
|
||||
"id":"GUITAR",
|
||||
"symbol": "$",
|
||||
"color": "red",
|
||||
"name":"Guitar",
|
||||
@@ -16,7 +17,8 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{ "id":"DRUM",
|
||||
{ "type":"INSTRUMENT",
|
||||
"id":"DRUM",
|
||||
"symbol": "o",
|
||||
"color": "green",
|
||||
"name":"Bongo",
|
||||
File diff suppressed because it is too large
Load Diff
@@ -3,12 +3,12 @@
|
||||
"type": "GUNMOD",
|
||||
"symbol": ":",
|
||||
"color": "green",
|
||||
"name":".45 caliber retool",
|
||||
"name":".45 caliber conversion kit",
|
||||
"description":"Replacing several key parts of a 9mm, .38, .40 or .44 firearm converts it to a .45 firearm. The conversion results in reduced accuracy and increased recoil.",
|
||||
"price": 480,
|
||||
"material": "steel",
|
||||
"weight": 226,
|
||||
"volume": 2,
|
||||
"volume": 1,
|
||||
"bashing": 3,
|
||||
"cutting": 0,
|
||||
"to_hit": -1,
|
||||
@@ -32,7 +32,7 @@
|
||||
"ammo_modifier" : "NULL",
|
||||
"description" : "Using a suppressor is almost an imperative in zombie-infested regions. Gunfire is very noisy, and will attract predators. Its only drawback is a reduced muzzle velocity, resulting in less accuracy and damage.",
|
||||
"weight" : 510,
|
||||
"to_hit" : 2,
|
||||
"to_hit" : 1,
|
||||
"color" : "dark_gray",
|
||||
"symbol" : ":",
|
||||
"material" : ["steel", "plastic"],
|
||||
@@ -267,7 +267,7 @@
|
||||
"symbol" : ":",
|
||||
"material" : ["steel", "plastic"],
|
||||
"mod_targets" : ["smg", "rifle"],
|
||||
"volume" : 0,
|
||||
"volume" : 1,
|
||||
"bashing" : 0,
|
||||
"cutting" : 0,
|
||||
"burst_modifier" : 6,
|
||||
@@ -302,7 +302,7 @@
|
||||
{
|
||||
"type" : "GUNMOD",
|
||||
"id" : "retool_9mm",
|
||||
"name" : "9mm caliber retool",
|
||||
"name" : "9mm caliber conversion kit",
|
||||
"weight" : 114,
|
||||
"color" : "green",
|
||||
"burst_modifier" : 0,
|
||||
@@ -326,7 +326,7 @@
|
||||
{
|
||||
"type" : "GUNMOD",
|
||||
"id" : "retool_22",
|
||||
"name" : ".22 caliber retool",
|
||||
"name" : ".22 caliber conversion kit",
|
||||
"weight" : 114,
|
||||
"color" : "green",
|
||||
"burst_modifier" : 0,
|
||||
@@ -350,7 +350,7 @@
|
||||
{
|
||||
"type" : "GUNMOD",
|
||||
"id" : "retool_57",
|
||||
"name" : "5.7mm caliber retool",
|
||||
"name" : "5.7mm caliber conversion kit",
|
||||
"weight" : 114,
|
||||
"color" : "green",
|
||||
"burst_modifier" : 0,
|
||||
@@ -374,7 +374,7 @@
|
||||
{
|
||||
"type" : "GUNMOD",
|
||||
"id" : "retool_46",
|
||||
"name" : "4.6mm caliber retool",
|
||||
"name" : "4.6mm caliber conversion kit",
|
||||
"weight" : 114,
|
||||
"color" : "green",
|
||||
"burst_modifier" : 0,
|
||||
@@ -398,7 +398,7 @@
|
||||
{
|
||||
"type" : "GUNMOD",
|
||||
"id" : "retool_308",
|
||||
"name" : ".308 caliber retool",
|
||||
"name" : ".308 caliber conversion kit",
|
||||
"weight" : 114,
|
||||
"color" : "green",
|
||||
"burst_modifier" : 0,
|
||||
@@ -422,7 +422,7 @@
|
||||
{
|
||||
"type" : "GUNMOD",
|
||||
"id" : "retool_223",
|
||||
"name" : ".223 caliber retool",
|
||||
"name" : ".223 caliber conversion kit",
|
||||
"weight" : 114,
|
||||
"color" : "green",
|
||||
"burst_modifier" : 0,
|
||||
@@ -458,7 +458,7 @@
|
||||
"symbol" : ":",
|
||||
"material" : ["steel", "null"],
|
||||
"mod_targets" : ["rifle"],
|
||||
"volume" : 4,
|
||||
"volume" : 2,
|
||||
"bashing" : 6,
|
||||
"cutting" : 0,
|
||||
"burst_modifier" : 4,
|
||||
@@ -481,7 +481,7 @@
|
||||
"symbol" : ":",
|
||||
"material" : ["steel", "null"],
|
||||
"mod_targets" : ["rifle"],
|
||||
"volume" : 1,
|
||||
"volume" : 2,
|
||||
"bashing" : 0,
|
||||
"cutting" : 0,
|
||||
"burst_modifier" : -99,
|
||||
@@ -528,7 +528,7 @@
|
||||
"description" : "This is a home built launcher tube that can be attached to almost any rifle. It allows a single 40mm grenade to be loaded and fired.",
|
||||
"symbol" : ":",
|
||||
"material" : ["steel", "plastic"],
|
||||
"volume" : 5,
|
||||
"volume" : 3,
|
||||
"cutting" : 0,
|
||||
"recoil_modifier" : 0,
|
||||
"damage_modifier" : 0,
|
||||
@@ -542,10 +542,10 @@
|
||||
"id" : "bayonet",
|
||||
"name" : "bayonet",
|
||||
"weight" : 387,
|
||||
"color" : "light_cyan",
|
||||
"color" : "light_gray",
|
||||
"burst_modifier" : 0,
|
||||
"loudness_modifier" : 0,
|
||||
"to_hit" : -3,
|
||||
"to_hit" : -1,
|
||||
"dispersion_modifier" : 0,
|
||||
"price" : 400,
|
||||
"clip_size_modifier" : 0,
|
||||
@@ -553,11 +553,59 @@
|
||||
"symbol" : ":",
|
||||
"material" : ["steel", "null"],
|
||||
"volume" : 2,
|
||||
"cutting" : 16,
|
||||
"cutting" : 12,
|
||||
"flags" : ["NON_STUCK", "SPEAR"],
|
||||
"recoil_modifier" : 3,
|
||||
"damage_modifier" : 0,
|
||||
"mod_targets" : ["shotgun", "smg", "rifle"],
|
||||
"bashing" : 0,
|
||||
"ammo_modifier" : "NULL"
|
||||
},
|
||||
{
|
||||
"type" : "GUNMOD",
|
||||
"id" : "sword_bayonet",
|
||||
"name" : "sword bayonet",
|
||||
"weight" : 923,
|
||||
"color" : "dark_gray",
|
||||
"burst_modifier" : 0,
|
||||
"loudness_modifier" : 0,
|
||||
"to_hit" : 0,
|
||||
"dispersion_modifier" : 0,
|
||||
"price" : 500,
|
||||
"clip_size_modifier" : 0,
|
||||
"description" : "A sword bayonet is a large slashing weapon that can be attached to the front of a shotgun or rifle, allowing a melee attack to deal cutting damage. The added length increases recoil substantially.",
|
||||
"symbol" : ":",
|
||||
"material" : ["steel", "null"],
|
||||
"volume" : 3,
|
||||
"cutting" : 18,
|
||||
"flags" : ["NON_STUCK", "CHOP"],
|
||||
"recoil_modifier" : 7,
|
||||
"damage_modifier" : 0,
|
||||
"mod_targets" : ["shotgun", "rifle"],
|
||||
"bashing" : 0,
|
||||
"ammo_modifier" : "NULL"
|
||||
},
|
||||
{
|
||||
"type" : "GUNMOD",
|
||||
"id" : "pistol_bayonet",
|
||||
"name" : "pistol bayonet",
|
||||
"weight" : 122,
|
||||
"color" : "light_gray",
|
||||
"burst_modifier" : 0,
|
||||
"loudness_modifier" : 0,
|
||||
"to_hit" : -4,
|
||||
"dispersion_modifier" : 1,
|
||||
"price" : 400,
|
||||
"clip_size_modifier" : 0,
|
||||
"description" : "A pistol bayonet is a stabbing weapon that can be attached to the front of a handgun, allowing a melee attack to deal piercing damage. The added length reduces the gun's overall handling somewhat.",
|
||||
"symbol" : ":",
|
||||
"material" : ["steel", "null"],
|
||||
"volume" : 1,
|
||||
"cutting" : 6,
|
||||
"recoil_modifier" : 3,
|
||||
"damage_modifier" : 0,
|
||||
"mod_targets" : ["pistol"],
|
||||
"bashing" : 0,
|
||||
"flags" : ["STAB"],
|
||||
"ammo_modifier" : "NULL"
|
||||
},
|
||||
@@ -576,7 +624,7 @@
|
||||
"description" : "A miniaturized shotgun with 2 barrels, which can be mounted under the barrel of many rifles. It allows two shotgun shells to be loaded and fired.",
|
||||
"symbol" : ":",
|
||||
"material" : ["steel", "null"],
|
||||
"volume" : 2,
|
||||
"volume" : 3,
|
||||
"cutting" : 0,
|
||||
"recoil_modifier" : 0,
|
||||
"damage_modifier" : 0,
|
||||
@@ -717,7 +765,7 @@
|
||||
"symbol" : ":",
|
||||
"material" : ["plastic", "steel"],
|
||||
"mod_targets" : ["smg", "rifle","shotgun"],
|
||||
"volume" : 2,
|
||||
"volume" : 1,
|
||||
"bashing" : 0,
|
||||
"cutting" : 0,
|
||||
"burst_modifier" : 0,
|
||||
@@ -740,7 +788,7 @@
|
||||
"symbol" : ":",
|
||||
"material" : ["plastic", "steel"],
|
||||
"mod_targets" : ["rifle"],
|
||||
"volume" : 3,
|
||||
"volume" : 2,
|
||||
"bashing" : 0,
|
||||
"cutting" : 0,
|
||||
"burst_modifier" : 0,
|
||||
@@ -758,18 +806,18 @@
|
||||
"ammo_modifier" : "NULL",
|
||||
"description" : "A ported barrel redirects exhaust gases to compensate for muzzle climb, improves recoil but increases noise and reduces accuracy slightly.",
|
||||
"weight" : 225,
|
||||
"to_hit" : -3,
|
||||
"to_hit" : -1,
|
||||
"color" : "light_gray",
|
||||
"symbol" : ":",
|
||||
"material" : ["steel", "null"],
|
||||
"mod_targets" : ["smg", "rifle", "pistol", "shotgun"],
|
||||
"volume" : 2,
|
||||
"volume" : 0,
|
||||
"bashing" : 0,
|
||||
"cutting" : 0,
|
||||
"burst_modifier" : 0,
|
||||
"recoil_modifier" : -4,
|
||||
"price" : 720,
|
||||
"loudness_modifier" : 6
|
||||
"loudness_modifier" : 8
|
||||
},
|
||||
{
|
||||
"type" : "GUNMOD",
|
||||
@@ -839,6 +887,28 @@
|
||||
"recoil_modifier" : -5,
|
||||
"price" : 380,
|
||||
"loudness_modifier" : 0
|
||||
},
|
||||
{
|
||||
"type" : "GUNMOD",
|
||||
"id" : "bipod",
|
||||
"name" : "bipod",
|
||||
"clip_size_modifier" : 0,
|
||||
"damage_modifier" : 0,
|
||||
"ammo_modifier" : "NULL",
|
||||
"description" : "Bipods are commonly used on rifles and machine guns to provide a forward rest and reduce motion. Aside from increased weight, there are no drawbacks.",
|
||||
"weight" : 400,
|
||||
"to_hit" : -1,
|
||||
"color" : "brown",
|
||||
"symbol" : ":",
|
||||
"material" : "steel",
|
||||
"mod_targets" : "rifle",
|
||||
"volume" : 2,
|
||||
"bashing" : 10,
|
||||
"cutting" : 0,
|
||||
"burst_modifier" : 0,
|
||||
"recoil_modifier" : -1,
|
||||
"dispersion_modifier" : -3,
|
||||
"price" : 680,
|
||||
"loudness_modifier" : 0
|
||||
}
|
||||
|
||||
]
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,470 @@
|
||||
[
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "frame",
|
||||
"name" : "steel frame",
|
||||
"description" : "A large frame made of steel. Useful for crafting.",
|
||||
"weight" : 13607,
|
||||
"to_hit" : -5,
|
||||
"color" : "cyan",
|
||||
"symbol" : "]",
|
||||
"material" : ["steel", "null"],
|
||||
"techniques" : ["DEF_DISARM"],
|
||||
"volume" : 60,
|
||||
"bashing" : 20,
|
||||
"cutting" : 0,
|
||||
"price" : 55
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "seat",
|
||||
"name" : "seat",
|
||||
"description" : "A soft car seat covered with leather.",
|
||||
"weight" : 9071,
|
||||
"to_hit" : -4,
|
||||
"color" : "red",
|
||||
"symbol" : "0",
|
||||
"material" : ["leather", "null"],
|
||||
"volume" : 30,
|
||||
"bashing" : 4,
|
||||
"cutting" : 0,
|
||||
"price" : 250
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "saddle",
|
||||
"name" : "saddle",
|
||||
"description" : "A leather-covered seat designed to be straddled.",
|
||||
"weight" : 300,
|
||||
"to_hit" : -4,
|
||||
"color" : "red",
|
||||
"symbol" : "0",
|
||||
"material" : ["plastic", "null"],
|
||||
"volume" : 5,
|
||||
"bashing" : 2,
|
||||
"cutting" : 0,
|
||||
"price" : 25
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "muffler",
|
||||
"name" : "muffler",
|
||||
"description" : "A muffler from a car. Very unwieldy as a weapon. Useful in a few crafting recipes.",
|
||||
"weight" : 9525,
|
||||
"to_hit" : -10,
|
||||
"color" : "light_gray",
|
||||
"symbol" : "/",
|
||||
"material" : ["iron", "null"],
|
||||
"techniques" : ["WBLOCK_2"],
|
||||
"volume" : 14,
|
||||
"bashing" : 19,
|
||||
"cutting" : 0,
|
||||
"price" : 30
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "vehicle_controls",
|
||||
"name" : "vehicle controls",
|
||||
"description" : "A set of various vehicle controls. Useful for crafting.",
|
||||
"weight" : 2721,
|
||||
"to_hit" : -4,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : "$",
|
||||
"material" : ["plastic", "steel"],
|
||||
"volume" : 12,
|
||||
"bashing" : 2,
|
||||
"cutting" : 0,
|
||||
"price" : 400
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "motor",
|
||||
"name" : "electric motor",
|
||||
"description" : "A powerful electric motor. Useful for crafting.",
|
||||
"weight" : 9071,
|
||||
"to_hit" : 0,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : ",",
|
||||
"material" : ["iron", "null"],
|
||||
"volume" : 6,
|
||||
"bashing" : 4,
|
||||
"cutting" : 0,
|
||||
"price" : 120
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "motor_large",
|
||||
"name" : "large electric motor",
|
||||
"description" : "A large and very powerful electric motor. Useful for crafting.",
|
||||
"weight" : 73708,
|
||||
"to_hit" : -3,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : ":",
|
||||
"material" : ["iron", "null"],
|
||||
"volume" : 15,
|
||||
"bashing" : 9,
|
||||
"cutting" : 0,
|
||||
"price" : 220
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "plasma_engine",
|
||||
"name" : "plasma engine",
|
||||
"description" : "High technology engine, working on hydrogen fuel.",
|
||||
"weight" : 39689,
|
||||
"to_hit" : -2,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : ":",
|
||||
"material" : ["steel", "null"],
|
||||
"volume" : 12,
|
||||
"bashing" : 7,
|
||||
"cutting" : 0,
|
||||
"price" : 900
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "foot_crank",
|
||||
"name" : "foot crank",
|
||||
"description" : "The pedal and gear assembly from a bicycle.",
|
||||
"weight" : 816,
|
||||
"to_hit" : -1,
|
||||
"color" : "light_gray",
|
||||
"symbol" : ":",
|
||||
"material" : ["iron", "null"],
|
||||
"volume" : 2,
|
||||
"bashing" : 10,
|
||||
"cutting" : 0,
|
||||
"price" : 90
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "metal_tank",
|
||||
"name" : "metal tank",
|
||||
"description" : "A metal tank for holding liquids. Useful for crafting.",
|
||||
"weight" : 2834,
|
||||
"to_hit" : -2,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : "}",
|
||||
"material" : ["steel", "null"],
|
||||
"volume" : 18,
|
||||
"bashing" : 3,
|
||||
"cutting" : 0,
|
||||
"price" : 40
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "small_storage_battery",
|
||||
"name" : "small storage battery",
|
||||
"description" : "A small storage battery. Useful for crafting.",
|
||||
"weight" : 230,
|
||||
"to_hit" : -2,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : ":",
|
||||
"material" : ["iron", "null"],
|
||||
"volume" : 2,
|
||||
"bashing" : 1,
|
||||
"cutting" : 0,
|
||||
"price" : 50
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "battery_motorbike",
|
||||
"name" : "motorbike battery",
|
||||
"description" : "A 12v lead-acid battery used to power smaller vehicles' electrical systems.",
|
||||
"weight" : 13250,
|
||||
"to_hit" : -2,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : ":",
|
||||
"material" : ["iron", "null"],
|
||||
"volume" : 3,
|
||||
"bashing" : 2,
|
||||
"cutting" : 0,
|
||||
"price" : 20
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "battery_car",
|
||||
"name" : "car battery",
|
||||
"description" : "A 12v lead-acid battery used to power car electrical systems.",
|
||||
"weight" : 17640,
|
||||
"to_hit" : -2,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : ":",
|
||||
"material" : ["iron", "null"],
|
||||
"volume" : 4,
|
||||
"bashing" : 3,
|
||||
"cutting" : 0,
|
||||
"price" : 40
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "battery_truck",
|
||||
"name" : "truck battery",
|
||||
"description" : "A large 12v lead-acid battery used to power truck electrical systems.",
|
||||
"weight" : 20000,
|
||||
"to_hit" : -2,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : ":",
|
||||
"material" : ["iron", "null"],
|
||||
"volume" : 6,
|
||||
"bashing" : 5,
|
||||
"cutting" : 0,
|
||||
"price" : 60
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "storage_battery",
|
||||
"name" : "storage battery",
|
||||
"description" : "A large storage battery. Useful for crafting.",
|
||||
"weight" : 22679,
|
||||
"to_hit" : -2,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : ":",
|
||||
"material" : ["iron", "null"],
|
||||
"volume" : 8,
|
||||
"bashing" : 6,
|
||||
"cutting" : 0,
|
||||
"price" : 80
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "minireactor",
|
||||
"name" : "minireactor",
|
||||
"description" : "A small portable plutonium reactor. Handle with great care!",
|
||||
"weight" : 27215,
|
||||
"to_hit" : -4,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : ":",
|
||||
"material" : ["steel", "null"],
|
||||
"volume" : 6,
|
||||
"bashing" : 7,
|
||||
"cutting" : 0,
|
||||
"price" : 900
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "solar_panel",
|
||||
"name" : "solar panel",
|
||||
"description" : "Electronic device that can convert solar radiation into electric power. Useful for crafting.",
|
||||
"weight" : 14000,
|
||||
"to_hit" : -4,
|
||||
"color" : "yellow",
|
||||
"symbol" : "]",
|
||||
"material" : ["glass", "null"],
|
||||
"volume" : 12,
|
||||
"bashing" : 1,
|
||||
"cutting" : 0,
|
||||
"price" : 900
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "reinforced_solar_panel",
|
||||
"name" : "reinforced solar panel",
|
||||
"description" : "A solar panel that has been covered with a pane of reinforced glass to protect the delicate solar cells from zombies or errant baseballs. Useful for crafting.",
|
||||
"weight" : 24143,
|
||||
"to_hit" : -4,
|
||||
"color" : "light_blue",
|
||||
"symbol" : "]",
|
||||
"material" : ["glass", "steel"],
|
||||
"volume" : 26,
|
||||
"bashing" : 1,
|
||||
"cutting" : 0,
|
||||
"price" : 900
|
||||
},
|
||||
{
|
||||
"type": "GENERIC",
|
||||
"id": "minifridge",
|
||||
"name": "minifridge",
|
||||
"description": "A very small fridge for keeping food cool, but without electricity it's just a very heavy box with shelves inside.",
|
||||
"weight": 31752,
|
||||
"to_hit": -8,
|
||||
"color": "light_blue",
|
||||
"symbol": "]",
|
||||
"material": "steel",
|
||||
"volume": 20,
|
||||
"bashing": 8,
|
||||
"cutting": 0,
|
||||
"price": 600
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "solar_cell",
|
||||
"name" : "solar cell",
|
||||
"description" : "A small electronic device that can convert solar radiation into electric power. Useful for crafting.",
|
||||
"weight" : 1000,
|
||||
"to_hit" : -4,
|
||||
"color" : "yellow",
|
||||
"symbol" : ";",
|
||||
"material" : ["glass", "null"],
|
||||
"volume" : 1,
|
||||
"bashing" : 1,
|
||||
"cutting" : 0,
|
||||
"price" : 50
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "sheet_metal",
|
||||
"name" : "sheet metal",
|
||||
"description" : "A thin sheet of metal.",
|
||||
"weight" : 1000,
|
||||
"to_hit" : -2,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : "]",
|
||||
"material" : ["steel", "null"],
|
||||
"volume" : 4,
|
||||
"bashing" : 5,
|
||||
"cutting" : 0,
|
||||
"price" : 60
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "steel_plate",
|
||||
"name" : "steel plating",
|
||||
"description" : "A piece of armor plating made of steel.",
|
||||
"weight" : 12880,
|
||||
"to_hit" : -1,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : "]",
|
||||
"material" : ["steel", "null"],
|
||||
"volume" : 12,
|
||||
"bashing" : 6,
|
||||
"cutting" : 0,
|
||||
"price" : 120
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "alloy_plate",
|
||||
"name" : "superalloy plating",
|
||||
"description" : "A piece of armor plating made of sturdy superalloy.",
|
||||
"weight" : 10800,
|
||||
"to_hit" : -1,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : "]",
|
||||
"material" : ["steel", "null"],
|
||||
"volume" : 12,
|
||||
"bashing" : 6,
|
||||
"cutting" : 0,
|
||||
"price" : 185
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "alloy_sheet",
|
||||
"name" : "superalloy sheet",
|
||||
"description" : "A sheet sturdy superalloy, incredibly hard, yet incredibly malleable.",
|
||||
"weight" : 900,
|
||||
"to_hit" : -2,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : ",",
|
||||
"material" : ["steel", "null"],
|
||||
"volume" : 2,
|
||||
"bashing" : -2,
|
||||
"cutting" : 0,
|
||||
"price" : 85
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "spiked_plate",
|
||||
"name" : "spiked plating",
|
||||
"description" : "A piece of armor plating made of steel. It is covered by menacing spikes.",
|
||||
"weight" : 12240,
|
||||
"to_hit" : -1,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : "]",
|
||||
"material" : ["steel", "null"],
|
||||
"volume" : 14,
|
||||
"bashing" : 6,
|
||||
"cutting" : 3,
|
||||
"flags" : ["STAB"],
|
||||
"price" : 185
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "hard_plate",
|
||||
"name" : "hard plating",
|
||||
"description" : "A piece of very thick armor plating made of steel.",
|
||||
"weight" : 32640,
|
||||
"to_hit" : -1,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : "]",
|
||||
"material" : ["steel", "null"],
|
||||
"volume" : 12,
|
||||
"bashing" : 6,
|
||||
"cutting" : 0,
|
||||
"price" : 160
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "kitchen_unit",
|
||||
"name" : "RV kitchen unit",
|
||||
"description" : "A vehicle mountable electric range and sink unit with integrated tool storage for cooking utensils.",
|
||||
"weight" : 102058,
|
||||
"to_hit" : -2,
|
||||
"color" : "light_cyan",
|
||||
"symbol" : "&",
|
||||
"material" : ["steel", "null"],
|
||||
"volume" : 80,
|
||||
"bashing" : 0,
|
||||
"cutting" : 0,
|
||||
"price" : 400
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "weldrig",
|
||||
"name" : "vehicle welding rig",
|
||||
"description" : "A welding rig made to run off a vehicle's storage battery. It has a soldering iron attachment for delicate work, and a compartment to store your extra tools in.",
|
||||
"weight" : 16789,
|
||||
"to_hit" : -2,
|
||||
"color" : "light_red",
|
||||
"symbol" : "&",
|
||||
"material" : ["steel", "null"],
|
||||
"volume" : 80,
|
||||
"bashing" : 0,
|
||||
"cutting" : 0,
|
||||
"price" : 400
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id" : "craftrig",
|
||||
"name" : "FOODCO kitchen buddy",
|
||||
"description" : "Assembled from a set of instructions you found in an old book of DIY projects, the *FOODCO kitchen buddy* claims to be *the perfect solution to all your home-cooking needs!*. While it is surprisingly handy for vacuum-sealing as well as dehydrating food, the cheery sales pitch neglected to mention A - how awkward the damn thing is, and B - how it doesn't take batteries. You're going to have to weld it to a vehicle, or something else with a supply of electricity, if you want to use it. In addition to the cooking features, it also has a water-purification system, a drawer for holding extra tools, and for some insane reason, a press and die set for hand-loading ammunition.",
|
||||
"weight" : 27976,
|
||||
"to_hit" : -2,
|
||||
"color" : "light_green",
|
||||
"symbol" : "&",
|
||||
"material" : ["steel", "null"],
|
||||
"volume" : 111,
|
||||
"bashing" : 0,
|
||||
"cutting" : 0,
|
||||
"price" : 400
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id": "light_emergency_red",
|
||||
"name": "emergency vehicle light (red)",
|
||||
"description": "One of the red-colored lights from the top of an emergency services vehicle. When turned on, the lights rotate to shine in all directions.",
|
||||
"weight": 500,
|
||||
"to_hit": 1,
|
||||
"color": "red",
|
||||
"symbol": ";",
|
||||
"material": ["plastic", "iron"],
|
||||
"volume": 4,
|
||||
"bashing": 1,
|
||||
"cutting": 0,
|
||||
"price": 400
|
||||
},
|
||||
{
|
||||
"type":"GENERIC",
|
||||
"id": "light_emergency_blue",
|
||||
"name": "emergency vehicle light (blue)",
|
||||
"description": "One of the blue-colored lights from the top of an emergency services vehicle. When turned on, the lights rotate to shine in all directions.",
|
||||
"weight": 500,
|
||||
"to_hit": 1,
|
||||
"color": "blue",
|
||||
"symbol": ";",
|
||||
"material": ["plastic", "iron"],
|
||||
"volume": 4,
|
||||
"bashing": 1,
|
||||
"cutting": 0,
|
||||
"price": 400
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,171 @@
|
||||
[
|
||||
{
|
||||
"type" : "lab_note",
|
||||
"text" : "Our chemical department has made great strides in the production of a concentrated mutagen, derived from samples of PE012."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Our chemical department has perfected an untargeted stem cell treatment. Consumption of the treatment will reverse the effects of mutation, and may even cure congenital defects. This substance has been denoted PE018."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Both PE012 and PE018 show great stability. A subject was exposed to both substances, alternating between the mutagen and the purifier. Ultimately, the subject returned to baseline state with no apparent side effects."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "The chemical department has come through with a stable mutagen cocktail. PE050 shows promise as an all-around genetic enhancement, with the worst side effect being digestive upset. The lack of macro-scale physical changes makes it ideal for both military and civilian applications."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Dr. Dionne's team has come up with an ambitious mutagenic cocktail, dubbed PE065. Though its effects are wildly polymorphic and unstable, to say the least, he suggests that several such mutants could effectively check the spread of reanimated XE037 infectees. We are looking into implementation methodology."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "We have made a fascinating discovery; by creating a miniature portal with low stability and high power, one can transpose into the 4th dimension and return immediately, but shifted by several meters. Our subjects oscillated so quickly that none were even aware that they had visited lower planes."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "The research team headed by Dr. Isha has produced a concentrated form of mutagen that shows promising results for the treatment of many forms of disease. Testing reveals that it inhibits the body's pain responses while bolstering the immune system and natural regenerative capabilities, though a few troubling behavioral side effects have been reported."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Our research on teleportation has ground to a halt. For some reason, the creation of a long-range transportation device eludes us, and one can transfer no further than 30 meters."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "I don't know how it happened, but a janitor managed to activate the portal while cleaning the lab, shifting in an assortment of prehistoric fauna. Security was called in immediately but was unable to save the janitor from being torn apart. By the time the confusion settled, all the fauna had been terminated."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Tests on the prehistoric fauna show extremely close genetic relationships with extant and extinct terranian animals. It might be that the portal had performed a transposition in time, unfortunately the portal device was destroyed when security put down the fauna."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "An incident occurred in the teleportation lab, wherein a subject managed to teleport into another subject. The latter was completely destroyed from the inside out, while the former sustained little damage. I would like to explore the phenomenon further, but subjects are expensive."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Test subjects in the teleportation department are showing alarming symptoms. It seems prolonged rapid transposition along the 4th dimension weakens the forces holding one on this plane."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Catastrophe struck in our teleportation department yesterday. It seems that our test subjects are so detached from this plane that they create occasional tunnels along the 4th dimension, allowing life forms to transfer to this plane. All subjects with prolonged exposure have been terminated."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Our lifeform extraction program continues to produce samples of specimen XE037. It seems to be a kind of living, semi-sentient primordial ooze, and is the basis of much of the life we have found."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Specimen XE037, jokingly referred to as \"the blob\", has been observed entering a kind of dormant state, forming a depression in the floor. Hendelson stepped into one of these pits yesterday, and was immediately coated and attacked."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "XE037 shows promise as a catalyst for both cloning and treatments that mimic stem cells. This is further evidence supporting Hendelson's theory of a near universal symbiotic relationship involving XE037."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Several of the more advanced specimens we have retrieved show stunning similarity to XE037. XE142 and XE157 in particular show the same amorphous, slime-like structure as XE037, suggesting a close genetic relationship."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Today we tested weaponry against XE142 and XE157, two amorphous subprime samples. Their form proved to be nearly invulnerable to projectile based weaponry, but they were susceptible to directed energy weapons and flagration."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Our cloning department has failed to produce results. In vats containing stem cell treatments, XE037, and control vats, the subjects simple disintegrated. This suggests that XE037, while compatible with subprime lifeforms, shows only destructive effects on prime plane lifeforms."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "The vivisection program has shown mixed results, revealing an incredible degree of variation in subplane lifeforms. Certain specimens have an internal structure that is amazingly similar to that of mammals, while others seem to have no internal structure at all."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Our security department has identified several key flaws. Though our surface entrance is quite secure, there are several possible points of entry below the surface, particularly in the sewage systems."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Today we applied a very small sample of XE037, suspended in water, to subject TP92, prior to necessary termination. During the postmortem examination, the subject went through a revivification progress, but displayed next to no human intelligence."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Mendelson shows a dismaying lack of organization and security consciousness. Containment of all samples of XE037 is of critical importance, as shown by contamination experiments."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Mendelson has been terminated following an incident with XE037. A substantial mobile sample departed his lab and encountered our security forces. Before the sample was destroyed, it managed to kill two men. Alarmingly, their corpses displayed mobility and extreme aggression."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "We have created a new department to investigate the effects of XE037 on the human body, specifically to examine the revivification effect observed on two prior occasions. Sadly, our human subject pool is dwindling due to the short lifespan of subjects in this program. More will be acquired soon."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Testing XE037 on non-human mammal subjects does not appear to display the same revivifying effect, oddly enough. Acquiring non-human subjects, sadly, is a long and costly process, and research into this area is lacking."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "After our curious results with testing XE037 on non-human mammals, we decided to introduce the substance to some of the insects which have found their way into the lab. Horrifyingly, XE037 caused near-instant mutation and gigantism in the insects, and security intervention was required."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Earlier conjecture that revivification occurred only in humans and insects was premature. Exposure introduces a persistent, low level infection in all mammal subjects, but quickly enters a form of stasis and seems to go dormant."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "The primary factor in determining revivification of mammalian subjects seems to be the amount of XE037 within the body at time of expiration. Smaller mammals such as lab rats do not obtain this critical mass of XE037 before going dormant. Larger canine subjects, however, do."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "I swear they are talking to me. No one believes me. No one understands. They whisper to me, at night, in the dark. Please, please, make them stop."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Program S37ZBE, investigation of XE037 on inert human bodies, is making great strides. Recently we found that XE037 has no effect when introduced to a deceased body; revivification only occurs when the subject is exposed to XE037 prior to expiration."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Attempts to surpass the XE037 mammalian stasis limit have had some success. Direct subcutaneous injection of XE037 quickly spreads through the body, and while it immediately enters stasis after equalizing, it remains in the body."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "There has been an incident in Lab 24, 2 casualties reported, one lethal. A rat involved in the stasis breaking project was hooked to a monitoring machine and left over night. Upon opening the cage, Simon Bellevue was electrocuted, and another researcher at the opposite end of the lab sustained severe current burns, despite never approaching the cage."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "A post mortem on the rat involved in the electrocution incident has revealed several changes to it's internal anatomy centered around it's connection with the monitoring device, and large buildups of XE037 were detected around the connection point."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "There is a belief several other rat subjects experienced changes overnight as well. This hypothesis was informed when an inventory check after the incident found almost twenty rats had gone missing from their cages overnight."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Exposure of large quantities of XE037 to various types of radiation have shown promising results, stimulating activity and forming interesting structural changes in the subject being tested. Exposure to radiation on living subjects schedules."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Exposure to radiation of test subject T3D indicates stimulation of internal XE037 deposits and a temporary lifting of the mammalian stasis condition."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "As in the tests of isolated XE037 samples, prolonged radiation exposure of T3D has resulted in significant structural changes. These do not appear to be random. T3D appears to be in immense pain as a result of these changes, but the lack of an oral opening has rendered him unable to vocalize."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Subject T3D has succumbed to radiation poisoning, but not before undergoing several more physiological changes the lab boys are referring to as \"mutations\". They do not appear to be truly random, and may be an attempt by XE037 to adapt its host to an unknown stimulus."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Post-mortem revivification of subject T3D occurred as expected, followed by an immediate autopsy. The internal changes were significant, with large parts of the subjects internal anatomy replaced with \"organs\" of XE037 with unknown properties, primarily those known to succumb earlier to the effects of radiation poisoning."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Samples of XE037 from subject T3D remains extremely active. Further experimentation on induced mutation in infected individuals shows significant potential. Samples of the enhanced XE037, labeled PE012, have been sent to several researchers for further study."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "S37ZBE, the special investigation into the effects of XE037 on inert human bodies, has made terrific discoveries. It seems that it occasionally displays a mutagenic property which manifests itself after termination of the subject, resulting in a striking variety in postmortem morphology."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Incidence of post-mortem mutation seems to depend on several factors - leading candidates include type and amount of damaged sustained leading to expiration, embedded foreign bodies at time of revivification, proximity to other revived individuals, and the body mass of the subject."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Time also appears to play a large role in post-mortem revivification, as does sustained trauma insufficient to permanently disable the subject. Sufficient amounts of trauma in short periods of time lead to deactivation of XE037, but smaller amounts over several days cause it to expand."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "S37ZBE may be put on indefinite hold shortly. Postmortem morphological changes have reached extreme levels; this morning one subject nearly doubled in size, acquiring enough strength to reduce a concrete wall to rubble. It required a 6 man team, heavily armed, to re-terminate the subject."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Jakobson insists that S37ZBE must continue, despite the extreme security and safety risks. Nearly half of our security forces have been redirected to the S37ZBE project, simply to deal with the occasional escape of a subject."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Jakobson was killed today by one of S37ZBE's subjects; ironic considering how hard he fought to keep the project active. Alarmingly, his corpse revivified immediately. This suggests that XE037 may have contaminated the lab at large."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Termination of a subject which was never a part of S37ZBE has confirmed my fears. XE037 has contaminated most, if not all of the laboratory, most likely via the water supply. Research has started immediately into a process to destroy XE037 within the human body."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Despite a wide variety of treatments, we have been completely unsuccessful in removing XE037 from human subjects. Every individual displayed revivification post termination. Interestingly, XE037 seems to be completely inert prior to termination."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "We have finally found success in S37BEP, our emergency investigation into the destruction of XE037 in living subjects. 8 of 10 of the subjects showed no revivification, despite confirmed dosages of XE037."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "PE062, our \"cure\" for XE037 contamination, has neared perfection. Sadly, the production of PE062 is a costly and time-consuming process. What is more, the substance shows no effect on postmortem subjects whatsoever; a substance which renders XE037 inert after it has activated would be immensely useful in the case of an outbreak."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "An alarming discovery has been made. A colony of XE037 has formed nearly a half mile from the laboratory. It is unclear how it escaped; it is quite possible that it is in the ground water now."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "An emergency meeting was held today to discuss the possible implications of widespread XE037 contamination. It was agreed that neutralization must be instated immediately to prevent a catastrophic event."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "It has begun. The XE037 contamination has spread for miles, and those who have since deceased have revivified. It is my fear that extremely large populations will be decimated by this pandemic. We must find a way to remove XE037 from revivified bodies."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "We have even more distressing news than the widespread XE037 contamination, there are reports of the XE037 mutating into various new variants. See data files on XE037a - XE037f. Research on the effects of these variants is ongoing. We do know that XE037d shows signs of PE062 immunity, and XE037b can revive various breeds of canines. However, revival is not as guaranteed as standard XE037 humanoid infection. Canine body size seems to influence the chances. See experiment tXE037b_c."
|
||||
},{
|
||||
"type" : "lab_note",
|
||||
"text" : "Today we found our solution, quite by accident. It was found that XE037 is completely removed from a revivified body following a series of extremely-high energy 4th dimensional transpositions. Unfortunately, this invariably allows subplane life forms to pass into the prime plan. The cure is worse than the disease."
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,445 @@
|
||||
[
|
||||
{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_none",
|
||||
"name" : "No style",
|
||||
"description" : "Not a martial art, this is just plain old punching and kicking.",
|
||||
"arm_block" : -1,
|
||||
"leg_block" : -1
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_karate",
|
||||
"name" : "Karate",
|
||||
"description" : "Karate is a popular martial art, originating from Japan. It focuses on rapid, precise attacks, blocks, and fluid movement. A successful hit allows you an extra dodge and two extra blocks on the following round.",
|
||||
"arm_block" : 2,
|
||||
"onhit_buffs" : [
|
||||
{
|
||||
"id" : "karate_hit_buff",
|
||||
"name" : "Karate Hit",
|
||||
"unarmed_allowed" : true,
|
||||
"min_unarmed" : 0,
|
||||
"buff_duration" : 3,
|
||||
"description" : "+1 Dodges, +2 Blocks",
|
||||
"bonus_dodges" : 1,
|
||||
"bonus_blocks" : 2
|
||||
}
|
||||
],
|
||||
"techniques" : ["tec_karate_rapid", "tec_karate_precise"]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_aikido",
|
||||
"name" : "Aikido",
|
||||
"description" : "Aikido is a Japanese martial art focused on self-defense, while minimizing injury to the attacker. It uses defensive throws and disarms. Damage done while using this technique is halved, but pain inflicted is doubled.",
|
||||
"static_buffs" : [
|
||||
{
|
||||
"id" : "aikido_half_damage",
|
||||
"name" : "Aikido",
|
||||
"unarmed_allowed" : true,
|
||||
"bash_mult" : 0.5,
|
||||
"min_unarmed" : 0,
|
||||
"buff_duration" : 2,
|
||||
"description" : "Half damage to enemies"
|
||||
}
|
||||
],
|
||||
"techniques" : [
|
||||
"tec_aikido_feint",
|
||||
"tec_aikido_disarm",
|
||||
"tec_aikido_throw"
|
||||
]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_judo",
|
||||
"name" : "Judo",
|
||||
"description" : "Judo is a martial art that focuses on grabs and throws, both defensive and offensive. It also focuses on recovering from throws; while using judo, you will not lose any turns to being thrown or knocked down.",
|
||||
"static_buffs" : [
|
||||
{
|
||||
"id" : "judo_recovery",
|
||||
"name" : "Judo",
|
||||
"unarmed_allowed" : true,
|
||||
"min_unarmed" : 0,
|
||||
"buff_duration" : 2,
|
||||
"throw_immune" : true,
|
||||
"description" : "Immune to throws and knockdowns"
|
||||
}
|
||||
],
|
||||
"techniques" : ["tec_judo_grab", "tec_judo_throw"]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_tai_chi",
|
||||
"name" : "Tai Chi",
|
||||
"description" : "Though tai chi is often seen as a form of mental and physical exercise, it is a legitimate martial art, focused on self-defense. Its ability to absorb the force of an attack makes your Perception decrease damage further on a block.",
|
||||
"arm_block" : 1,
|
||||
"static_buffs" : [
|
||||
{
|
||||
"id" : "tai_chi_block",
|
||||
"name" : "Tai Chi",
|
||||
"unarmed_allowed" : true,
|
||||
"min_unarmed" : 0,
|
||||
"buff_duration" : 2,
|
||||
"block_per" : 0.8,
|
||||
"description" : "Perception decreases damage when blocking"
|
||||
}
|
||||
],
|
||||
"techniques" : ["tec_taichi_disarm", "tec_taichi_precise"]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_capoeira",
|
||||
"name" : "Capoeira",
|
||||
"description" : "A dance-like style with its roots in Brazilian slavery, capoeira is focused on fluid movement and sweeping kicks. Moving a tile will boost attack and damage and attacking boosts dodge. These bonuses stack up to three times each.",
|
||||
"onhit_buffs" : [
|
||||
{
|
||||
"id" : "capoeira_hit_buff",
|
||||
"name" : "Capoeira Tempo",
|
||||
"description" : "+1 dodge and +1 blocks per stack",
|
||||
"unarmed_allowed" : true,
|
||||
"min_unarmed" : 3,
|
||||
"buff_duration" : 5,
|
||||
"max_stacks" : 3,
|
||||
"bonus_blocks" : 1,
|
||||
"dodge" : 1
|
||||
}
|
||||
],
|
||||
"onmove_buffs" : [
|
||||
{
|
||||
"id" : "capoeira_move_buff",
|
||||
"name" : "Capoeira Momentum",
|
||||
"description" : "+2 bash and +1 hit per stack",
|
||||
"unarmed_allowed" : true,
|
||||
"min_unarmed" : 2,
|
||||
"buff_duration" : 3,
|
||||
"max_stacks" : 3,
|
||||
"bash" : 2,
|
||||
"hit" : 1
|
||||
}
|
||||
],
|
||||
"techniques" : ["tec_capoeira_feint"]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_krav_maga",
|
||||
"name" : "Krav Maga",
|
||||
"description" : "Originating in Israel, Krav Maga is based on taking down an enemy quickly and effectively. It focuses on applicable attacks rather than showy or complex moves. Popular among police and armed forces everywhere.",
|
||||
"arm_block" : 2,
|
||||
"leg_block" : 4,
|
||||
"static_buffs" : [
|
||||
{
|
||||
"id" : "krav_maga_static",
|
||||
"name" : "Krav Maga",
|
||||
"unarmed_allowed" : true,
|
||||
"min_unarmed" : 0,
|
||||
"buff_duration" : 2,
|
||||
"bash_str" : 0.15,
|
||||
"description" : "Slightly increased unarmed damage"
|
||||
}
|
||||
],
|
||||
"techniques" : [
|
||||
"tec_krav_maga_rapid",
|
||||
"tec_krav_maga_feint",
|
||||
"tec_krav_maga_precise",
|
||||
"tec_krav_maga_disarm",
|
||||
"tec_krav_maga_grab"
|
||||
]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_muay_thai",
|
||||
"name" : "Muay Thai",
|
||||
"description" : "Also referred to as the \"Art of 8 Limbs,\" Muay Thai is a popular fighting technique from Thailand that uses powerful strikes. Your strikes are more powerful with high strength and weaker with low strength, and can momentarily disorient enemies.",
|
||||
"arm_block" : 3,
|
||||
"leg_block" : 4,
|
||||
"static_buffs" : [
|
||||
{
|
||||
"id" : "muay_thai_static",
|
||||
"name" : "Muay Thai",
|
||||
"unarmed_allowed" : true,
|
||||
"bash" : -5,
|
||||
"bash_str" : 0.5,
|
||||
"description" : "Attacks scale better with strength"
|
||||
}
|
||||
],
|
||||
"techniques" : [
|
||||
"tec_muay_thai_elbow",
|
||||
"tec_muay_thai_kick",
|
||||
"tec_muay_thai_knee"
|
||||
]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_ninjutsu",
|
||||
"name" : "Ninjutsu",
|
||||
"description" : "Ninjutsu is a martial art and set of tactics used by ninja in feudal Japan. It focuses on rapid, precise, silent strikes. Ninjutsu is entirely silent. It also provides small combat bonuses the turn after moving a tile.",
|
||||
"arm_block" : 3,
|
||||
"static_buffs" : [
|
||||
{
|
||||
"id" : "ninjutsu_static",
|
||||
"name" : "Ninjutsu",
|
||||
"unarmed_allowed" : true,
|
||||
"melee_allowed" : true,
|
||||
"quiet" : true,
|
||||
"description" : "Silent melee attacks"
|
||||
}
|
||||
],
|
||||
"techniques" : ["tec_ninjutsu_precise"]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_taekwondo",
|
||||
"name" : "Taekwondo",
|
||||
"description" : "Taekwondo is the national sport of Korea, and was used by the South Korean army in the 20th century. Focused on kicks and punches, it also includes strength training; your blocks absorb extra damage the stronger you are.",
|
||||
"arm_block" : 2,
|
||||
"leg_block" : 3,
|
||||
"static_buffs" : [
|
||||
{
|
||||
"id" : "taekwondo_static",
|
||||
"name" : "Taekwondo",
|
||||
"unarmed_allowed" : true,
|
||||
"block_str" : 0.8,
|
||||
"description" : "Strength decreases damage when blocking"
|
||||
}
|
||||
],
|
||||
"techniques" : [
|
||||
"tec_taekwondo_precise",
|
||||
"tec_taekwondo_push",
|
||||
"tec_taekwondo_sweep"
|
||||
]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_zui_quan",
|
||||
"name" : "Zui Quan",
|
||||
"description": "AKA \"drunken boxing,\" Zui Quan imitates the movement of a drunk to confuse the enemy. The turn after you successfully attack, you may dodge any number of attacks with no penalty.",
|
||||
"onhit_buffs" : [
|
||||
{
|
||||
"id" : "zuiquan_hit_buff",
|
||||
"name" : "Drunk Dodging",
|
||||
"description" : "Unlimited dodges after successful hit",
|
||||
"unarmed_allowed" : true,
|
||||
"dodges_bonus" : 50
|
||||
}
|
||||
],
|
||||
"techniques" : [
|
||||
"tec_zuiquan_feint",
|
||||
"tec_counter"
|
||||
]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_crane",
|
||||
"name" : "Crane Kung Fu",
|
||||
"description": "One of the five Shaolin animal styles. The Crane uses intricate hand techniques and jumping dodges. Dexterity determines the majority of your damage, rather than Strength; you also receive a dodge bonus the turn after moving a tile.",
|
||||
"arm_block" : 3,
|
||||
"static_buffs" : [
|
||||
{
|
||||
"id" : "crane_static",
|
||||
"name" : "Crane Precision",
|
||||
"description" : "Damage bonus from dexterity at the cost of damage from strength.",
|
||||
"unarmed_allowed" : true,
|
||||
"bash_str" : -0.2,
|
||||
"bash_dex" : 0.8
|
||||
}
|
||||
],
|
||||
"onmove_buffs" : [
|
||||
{
|
||||
"id" : "crane_move_buff",
|
||||
"name" : "Crane Flight",
|
||||
"description" : "+2 Dodge",
|
||||
"unarmed_allowed" : true,
|
||||
"min_unarmed" : 2,
|
||||
"buff_duration" : 1,
|
||||
"dodge" : 2
|
||||
}
|
||||
],
|
||||
"techniques" : [
|
||||
"tec_crane_feint",
|
||||
"tec_crane_break",
|
||||
"tec_crane_precise"
|
||||
]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_dragon",
|
||||
"name" : "Dragon Kung Fu",
|
||||
"description": "One of the five Shaolin animal styles. The Dragon uses fluid movements and hard strikes. Intelligence improves your accuracy and damage dealt, as does moving.",
|
||||
"arm_block" : 2,
|
||||
"static_buffs" : [
|
||||
{
|
||||
"id" : "dragon_static",
|
||||
"name" : "Dragon Intelligence",
|
||||
"description" : "Bonus damage from intelligence.",
|
||||
"unarmed_allowed" : true,
|
||||
"bash_int" : 0.8
|
||||
}
|
||||
],
|
||||
"onmove_buffs" : [
|
||||
{
|
||||
"id" : "dragon_move_buff",
|
||||
"name" : "Dragon Flight",
|
||||
"description" : "+2 Acc/Dam",
|
||||
"unarmed_allowed" : true,
|
||||
"min_unarmed" : 2,
|
||||
"buff_duration" : 1,
|
||||
"hit" : 2,
|
||||
"bash" : 2
|
||||
}
|
||||
],
|
||||
"techniques" : [
|
||||
"tec_dragon_grab",
|
||||
"tec_counter",
|
||||
"tec_dragon_sweep",
|
||||
"tec_dragon_brutal"
|
||||
]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_leopard",
|
||||
"name" : "Leopard Kung Fu",
|
||||
"description": "One of the five Shaolin animal styles. The Leopard focuses on rapid, strategically planned strikes. Perception and Inteligence both boost accuracy, and moving further boosts your accuracy.",
|
||||
"static_buffs" : [
|
||||
{
|
||||
"id" : "leopard_static",
|
||||
"name" : "Leopard Strategy",
|
||||
"description" : "Perception and intelligence provide a bonus to hit.",
|
||||
"unarmed_allowed" : true,
|
||||
"hit_per" : 0.2,
|
||||
"hit_int" : 0.2
|
||||
}
|
||||
],
|
||||
"onmove_buffs" : [
|
||||
{
|
||||
"id" : "leopard_move_buff",
|
||||
"name" : "Leopard Stalk",
|
||||
"description" : "+2 Accuracy",
|
||||
"unarmed_allowed" : true,
|
||||
"min_unarmed" : 2,
|
||||
"buff_duration" : 1,
|
||||
"hit" : 2
|
||||
}
|
||||
],
|
||||
"techniques" : [
|
||||
"tec_leopard_rapid",
|
||||
"tec_counter",
|
||||
"tec_leopard_precise"
|
||||
]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_tiger",
|
||||
"name" : "Tiger Kung Fu",
|
||||
"description": "One of the five Shaolin animal styles. The Tiger focuses on relentless attacks above all else. Your Strength determines your accuracy, and your attacks do increasing damage as you continue attacking.",
|
||||
"static_buffs" : [
|
||||
{
|
||||
"id" : "tiger_static",
|
||||
"name" : "Tiger Strength",
|
||||
"description" : "Strength provides additional damage bonus.",
|
||||
"unarmed_allowed" : true,
|
||||
"hit_str" : 0.8
|
||||
}
|
||||
],
|
||||
"onhit_buffs" : [
|
||||
{
|
||||
"id" : "tiger_hit_buff",
|
||||
"name" : "Tiger Fury",
|
||||
"description" : "+3 Bash/atk",
|
||||
"unarmed_allowed" : true,
|
||||
"min_unarmed" : 2,
|
||||
"buff_duration" : 3,
|
||||
"max_stacks" : 8,
|
||||
"bash" : 3
|
||||
}
|
||||
],
|
||||
"techniques" : [
|
||||
"tec_tiger_grab"
|
||||
]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_snake",
|
||||
"name" : "Snake Kung Fu",
|
||||
"description": "One of the five Shaolin animal styles. The Snake focuses on sinuous movement and precision strikes. Your Perception iproves yur accuracy and your damage.",
|
||||
"static_buffs" : [
|
||||
{
|
||||
"id" : "snake_static",
|
||||
"name" : "Snake Sight",
|
||||
"description" : "Perception provides a bonus to hit.",
|
||||
"unarmed_allowed" : true,
|
||||
"hit_per" : 0.8
|
||||
}
|
||||
],
|
||||
"techniques" : [
|
||||
"tec_snake_rapid",
|
||||
"tec_snake_feint",
|
||||
"tec_snake_break",
|
||||
"tec_snake_precise"
|
||||
]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_centipede",
|
||||
"name" : "Centipede Kung Fu",
|
||||
"description": "One of the Five Deadly Venoms. Centipede Style uses an onslaught of rapid strikes. Each attack you land reduces the cost of attacking by 4.",
|
||||
"arm_block" : 3,
|
||||
"onhit_buffs" : [
|
||||
{
|
||||
"id" : "centipede_hit_buff",
|
||||
"name" : "Hundred-Hitter",
|
||||
"description" : "+4 Atk Speed",
|
||||
"unarmed_allowed" : true,
|
||||
"min_unarmed" : 1,
|
||||
"buff_duration" : 3,
|
||||
"max_stacks" : 8,
|
||||
"rapid" : 4
|
||||
}
|
||||
],
|
||||
"techniques" : [
|
||||
"tec_centipede_rapid"
|
||||
]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_scorpion",
|
||||
"name" : "Scorpion Kung Fu",
|
||||
"description": "One of the Five Deadly Venoms. Scorpion Style is a mysterious art which uses pincer-like hands and a stinger kick. Critical hits should do massive damage and knock your target back, and we'll fix that as soon as we can.",
|
||||
"arm_block" : 3,
|
||||
"static_buffs" : [
|
||||
{
|
||||
"id" : "scorpion_static",
|
||||
"name" : "Scorpion Venom",
|
||||
"description" : "Flat bonus to damage.",
|
||||
"unarmed_allowed" : true,
|
||||
"bash" : 2
|
||||
}
|
||||
],
|
||||
"techniques" : [
|
||||
"tec_scorpion_precise",
|
||||
"tec_scorpion_brutal"
|
||||
]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_toad",
|
||||
"name" : "Toad Kung Fu",
|
||||
"description": "One of the Five Deadly Venoms. Toad Style will be immensely powerful through its immunity to nearly any weapon, once we get the connection rebuilt. Until then, best not meditate by pausing, though it used to give you armor proportional to your Intelligence and Perception.",
|
||||
"arm_block" : 3,
|
||||
"static_buffs" : [
|
||||
{
|
||||
"id" : "toad_static",
|
||||
"name" : "Toad Armor",
|
||||
"description" : "Perception and intelligence provide a bonus to block.",
|
||||
"unarmed_allowed" : true,
|
||||
"block_per" : 0.8,
|
||||
"block_int" : 0.8
|
||||
}
|
||||
],
|
||||
"techniques" : [
|
||||
"tec_toad_grab"
|
||||
]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_lizard",
|
||||
"name" : "Lizard Kung Fu",
|
||||
"description": "One of the Five Deadly Venoms, and likely to be refactored to a mutation at the next save-compatibility breaker. Lizard Style docuses on using walls to your advantage.",
|
||||
"arm_block" : 2,
|
||||
"techniques" : [
|
||||
"tec_counter"
|
||||
]
|
||||
},{
|
||||
"type" : "martial_art",
|
||||
"id" : "style_venom_snake",
|
||||
"name" : "Viper Kung Fu",
|
||||
"description": "One of the Five Deadly Venoms. Viper Style has a uniqe three-part combo, ehich is supposed to initiate on a critical strike, then chain into piercing damage and a two-handed Viper Strike.",
|
||||
"techniques" : [
|
||||
"tec_venom_snake_rapid",
|
||||
"tec_venom_snake_feint",
|
||||
"tec_venom_snake_break"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
[
|
||||
{
|
||||
"ident" : "null",
|
||||
"type" : "material",
|
||||
"ident" : "null",
|
||||
"name" : "Null",
|
||||
"bash_resist" : 0,
|
||||
"cut_resist" : 0,
|
||||
@@ -11,9 +12,9 @@
|
||||
"elec_resist" : 0,
|
||||
"fire_resist" : 0,
|
||||
"density" : 1
|
||||
},
|
||||
{
|
||||
"ident" : "veggy",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "veggy",
|
||||
"name" : "Plant Matter",
|
||||
"bash_resist" : 1,
|
||||
"cut_resist" : 1,
|
||||
@@ -24,9 +25,9 @@
|
||||
"elec_resist" : 1,
|
||||
"fire_resist" : 0,
|
||||
"density" : 4
|
||||
},
|
||||
{
|
||||
"ident" : "flesh",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "flesh",
|
||||
"name" : "Flesh",
|
||||
"bash_resist" : 1,
|
||||
"cut_resist" : 1,
|
||||
@@ -37,9 +38,9 @@
|
||||
"elec_resist" : 1,
|
||||
"fire_resist" : 0,
|
||||
"density" : 5
|
||||
},
|
||||
{
|
||||
"ident" : "powder",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "powder",
|
||||
"name" : "Powder",
|
||||
"bash_resist" : 1,
|
||||
"cut_resist" : 1,
|
||||
@@ -50,9 +51,9 @@
|
||||
"elec_resist" : 2,
|
||||
"fire_resist" : 0,
|
||||
"density" : 1
|
||||
},
|
||||
{
|
||||
"ident" : "hflesh",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "hflesh",
|
||||
"name" : "Human Flesh",
|
||||
"bash_resist" : 1,
|
||||
"cut_resist" : 1,
|
||||
@@ -63,9 +64,9 @@
|
||||
"elec_resist" : 1,
|
||||
"fire_resist" : 0,
|
||||
"density" : 5
|
||||
},
|
||||
{
|
||||
"ident" : "cotton",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "cotton",
|
||||
"name" : "Cotton",
|
||||
"bash_resist" : 1,
|
||||
"cut_resist" : 1,
|
||||
@@ -76,9 +77,9 @@
|
||||
"elec_resist" : 2,
|
||||
"fire_resist" : 0,
|
||||
"density" : 3
|
||||
},
|
||||
{
|
||||
"ident" : "wool",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "wool",
|
||||
"name" : "Wool",
|
||||
"bash_resist" : 1,
|
||||
"cut_resist" : 1,
|
||||
@@ -89,9 +90,9 @@
|
||||
"elec_resist" : 2,
|
||||
"fire_resist" : 0,
|
||||
"density" : 9
|
||||
},
|
||||
{
|
||||
"ident" : "leather",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "leather",
|
||||
"name" : "Leather",
|
||||
"bash_resist" : 2,
|
||||
"cut_resist" : 2,
|
||||
@@ -102,9 +103,9 @@
|
||||
"elec_resist" : 2,
|
||||
"fire_resist" : 1,
|
||||
"density" : 6
|
||||
},
|
||||
{
|
||||
"ident" : "kevlar",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "kevlar",
|
||||
"name" : "Kevlar",
|
||||
"bash_resist" : 2,
|
||||
"cut_resist" : 4,
|
||||
@@ -115,9 +116,9 @@
|
||||
"elec_resist" : 2,
|
||||
"fire_resist" : 1,
|
||||
"density" : 10
|
||||
},
|
||||
{
|
||||
"ident" : "fur",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "fur",
|
||||
"name" : "Fur",
|
||||
"bash_resist" : 2,
|
||||
"cut_resist" : 2,
|
||||
@@ -128,9 +129,9 @@
|
||||
"elec_resist" : 2,
|
||||
"fire_resist" : 0,
|
||||
"density" : 9
|
||||
},
|
||||
{
|
||||
"ident" : "chitin",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "chitin",
|
||||
"name" : "Chitin",
|
||||
"bash_resist" : 3,
|
||||
"cut_resist" : 4,
|
||||
@@ -141,9 +142,9 @@
|
||||
"elec_resist" : 2,
|
||||
"fire_resist" : 2,
|
||||
"density" : 10
|
||||
},
|
||||
{
|
||||
"ident" : "bone",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "bone",
|
||||
"name" : "Bone",
|
||||
"bash_resist" : 2,
|
||||
"cut_resist" : 3,
|
||||
@@ -154,9 +155,9 @@
|
||||
"elec_resist" : 2,
|
||||
"fire_resist" : 4,
|
||||
"density" : 7
|
||||
},
|
||||
{
|
||||
"ident" : "stone",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "stone",
|
||||
"name" : "Stone",
|
||||
"bash_resist" : 6,
|
||||
"cut_resist" : 6,
|
||||
@@ -167,9 +168,9 @@
|
||||
"elec_resist" : 2,
|
||||
"fire_resist" : 2,
|
||||
"density" : 17
|
||||
},
|
||||
{
|
||||
"ident" : "paper",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "paper",
|
||||
"name" : "Paper",
|
||||
"bash_resist" : 1,
|
||||
"cut_resist" : 1,
|
||||
@@ -180,9 +181,9 @@
|
||||
"elec_resist" : 2,
|
||||
"fire_resist" : 0,
|
||||
"density" : 4
|
||||
},
|
||||
{
|
||||
"ident" : "wood",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "wood",
|
||||
"name" : "Wood",
|
||||
"bash_resist" : 3,
|
||||
"cut_resist" : 2,
|
||||
@@ -193,9 +194,9 @@
|
||||
"elec_resist" : 2,
|
||||
"fire_resist" : 0,
|
||||
"density" : 4
|
||||
},
|
||||
{
|
||||
"ident" : "plastic",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "plastic",
|
||||
"name" : "Plastic",
|
||||
"bash_resist" : 2,
|
||||
"cut_resist" : 2,
|
||||
@@ -206,9 +207,9 @@
|
||||
"elec_resist" : 2,
|
||||
"fire_resist" : 0,
|
||||
"density" : 8
|
||||
},
|
||||
{
|
||||
"ident" : "glass",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "glass",
|
||||
"name" : "Glass",
|
||||
"bash_resist" : 3,
|
||||
"cut_resist" : 4,
|
||||
@@ -219,9 +220,9 @@
|
||||
"elec_resist" : 2,
|
||||
"fire_resist" : 2,
|
||||
"density" : 14
|
||||
},
|
||||
{
|
||||
"ident" : "iron",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "iron",
|
||||
"name" : "Iron",
|
||||
"bash_resist" : 4,
|
||||
"cut_resist" : 4,
|
||||
@@ -232,9 +233,9 @@
|
||||
"elec_resist" : 0,
|
||||
"fire_resist" : 2,
|
||||
"density" : 52
|
||||
},
|
||||
{
|
||||
"ident" : "steel",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "steel",
|
||||
"name" : "Steel",
|
||||
"bash_resist" : 6,
|
||||
"cut_resist" : 6,
|
||||
@@ -245,9 +246,9 @@
|
||||
"elec_resist" : 0,
|
||||
"fire_resist" : 2,
|
||||
"density" : 52
|
||||
},
|
||||
{
|
||||
"ident" : "silver",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "silver",
|
||||
"name" : "Silver",
|
||||
"bash_resist" : 2,
|
||||
"cut_resist" : 3,
|
||||
@@ -258,9 +259,9 @@
|
||||
"elec_resist" : 0,
|
||||
"fire_resist" : 2,
|
||||
"density" : 70
|
||||
},
|
||||
{
|
||||
"ident" : "gold",
|
||||
},{
|
||||
"type" : "material",
|
||||
"ident" : "gold",
|
||||
"name" : "Gold",
|
||||
"bash_resist" : 1,
|
||||
"cut_resist" : 1,
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,488 @@
|
||||
[
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_FOREST",
|
||||
"default" : "mon_squirrel",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_bat", "freq" : 10, "cost_multiplier" : 2, "pack_size" : [1,8] },
|
||||
{ "monster" : "mon_bear", "freq" : 4, "cost_multiplier" : 10, "ends" : 72 },
|
||||
{ "monster" : "mon_bear", "freq" : 4, "cost_multiplier" : 10, "ends" : 168 },
|
||||
{ "monster" : "mon_bear", "freq" : 4, "cost_multiplier" : 10, "ends" : 672 },
|
||||
{ "monster" : "mon_bear", "freq" : 4, "cost_multiplier" : 10, "ends" : 2160 },
|
||||
{ "monster" : "mon_bear", "freq" : 4, "cost_multiplier" : 10 },
|
||||
{ "monster" : "mon_bobcat", "freq" : 20, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_cat", "freq" : 20, "cost_multiplier" : 10},
|
||||
{ "monster" : "mon_cat", "freq" : 10, "cost_multiplier" : 10, "pack_size" : [1,8] },
|
||||
{ "monster" : "mon_chicken", "freq" : 50, "cost_multiplier" : 10, "pack_size" : [1,16] },
|
||||
{ "monster" : "mon_chipmunk", "freq" : 100, "cost_multiplier" : 0, "pack_size" : [1,2] },
|
||||
{ "monster" : "mon_cougar", "freq" : 10, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_crow", "freq" : 30, "cost_multiplier" : 0, "pack_size" : [1,14] },
|
||||
{ "monster" : "mon_deer", "freq" : 20, "cost_multiplier" : 2, "pack_size" : [1,5] },
|
||||
{ "monster" : "mon_dog", "freq" : 50, "cost_multiplier" : 25, "pack_size" : [1,12] },
|
||||
{ "monster" : "mon_fox_gray", "freq" : 20, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_fox_red", "freq" : 25, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_groundhog", "freq" : 10, "cost_multiplier" : 5, "pack_size" : [1,6] },
|
||||
{ "monster" : "mon_hare", "freq" : 30, "cost_multiplier" : 2, "pack_size" : [1,6] },
|
||||
{ "monster" : "mon_moose", "freq" : 10, "cost_multiplier" : 3 },
|
||||
{ "monster" : "mon_mosquito", "freq" : 100, "cost_multiplier" : 0, "conditions" : ["TWILIGHT"] },
|
||||
{ "monster" : "mon_mosquito", "freq" : 50, "cost_multiplier" : 0, "pack_size" : [1,14], "conditions" : ["TWILIGHT"] },
|
||||
{ "monster" : "mon_rabbit", "freq" : 25, "cost_multiplier" : 0, "pack_size" : [1,5] },
|
||||
{ "monster" : "mon_shrew", "freq" : 15, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_squirrel_red", "freq" : 35, "cost_multiplier" : 0, "pack_size" : [1,2] },
|
||||
{ "monster" : "mon_weasel", "freq" : 15, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_wolf", "freq" : 15, "cost_multiplier" : 2, "pack_size" : [2,5] },
|
||||
{ "monster" : "mon_coyote", "freq" : 30, "cost_multiplier" : 2, "pack_size" : [1,6] },
|
||||
{ "monster" : "mon_coyote_wolf", "freq" : 15, "cost_multiplier" : 2, "pack_size" : [1,8] },
|
||||
{ "monster" : "mon_turkey", "freq" : 10, "cost_multiplier" : 2, "pack_size" : [1,18] },
|
||||
{ "monster" : "mon_raccoon", "freq" : 20, "cost_multiplier" : 0, "pack_size" : [1,3] },
|
||||
{ "monster" : "mon_opossum", "freq" : 20, "cost_multiplier" : 0, "pack_size" : [1,3] },
|
||||
{ "monster" : "mon_deer_mouse", "freq" : 20, "cost_multiplier" : 0, "pack_size" : [1,2] },
|
||||
{ "monster" : "mon_sewer_rat", "freq" : 20, "cost_multiplier" : 0, "pack_size" : [1,3] },
|
||||
{ "monster" : "mon_black_rat", "freq" : 20, "cost_multiplier" : 0, "pack_size" : [1,5] },
|
||||
{ "monster" : "mon_rattlesnake", "freq" : 15, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_spider_wolf", "freq" : 15, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_spider_wolf_giant", "freq" : 15, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_spider_jumping", "freq" : 15, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_spider_jumping_giant", "freq" : 15, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombear", "freq" : 4, "cost_multiplier" : 10, "starts" : 72 },
|
||||
{ "monster" : "mon_zombear", "freq" : 4, "cost_multiplier" : 10, "starts" : 168 },
|
||||
{ "monster" : "mon_zombear", "freq" : 4, "cost_multiplier" : 10, "starts" : 672 },
|
||||
{ "monster" : "mon_zombear", "freq" : 4, "cost_multiplier" : 10, "starts" : 2160 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_DOMESTIC",
|
||||
"default" : "mon_dog",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_cat", "freq" : 100, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_cat", "freq" : 20, "cost_multiplier" : 10, "pack_size" : [2,8] },
|
||||
{ "monster" : "mon_dog", "freq" : 50, "cost_multiplier" : 25, "pack_size" : [1,12] },
|
||||
{ "monster" : "mon_chicken", "freq" : 50, "cost_multiplier" : 10, "pack_size" : [1,16] },
|
||||
{ "monster" : "mon_cow", "freq" : 50, "cost_multiplier" : 25, "pack_size" : [1,8] },
|
||||
{ "monster" : "mon_horse", "freq" : 50, "cost_multiplier" : 25, "pack_size" : [1,4] },
|
||||
{ "monster" : "mon_pig", "freq" : 50, "cost_multiplier" : 25, "pack_size" : [1,6] },
|
||||
{ "monster" : "mon_sheep", "freq" : 50, "cost_multiplier" : 25, "pack_size" : [1,12] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_RIVER",
|
||||
"default" : "mon_frog",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_beaver", "freq" : 30, "cost_multiplier" : 10, "pack_size" : [1,3] },
|
||||
{ "monster" : "mon_mink", "freq" : 10, "cost_multiplier" : 20, "pack_size" : [1,2] },
|
||||
{ "monster" : "mon_muskrat", "freq" : 30, "cost_multiplier" : 5, "pack_size" : [1,5] },
|
||||
{ "monster" : "mon_otter", "freq" : 10, "cost_multiplier" : 5, "pack_size" : [1,8] },
|
||||
{ "monster" : "mon_sludge_crawler", "freq" : 15, "cost_multiplier" : 50 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_CAVE",
|
||||
"default" : "mon_null",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_bat", "freq" : 600, "cost_multiplier" : 5, "pack_size" : [6,32] },
|
||||
{ "monster" : "mon_bear", "freq" : 100, "cost_multiplier" : 10, "pack_size" : [1,3] },
|
||||
{ "monster" : "mon_cougar", "freq" : 100, "cost_multiplier" : 20, "pack_size" : [1,2] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_ANT",
|
||||
"default" : "mon_ant",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_ant_larva", "freq" : 40, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_ant_soldier", "freq" : 90, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_ant_queen", "freq" : 0, "cost_multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_BEE",
|
||||
"default" : "mon_bee",
|
||||
"monsters" : [
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_WORM",
|
||||
"default" : "mon_worm",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_graboid", "freq" : 30, "cost_multiplier" : 20 },
|
||||
{ "monster" : "mon_halfworm", "freq" : 0, "cost_multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_ZOMBIE",
|
||||
"default" : "mon_zombie",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie", "freq" : 1, "cost_multiplier": 7, "pack_size": [5,10]},
|
||||
{ "monster" : "mon_zombie", "freq" : 1, "cost_multiplier": 13, "pack_size": [15,20]},
|
||||
{ "monster" : "mon_zombie", "freq" : 1, "cost_multiplier": 20, "pack_size": [25,30]},
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 40, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 1, "cost_multiplier" : 4, "pack_size": [3,5]},
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 1, "cost_multiplier" : 16, "pack_size": [5,8]},
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 1, "cost_multiplier" : 24, "pack_size": [8,12]},
|
||||
{ "monster" : "mon_zombie_child", "freq" : 20, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_zombie_soldier", "freq" : 10, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_cop", "freq" : 20, "cost_multiplier" : 3 },
|
||||
{ "monster" : "mon_zombie_grabber", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_hunter", "freq" : 20, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_skeleton", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_smoker", "freq" : 10, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_swimmer", "freq" : 10, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_shrieker", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_spitter", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_electric", "freq" : 10, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_necro", "freq" : 5, "cost_multiplier" : 25 },
|
||||
{ "monster" : "mon_boomer", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_brute", "freq" : 10, "cost_multiplier" : 15 },
|
||||
{ "monster" : "mon_zombie_hulk", "freq" : 1, "cost_multiplier" : 50 },
|
||||
{ "monster" : "mon_zombie_master", "freq" : 1, "cost_multiplier" : 30 },
|
||||
{ "monster" : "mon_beekeeper", "freq" : 1, "cost_multiplier" : 5 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_TRIFFID",
|
||||
"default" : "mon_triffid",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_triffid_young", "freq" : 300, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_fungal_fighter", "freq" : 160, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_vinebeast", "freq" : 160, "cost_multiplier" : 10 },
|
||||
{ "monster" : "mon_triffid_queen", "freq" : 60, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_triffid_heart", "freq" : 0, "cost_multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_FUNGI",
|
||||
"default" : "mon_spore",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_fungaloid", "freq" : 300, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_fungaloid_young", "freq" : 100, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_zombie_fungus", "freq" : 0, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_boomer_fungus", "freq" : 0, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_fungal_wall", "freq" : 0, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_fungaloid_queen", "freq" : 0, "cost_multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_GOO",
|
||||
"default" : "mon_blob",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_blob_small", "freq" : 200, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_blob_small", "freq" : 100, "cost_multiplier" : 0, "pack_size" : [2,12] },
|
||||
{ "monster" : "mon_blob", "freq" : 10, "cost_multiplier" : 0, "pack_size" : [5,10] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_CHUD",
|
||||
"default" : "mon_chud",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_one_eye", "freq" : 90, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_crawler", "freq" : 35, "cost_multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_SEWER",
|
||||
"default" : "mon_sewer_rat",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_sewer_fish", "freq" : 300, "cost_multiplier" : 0, "pack_size" : [2,6] },
|
||||
{ "monster" : "mon_sewer_snake", "freq" : 240, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_sewer_rat", "freq" : 100, "cost_multiplier" : 0, "pack_size" : [3,12] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_SWAMP",
|
||||
"default" : "mon_frog",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_mosquito", "freq" : 100, "cost_multiplier" : 0, "pack_size" : [3,16] },
|
||||
{ "monster" : "mon_mosquito_giant", "freq" : 20, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_dragonfly", "freq" : 100, "cost_multiplier" : 0, "pack_size" : [3,16] },
|
||||
{ "monster" : "mon_dragonfly_giant", "freq" : 20, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_centipede", "freq" : 100, "cost_multiplier" : 0, "pack_size" : [1,4] },
|
||||
{ "monster" : "mon_centipede_giant", "freq" : 20, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_lemming", "freq" : 100, "cost_multiplier" : 0, "pack_size" : [1,7] },
|
||||
{ "monster" : "mon_frog_giant", "freq" : 25, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_slug", "freq" : 50, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_slug_giant", "freq" : 25, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_dermatik_larva", "freq" : 1, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_dermatik", "freq" : 20, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_giant_crayfish", "freq" : 20, "cost_multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_LAB",
|
||||
"default" : "mon_zombie_scientist",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_blob_small", "freq" : 25, "cost_multiplier" : 0, "pack_size" : [1,4] },
|
||||
{ "monster" : "mon_manhack", "freq" : 200, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_manhack", "freq" : 45, "cost_multiplier" : 0, "pack_size" : [2,3] },
|
||||
{ "monster" : "mon_skitterbot", "freq" : 85, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_skitterbot", "freq" : 85, "cost_multiplier" : 0, "pack_size" : [2,3] },
|
||||
{ "monster" : "mon_skitterbot", "freq" : 1, "cost_multiplier" : 0, "pack_size" : [8,12] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_ICE_LAB",
|
||||
"default" : "mon_zombie_scientist",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_blob_small", "freq" : 25, "cost_multiplier" : 0, "pack_size" : [1,4] },
|
||||
{ "monster" : "mon_manhack", "freq" : 200, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_manhack", "freq" : 45, "cost_multiplier" : 0, "pack_size" : [2,3] },
|
||||
{ "monster" : "mon_skitterbot", "freq" : 100, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_skitterbot", "freq" : 145, "cost_multiplier" : 0, "pack_size" : [2,3] }
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_NETHER",
|
||||
"default" : "mon_blank",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_flying_polyp", "freq" : 25, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_hunting_horror", "freq" : 240, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_mi_go", "freq" : 120, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_yugg", "freq" : 70, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_gelatin", "freq" : 120, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_flaming_eye", "freq" : 120, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_kreck", "freq" : 210, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_gozu", "freq" : 25, "cost_multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_SPIRAL",
|
||||
"default" : "mon_human_snail",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_twisted_body", "freq" : 180, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_vortex", "freq" : 80, "cost_multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_VANILLA",
|
||||
"default" : "mon_zombie",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 40, "cost_multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_SPIDER",
|
||||
"default" : "mon_spider_wolf",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_spider_web", "freq" : 200, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_spider_jumping", "freq" : 400, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_spider_widow", "freq" : 200, "cost_multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_ROBOT",
|
||||
"default" : "mon_manhack",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_skitterbot", "freq" : 220, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_secubot", "freq" : 150, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_copbot", "freq" : 0, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_molebot", "freq" : 40, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_tripod", "freq" : 110, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_chickenbot", "freq" : 60, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_tankbot", "freq" : 20, "cost_multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_POLICE", "_comment" : "+30% cops",
|
||||
"default" : "mon_zombie",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie_cop", "freq" : 320, "cost_multiplier" : 3 },
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 70, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_grabber", "freq" : 70, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_skeleton", "freq" : 30, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_smoker", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_swimmer", "freq" : 20, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_shrieker", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_spitter", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_electric", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_necro", "freq" : 1, "cost_multiplier" : 25 },
|
||||
{ "monster" : "mon_boomer", "freq" : 30, "cost_multiplier" : 7 },
|
||||
{ "monster" : "mon_zombie_brute", "freq" : 10, "cost_multiplier" : 15 },
|
||||
{ "monster" : "mon_zombie_hulk", "freq" : 1, "cost_multiplier" : 50 },
|
||||
{ "monster" : "mon_zombie_master", "freq" : 1, "cost_multiplier" : 25 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_HOUSE", "_comment" : "+15% child",
|
||||
"default" : "mon_zombie",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie_child", "freq" : 150, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_cop", "freq" : 20, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 70, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_grabber", "freq" : 70, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_skeleton", "freq" : 30, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_smoker", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_swimmer", "freq" : 20, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_shrieker", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_spitter", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_electric", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_necro", "freq" : 1, "cost_multiplier" : 25 },
|
||||
{ "monster" : "mon_boomer", "freq" : 30, "cost_multiplier" : 7 },
|
||||
{ "monster" : "mon_zombie_brute", "freq" : 10, "cost_multiplier" : 15 },
|
||||
{ "monster" : "mon_zombie_hulk", "freq" : 1, "cost_multiplier" : 50 },
|
||||
{ "monster" : "mon_zombie_master", "freq" : 1, "cost_multiplier" : 25 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_PHARM", "_comment" : "+15% fast",
|
||||
"default" : "mon_zombie",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie_cop", "freq" : 20, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 220, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_grabber", "freq" : 70, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_skeleton", "freq" : 30, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_smoker", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_swimmer", "freq" : 20, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_shrieker", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_spitter", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_electric", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_necro", "freq" : 1, "cost_multiplier" : 25 },
|
||||
{ "monster" : "mon_boomer", "freq" : 30, "cost_multiplier" : 7 },
|
||||
{ "monster" : "mon_zombie_brute", "freq" : 10, "cost_multiplier" : 15 },
|
||||
{ "monster" : "mon_zombie_hulk", "freq" : 1, "cost_multiplier" : 50 },
|
||||
{ "monster" : "mon_zombie_master", "freq" : 1, "cost_multiplier" : 25 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_ELECTRO", "_comment" : "+15% electric",
|
||||
"default" : "mon_zombie",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie_cop", "freq" : 20, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 70, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_grabber", "freq" : 70, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_skeleton", "freq" : 30, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_smoker", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_swimmer", "freq" : 20, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_shrieker", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_spitter", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_electric", "freq" : 180, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_necro", "freq" : 1, "cost_multiplier" : 25 },
|
||||
{ "monster" : "mon_boomer", "freq" : 30, "cost_multiplier" : 7 },
|
||||
{ "monster" : "mon_zombie_brute", "freq" : 10, "cost_multiplier" : 15 },
|
||||
{ "monster" : "mon_zombie_hulk", "freq" : 1, "cost_multiplier" : 50 },
|
||||
{ "monster" : "mon_zombie_master", "freq" : 1, "cost_multiplier" : 25 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_GROCERY", "_comment" : "+15% bommers",
|
||||
"default" : "mon_zombie",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie_cop", "freq" : 20, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 70, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_grabber", "freq" : 70, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_skeleton", "freq" : 30, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_smoker", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_swimmer", "freq" : 20, "cost_multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_shrieker", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_spitter", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_electric", "freq" : 30, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_necro", "freq" : 1, "cost_multiplier" : 25 },
|
||||
{ "monster" : "mon_boomer", "freq" : 180, "cost_multiplier" : 7 },
|
||||
{ "monster" : "mon_zombie_brute", "freq" : 10, "cost_multiplier" : 15 },
|
||||
{ "monster" : "mon_zombie_hulk", "freq" : 1, "cost_multiplier" : 50 },
|
||||
{ "monster" : "mon_zombie_master", "freq" : 1, "cost_multiplier" : 25 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_MAYBE_MIL", "_comment" : "50% chance military zombie",
|
||||
"default" : "mon_null",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie_soldier", "freq" : 50, "cost_multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_PUBLICWORKERS",
|
||||
"default" : "mon_zombie_electric",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie_grabber", "freq" : 100, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_zombie_smoker", "freq" : 100, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_shrieker", "freq" : 100, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_spitter", "freq" : 100, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie", "freq" : 100, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_brute", "freq" : 20, "cost_multiplier" : 15 },
|
||||
{ "monster" : "mon_zombie_hulk", "freq" : 1, "cost_multiplier" : 50 },
|
||||
{ "monster" : "mon_zombie_master", "freq" : 1, "cost_multiplier" : 25 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_MAYBE_ZOMBIE", "_comment" : "10% chance of a zombie",
|
||||
"default" : "mon_null",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie", "freq" : 60, "cost_multiplier": 0, "pack_size": [1,5] },
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 10, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_zombie_child", "freq" : 10, "cost_multiplier" : 0 },
|
||||
{ "monster" : "mon_skeleton", "freq" : 10, "cost_multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_shrieker", "freq" : 10, "cost_multiplier" : 5 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type":"monstergroup",
|
||||
"name" : "GROUP_SAFE", "_comment" : "used by mongroup::is_safe()",
|
||||
"default" : "mon_null",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_bat", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_bobcat", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_cat", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_chicken", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_chipmunk", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_crow", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_deer", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_dog", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_fox_gray", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_fox_red", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_groundhog", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_hare", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_mosquito", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_rabbit", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_shrew", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_squirrel_red", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_weasel", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_turkey", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_raccoon", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_opossum", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_deer_mouse", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_sewer_rat", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_black_rat", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_rattlesnake", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_spider_wolf", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_spider_jumping", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_cow", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_horse", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_pig", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_sheep", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_mosquito", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_dragonfly", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_centipede", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_lemming", "freq" : 1, "cost_multiplier" : 1 },
|
||||
{ "monster" : "mon_slug", "freq" : 1, "cost_multiplier" : 1 }
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,903 @@
|
||||
[
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "unemployed",
|
||||
"name": "Unemployed",
|
||||
"description": "They say you don't have any \"useful skills\", but at least your clothes fit well.",
|
||||
"points": 0,
|
||||
"items": [
|
||||
"jeans",
|
||||
"tshirt",
|
||||
"sneakers"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "tailor",
|
||||
"name": "Tailor",
|
||||
"description": "You've made and adjusted clothing for some of the biggest names in town. Now, their undead bodies are trying to eat your brains. At least you'll be able to keep your own clothing repaired.",
|
||||
"points": 1,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "tailor"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"polo_shirt",
|
||||
"blazer",
|
||||
"pants",
|
||||
"dress_shoes",
|
||||
"sewing_kit",
|
||||
"scissors"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "labtech",
|
||||
"name": "Lab Technician",
|
||||
"description": "It was your first day in the lab when the cataclysm hit. You were evacuated with all the civilians, but at least you kept your lab gear.",
|
||||
"points": 1,
|
||||
"items": [
|
||||
"dress_shirt",
|
||||
"pants",
|
||||
"boots",
|
||||
"coat_lab",
|
||||
"gloves_rubber",
|
||||
"glasses_safety"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "mechanic",
|
||||
"name": "Wannabe Mechanic",
|
||||
"description": "Although you never got your driver's license, you've always loved cars. At least now you'll never be wanting for materials.",
|
||||
"points": 2,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "mechanics"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"tank_top",
|
||||
"jeans",
|
||||
"boots",
|
||||
"chestrig",
|
||||
"wrench",
|
||||
"mag_cars"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "scoundrel",
|
||||
"name": "Scoundrel",
|
||||
"description": "Your flexible outlook on law has ensured your survival, but now what? You have some of your \"sundries\", and one additional level of melee.",
|
||||
"points": 2,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "melee"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"tank_top",
|
||||
"hoodie",
|
||||
"pants_cargo",
|
||||
"sneakers",
|
||||
"weed",
|
||||
"rolling_paper",
|
||||
"picklocks"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "brawler",
|
||||
"name": "Back Alley Brawler",
|
||||
"description": "Your time spent fighting in back-alley brawls just might serve you well in the rough-and-tumble world left behind after the apocalypse.",
|
||||
"points": 2,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "unarmed"
|
||||
},
|
||||
{
|
||||
"level": 1,
|
||||
"name": "dodge"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"tank_top",
|
||||
"pants_cargo",
|
||||
"boots",
|
||||
"knuckle_brass"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "soldier",
|
||||
"name": "Military Recruit",
|
||||
"description": "You were a high school drop-out with one goal in mind: to join the military. You finally got in, and now it's hell on Earth in cataclysmic proportions. You start out with some military gear, and a level in survival and firearms.",
|
||||
"points": 3,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "survival"
|
||||
},
|
||||
{
|
||||
"level": 1,
|
||||
"name": "gun"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"pants_army",
|
||||
"army_top",
|
||||
"boots_combat",
|
||||
"knife_combat",
|
||||
"binoculars"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "medic",
|
||||
"name": "Pre-Med Student",
|
||||
"description": "You were a pre-med student just starting out in your medical career. You start with some bandages and a level in first aid.",
|
||||
"points": 1,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "firstaid"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"pants",
|
||||
"dress_shirt",
|
||||
"dress_shoes",
|
||||
"water_clean",
|
||||
"bandages",
|
||||
"bandages"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "thug",
|
||||
"name": "Mafia Enforcer",
|
||||
"description": "When it came to getting dirty, the boss knew you could be trusted to get the job done. From performing hits to \"attitude adjustment\", you were the best. Now, at the end of the world, you've finally found your place in society.",
|
||||
"points": 2,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "unarmed"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"suit",
|
||||
"bowhat",
|
||||
"dress_shoes",
|
||||
"cig",
|
||||
"mag_porn"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "sheriff",
|
||||
"name": "Local Sheriff",
|
||||
"description": "When you got the call about the disturbances, you came to the rescue only to realize you were in over your head, and needed rescuing yourself. You start with a level in firearms.",
|
||||
"points": 2,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "gun"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"pants_army",
|
||||
"socks",
|
||||
"badge_deputy",
|
||||
"sheriffshirt",
|
||||
"boots",
|
||||
"holster"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "smoker",
|
||||
"name": "Chain Smoker",
|
||||
"description": "Everyone at work knew you as the person who always had a cigarette or two in hand. Now, you're down to a single pack, and you hope you find more soon. You start out with a strong nicotine addiction.",
|
||||
"points": -1,
|
||||
"items": [
|
||||
"pants",
|
||||
"dress_shirt",
|
||||
"dress_shoes",
|
||||
"cig",
|
||||
"ref_lighter"
|
||||
],
|
||||
"addictions": [
|
||||
{
|
||||
"intensity": 10,
|
||||
"type": "nicotine"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "salesman",
|
||||
"name": "Used Car Salesman",
|
||||
"description": "You would have sold your own mother for a dollar, and not felt guilty. In fact, you sold her a broken down beater right before the cataclysm. You start with bartering skills.",
|
||||
"points": 1,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "barter"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"suit",
|
||||
"dress_shoes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "homeless",
|
||||
"name": "Hobo",
|
||||
"description": "You lived on the streets your whole life because you would rather have a bottle of whiskey than a roof over your head. You start with a strong alcohol addiction.",
|
||||
"points": -4,
|
||||
"items": [
|
||||
"pants",
|
||||
"whiskey",
|
||||
"can_beans"
|
||||
],
|
||||
"addictions": [
|
||||
{
|
||||
"intensity": 20,
|
||||
"type": "alcohol"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "hunter",
|
||||
"name": "Bow Hunter",
|
||||
"description": "Ever since you were a child you loved hunting, and you loved the challenge of hunting with a bow even more. You start with a level in archery and survival.",
|
||||
"points": 2,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "archery"
|
||||
},
|
||||
{
|
||||
"level": 1,
|
||||
"name": "survival"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"army_top",
|
||||
"boots_steel",
|
||||
"jeans"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "cworker",
|
||||
"name": "Handy Man",
|
||||
"description": "You used to work at a local hardware store, and you did a lot of home renovations yourself. You start with a level in construction.",
|
||||
"points": 2,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "carpentry"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"tank_top",
|
||||
"boots_steel",
|
||||
"jeans",
|
||||
"hammer",
|
||||
"tool_belt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "lumberjack",
|
||||
"name": "Lumberjack",
|
||||
"description": "You've worked in the woods your whole life, and start with some woodsman gear.",
|
||||
"points": 1,
|
||||
"items": [
|
||||
"jeans",
|
||||
"boots",
|
||||
"hat_hunting",
|
||||
"jacket_flannel",
|
||||
"ax"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "backpacker",
|
||||
"name": "Backpacker",
|
||||
"description": "You've travelled for a living, sightseeing here and there, and living off your parents' trust fund. But now they're gone, and the only thing between you and death is the open road and your backpack.",
|
||||
"points": 2,
|
||||
"items": [
|
||||
"backpack_leather",
|
||||
"jeans",
|
||||
"sneakers",
|
||||
"tshirt",
|
||||
"socks"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "fastfoodcook",
|
||||
"name": "Fast Food Cook",
|
||||
"description": "You used to work at a fancy fast food joint a week ago, but now you show the meaning of \"fast\" food by running for your life. You start with a level in cooking.",
|
||||
"points": 1,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "cooking"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"pants",
|
||||
"sneakers",
|
||||
"tshirt",
|
||||
"socks"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "survivalist",
|
||||
"name": "Survivalist",
|
||||
"description": "You were one of those guys who watched one too many survivalist shows. At least you're well-equipped for surviving on your own.",
|
||||
"points": 3,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "survival"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"shorts_cargo",
|
||||
"boots",
|
||||
"blazer",
|
||||
"tshirt",
|
||||
"socks",
|
||||
"backpack"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "electrician",
|
||||
"name": "Electrician",
|
||||
"description": "You used to work for some small-time business owner doing minor electrical work, and you just so happened to be working on an evac shelter when the cataclysm struck. You start with a level in electronics.",
|
||||
"points": 2,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "electronics"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"jumpsuit",
|
||||
"boots",
|
||||
"tool_belt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "hacker",
|
||||
"name": "Computer Hacker",
|
||||
"description": "Caffeine pills and all-nighters in front of a computer screen have given you some basic hacking skills. You start with a level in computers.",
|
||||
"points": 1,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "computer"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"pants",
|
||||
"tshirt",
|
||||
"sneakers"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "student",
|
||||
"name": "Student",
|
||||
"description": "You were a high school student until the teachers literally tried to pick your brains. But on the bright side, you'll never have to write a test again.",
|
||||
"points": 2,
|
||||
"items": [
|
||||
"pants",
|
||||
"tshirt",
|
||||
"sneakers",
|
||||
"ZSG",
|
||||
"backpack"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "svictim",
|
||||
"name": "Shower Victim",
|
||||
"description": "You were in the middle of a nice shower when the cataclysm struck! You fled without so much as a towel.",
|
||||
"points": -1,
|
||||
"items": [
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "biker",
|
||||
"name": "Biker",
|
||||
"description": "You spent most of your life on a Harley, and it's only natural you spend the rest of it riding one.",
|
||||
"points": 2,
|
||||
"items": [
|
||||
"jeans",
|
||||
"tank_top",
|
||||
"chaps_leather",
|
||||
"boots",
|
||||
"bandana",
|
||||
"jacket_leather"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "dancer",
|
||||
"name": "Ballroom Dancer",
|
||||
"description": "You used to be a ballroom dancer before the cataclysm, and now you use your skills to save your life. You start with a level in dodging.",
|
||||
"points": 1,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "dodge"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"tux",
|
||||
"dress_shoes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "security",
|
||||
"name": "Security Guard",
|
||||
"description": "You worked for a small-time security company guarding local businesses, but there's nothing in the company policy for dealing with zombies.",
|
||||
"points": 1,
|
||||
"items": [
|
||||
"pants",
|
||||
"poncho",
|
||||
"boots_combat",
|
||||
"flashlight"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "tinkerer",
|
||||
"name": "Tinkerer",
|
||||
"description": "You've always loved tinkering with stuff. You know a little bit about mechanics, tailoring, electronics, and carpentry.",
|
||||
"points": 3,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "mechanics"
|
||||
},
|
||||
{
|
||||
"level": 1,
|
||||
"name": "tailor"
|
||||
},
|
||||
{
|
||||
"level": 1,
|
||||
"name": "electronics"
|
||||
},
|
||||
{
|
||||
"level": 1,
|
||||
"name": "carpentry"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"pants",
|
||||
"tshirt",
|
||||
"tool_belt",
|
||||
"sneakers"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "ddealer",
|
||||
"name": "Drug Dealer",
|
||||
"description": "You've worked the streets since you were a kid, and now you use your street skills to survive. You kept your gun, but fired the last bullet during your escape.",
|
||||
"points": 2,
|
||||
"items": [
|
||||
"jeans",
|
||||
"tshirt",
|
||||
"hoodie",
|
||||
"sneakers",
|
||||
"glock_19",
|
||||
"coke"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "thug",
|
||||
"name": "Street Thug",
|
||||
"description": "You've worked the streets since you were a kid, and now you use your street skills to survive. You've got your trusty switchblade, and the skill to use it.",
|
||||
"points": 2,
|
||||
"skills": [
|
||||
{
|
||||
"name": "cutting",
|
||||
"level": 1
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"jeans",
|
||||
"tshirt",
|
||||
"hoodie",
|
||||
"sneakers",
|
||||
"gloves_fingerless",
|
||||
"switchblade"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "groom",
|
||||
"name": "Groom",
|
||||
"description": "You were about to marry your bride before the cataclysm, now you spend your days searching for her.",
|
||||
"points": 0,
|
||||
"items": [
|
||||
"tux",
|
||||
"dress_shoes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "bride",
|
||||
"name": "Bride",
|
||||
"description": "You chose a bad day for your wedding. You just barely escaped with your wedding dress intact.",
|
||||
"points": 0,
|
||||
"items": [
|
||||
"dress_wedding",
|
||||
"dress_shoes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "punkgirl",
|
||||
"name": "Punk Rock Girl",
|
||||
"description": "The apocalypse has been your psychotic dream come true. Now that the system is dead, it's time to party among the bones of the world!",
|
||||
"points": 4,
|
||||
"items": [
|
||||
"skirt",
|
||||
"corset",
|
||||
"trenchcoat",
|
||||
"gloves_fingerless",
|
||||
"boots_combat",
|
||||
"weed",
|
||||
"rolling_paper",
|
||||
"cig",
|
||||
"mp3",
|
||||
"ref_lighter"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "junkie",
|
||||
"name": "Junkie",
|
||||
"description": "Before the apocalypse, you turned to Heroin to soothe your many problems. Now, your habit is your only comfort and your only drive.",
|
||||
"points": -2,
|
||||
"items": [
|
||||
"pants",
|
||||
"dress_shirt",
|
||||
"dress_shoes",
|
||||
"heroin",
|
||||
"syringe"
|
||||
],
|
||||
"addictions": [
|
||||
{
|
||||
"type": "opiate",
|
||||
"intensity": 10
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "chef",
|
||||
"name": "Chef",
|
||||
"description": "Bork bork! Years in the kitchen have left you carrying a prodigious bulk, but you managed to escape the carnage with a butchers knife and only a small collection of stains on your uniform.",
|
||||
"points": 3,
|
||||
"skills": [
|
||||
{
|
||||
"name": "cooking",
|
||||
"level": 3
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"knife_butcher",
|
||||
"hat_chef",
|
||||
"jacket_chef",
|
||||
"pants_checkered",
|
||||
"dress_shoes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "hooker",
|
||||
"name": "Prostitute",
|
||||
"description": "You were on your way to collect your check, when your pimp tried to kill you. You wish that it wasn't a common occurrence. You start with the last of your stash and a strong crack addiction.",
|
||||
"points": -4,
|
||||
"items": [
|
||||
"skirt",
|
||||
"heels",
|
||||
"tank_top",
|
||||
"crackpipe",
|
||||
"crack"
|
||||
],
|
||||
"addictions": [
|
||||
{
|
||||
"intensity": 20,
|
||||
"type": "crack"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "trapper",
|
||||
"name": "Trapper",
|
||||
"description": "You spent most of your life trapping with your father. Both of you made a decent living off of your catches, and trapping tutorials. You start with a skill in trapping.",
|
||||
"points": 1,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "traps"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"jeans",
|
||||
"boots",
|
||||
"hat_hunting",
|
||||
"jacket_flannel",
|
||||
"beartrap"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "blacksmith",
|
||||
"name": "Blacksmith",
|
||||
"description": "You were going through your community college's metalsmithing program when the world ended. You start with a few related tools and some skill in fabrication.",
|
||||
"points": 2,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "fabrication"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"jeans",
|
||||
"boots",
|
||||
"tank_top",
|
||||
"apron_leather",
|
||||
"fire_gauntlets",
|
||||
"hammer"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "clown",
|
||||
"name": "Clown",
|
||||
"description": "All you ever wanted was to make people laugh. Dropping out of school and performing at kids' parties was a dream come true until the world ended. There's precious few balloon animals in your future now.",
|
||||
"points": 0,
|
||||
"items": [
|
||||
"clown_suit",
|
||||
"clownshoes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "lost_sub",
|
||||
"name": "Lost Submissive",
|
||||
"description": "Early in the rush to safety, you were separated from your master by cruel fate. Now you are on your own with nothing to your name but a suit of really kinky black leather. Unfortunately, there's no safewords in the apocalypse.",
|
||||
"points": 0,
|
||||
"items": [
|
||||
"bondage_suit",
|
||||
"bondage_mask",
|
||||
"boots"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "senior",
|
||||
"name": "Senior Citizen",
|
||||
"description": "You haven't seen this much blood since the war. The whole world's gone crazy! They ate your grandkids! But dagnabbit, you'll make them all pay for what they've done.",
|
||||
"points": 1,
|
||||
"items": [
|
||||
"dress_shirt",
|
||||
"pants_checkered",
|
||||
"dress_shoes",
|
||||
"cane",
|
||||
"pocketwatch"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "paramedic",
|
||||
"name": "Paramedic",
|
||||
"description": "Being a paramedic put you in a bad spot when it all ended. You had to fight your way out of a hospital full of infected to get to the shelter. You start with some skill in first aid.",
|
||||
"points": 2,
|
||||
"skills": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "firstaid"
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
"pants",
|
||||
"boots",
|
||||
"polo_shirt",
|
||||
"gloves_medical",
|
||||
"1st_aid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "cosplay",
|
||||
"name": "Otaku",
|
||||
"description": "Late nights with friends watching anime and eating snacks has prepared you for the premier anime convention in the Northeast. It just had to be the day of the apocalypse. At least you were ready in case your costume tore.",
|
||||
"points": 4,
|
||||
"items": [
|
||||
"shorts",
|
||||
"sneakers",
|
||||
"tank_top",
|
||||
"sewing_kit",
|
||||
"mbag",
|
||||
"fur_cat_ears",
|
||||
"fur_cat_tail",
|
||||
"fur_collar",
|
||||
"cheeseburger"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "goalie",
|
||||
"name": "Hockey Player",
|
||||
"description": "You were a minor-league hockey goalie before the rest of your team became zombies. It's just you and your hockey equipment versus the undead, but at least you can cross-check them now.",
|
||||
"points": 2,
|
||||
"items": [
|
||||
"mask_hockey",
|
||||
"hockey_stick",
|
||||
"jersey",
|
||||
"pants",
|
||||
"sneakers",
|
||||
"puck"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "batter",
|
||||
"name": "Baseball Player",
|
||||
"description": "You were a batter on a local minor league team before the cataclysm. You escaped with your equipment, but how long can you survive until your innings are up?",
|
||||
"points": 2,
|
||||
"items": [
|
||||
"bat",
|
||||
"helmet_ball",
|
||||
"dress_shirt",
|
||||
"pants",
|
||||
"cleats",
|
||||
"baseball"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "linebacker",
|
||||
"name": "Football Player",
|
||||
"description": "You were the star player for the local football team, adored by teammates and fans alike. Now they just adore your brains. You've still got your bulky football gear on.",
|
||||
"points": 4,
|
||||
"items": [
|
||||
"football_armor",
|
||||
"tank_top",
|
||||
"helmet_football",
|
||||
"pants",
|
||||
"cleats",
|
||||
"football"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "profession",
|
||||
"ident": "golfer",
|
||||
"name": "Golfer",
|
||||
"description": "A birdie is 1 under par, but how much is a zombie? Your clubhouse was overrun by the undead, and you fled with your trusty driving wedge.",
|
||||
"points": 1,
|
||||
"items": [
|
||||
"hat_ball",
|
||||
"dress_shirt",
|
||||
"pants",
|
||||
"sneakers",
|
||||
"golf_club"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type" : "profession",
|
||||
"ident": "bionic_thief",
|
||||
"name": "Bionic Thief",
|
||||
"description": "You have done many high profile heists, but your gains mean nothing in this world. All you have left is your bionic lockpick that you keep powered via batteries.",
|
||||
"points": 4,
|
||||
"CBMs":[
|
||||
"bio_batteries",
|
||||
"bio_lockpick",
|
||||
"bio_power_storage_mkII"
|
||||
],
|
||||
"items":[
|
||||
"sunglasses",
|
||||
"jeans",
|
||||
"dress_shirt",
|
||||
"dress_shoes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type" : "profession",
|
||||
"ident": "bionic_patient",
|
||||
"name": "Bionic Patient",
|
||||
"description": "Medical advances have saved your body from certain death. You are augmented with bionic muscles and sensors monitoring your blood powered by your own metabolism. Make the most of your second chance at life.",
|
||||
"points": 4,
|
||||
"CBMs":[
|
||||
"bio_metabolics",
|
||||
"bio_hydraulics",
|
||||
"bio_blood_anal",
|
||||
"bio_power_storage_mkII"
|
||||
],
|
||||
"items":[
|
||||
"jeans",
|
||||
"tshirt",
|
||||
"sneakers"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type" : "profession",
|
||||
"ident": "bionic_spy",
|
||||
"name": "Bionic Spy",
|
||||
"description": "Your body has several bionics worth millions of dollars, paid for by public taxes. The government employed you as a spy: you have night vision, an alarm and a hacking module powered by your own metabolism.",
|
||||
"points": 6,
|
||||
"CBMs":[
|
||||
"bio_fingerhack",
|
||||
"bio_alarm",
|
||||
"bio_night_vision",
|
||||
"bio_batteries",
|
||||
"bio_power_storage_mkII"
|
||||
],
|
||||
"items":[
|
||||
"boots",
|
||||
"pants_army",
|
||||
"jacket_army",
|
||||
"mask_bal"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type" : "profession",
|
||||
"ident": "faulty_bionic",
|
||||
"name": "Failed Android",
|
||||
"description": "Your body is a wreck of bionic parts. You have a large capacity for power, but are filled with broken bionics. At least your ethanol power supply still works.",
|
||||
"points": 0,
|
||||
"CBMs":[
|
||||
"bio_drain",
|
||||
"bio_noise",
|
||||
"bio_dis_acid",
|
||||
"bio_dis_shock",
|
||||
"bio_ethanol",
|
||||
"bio_power_storage_mkII",
|
||||
"bio_power_storage_mkII"
|
||||
],
|
||||
"items":[
|
||||
"sneakers",
|
||||
"jeans",
|
||||
"tshirt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type" : "profession",
|
||||
"ident" : "hitchhiker",
|
||||
"name" : "Hitchhiker",
|
||||
"description" : "Your house has been demolished and your planet destroyed, but at least you still have your towel.",
|
||||
"points" : 0,
|
||||
"items" : [
|
||||
"house_coat",
|
||||
"towel",
|
||||
"guidebook"
|
||||
]
|
||||
}
|
||||
]
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,147 @@
|
||||
[
|
||||
{
|
||||
"type" : "skill",
|
||||
"ident" : "barter",
|
||||
"name" : "bartering",
|
||||
"description" : "Your skill in bargaining, haggling, and trading with others. Higher levels increase the odds of getting the better end of a deal, and might even see you convincing others to give you free stuff."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "computer",
|
||||
"name" : "computers",
|
||||
"description" : "Your skill in accessing and manipulating computers. Higher levels can allow a user to navigate complex software systems and even bypass their security."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "carpentry",
|
||||
"name" : "construction",
|
||||
"description" : "Your general competence in building construction. This governs the complexity of structures that can be built, and the time required to build them."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "cooking",
|
||||
"name" : "cooking",
|
||||
"description" : "Your skill in combining food ingredients to make other, tastier food items. It may also be used in certain chemical mixtures and other, more esoteric tasks."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "driving",
|
||||
"name" : "driving",
|
||||
"description" : "Your skill in operating and steering a vehicle in motion. A higher level allows greater control over vehicles at higher speeds, and reduces the penalty of shooting while driving."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "electronics",
|
||||
"name" : "electronics",
|
||||
"description" : "Your skill in dealing with electrical systems, used in the craft and repair of objects with electrical components. This skill is an important part of installing and managing bionic implants."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "fabrication",
|
||||
"name" : "fabrication",
|
||||
"description" : "Your skill in working with raw materials and shaping them into useful objects. This skill plays an important role in the crafting of many objects."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "firstaid",
|
||||
"name" : "first aid",
|
||||
"description" : "Your skill in effecting emergency medical treatment. Higher levels allow better use of medicines and items like bandages and first aid kits, and reduce the failure and complication rates of medical procedures."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "mechanics",
|
||||
"name" : "mechanics",
|
||||
"description" : "Your skill in engineering, maintaining and repairing vehicles and other mechanical systems. This skill covers the craft of items with complex parts, and plays a role in the installation of bionic equipment."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "speech",
|
||||
"name" : "speaking",
|
||||
"description" : "Your skill in speaking to other people. Covers ability in boasting, flattery, threats, persuasion, lies, and other facets of interpersonal communication. Works best in conjunction with a high level of intelligence."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "survival",
|
||||
"name" : "survival",
|
||||
"description" : "Your skill in surviving the wilderness, and in crafting various basic survival items. This also covers your ability to skin and butcher animals for meat and hides."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "swimming",
|
||||
"name" : "swimming",
|
||||
"description" : "Your ability to stay afloat and move around in bodies of water. This skill keeps you from drowning, affects your combat effectiveness and speed in deep water, and determines the detriment of swimming with heavier gear."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "tailor",
|
||||
"name" : "tailoring",
|
||||
"description" : "Your skill in the craft and repair of clothing, bags, blankets and other textiles. Affects knitting, sewing, stitching, weaving, and nearly anything else involving a needle and thread."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "traps",
|
||||
"name" : "trapping",
|
||||
"description" : "Your skill in setting and disarming traps safely and effectively. This skill does not affect the detection of hidden traps, or the evasion of traps that are triggered."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "archery",
|
||||
"name" : "archery",
|
||||
"description" : "Your skill in using bow weapons, from hand-carved self bows to complex hunting crossbows. Quiet and effective, they require strength of body and sight to wield, and are not terribly accurate over a long distance."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "bashing",
|
||||
"name" : "bashing weapons",
|
||||
"description" : "Your skill in fighting with blunt weaponry, from rocks and sticks to baseball bats and the butts of rifles. Skill increases damage, and higher levels will improve the accuracy of an attack."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "cutting",
|
||||
"name" : "cutting weapons",
|
||||
"description" : "Your skill in fighting with weaponry designed to cut, hack and slash an opponent. Lower levels of skill increase accuracy and damage, while higher levels will help to bypass heavy armor and thick hides."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "dodge",
|
||||
"name" : "dodging",
|
||||
"description" : "Your ability to dodge an oncoming threat, be it an enemy's attack, a triggered trap, or a falling rock. This skill is also used in attempts to fall gracefully, and for other acrobatic feats."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "gun",
|
||||
"name" : "marksmanship",
|
||||
"description" : "Your overall skill in using bows and firearms. With higher levels, this general experience increases accuracy with any bows or firearms, but is secondary to practice with the type of ranged weapon in question."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "launcher",
|
||||
"name" : "launchers",
|
||||
"description" : "Your skill in using heavy weapons like rocket, grenade or missile launchers. These weapons have a variety of applications and may carry immense destructive power, but they are cumbersome and hard to manage."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "melee",
|
||||
"name" : "melee",
|
||||
"description" : "Your skill and finesse in personal combat, both with and without a weapon. Higher levels can significantly increase the accuracy and effectiveness of your physical attacks."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "stabbing",
|
||||
"name" : "piercing weapons",
|
||||
"description" : "Your skill in fighting with knives, spears and other such stabbing implements. Skill increases attack accuracy as well as the chance of inflicting a deadly and critical blow."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "throw",
|
||||
"name" : "throwing",
|
||||
"description" : "Your skill in throwing objects over a distance. Skill increases accuracy, and at higher levels, the range of a throw."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "unarmed",
|
||||
"name" : "unarmed combat",
|
||||
"description" : "Your skill in hand-to-hand fighting. For the unskilled, it's a good way to get hurt, but those with enough practice can perform special blows and techniques to quickly dispatch enemies."
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "pistol",
|
||||
"name" : "handguns",
|
||||
"description" : "Handguns have poor accuracy compared to rifles, but are usually quick to fire and reload faster than other guns. They are very effective at close quarters, though unsuited for long range engagement.",
|
||||
"tags" : ["gun_type"]
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "rifle",
|
||||
"name" : "rifles",
|
||||
"description" : "Rifles have terrific range and accuracy compared to other firearms, but may be slow to fire and reload, and can prove difficult to use in close quarters. Fully automatic rifles can fire rapidly, but are harder to handle properly.",
|
||||
"tags" : ["gun_type"]
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "shotgun",
|
||||
"name" : "shotguns",
|
||||
"description" : "Shotguns are easy to shoot and can inflict massive damage, but their effectiveness and accuracy decline rapidly with range. Slugs can be loaded into shotguns to provide greater range, though they are somewhat inaccurate.",
|
||||
"tags" : ["gun_type"]
|
||||
},{
|
||||
"type" : "skill",
|
||||
"ident" : "smg",
|
||||
"name" : "submachine guns",
|
||||
"description" : "Comprised of an automatic rifle carbine designed to fire a pistol cartridge, submachine guns can reload and fire quickly, sometimes in bursts, but they are relatively inaccurate and may be prone to mechanical failures.",
|
||||
"tags" : ["gun_type"]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,99 @@
|
||||
[
|
||||
{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text": "This is an advertisement for the Diet Devil brand Metabolic Exchange CBM. It shows a picture of a tiny obese devil sitting on a woman's shoulder. The woman stares intently at a gigantic wedding cake covered with bacon and candybars. The caption reads: \"Burn calories! Burn!\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for the Diet Devil brand Internal Furnace CBM. It shows a picture of a tiny obese devil sitting on a man's shoulder. The man is about to bite into a frosting-covered baby. The caption reads: \"Eat What You Want! How You Want! Who You Want!\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for the Diet Devil brand Ethanol Burner CBM. It shows a picture of a teenaged boy driving a car while chugging a bottle of whiskey. A tiny obese devil sits on his shoulder and drinks a martini. The caption reads: \"Drink like there's no tomorrow!\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for the Twenty8 brand Diamond Cornea CBM. It shows a picture of the cyber-module being clutched by an eagle in flight. The captions read: \"Get the new Model 28.bx Eagle-Eye!\" and \"Twenty8. See what you've been missing.\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for the Twenty8 brand Night Vision CBM. It shows a picture of an owl swooping down on a the cyber-module. The captions read: \"Get the new Model 28.hx Night-Owl!\" and \"Twenty8. See what you've been missing.\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for the Twenty8 brand Diamond Cornea CBM. It shows a picture of a flying hawk carrying the cyber-module in its beak. The captions read: \"Get the new Model 28.xx Hawk-Eye!\" and \"Twenty8. See what you've been missing.\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for the Twenty8 brand Scent Vision CBM. It shows a picture of a vulture perched on a pile of skulls and cyber-modules. The captions read: \"Get the new Model 28.vx Vulture today!\" and \"Twenty8. See what you've been missing.\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an ad for a Twenty8 brand Infrared Vision CBM. It shows a picture of a robotic phoenix covered in flames. The captions read: \"Get the new Model 28.tx Phoenix today!\" and \"Twenty8. See what you've been missing.\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for DoubleTech brand law enforcement robots. It shows a picture of copbot and an eyebot boldly emerging from a cloud of teargas and flame. The caption reads: \"DoubleTech Industries. Built to Protect. Programmed to Serve.\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for DoubleTech brand law enforcement robots. It shows a picture of an eyebot flying alongside a bald eagle and a Stealth bomber painted as an American flag. The caption reads: \"Built to Protect. Programmed to Serve.\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for DoubleTech brand law enforcement robots. It shows a picture of a dozen eyebots floating over a woman as she jogs through a park. The captions read: \"Built to Protect. Programmed to Serve.\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for DoubleTech brand law enforcement robots. It shows a picture of copbot pepper-spraying a handcuffed rioter. In the background a troop of boy scouts salutes the robot. The caption reads: \"Built to Protect. Programmed to Serve.\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for Robert's Universal Robotics brand law enforcement robots. It shows a picture of tripod robot incinerating a mob of looters and stepping over charred and smoking corpses. The caption reads: \"R.U.R. Technology you can Trust.\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for Robert's Universal Robots brand labor-bots. It shows a picture of a robot carrying a heavy pallet of bricks. In the background a human foreman is sleeping on the job, with his hardhat pulled down over his eyes. The captions read: \"It's a tough job, so why should you have to do it?\" and \"R.U.R. Technology you can Trust.\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for Robert's Universal Robots brand labor-bots. It shows a picture of a factory floor run entirely by robots. In the background a man in a suit reads a newspaper that shows soaring stock prices. The caption reads: \"R.U.R. Technology you can Trust.\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for Sybil's Cyber Boutique. It shows a picture of several bikini-clad female doctors removing the skin from man's face. The patient is strapped to a chair but cheerfully gives two thumbs up. The caption reads: \"Free Plastic Surgery While You Wait!\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for Sybil's Cyber Boutique. It shows a picture of a nerdy looking man surrounded by a group of admiring women. In the foreground a blood-drenched doctor gives an exaggerated wink and two thumbs up. The caption reads: \"Holiday sales! Get the package deals!\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for Sybil's Cyber Boutique. It shows a picture of a man flexing shiny cybernetic arms in front of a mirror. He is flanked by two scantily clad nurses who hold bloody chainsaws and give approving thumbs up. In the background feral dogs gnaw on the man's discarded former limbs. The caption reads: \"Spring Cleaning Sale! 20% off!\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for Rivtech brand handguns. It shows a picture of a well armed couple in business suits with matching handguns facing down a legion of villainous looking characters. The caption reads: \"Protect yourself with the Rivtech caseless automagnum!\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for Rivtech brand rifles. It shows a picture of a smiling soldier with a futuristic looking rifle on her shoulder saluting the viewer. The caption reads: \"Rivtech caseless firearms proudly supports our Military.\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for Rivtech brand firearms. It shows a picture of a trio of well armed hunters. The three are each armed with different futuristic looking weapons and are shooting at a hostile crowd of approaching wildlife. The caption reads: \"Rivtech caseless firearms. Superior stopping power.\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for the Rivtech brand Muscle Augmentation CBM. It shows a picture of an athlete engaged in weight lifting. The weights are absurdly large, but the smiling athlete appears to be lifting them with ease. The caption reads: \"Rivtech neuroreactive myomer bionics. Unlock the Olympian inside.\" and \"Rivtech Bionics, guaranteed for life.\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for the Rivtech brand Wired Reflexes CBM. It shows a picture of a stylized, snarling black cat against a red background. The caption reads: \"Rivtech neuroelectric stimulation bionics. The next level in quantum inductive piezochemical nerve stimulation technology.\" and \"Rivtech Bionics, guaranteed for life.\""
|
||||
},{
|
||||
"type" : "snippet",
|
||||
"category" : "flier",
|
||||
"text" : "This is an advertisement for Rivtech brand ammunition. It shows a picture of an armored steel plate with a gaping hole blasted through the middle. Sitting beside the plate is a block of brightly colored caseless ammunition. The caption reads: \"Rivtech 8x40mm caseless. Nothing else comes close.\""
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,75 @@
|
||||
[
|
||||
{
|
||||
"type" : "SPECIES",
|
||||
"id":"MAMMAL",
|
||||
"fear_triggers":["HURT", "FIRE", "FRIEND_DIED"]
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"AMPHIBIAN",
|
||||
"fear_triggers":["HURT", "FIRE"]
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"BIRD",
|
||||
"fear_triggers":["HURT", "SOUND"]
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"REPTILE",
|
||||
"fear_triggers":["HURT", "FIRE"]
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"FISH",
|
||||
"fear_triggers":["HURT", "FRIEND_ATTACKED"]
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"MUTANT",
|
||||
"fear_triggers":["FIRE"]
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"NETHER",
|
||||
"fear_triggers":["HURT"]
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"FUNGUS",
|
||||
"fear_triggers":["HURT", "FIRE"]
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"INSECT",
|
||||
"anger_triggers":["FRIEND_DIED"],
|
||||
"fear_triggers":["HURT", "FIRE"]
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"SPIDER",
|
||||
"anger_triggers":["FRIEND_DIED"],
|
||||
"fear_triggers":["HURT", "FIRE"]
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"PLANT",
|
||||
"fear_triggers":["HURT", "FIRE"]
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"MOLLUSK",
|
||||
"fear_triggers":["HURT", "FIRE"]
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"WORM",
|
||||
"fear_triggers":["HURT"]
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"ZOMBIE"
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"ROBOT"
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"HORROR"
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"ABBERATION"
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"HALLUCINATION"
|
||||
},{
|
||||
"type" : "SPECIES",
|
||||
"id":"UNKNOWN"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,604 @@
|
||||
[
|
||||
{
|
||||
"type" : "technique",
|
||||
"id" : "WIDE",
|
||||
"name" : "Wide Strike",
|
||||
"unarmed_allowed": true,
|
||||
"melee_allowed": true,
|
||||
"messages" : [
|
||||
"You swing in a wide arc through %s",
|
||||
"<npcname> swings in a wide arc through %s"
|
||||
],
|
||||
"aoe" : "wide",
|
||||
"quick": true
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "BRUTAL",
|
||||
"name" : "Brutal Strike",
|
||||
"unarmed_allowed": true,
|
||||
"melee_allowed": true,
|
||||
"crit_tec": true,
|
||||
"stun_dur": 1,
|
||||
"knockback_dist": 1,
|
||||
"messages" : [
|
||||
"You send %s reeling",
|
||||
"<npcname> sends %s reeling"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "RAPID",
|
||||
"name" : "Rapid Strike",
|
||||
"min_unarmed": 0,
|
||||
"unarmed_allowed": true,
|
||||
"quick": true,
|
||||
"messages" : [
|
||||
"You quickly strike %s",
|
||||
"<npcname> quickly strikes %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "WRAP",
|
||||
"name" : "Wrap attack",
|
||||
"min_unarmed": 0,
|
||||
"unarmed_allowed": true,
|
||||
"stun_dur": 2,
|
||||
"messages" : [
|
||||
"You wrap up %s",
|
||||
"<npcname> wraps up %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "SWEEP",
|
||||
"name" : "Sweep Attack",
|
||||
"min_unarmed": 0,
|
||||
"unarmed_allowed": true,
|
||||
"down_dur": 2,
|
||||
"messages" : [
|
||||
"You sweep %s",
|
||||
"<npcname> sweeps %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_feint",
|
||||
"name" : "Feint",
|
||||
"unarmed_allowed": true,
|
||||
"melee_allowed": true,
|
||||
"defensive": true,
|
||||
"miss_recovery": true
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_break",
|
||||
"name" : "Grab Break",
|
||||
"unarmed_allowed": true,
|
||||
"melee_allowed": true,
|
||||
"defensive": true,
|
||||
"grab_break": true
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_precise",
|
||||
"name" : "Precise Strike",
|
||||
"min_unarmed": 0,
|
||||
"unarmed_allowed": true,
|
||||
"melee_allowed": true,
|
||||
"crit_tec": true,
|
||||
"messages" : [
|
||||
"You jab deftly at %s",
|
||||
"<npcname> jabs deftly at %s"
|
||||
],
|
||||
"stun_dur": 2
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_karate_rapid",
|
||||
"name" : "quick punch",
|
||||
"min_unarmed": 0,
|
||||
"unarmed_allowed": true,
|
||||
"messages" : [
|
||||
"You quickly punch %s",
|
||||
"<npcname> quickly punches %s"
|
||||
],
|
||||
"quick": true
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_karate_precise",
|
||||
"name" : "karate chop",
|
||||
"min_unarmed": 4,
|
||||
"unarmed_allowed": true,
|
||||
"crit_tec": true,
|
||||
"messages" : [
|
||||
"You karate chop %s",
|
||||
"<npcname> karate chops %s"
|
||||
],
|
||||
"stun_dur": 2
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_aikido_throw",
|
||||
"name" : "throw",
|
||||
"min_unarmed": 2,
|
||||
"unarmed_allowed": true,
|
||||
"down_dur": 1,
|
||||
"knockback_dist": 1,
|
||||
"knockback_spread": 1,
|
||||
"messages" : [
|
||||
"You throw %s",
|
||||
"<npcname> throws %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_aikido_feint",
|
||||
"name" : "feint at",
|
||||
"min_unarmed": 2,
|
||||
"unarmed_allowed": true,
|
||||
"defensive": true,
|
||||
"miss_recovery": true,
|
||||
"messages" : [
|
||||
"You feint at %s",
|
||||
"<npcname> feints at %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_aikido_disarm",
|
||||
"name" : "disarm",
|
||||
"min_unarmed": 3,
|
||||
"unarmed_allowed": true,
|
||||
"disarms": true,
|
||||
"messages" : [
|
||||
"You disarm %s",
|
||||
"<npcname> disarms %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_judo_throw",
|
||||
"name" : "throw",
|
||||
"min_unarmed": 3,
|
||||
"unarmed_allowed": true,
|
||||
"down_dur": 1,
|
||||
"knockback_dist": 1,
|
||||
"knockback_spread": 1,
|
||||
"messages" : [
|
||||
"You throw %s",
|
||||
"<npcname> throws %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_judo_grab",
|
||||
"name" : "grab",
|
||||
"min_unarmed": 2,
|
||||
"unarmed_allowed": true,
|
||||
"down_dur": 1,
|
||||
"messages" : [
|
||||
"You grab %s",
|
||||
"<npcname> grabs %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_taichi_disarm",
|
||||
"name" : "disarm",
|
||||
"min_unarmed": 3,
|
||||
"unarmed_allowed": true,
|
||||
"disarms": true,
|
||||
"messages" : [
|
||||
"You disarm %s",
|
||||
"<npcname> disarms %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_taichi_precise",
|
||||
"name" : "precise strike",
|
||||
"min_unarmed": 4,
|
||||
"unarmed_allowed": true,
|
||||
"crit_tec": true,
|
||||
"stun_dur": 2,
|
||||
"messages" : [
|
||||
"You strike %s",
|
||||
"<npcname> strikes %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_capoeira_feint",
|
||||
"name" : "feint at",
|
||||
"min_unarmed": 1,
|
||||
"unarmed_allowed": true,
|
||||
"defensive": true,
|
||||
"miss_recovery": true,
|
||||
"messages" : [
|
||||
"You feint at %s",
|
||||
"<npcname> feints at %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_muay_thai_elbow",
|
||||
"name" : "elbow",
|
||||
"min_unarmed": 2,
|
||||
"unarmed_allowed": true,
|
||||
"messages" : [
|
||||
"You elbow %s",
|
||||
"<npcname> elbows %s"
|
||||
],
|
||||
"quick": true,
|
||||
"stun_dur": 1
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_muay_thai_kick",
|
||||
"name" : "kick",
|
||||
"min_unarmed": 3,
|
||||
"unarmed_allowed": true,
|
||||
"messages" : [
|
||||
"You power-kick %s",
|
||||
"<npcname> power-kicks %s"
|
||||
],
|
||||
"stun_dur": 1
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_muay_thai_knee",
|
||||
"name" : "flying knee",
|
||||
"min_unarmed": 4,
|
||||
"unarmed_allowed": true,
|
||||
"crit_tec": true,
|
||||
"messages" : [
|
||||
"You flying knee %s",
|
||||
"<npcname> flying knees %s"
|
||||
],
|
||||
"stun_dur": 1
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_krav_maga_rapid",
|
||||
"name" : "quick punch",
|
||||
"min_unarmed": 2,
|
||||
"unarmed_allowed": true,
|
||||
"messages" : [
|
||||
"You quickly punch %s",
|
||||
"<npcname> quickly punches %s"
|
||||
],
|
||||
"quick": true
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_krav_maga_feint",
|
||||
"name" : "feint at",
|
||||
"min_unarmed": 2,
|
||||
"unarmed_allowed": true,
|
||||
"defensive": true,
|
||||
"miss_recovery": true,
|
||||
"messages" : [
|
||||
"You feint at %s",
|
||||
"<npcname> feints at %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_krav_maga_precise",
|
||||
"name" : "precise strike",
|
||||
"min_unarmed": 3,
|
||||
"unarmed_allowed": true,
|
||||
"crit_tec": true,
|
||||
"messages" : [
|
||||
"You jab %s",
|
||||
"<npcname> jabs %s"
|
||||
],
|
||||
"stun_dur": 2
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_krav_maga_disarm",
|
||||
"name" : "disarm",
|
||||
"min_unarmed": 3,
|
||||
"unarmed_allowed": true,
|
||||
"disarms": true,
|
||||
"messages" : [
|
||||
"You disarm %s",
|
||||
"<npcname> disarms %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_krav_maga_grab",
|
||||
"name" : "grab",
|
||||
"min_unarmed": 4,
|
||||
"unarmed_allowed": true,
|
||||
"down_dur": 1,
|
||||
"messages" : [
|
||||
"You grab %s",
|
||||
"<npcname> grabs %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_krav_maga_break",
|
||||
"name" : "grab break",
|
||||
"min_unarmed": 4,
|
||||
"unarmed_allowed": true,
|
||||
"melee_allowed": true,
|
||||
"defensive": true,
|
||||
"grab_break": true
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_ninjutsu_precise",
|
||||
"name" : "surprise attack",
|
||||
"min_unarmed": 3,
|
||||
"min_melee": 3,
|
||||
"unarmed_allowed": true,
|
||||
"melee_allowed": true,
|
||||
"crit_tec": true,
|
||||
"messages" : [
|
||||
"You surprise attack %s",
|
||||
"<npcname> surprise attacks %s"
|
||||
],
|
||||
"stun_dur": 2,
|
||||
"bash_mult": 1.4,
|
||||
"cut_mult": 2
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_taekwondo_precise",
|
||||
"name" : "axe-kick",
|
||||
"min_unarmed": 2,
|
||||
"unarmed_allowed": true,
|
||||
"crit_tec": true,
|
||||
"stun_dur": 2,
|
||||
"messages" : [
|
||||
"You axe-kick %s",
|
||||
"<npcname> axe-kicks %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_taekwondo_push",
|
||||
"name" : "side kick",
|
||||
"min_unarmed":3,
|
||||
"unarmed_allowed": true,
|
||||
"messages" : [
|
||||
"You side-kick %s",
|
||||
"<npcname> side-kicks %s"
|
||||
],
|
||||
"stun_dur": 1,
|
||||
"knockback_dist": 1
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_taekwondo_sweep",
|
||||
"name" : "sweep kick",
|
||||
"min_unarmed": 4,
|
||||
"unarmed_allowed": true,
|
||||
"messages" : [
|
||||
"You sweep-kick %s",
|
||||
"<npcname> sweep-kicks %s"
|
||||
],
|
||||
"down_dur": 2
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_zuiquan_feint",
|
||||
"name" : "Drunk feint",
|
||||
"min_unarmed": 3,
|
||||
"unarmed_allowed": true,
|
||||
"defensive": true,
|
||||
"miss_recovery": true,
|
||||
"messages" : [
|
||||
"You stumble and leer at %s",
|
||||
"<npcname> stumbles and leers at %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_venom_snake_feint",
|
||||
"name" : "Viper Hiss",
|
||||
"unarmed_allowed": true,
|
||||
"melee_allowed": true,
|
||||
"defensive": true,
|
||||
"miss_recovery": true,
|
||||
"messages" : [
|
||||
"You hiss threateningly at %s",
|
||||
"<npcname> hisses threateningly at %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_venom_snake_rapid",
|
||||
"name" : "Viper Bite",
|
||||
"min_unarmed": 0,
|
||||
"unarmed_allowed": true,
|
||||
"quick": true,
|
||||
"messages" : [
|
||||
"You Snakebite %s",
|
||||
"<npcname> Snakebites %s"
|
||||
],
|
||||
"bash_mult" : 2
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_venom_snake_break",
|
||||
"name" : "Viper Writhe",
|
||||
"unarmed_allowed": true,
|
||||
"melee_allowed": true,
|
||||
"defensive": true,
|
||||
"grab_break": true
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_scorpion_brutal",
|
||||
"name" : "Stinger Strike",
|
||||
"unarmed_allowed": true,
|
||||
"crit_tec": true,
|
||||
"stun_dur": 3,
|
||||
"knockback_dist": 3,
|
||||
"messages" : [
|
||||
"Your Stinger Kick sends %s flying!",
|
||||
"<npcname>'s Stinger Kick sends %s flying!"
|
||||
],
|
||||
"bash_mult": 2
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_scorpion_precise",
|
||||
"name" : "Pincer Strike",
|
||||
"min_unarmed": 0,
|
||||
"unarmed_allowed": true,
|
||||
"messages" : [
|
||||
"You punch %s with your Pincer Fist!",
|
||||
"<npcname> jabs %s with a Pincer Fist!"
|
||||
],
|
||||
"stun_dur": 2,
|
||||
"bash_mult": 1.25
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_toad_grab",
|
||||
"name" : "Toad's Tongue",
|
||||
"min_unarmed": 4,
|
||||
"unarmed_allowed": true,
|
||||
"quick": true,
|
||||
"down_dur": 3,
|
||||
"messages" : [
|
||||
"You snatch and clobber %s",
|
||||
"<npcname> snatches and clobbers %s"
|
||||
],
|
||||
"bash_mult": 1.5
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_centipede_rapid",
|
||||
"name" : "Rapid Strike",
|
||||
"min_unarmed": 2,
|
||||
"unarmed_allowed": true,
|
||||
"quick": true,
|
||||
"messages" : [
|
||||
"You swiftly hit %s",
|
||||
"<npcname> swiftly hits %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_snake_rapid",
|
||||
"name" : "Snake Snap",
|
||||
"min_unarmed": 2,
|
||||
"unarmed_allowed": true,
|
||||
"quick": true,
|
||||
"messages" : [
|
||||
"You swiftly jab %s",
|
||||
"<npcname> swiftly jabs %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_snake_feint",
|
||||
"name" : "Snake Slide",
|
||||
"min_unarmed": 3,
|
||||
"unarmed_allowed": true,
|
||||
"defensive": true,
|
||||
"miss_recovery": true,
|
||||
"messages" : [
|
||||
"You make serpentine hand motions at %s",
|
||||
"<npcname> makes serpentine hand motions at %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_snake_break",
|
||||
"name" : "Snake Slither",
|
||||
"min_unarmed": 4,
|
||||
"unarmed_allowed": true,
|
||||
"defensive": true,
|
||||
"grab_break": true,
|
||||
"messages" : [
|
||||
"You slither free!",
|
||||
"<npcname slithers free!"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_snake_precise",
|
||||
"name" : "Snake Strike",
|
||||
"min_unarmed": 4,
|
||||
"unarmed_allowed": true,
|
||||
"crit_tec": true,
|
||||
"messages" : [
|
||||
"You strike out at %s",
|
||||
"<npcname> strikes out at %s"
|
||||
],
|
||||
"stun_dur": 2
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_tiger_grab",
|
||||
"name" : "Tiger Takedown",
|
||||
"min_unarmed": 4,
|
||||
"unarmed_allowed": true,
|
||||
"down_dur": 1,
|
||||
"messages" : [
|
||||
"You grab and ground %s!",
|
||||
"<npcname> grabs and grounds %s!"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_leopard_precise",
|
||||
"name" : "Leopard Fist",
|
||||
"min_unarmed": 5,
|
||||
"unarmed_allowed": true,
|
||||
"crit_tec": true,
|
||||
"messages" : [
|
||||
"You strike out at %s with your Leopard Fist!",
|
||||
"<npcname> strikes out at %s with a Leopard Fist!"
|
||||
],
|
||||
"stun_dur": 2
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_leopard_rapid",
|
||||
"name" : "Leopard Swipe",
|
||||
"min_unarmed": 2,
|
||||
"unarmed_allowed": true,
|
||||
"quick": true,
|
||||
"messages" : [
|
||||
"You quickly swipe at %s",
|
||||
"<npcname> quickly swipes at %s"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_dragon_grab",
|
||||
"name" : "Dragon Snatch",
|
||||
"min_unarmed": 4,
|
||||
"unarmed_allowed": true,
|
||||
"messages" : [
|
||||
"You grab and knee %s!",
|
||||
"<npcname> grabs and knees %s!"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_dragon_sweep",
|
||||
"name" : "Dragon Sweeper",
|
||||
"min_unarmed": 5,
|
||||
"unarmed_allowed": true,
|
||||
"down_dur": 2,
|
||||
"messages" : [
|
||||
"You low-roundhouse %s 's legs!",
|
||||
"<npcname> low-roundhouses %s 's legs!"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_dragon_brutal",
|
||||
"name" : "Dragon Strike",
|
||||
"min_unarmed": 6,
|
||||
"unarmed_allowed": true,
|
||||
"crit_tec": true,
|
||||
"stun_dur": 1,
|
||||
"knockback_dist": 1,
|
||||
"messages" : [
|
||||
"You send %s reeling with a Dragon Strike!",
|
||||
"<npcname> sends %s reeling with a Dragon Strike!"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_crane_feint",
|
||||
"name" : "Crane Wing",
|
||||
"min_unarmed": 2,
|
||||
"unarmed_allowed": true,
|
||||
"defensive": true,
|
||||
"miss_recovery": true,
|
||||
"messages": [
|
||||
"You raise your arms intimidatingly!",
|
||||
"<npcname> performs the Crane Wing!"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_crane_break",
|
||||
"name" : "Crane Flap",
|
||||
"min_unarmed": 3,
|
||||
"unarmed_allowed": true,
|
||||
"defensive": true,
|
||||
"grab_break": true,
|
||||
"messages": [
|
||||
"You swing your arms and break free!",
|
||||
"<npcname> flaps free!"
|
||||
]
|
||||
},{
|
||||
"type" : "technique",
|
||||
"id" : "tec_crane_precise",
|
||||
"name" : "Crane Strike",
|
||||
"min_unarmed": 4,
|
||||
"unarmed_allowed": true,
|
||||
"crit_tec": true,
|
||||
"messages" : [
|
||||
"You hand-peck %s",
|
||||
"<npcname> hand-pecks %s"
|
||||
],
|
||||
"stun_dur": 2
|
||||
}
|
||||
]
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
[
|
||||
{
|
||||
"type" : "tool_quality",
|
||||
"id" : "CUT",
|
||||
"name" : "cutting quality"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,47 @@
|
||||
[
|
||||
{
|
||||
"type" : "tutorial_messages",
|
||||
"messages" : [
|
||||
"Welcome to the Cataclysm tutorial! As you play, pop-ups like this one will appear to guide you through the basic game actions. Pressing spacebar will close the pop-up.",
|
||||
"The '@' character in the center of the screen represents you. To move, you can use the numpad, the vikeys (hjklyubn), or the arrow keys. To have your character wait in place, press '.'",
|
||||
"To see what the symbols around you mean, press ';'. You'll be able to scroll around and get information on the terrain, monsters, and items in the world around you.",
|
||||
"That brown '+' next to you is a closed door. To open it, either simply walk into it, or press 'o' and then a movement key.",
|
||||
"You can close an opened door by pressing 'c' and then a movement key. Closing doors behind you can often slow down throngs of monsters greatly.",
|
||||
"Most monsters will have to smash their way through a closed door. If a door is locked or stuck, you can smash it by pressing 's' and then a movement key.",
|
||||
"You can smash through windows by pressing 's' and then a movement key. A smashed window takes a long time to climb through, and it's possible to hurt yourself on the broken glass, but it's a good last-ditch escape route. You can smash through other things, too; use the ';' command and look for things that are \"Smashable.\"",
|
||||
"You just stepped on a space with one or more items. If you wish to pick it up, press ',' or 'g'.",
|
||||
"The nearby { is a display rack, and the blue background indicates that there are items there. If you examine the square by pressing 'e', you can pick up items without moving to the square.",
|
||||
"The Examine command is useful for grabbing items off window frames, around corners, etc. It's also used for interacting with a few terrain types. Interactive terrain is usually designated with a '6' symbol.",
|
||||
"You don't have space in your inventory to store the item you just tried to pick up. You need to wear something with storage space, like a backpace or cargo pants, to gain more storage space.",
|
||||
"The item you just picked up has been wielded as a weapon automatically. This happened because you do not have space in your inventory to stash the item, and so you must carry it in your hand. To expand your inventory space, try wearing clothing with a lot of storage space, like a backpack, or cargo pants.",
|
||||
"The item you just picked up has been wielded as a weapon automatically. This happened because it is a good melee weapon, and you were empty-handed. This usually is faster than than picking it up, then wielding it.",
|
||||
"The item you just picked up went into your inventory, the shared storage space of all the clothing you're wearing. To view your inventory, press 'i'. You can then press the letter of any item to get more information about it.",
|
||||
"The item you just picked up is a type of clothing! To wear clothing, press W and then select an item. To take off clothing, press T, or simply take it off and drop it in one action by pressing d.",
|
||||
"The item you just picked up is a good weapon! To wield a weapon, press w, then pick what to wield. To wield nothing, either drop your weapon with d, or press 'w-' to put it away. A zombie has spawned nearby. To attack it, simply move into it.",
|
||||
"The item you just picked up is a comestible! To eat a comestible, press 'E'. Comestibles are items you can use up, like food, drink, pills, etc. Most food expires eventually, so be careful. Some comestibles, especially drugs, can cause subtle, long-term effects.",
|
||||
"The item you just picked up is a tool! To activate a tool, press 'a'. Some tools have a set charge, which can be reloaded once depleted. Other are single-use items, and still others are reusable.",
|
||||
"The item you just picked up is a firearm! Guns are very powerful weapons but they require ammunition. Firearms have many special attributes. Most modify the damage done by their ammunition. They also have dispersion, which affects their chance to hit. Some guns are semi-automatic, while others can fire a burst. Some firearms (mainly bows and other muscle-powered weapons) have a range, which is added on top of the ammo's range when firing.",
|
||||
"The item you just picked up is ammunition, used with a gun. It has many special attributes. The damage value is the maximum done on a standard hit; a critical hit or headshot will do much more damage. Some monsters or NPCs will wear armor which reduces the damage from gunfire; a high Armor-pierce value will reduce this effect. The Range is the maximum range the ammo can achieve, and the dispersion affects its chance to hit.",
|
||||
"You just put on an article of clothing that provides physical protection. There are two types of damage that clothing defends against, bashing, and cutting. Most monsters deal bashing damage, but cutting is often the more deadly of the two. Bullets are considered cutting damage.",
|
||||
"You just put on an article of clothing that provides ample storage space. This will allow you to carry much more stuff, but be aware that there is also a limit on the weight you can carry which depends on strength. The item you put on also encumbered your torso. This will make combat a little more difficult. To check encumbrance, press @.",
|
||||
"You just put on an article of clothing that protects against the environment. The most common and imporant are respiratory devices, which will protect you against smoke, air-born toxins or organisms, and other common hazards. However, they also make it a little harder to breath when running, so you'll move more slowly. To check encumbrance, press @.",
|
||||
"If you press 'i' and then the letter of your weapon, you'll see its combat stats. Bashing damage ignores most armor, but varies greatly and requires strength. Cutting damage is a fixed amount, but is blocked by armor. The To-hit bonus affects your chances of hitting. The amount of time it takes to swing your melee weapon depends on both its size and weight; small, compact weapons are the fastest.",
|
||||
"Hitting a monster will stun it briefly, allowing you to escape or get in another attack. Your dexterity and melee skills are used to determine whether an attack hits, while strength affects damage.",
|
||||
"Taking damage often causes pain. Small amounts of pain are tolerable, but as it gets worse your stats will drop and you will move much slower. To reduce pain, take painkillers like codeine, or simply wait it out.",
|
||||
"When you kill a monster it will often leave behind a corpse. Corpses can be important sources of food, but you must Butcher them by standing on the corpse and pressing 'B'. You'll need a bladed weapon in your inventory, preferably a small, very sharp one. An unskilled butcher may only get a few pieces of meat, or none at all. Note that many monsters, such as zombies, leave tainted meat, unsuitable for consumption.",
|
||||
"That drug you just took is a painkiller. Painkillers are very important to keep on hand, as pain both penalizes your stats and makes you slower. Be careful, as the stronger painkillers can make you woozy, and some are even addictive.",
|
||||
"That drug you just took placed an effect on you. To check your effects, press '@'. Most only last a short while, while others, like chronic disease, last until cured by some other means.",
|
||||
"You just drank a bottle of water, reducing your thirst level and reducing the water level in the bottle. You'll probably want to drop empty bottles, or you might want to save them to refill from a water source later.",
|
||||
"You just activated a grenade! You probably want to throw it. To throw an item, press 't' and then select the item to throw. The maximum range depends on your strength and the object's weight and size. Throwing isn't very good in most combat situations, but if you've got some fire power...",
|
||||
"You just placed a trap. Traps are permanent until set off, and can be an important defensive tactic, particularly when sleeping in unsafe territory. Try stepping on that _ -- don't worry, it's a harmless bubblewrap trap.",
|
||||
"You're carrying more volume than you have storage for, which means you are carrying some stuff in the crook of your arm or in some other awkward manner. While overloaded like this, you will suffer SEVERE encumberment penalties, making combat dangerous. Either drop an item, or possibly wield something-- the object you are wielding does not take up inventory space.",
|
||||
"To use a gun, first wield it with the 'w' key. Next you need to reload using the 'r' key, assuming you have the proper ammo. If you wish to unload your gun, possibly to change ammunition types, press 'U'.",
|
||||
"Once you have a loaded gun wielded, you can fire it. Press the 'f' key to fire a single shot. With many guns, you can fire a burst by pressing 'F'. You'll automatically target the last monster you shot at, or the closest monster to you. You can change your target with the movement keys, or cycle through monsters with '<' and '>'. To fire, press 'f' or '.'; to cancel, hit the escape key.",
|
||||
"After firing your gun, you will probably notice a Recoil alert in the lower right. Generally speaking, the more damaging the ammo, the worse the recoil. Recoil severely reduces your chance to hit, but you can eliminate recoil by pausing ('.') for a turn or moving normally. High strength reduces recoil, so weak characters might want to stick to .22 or 9mm guns.",
|
||||
"That yellow > next to you is a staircase leading down. To go downtairs, step onto the staircase and press the '>' key. Similarly, a yellow < is stairs leading up, and can be followed with the '<' key.",
|
||||
"It's dark down here! Without a source of light, you'll be limited to seeing only one space in any direction. You'll encounter darkness while underground or at night. Press '<' to go back upstairs, and look around for a flashlight.",
|
||||
"It's dark down here! Fortunately, you have a flashlight. Press 'a' and then select your flashlight to turn it on.",
|
||||
"~ is a terrain symbol that indicates water. From a water source like this, you can fill any containers you might have. Step onto the water, then press the pickup key (',' or 'g'), then select a watertight container to put the water into."
|
||||
]
|
||||
}
|
||||
]
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,14 +1,14 @@
|
||||
# This message may be 16 lines long at maximum.
|
||||
# Max length of a line is 68 characters; the following line is for reference
|
||||
####################################################################
|
||||
Major features v0.8 Romero:
|
||||
* Tiles!
|
||||
* Optional huge cities packed with zombies!
|
||||
* Player memorial file.
|
||||
* Save compatability moving forward.
|
||||
* Russian and Chinese translations.
|
||||
* Farming.
|
||||
* Shopping carts.
|
||||
Major features v0.9 Ma:
|
||||
* World Factory: Multiple worlds managed at once.
|
||||
* New mutation categories.
|
||||
* TsuTiles.
|
||||
* Basic mouse support in SDL builds.
|
||||
* Vehicle constructon system rework.
|
||||
* Backward compatability with 0.8 saves.
|
||||
* Unbielievable amount of new content.
|
||||
|
||||
For latest discussions and news on Cataclysm DDA, please visit:
|
||||
Homepage: http://www.cataclysmdda.com/
|
||||
|
||||
@@ -1,325 +0,0 @@
|
||||
[
|
||||
{
|
||||
"message" : [
|
||||
"You have a strange dream about lizards.",
|
||||
"Your dreams give you a strange scaly feeling."
|
||||
],
|
||||
"category" : "MUTCAT_LIZARD",
|
||||
"strength" : 1
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a strange dream about birds.",
|
||||
"Your dreams give you a strange feathered feeling."
|
||||
],
|
||||
"category" : "MUTCAT_BIRD",
|
||||
"strength" : 1
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a strange dream about fish.",
|
||||
"Your dreams give you a strange wet, scaly feeling."
|
||||
],
|
||||
"category" : "MUTCAT_FISH",
|
||||
"strength" : 1
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a strange dream about animals.",
|
||||
"Your dreams give you a strange furry feeling."
|
||||
],
|
||||
"category" : "MUTCAT_BEAST",
|
||||
"strength" : 1
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a strange dream about cattle.",
|
||||
"Your dreams give you a strange content, furry feeling."
|
||||
],
|
||||
"category" : "MUTCAT_CATTLE",
|
||||
"strength" : 1
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a strange dream about insects.",
|
||||
"Your dreams give you a strange chitinous feeling."
|
||||
],
|
||||
"category" : "MUTCAT_INSECT",
|
||||
"strength" : 1
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a strange dream about plants.",
|
||||
"Your dreams give you a strange plantlike feeling."
|
||||
],
|
||||
"category" : "MUTCAT_PLANT",
|
||||
"strength" : 1
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a strange dream about slime.",
|
||||
"Your dreams give you a strange slimy feeling."
|
||||
],
|
||||
"category" : "MUTCAT_SLIME",
|
||||
"strength" : 1
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a strange dream about living in a cave.",
|
||||
"Your dreams give a strange reclusive feeling."
|
||||
],
|
||||
"category" : "MUTCAT_TROGLO",
|
||||
"strength" : 1
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a strange dream about sea creatures.",
|
||||
"Your dreams give you a strange wet feeling."
|
||||
],
|
||||
"category" : "MUTCAT_CEPHALOPOD",
|
||||
"strength" : 1
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a strange dream about spiders.",
|
||||
"Your dreams give you a strange webbed feeling."
|
||||
],
|
||||
"category" : "MUTCAT_SPIDER",
|
||||
"strength" : 1
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a strange dream about rats.",
|
||||
"Your dreams give you a strange fuzzy feeling."
|
||||
],
|
||||
"category" : "MUTCAT_RAT",
|
||||
"strength" : 1
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a disturbing dream of bathing in the sun on a rock.",
|
||||
"While dreaming, you see a distinctively lizard-like reflection of yourself."
|
||||
],
|
||||
"category" : "MUTCAT_LIZARD",
|
||||
"strength" : 2
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have strange dreams of soaring through the sky.",
|
||||
"In a dream, you see a curiously birdlike reflection of yourself."
|
||||
],
|
||||
"category" : "MUTCAT_BIRD",
|
||||
"strength" : 2
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You dream of swimming in the open ocean",
|
||||
"In your dream, you see a strangely fishlike image of yourself."
|
||||
],
|
||||
"category" : "MUTCAT_FISH",
|
||||
"strength" : 2
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a vivid dream of hunting in the woods.",
|
||||
"Whilst dreaming, you see a disturbingly bestial version of yourself."
|
||||
],
|
||||
"category" : "MUTCAT_BEAST",
|
||||
"strength" : 2
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You dream of grazing in an open field.",
|
||||
"In a dream you catch a glimpse of a strangely cattle-like image of yourself."
|
||||
],
|
||||
"category" : "MUTCAT_CATTLE",
|
||||
"strength" : 2
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a dream of working in a hive.",
|
||||
"While dreaming you look into a mirror and see a frighteningly insectoid reflection."
|
||||
],
|
||||
"category" : "MUTCAT_INSECT",
|
||||
"strength" : 2
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a confusing dream of growing in a garden.",
|
||||
"You are confused by a plantlike image of yourself in a dream."
|
||||
],
|
||||
"category" : "MUTCAT_PLANT",
|
||||
"strength" : 2
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a strange dream of living in sludge.",
|
||||
"In your dream you see an odd, slimy reflection of yourself."
|
||||
],
|
||||
"category" : "MUTCAT_SLIME",
|
||||
"strength" : 2
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You dream of living deep inside a dark cave.",
|
||||
"You dream of being a primitive cave dweller."
|
||||
],
|
||||
"category" : "MUTCAT_TROGLO",
|
||||
"strength" : 2
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You dream of living on the ocean floor.",
|
||||
"While dreaming, a reflection of yourself appears almost like an octopus."
|
||||
],
|
||||
"category" : "MUTCAT_CEPHALOPOD",
|
||||
"strength" : 2
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a strange dream of spinning webs",
|
||||
"In your dream you see a very spiderlike version of yourself."
|
||||
],
|
||||
"category" : "MUTCAT_SPIDER",
|
||||
"strength" : 2
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You vividly dream of living in the sewers.",
|
||||
"In your dream you see a group of rats that look almost like yourself."
|
||||
],
|
||||
"category" : "MUTCAT_RAT",
|
||||
"strength" : 2
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You are terrified by a dream of becoming a lizard hybrid.",
|
||||
"You have a disturbingly lifelike dream of living as a lizard."
|
||||
],
|
||||
"category" : "MUTCAT_LIZARD",
|
||||
"strength" : 3
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a realistic dream of flying south with your flock for the winter.",
|
||||
"You are disturbed when your birdlike dreams are more lifelike than reality."
|
||||
],
|
||||
"category" : "MUTCAT_BIRD",
|
||||
"strength" : 3
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a disturbing dream of swimming with a school of fish.",
|
||||
"When you wake up you panic about drowning from being out of water."
|
||||
],
|
||||
"category" : "MUTCAT_FISH",
|
||||
"strength" : 3
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You vividly dream of running with your pack, hunting a wild animal.",
|
||||
"A terrifyingly real dream has you killing game with your bare teeth."
|
||||
],
|
||||
"category" : "MUTCAT_BEAST",
|
||||
"strength" : 3
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You terrifyingly dream of being led to a slaughterhouse by a farmer.",
|
||||
"You find it hard to wake from a vivid dream of grazing on a farm."
|
||||
],
|
||||
"category" : "MUTCAT_CATTLE",
|
||||
"strength" : 3
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You are terrified by a dream of serving the hive queen mindlessly.",
|
||||
"Your disturbingly lifelike dream has you pollinating plants."
|
||||
],
|
||||
"category" : "MUTCAT_INSECT",
|
||||
"strength" : 3
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You have a confusing and scary dream of becoming a plant.",
|
||||
"The transition from your lifelike dreams of living as a plant to reality shocks you."
|
||||
],
|
||||
"category" : "MUTCAT_PLANT",
|
||||
"strength" : 3
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"Your vivid dream of living as a slime blob frightens you.",
|
||||
"You find it hard to control your limbs after dreaming of amorphous blob life."
|
||||
],
|
||||
"category" : "MUTCAT_SLIME",
|
||||
"strength" : 3
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"Your dream of living in the dark for years is almost real.",
|
||||
"You are frightened of the outside after your vivid dream of cave life."
|
||||
],
|
||||
"category" : "MUTCAT_TROGLO",
|
||||
"strength" : 3
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"Your dreams of living on the ocean floor seem more lifelike than reality.",
|
||||
"You dream of living as a terrifying octopus mutant."
|
||||
],
|
||||
"category" : "MUTCAT_CEPHALOPOD",
|
||||
"strength" : 3
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You vividly dream of living in a web and consuming insects.",
|
||||
"Your dreams of fully turning into a spider frighten you."
|
||||
],
|
||||
"category" : "MUTCAT_SPIDER",
|
||||
"strength" : 3
|
||||
},
|
||||
|
||||
{
|
||||
"message" : [
|
||||
"You scream in fear while you dream of being chased by a cat",
|
||||
"Your lifelike dreams have you scavenging food with a pack of rats."
|
||||
],
|
||||
"category" : "MUTCAT_RAT",
|
||||
"strength" : 3
|
||||
}
|
||||
]
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,291 @@
|
||||
[
|
||||
{
|
||||
"id":"UP",
|
||||
"name":"Pan up",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"k"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"8"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"UP"
|
||||
},
|
||||
{
|
||||
"input_method":"gamepad",
|
||||
"key":"JOY_UP"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"DOWN",
|
||||
"name":"Pan down",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"j"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"DOWN"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"2"
|
||||
},
|
||||
{
|
||||
"input_method":"gamepad",
|
||||
"key":"JOY_DOWN"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"LEFT",
|
||||
"name":"Pan left",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"h"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"LEFT"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"4"
|
||||
},
|
||||
{
|
||||
"input_method":"gamepad",
|
||||
"key":"JOY_LEFT"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"RIGHT",
|
||||
"name":"Pan right",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"l"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"RIGHT"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"6"
|
||||
},
|
||||
{
|
||||
"input_method":"gamepad",
|
||||
"key":"JOY_RIGHT"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"LEFTUP",
|
||||
"name":"Pan up-left",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"y"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"7"
|
||||
},
|
||||
{
|
||||
"input_method":"gamepad",
|
||||
"key":"JOY_LEFTUP"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"RIGHTUP",
|
||||
"name":"Pan up-right",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"u"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"9"
|
||||
},
|
||||
{
|
||||
"input_method":"gamepad",
|
||||
"key":"JOY_RIGHTUP"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"LEFTDOWN",
|
||||
"name":"Pan down-left",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"b"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"1"
|
||||
},
|
||||
{
|
||||
"input_method":"gamepad",
|
||||
"key":"JOY_LEFTDOWN"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"RIGHTDOWN",
|
||||
"name":"Pan down-right",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"n"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"3"
|
||||
},
|
||||
{
|
||||
"input_method":"gamepad",
|
||||
"key":"JOY_RIGHTDOWN"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"HELP_KEYBINDINGS",
|
||||
"name":"Display Help",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"?"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"CENTER",
|
||||
"category":"OVERMAP",
|
||||
"name":"Center On Character",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"LEVEL_UP",
|
||||
"name":"Go Up",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"PPAGE"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"<"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"LEVEL_DOWN",
|
||||
"name":"Go Down",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"NPAGE"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":">"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"CONFIRM",
|
||||
"name":"Confirm Choice",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"RETURN"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"DELETE_NOTE",
|
||||
"category":"OVERMAP",
|
||||
"name":"Delete Note",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"D"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"CREATE_NOTE",
|
||||
"category":"OVERMAP",
|
||||
"name":"Create/Edit Note",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"N"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"LIST_NOTES",
|
||||
"category":"OVERMAP",
|
||||
"name":"List Notes",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"L"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"SEARCH",
|
||||
"name":"Search",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"QUIT",
|
||||
"category":"OVERMAP",
|
||||
"name":"Exit Screen",
|
||||
"bindings":[
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"ESC"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"q"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":"Q"
|
||||
},
|
||||
{
|
||||
"input_method":"keyboard",
|
||||
"key":" "
|
||||
},
|
||||
{
|
||||
"input_method":"gamepad",
|
||||
"key":"JOY_3"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -1,319 +0,0 @@
|
||||
[
|
||||
{
|
||||
"name" : "GROUP_FOREST",
|
||||
"default" : "mon_squirrel",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_rabbit", "freq" : 150, "multiplier" : 0 },
|
||||
{ "monster" : "mon_deer", "freq" : 30, "multiplier" : 3 },
|
||||
{ "monster" : "mon_moose", "freq" : 10, "multiplier" : 3 },
|
||||
{ "monster" : "mon_wolf", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_coyote", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_bear", "freq" : 20, "multiplier" : 10 },
|
||||
{ "monster" : "mon_cougar", "freq" : 20, "multiplier" : 10 },
|
||||
{ "monster" : "mon_spider_wolf", "freq" : 30, "multiplier" : 10 },
|
||||
{ "monster" : "mon_spider_jumping", "freq" : 30, "multiplier" : 10 },
|
||||
{ "monster" : "mon_dog", "freq" : 10, "multiplier" : 0 },
|
||||
{ "monster" : "mon_cat", "freq" : 10, "multiplier" : 0 },
|
||||
{ "monster" : "mon_crow", "freq" : 30, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_ANT",
|
||||
"default" : "mon_ant",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_ant_larva", "freq" : 40, "multiplier" : 0 },
|
||||
{ "monster" : "mon_ant_soldier", "freq" : 90, "multiplier" : 5 },
|
||||
{ "monster" : "mon_ant_queen", "freq" : 0, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_BEE",
|
||||
"default" : "mon_bee",
|
||||
"monsters" : [
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_WORM",
|
||||
"default" : "mon_worm",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_graboid", "freq" : 30, "multiplier" : 20 },
|
||||
{ "monster" : "mon_halfworm", "freq" : 0, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_ZOMBIE",
|
||||
"default" : "mon_zombie",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie_cop", "freq" : 20, "multiplier" : 3 },
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 70, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_grabber", "freq" : 70, "multiplier" : 1 },
|
||||
{ "monster" : "mon_skeleton", "freq" : 30, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_smoker", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_swimmer", "freq" : 20, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_shrieker", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_spitter", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_electric", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_necro", "freq" : 1, "multiplier" : 25 },
|
||||
{ "monster" : "mon_boomer", "freq" : 30, "multiplier" : 7 },
|
||||
{ "monster" : "mon_zombie_brute", "freq" : 10, "multiplier" : 15 },
|
||||
{ "monster" : "mon_zombie_hulk", "freq" : 1, "multiplier" : 50 },
|
||||
{ "monster" : "mon_zombie_master", "freq" : 1, "multiplier" : 25 },
|
||||
{ "monster" : "mon_crow", "freq" : 1, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_TRIFFID",
|
||||
"default" : "mon_triffid",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_triffid_young", "freq" : 300, "multiplier" : 0 },
|
||||
{ "monster" : "mon_vinebeast", "freq" : 160, "multiplier" : 10 },
|
||||
{ "monster" : "mon_triffid_queen", "freq" : 60, "multiplier" : 0 },
|
||||
{ "monster" : "mon_triffid_heart", "freq" : 0, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_FUNGI",
|
||||
"default" : "mon_fungaloid",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_fungaloid_dormant", "freq" : 0, "multiplier" : 0 },
|
||||
{ "monster" : "mon_ant_fungus", "freq" : 0, "multiplier" : 0 },
|
||||
{ "monster" : "mon_zombie_fungus", "freq" : 300, "multiplier" : 0 },
|
||||
{ "monster" : "mon_boomer_fungus", "freq" : 30, "multiplier" : 0 },
|
||||
{ "monster" : "mon_spore", "freq" : 0, "multiplier" : 0 },
|
||||
{ "monster" : "mon_fungal_wall", "freq" : 0, "multiplier" : 0 },
|
||||
{ "monster" : "mon_fungaloid_queen", "freq" : 0, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "GROUP_GOO",
|
||||
"default" : "mon_blob",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_blob_small", "freq" : 200, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_CHUD",
|
||||
"default" : "mon_chud",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_one_eye", "freq" : 90, "multiplier" : 0 },
|
||||
{ "monster" : "mon_crawler", "freq" : 35, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_SEWER",
|
||||
"default" : "mon_sewer_rat",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_sewer_fish", "freq" : 470, "multiplier" : 0 },
|
||||
{ "monster" : "mon_sewer_snake", "freq" : 240, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_SWAMP",
|
||||
"default" : "mon_mosquito",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_dragonfly", "freq" : 130, "multiplier" : 0 },
|
||||
{ "monster" : "mon_centipede", "freq" : 150, "multiplier" : 0 },
|
||||
{ "monster" : "mon_frog", "freq" : 100, "multiplier" : 0 },
|
||||
{ "monster" : "mon_slug", "freq" : 85, "multiplier" : 0 },
|
||||
{ "monster" : "mon_dermatik_larva", "freq" : 0, "multiplier" : 0 },
|
||||
{ "monster" : "mon_dermatik", "freq" : 65, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_LAB",
|
||||
"default" : "mon_zombie_scientist",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_blob_small", "freq" : 25, "multiplier" : 0 },
|
||||
{ "monster" : "mon_manhack", "freq" : 245, "multiplier" : 0 },
|
||||
{ "monster" : "mon_skitterbot", "freq" : 245, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_ICE_LAB",
|
||||
"default" : "mon_zombie_scientist",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_blob_small", "freq" : 25, "multiplier" : 0 },
|
||||
{ "monster" : "mon_manhack", "freq" : 245, "multiplier" : 0 },
|
||||
{ "monster" : "mon_skitterbot", "freq" : 245, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_NETHER",
|
||||
"default" : "mon_blank",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_flying_polyp", "freq" : 25, "multiplier" : 0 },
|
||||
{ "monster" : "mon_hunting_horror", "freq" : 240, "multiplier" : 0 },
|
||||
{ "monster" : "mon_mi_go", "freq" : 120, "multiplier" : 0 },
|
||||
{ "monster" : "mon_yugg", "freq" : 70, "multiplier" : 0 },
|
||||
{ "monster" : "mon_gelatin", "freq" : 120, "multiplier" : 0 },
|
||||
{ "monster" : "mon_flaming_eye", "freq" : 120, "multiplier" : 0 },
|
||||
{ "monster" : "mon_kreck", "freq" : 210, "multiplier" : 0 },
|
||||
{ "monster" : "mon_gozu", "freq" : 25, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_SPIRAL",
|
||||
"default" : "mon_human_snail",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_twisted_body", "freq" : 180, "multiplier" : 0 },
|
||||
{ "monster" : "mon_vortex", "freq" : 80, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_VANILLA",
|
||||
"default" : "mon_zombie",
|
||||
"monsters" : [
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_SPIDER",
|
||||
"default" : "mon_spider_wolf",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_spider_web", "freq" : 200, "multiplier" : 0 },
|
||||
{ "monster" : "mon_spider_jumping", "freq" : 400, "multiplier" : 0 },
|
||||
{ "monster" : "mon_spider_widow", "freq" : 200, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_ROBOT",
|
||||
"default" : "mon_manhack",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_skitterbot", "freq" : 220, "multiplier" : 0 },
|
||||
{ "monster" : "mon_secubot", "freq" : 150, "multiplier" : 0 },
|
||||
{ "monster" : "mon_copbot", "freq" : 0, "multiplier" : 0 },
|
||||
{ "monster" : "mon_molebot", "freq" : 40, "multiplier" : 0 },
|
||||
{ "monster" : "mon_tripod", "freq" : 110, "multiplier" : 0 },
|
||||
{ "monster" : "mon_chickenbot", "freq" : 60, "multiplier" : 0 },
|
||||
{ "monster" : "mon_tankbot", "freq" : 20, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_POLICE", "_comment" : "+30% cops",
|
||||
"default" : "mon_zombie",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie_cop", "freq" : 320, "multiplier" : 3 },
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 70, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_grabber", "freq" : 70, "multiplier" : 1 },
|
||||
{ "monster" : "mon_skeleton", "freq" : 30, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_smoker", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_swimmer", "freq" : 20, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_shrieker", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_spitter", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_electric", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_necro", "freq" : 1, "multiplier" : 25 },
|
||||
{ "monster" : "mon_boomer", "freq" : 30, "multiplier" : 7 },
|
||||
{ "monster" : "mon_zombie_brute", "freq" : 10, "multiplier" : 15 },
|
||||
{ "monster" : "mon_zombie_hulk", "freq" : 1, "multiplier" : 50 },
|
||||
{ "monster" : "mon_zombie_master", "freq" : 1, "multiplier" : 25 },
|
||||
{ "monster" : "mon_crow", "freq" : 1, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_HOUSE", "_comment" : "+15% child",
|
||||
"default" : "mon_zombie",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie_child", "freq" : 150, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_cop", "freq" : 20, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 70, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_grabber", "freq" : 70, "multiplier" : 1 },
|
||||
{ "monster" : "mon_skeleton", "freq" : 30, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_smoker", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_swimmer", "freq" : 20, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_shrieker", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_spitter", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_electric", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_necro", "freq" : 1, "multiplier" : 25 },
|
||||
{ "monster" : "mon_boomer", "freq" : 30, "multiplier" : 7 },
|
||||
{ "monster" : "mon_zombie_brute", "freq" : 10, "multiplier" : 15 },
|
||||
{ "monster" : "mon_zombie_hulk", "freq" : 1, "multiplier" : 50 },
|
||||
{ "monster" : "mon_zombie_master", "freq" : 1, "multiplier" : 25 },
|
||||
{ "monster" : "mon_crow", "freq" : 1, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_PHARM", "_comment" : "+15% fast",
|
||||
"default" : "mon_zombie",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie_cop", "freq" : 20, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 220, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_grabber", "freq" : 70, "multiplier" : 1 },
|
||||
{ "monster" : "mon_skeleton", "freq" : 30, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_smoker", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_swimmer", "freq" : 20, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_shrieker", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_spitter", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_electric", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_necro", "freq" : 1, "multiplier" : 25 },
|
||||
{ "monster" : "mon_boomer", "freq" : 30, "multiplier" : 7 },
|
||||
{ "monster" : "mon_zombie_brute", "freq" : 10, "multiplier" : 15 },
|
||||
{ "monster" : "mon_zombie_hulk", "freq" : 1, "multiplier" : 50 },
|
||||
{ "monster" : "mon_zombie_master", "freq" : 1, "multiplier" : 25 },
|
||||
{ "monster" : "mon_crow", "freq" : 1, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_ELECTRO", "_comment" : "+15% electric",
|
||||
"default" : "mon_zombie",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie_cop", "freq" : 20, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 70, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_grabber", "freq" : 70, "multiplier" : 1 },
|
||||
{ "monster" : "mon_skeleton", "freq" : 30, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_smoker", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_swimmer", "freq" : 20, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_shrieker", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_spitter", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_electric", "freq" : 180, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_necro", "freq" : 1, "multiplier" : 25 },
|
||||
{ "monster" : "mon_boomer", "freq" : 30, "multiplier" : 7 },
|
||||
{ "monster" : "mon_zombie_brute", "freq" : 10, "multiplier" : 15 },
|
||||
{ "monster" : "mon_zombie_hulk", "freq" : 1, "multiplier" : 50 },
|
||||
{ "monster" : "mon_zombie_master", "freq" : 1, "multiplier" : 25 },
|
||||
{ "monster" : "mon_crow", "freq" : 1, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_GROCERY", "_comment" : "+15% bommers",
|
||||
"default" : "mon_zombie",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie_cop", "freq" : 20, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_fast", "freq" : 70, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_grabber", "freq" : 70, "multiplier" : 1 },
|
||||
{ "monster" : "mon_skeleton", "freq" : 30, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_smoker", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_swimmer", "freq" : 20, "multiplier" : 2 },
|
||||
{ "monster" : "mon_zombie_shrieker", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_spitter", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_electric", "freq" : 30, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_necro", "freq" : 1, "multiplier" : 25 },
|
||||
{ "monster" : "mon_boomer", "freq" : 180, "multiplier" : 7 },
|
||||
{ "monster" : "mon_zombie_brute", "freq" : 10, "multiplier" : 15 },
|
||||
{ "monster" : "mon_zombie_hulk", "freq" : 1, "multiplier" : 50 },
|
||||
{ "monster" : "mon_zombie_master", "freq" : 1, "multiplier" : 25 },
|
||||
{ "monster" : "mon_crow", "freq" : 1, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_MAYBE_MIL", "_comment" : "50% chance military zombie",
|
||||
"default" : "mon_null",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie_soldier", "freq" : 50, "multiplier" : 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "GROUP_PUBLICWORKERS",
|
||||
"default" : "mon_zombie_electric",
|
||||
"monsters" : [
|
||||
{ "monster" : "mon_zombie_grabber", "freq" : 100, "multiplier" : 1 },
|
||||
{ "monster" : "mon_zombie_smoker", "freq" : 100, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_shrieker", "freq" : 100, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_spitter", "freq" : 100, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie", "freq" : 100, "multiplier" : 5 },
|
||||
{ "monster" : "mon_zombie_brute", "freq" : 20, "multiplier" : 15 },
|
||||
{ "monster" : "mon_zombie_hulk", "freq" : 1, "multiplier" : 50 },
|
||||
{ "monster" : "mon_zombie_master", "freq" : 1, "multiplier" : 25 },
|
||||
{ "monster" : "mon_crow", "freq" : 1, "multiplier" : 0 }
|
||||
]
|
||||
}
|
||||
]
|
||||
-1473
File diff suppressed because it is too large
Load Diff
@@ -1,607 +0,0 @@
|
||||
[
|
||||
{
|
||||
"description":"They say you don't have any \"useful skills\", but at least your clothes fit well.",
|
||||
"ident":"unemployed",
|
||||
"items":[
|
||||
"jeans",
|
||||
"tshirt",
|
||||
"sneakers"
|
||||
],
|
||||
"name":"Unemployed",
|
||||
"points":0
|
||||
},
|
||||
{
|
||||
"description":"You've made and adjusted clothing for some of the biggest names in town. Now, their undead bodies are trying to eat your brains. At least you'll be able to keep your own clothing repaired.",
|
||||
"ident":"tailor",
|
||||
"items":[
|
||||
"polo_shirt",
|
||||
"blazer",
|
||||
"pants",
|
||||
"dress_shoes",
|
||||
"sewing_kit",
|
||||
"scissors",
|
||||
"manual_tailor"
|
||||
],
|
||||
"name":"Tailor",
|
||||
"points":1
|
||||
},
|
||||
{
|
||||
"description":"It was your first day in the lab when the cataclysm hit. You were evacuated with all the civilians, but at least you kept your lab gear.",
|
||||
"ident":"labtech",
|
||||
"items":[
|
||||
"dress_shirt",
|
||||
"pants",
|
||||
"boots",
|
||||
"coat_lab",
|
||||
"gloves_rubber",
|
||||
"glasses_safety"
|
||||
],
|
||||
"name":"Lab Technician",
|
||||
"points":1
|
||||
},
|
||||
{
|
||||
"description":"Although you never got your driver's license, you've always loved cars. You start with a wrench, a toolbelt, and some car-related reading material.",
|
||||
"ident":"mechanic",
|
||||
"items":[
|
||||
"tank_top",
|
||||
"jeans",
|
||||
"boots",
|
||||
"chestrig",
|
||||
"wrench",
|
||||
"mag_cars",
|
||||
"manual_mechanics"
|
||||
],
|
||||
"name":"Wannabe Mechanic",
|
||||
"points":2
|
||||
},
|
||||
{
|
||||
"description":"Your flexible outlook on law has ensured your survival, but now what? You start with cargo pants, a hoodie, \"sundries\", and one additional level of melee.",
|
||||
"ident":"scoundrel",
|
||||
"items":[
|
||||
"tank_top",
|
||||
"hoodie",
|
||||
"pants_cargo",
|
||||
"sneakers",
|
||||
"weed",
|
||||
"rolling_paper",
|
||||
"picklocks"
|
||||
],
|
||||
"name":"Scoundrel",
|
||||
"points":2,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"melee"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description":"You're a high school drop-out with one goal in mind: to join the military. You finally got in, and now it's hell on Earth in cataclysmic proportions. You start out with some military gear, and a level in survival and firearms.",
|
||||
"ident":"soldier",
|
||||
"items":[
|
||||
"pants_army",
|
||||
"army_top",
|
||||
"boots_combat",
|
||||
"knife_combat",
|
||||
"binoculars"
|
||||
],
|
||||
"name":"Military Recruit",
|
||||
"points":3,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"survival"
|
||||
},
|
||||
{
|
||||
"level":1,
|
||||
"name":"gun"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description":"You were a pre-med student just starting out in your medical career. You start with some bandages and a level in first aid.",
|
||||
"ident":"medic",
|
||||
"items":[
|
||||
"pants",
|
||||
"dress_shirt",
|
||||
"dress_shoes",
|
||||
"water_clean",
|
||||
"bandages",
|
||||
"bandages"
|
||||
],
|
||||
"name":"Pre-Med Student",
|
||||
"points":1,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"firstaid"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description":"When it came to getting dirty, the boss knew you could be trusted to get the job done. From performing hits to \"attitude adjustment\", you were the best. Now, at the end of the world, you've finally found your place in society.",
|
||||
"ident":"thug",
|
||||
"items":[
|
||||
"suit",
|
||||
"bowhat",
|
||||
"dress_shoes",
|
||||
"cig",
|
||||
"mag_porn"
|
||||
],
|
||||
"name":"Mafia Enforcer",
|
||||
"points":2,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"unarmed"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description":"When you got the call about the disturbances, you came to the rescue only to realize you were in over your head, and needed rescuing yourself. You start with a level in firearms.",
|
||||
"ident":"sheriff",
|
||||
"items":[
|
||||
"pants_army",
|
||||
"socks",
|
||||
"badge_deputy",
|
||||
"sheriffshirt",
|
||||
"boots",
|
||||
"holster"
|
||||
],
|
||||
"name":"Local Sheriff",
|
||||
"points":2,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"gun"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"addictions":[
|
||||
{
|
||||
"intensity":10,
|
||||
"type":"nicotine"
|
||||
}
|
||||
],
|
||||
"description":"Everyone at work knew you as the person who always had a cigarette or two in hand. Now, you're down to a single pack, and you hope you find more soon. You start out with a strong nicotine addiction, and 10 cigarettes.",
|
||||
"ident":"smoker",
|
||||
"items":[
|
||||
"pants",
|
||||
"dress_shirt",
|
||||
"dress_shoes",
|
||||
"cig",
|
||||
"ref_lighter"
|
||||
],
|
||||
"name":"Chain Smoker",
|
||||
"points":-1
|
||||
},
|
||||
{
|
||||
"description":"You would have sold your own mother for a dollar, and not felt guilty. In fact, you sold her a broken down beater right before the cataclysm. You start with bartering skills.",
|
||||
"ident":"salesman",
|
||||
"items":[
|
||||
"suit",
|
||||
"dress_shoes"
|
||||
],
|
||||
"name":"Used Car Salesman",
|
||||
"points":1,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"barter"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"addictions":[
|
||||
{
|
||||
"intensity":20,
|
||||
"type":"alcohol"
|
||||
}
|
||||
],
|
||||
"description":"You lived on the streets your whole life because you would rather have a bottle of whiskey than a roof over your head. You start with a strong alcohol addiction and a pair of pants.",
|
||||
"ident":"homeless",
|
||||
"items":[
|
||||
"pants",
|
||||
"whiskey"
|
||||
],
|
||||
"name":"Hobo",
|
||||
"points":-4
|
||||
},
|
||||
{
|
||||
"description":"Ever since you were a child you loved hunting, and you loved the challenge of hunting with a bow even more. You start with a level in archery and survival.",
|
||||
"ident":"hunter",
|
||||
"items":[
|
||||
"army_top",
|
||||
"boots_steel",
|
||||
"jeans"
|
||||
],
|
||||
"name":"Bow Hunter",
|
||||
"points":2,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"archery"
|
||||
},
|
||||
{
|
||||
"level":1,
|
||||
"name":"survival"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description":"You used to work at the home depot, and you did a lot of home renovations yourself. You start with steel toe boots, a tool belt, a hammer, and a level in construction.",
|
||||
"ident":"cworker",
|
||||
"items":[
|
||||
"tank_top",
|
||||
"boots_steel",
|
||||
"jeans",
|
||||
"hammer",
|
||||
"tool_belt"
|
||||
],
|
||||
"name":"Handy Man",
|
||||
"points":2,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"carpentry"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description":"You've worked in the woods your whole life, and start with some woodsman gear.",
|
||||
"ident":"lumberjack",
|
||||
"items":[
|
||||
"jeans",
|
||||
"boots",
|
||||
"hat_hunting",
|
||||
"jacket_flannel"
|
||||
],
|
||||
"name":"Lumberjack",
|
||||
"points":1
|
||||
},
|
||||
{
|
||||
"description":"You've traveled for a living, sightseeing here and there, and living off your parents' trust fund. But now they're gone, and the only thing between you and death is the open road and your backpack.",
|
||||
"ident":"backpacker",
|
||||
"items":[
|
||||
"backpack_leather",
|
||||
"jeans",
|
||||
"sneakers",
|
||||
"tshirt",
|
||||
"socks"
|
||||
],
|
||||
"name":"Backpacker",
|
||||
"points":2
|
||||
},
|
||||
{
|
||||
"description":"You used to work at a fancy fast food joint a week ago, but now you show the meaning of \"fast\" food by running for your life. You start with a level in cooking.",
|
||||
"ident":"fastfoodcook",
|
||||
"items":[
|
||||
"pants",
|
||||
"sneakers",
|
||||
"tshirt",
|
||||
"socks"
|
||||
],
|
||||
"name":"Fast Food Cook",
|
||||
"points":1,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"cooking"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description":"You were one of those guys who watched one too many survivalist shows. You start with a backpack, a blazer, and some survival skills.",
|
||||
"ident":"survivalist",
|
||||
"items":[
|
||||
"shorts_cargo",
|
||||
"boots",
|
||||
"blazer",
|
||||
"tshirt",
|
||||
"socks",
|
||||
"backpack"
|
||||
],
|
||||
"name":"Survivalist",
|
||||
"points":3,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"survival"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description":"You used to work for some small-time business owner doing minor electrical work, and you just so happened to be working on an evac shelter when the cataclysm struck. You start with a level in electronics, and a tool belt.",
|
||||
"ident":"electrician",
|
||||
"items":[
|
||||
"jumpsuit",
|
||||
"boots",
|
||||
"tool_belt"
|
||||
],
|
||||
"name":"Electrician",
|
||||
"points":3,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"electronics"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description":"Caffeine pills and all-nighters in front of a computer screen have given you some basic hacking skills. You start with a level in computers.",
|
||||
"ident":"hacker",
|
||||
"items":[
|
||||
"pants",
|
||||
"tshirt",
|
||||
"sneakers"
|
||||
],
|
||||
"name":"Computer Hacker",
|
||||
"points":1,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"computer"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description":"You were a high school student until the teachers literally tried to pick your brains. You start with a backpack and a zombie survival guide.",
|
||||
"ident":"student",
|
||||
"items":[
|
||||
"pants",
|
||||
"tshirt",
|
||||
"sneakers",
|
||||
"ZSG",
|
||||
"backpack"
|
||||
],
|
||||
"name":"Student",
|
||||
"points":2
|
||||
},
|
||||
{
|
||||
"description":"You were in the middle of a nice shower when the cataclysm struck! You start buck naked.",
|
||||
"ident":"svictim",
|
||||
"items":[
|
||||
|
||||
],
|
||||
"name":"Shower Victim",
|
||||
"points":-1
|
||||
},
|
||||
{
|
||||
"description":"You spent most of your life on a Harley, and it's only natural you spend the rest of it riding one. You start with some biker clothes.",
|
||||
"ident":"biker",
|
||||
"items":[
|
||||
"jeans",
|
||||
"tank_top",
|
||||
"chaps_leather",
|
||||
"boots",
|
||||
"bandana",
|
||||
"jacket_leather"
|
||||
],
|
||||
"name":"Biker",
|
||||
"points":2
|
||||
},
|
||||
{
|
||||
"description":"You used to be a ballroom dancer before the cataclysm, and now you use your skills to save your life. You start with a tuxedo and a level in dodging.",
|
||||
"ident":"dancer",
|
||||
"items":[
|
||||
"tux",
|
||||
"dress_shoes"
|
||||
],
|
||||
"name":"Ballroom Dancer",
|
||||
"points":1,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"dodge"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description":"You worked for a small-time security company guarding local businesses. You start with a security outfit and a flashlight.",
|
||||
"ident":"security",
|
||||
"items":[
|
||||
"pants",
|
||||
"poncho",
|
||||
"boots_combat",
|
||||
"flashlight"
|
||||
],
|
||||
"name":"Security Guard",
|
||||
"points":1
|
||||
},
|
||||
{
|
||||
"description":"You've always loved tinkering with stuff. You start with a tool belt, and know a little bit about mechanics, tailoring, electronics, and carpentry.",
|
||||
"ident":"tinkerer",
|
||||
"items":[
|
||||
"pants",
|
||||
"tshirt",
|
||||
"tool_belt",
|
||||
"sneakers"
|
||||
],
|
||||
"name":"Tinkerer",
|
||||
"points":3,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"mechanics"
|
||||
},
|
||||
{
|
||||
"level":1,
|
||||
"name":"tailor"
|
||||
},
|
||||
{
|
||||
"level":1,
|
||||
"name":"electronics"
|
||||
},
|
||||
{
|
||||
"level":1,
|
||||
"name":"carpentry"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description":"You've worked the streets since you were a kid, and now you use your street skills to survive. You start with a Glock 19 and some of your \"goods\", but no bullets.",
|
||||
"ident":"ddealer",
|
||||
"items":[
|
||||
"jeans",
|
||||
"tshirt",
|
||||
"hoodie",
|
||||
"sneakers",
|
||||
"glock_19",
|
||||
"coke"
|
||||
],
|
||||
"name":"Drug Dealer",
|
||||
"points":1
|
||||
},
|
||||
{
|
||||
"description":"You were about to marry your bride before the cataclysm, now you spend you days searching for her.",
|
||||
"ident":"groom",
|
||||
"items":[
|
||||
"tux",
|
||||
"dress_shoes"
|
||||
],
|
||||
"name":"Groom",
|
||||
"points":0
|
||||
},
|
||||
{
|
||||
"description":"You chose a bad day for your wedding. You just barely escaped with your wedding dress intact.",
|
||||
"ident":"bride",
|
||||
"items":[
|
||||
"dress_wedding",
|
||||
"dress_shoes"
|
||||
],
|
||||
"name":"Bride",
|
||||
"points":0
|
||||
},
|
||||
{
|
||||
"ident": "punkgirl",
|
||||
"name": "Punk Rock Girl",
|
||||
"description":"The apocalypse has been your psychotic dream come true. Now that the system is dead, it's time to party among the bones of the world!",
|
||||
"points": 2,
|
||||
"items": ["skirt", "corset", "trenchcoat", "gloves_fingerless", "boots_combat",
|
||||
"weed", "rolling_paper", "cig", "mp3", "ref_lighter"]
|
||||
},
|
||||
{
|
||||
"ident": "junkie",
|
||||
"name": "Junkie",
|
||||
"description":
|
||||
"Before the Apocalypse, you turned to Heroin to soothe your many problems.\nNow, your habit is your only comfort and your only drive.",
|
||||
"points": -1,
|
||||
"items": ["pants", "dress_shirt", "dress_shoes", "heroin","syringe"],
|
||||
"addictions": [ { "type": "opiate", "intensity": 10 } ]
|
||||
},
|
||||
{
|
||||
"ident": "chef",
|
||||
"name": "Chef",
|
||||
"description":
|
||||
"Bork bork! Years in the kitchen have left you carrying a prodigious bulk, but you managed to escape the carnage with a butchers knife and only a small collection of stains on your uniform.",
|
||||
"points": 2,
|
||||
"items": ["knife_butcher", "hat_chef", "jacket_chef", "pants_checkered", "dress_shoes"],
|
||||
"skills" : [ { "name" : "cooking", "level" : 3 } ]
|
||||
},
|
||||
{
|
||||
"addictions":[
|
||||
{
|
||||
"intensity":20,
|
||||
"type":"crack"
|
||||
}
|
||||
],
|
||||
"description":"You were on your way to collect your check, when your pimp tried to kill you. You wish that it wasn't a common occurence. You start with a skirt, tank top, a pair of high heels, your stash, and a strong crack addiction.",
|
||||
"ident":"hooker",
|
||||
"items":[
|
||||
"skirt",
|
||||
"heels",
|
||||
"tank_top",
|
||||
"crackpipe",
|
||||
"crack"
|
||||
],
|
||||
"name":"Prostitute",
|
||||
"points":-4
|
||||
},
|
||||
{
|
||||
"description":"You spent most of your life trapping with your father. Both of you made a decent living off of your catches, and trapping tutorials. You start with a skill in trapping.",
|
||||
"ident":"trapper",
|
||||
"items":[
|
||||
"jeans",
|
||||
"boots",
|
||||
"hat_hunting",
|
||||
"jacket_flannel",
|
||||
"beartrap"
|
||||
],
|
||||
"name":"Trapper",
|
||||
"points":1,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"traps"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description":"You were going through your community college's metalsmithing program when the world ended. You start with a few related tools and some skill in fabrication.",
|
||||
"ident":"blacksmith",
|
||||
"items":[
|
||||
"jeans",
|
||||
"boots",
|
||||
"tank_top",
|
||||
"apron_leather",
|
||||
"fire_gauntlets",
|
||||
"hammer"
|
||||
],
|
||||
"name":"Blacksmith",
|
||||
"points":2,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"fabrication"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ident": "clown",
|
||||
"name": "Clown",
|
||||
"description":"All you ever wanted was to make people laugh. Dropping out of school and performing at kids' parties was a dream come true until the world ended. There's precious few balloon animals in your future now.",
|
||||
"points": 0,
|
||||
"items": ["clown_suit", "clownshoes"]
|
||||
},
|
||||
{
|
||||
"ident": "lost_sub",
|
||||
"name": "Lost Submissive",
|
||||
"description":"Early in the rush to safety, you were separated from your master by cruel fate. Now you are on your own with nothing to your name but a suit of really kinky black leather. Unfortunately, there's no safewords in the apocalypse.",
|
||||
"points": 0,
|
||||
"items": ["bondage_suit", "bondage_mask", "boots"]
|
||||
},
|
||||
{
|
||||
"ident": "senior",
|
||||
"name": "Senior Citizen",
|
||||
"description":"You haven't seen this much blood since the war. The whole world's gone crazy! They ate your grandkids! But dagnabbit, you'll make them all pay for what they've done. You start with a cane and your pocketwatch.",
|
||||
"points": 1,
|
||||
"items": ["dress_shirt", "pants_checkered", "dress_shoes", "cane", "pocketwatch"]
|
||||
},
|
||||
{
|
||||
"description":"Being a paramedic put you in a bad spot when it all ended. You had to fight your way out of a hospital full of infected to get to the shelter. You start with a few related tools and some skill in first aid.",
|
||||
"ident":"paramedic",
|
||||
"items":[
|
||||
"pants",
|
||||
"boots",
|
||||
"polo_shirt",
|
||||
"gloves_medical",
|
||||
"1st_aid"
|
||||
],
|
||||
"name":"Paramedic",
|
||||
"points":2,
|
||||
"skills":[
|
||||
{
|
||||
"level":1,
|
||||
"name":"firstaid"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ident":"cosplay",
|
||||
"name":"Otaku",
|
||||
"description":"Late nights with friends watching anime and eating snacks has prepared you for the premier anime convention in the Northeast. It just had to be the day of the apocalypse. At least you were ready in case your costume tore.",
|
||||
"items":["shorts", "sneakers", "tank_top", "sewing_kit", "mbag", "fur_cat_ears", "fur_cat_tail", "fur_collar", "cheeseburger"],
|
||||
"points":2
|
||||
}
|
||||
]
|
||||
@@ -1,170 +0,0 @@
|
||||
[
|
||||
[
|
||||
"barter",
|
||||
"bartering",
|
||||
"Your skill in bargaining, haggling, and trading with others. Higher levels increase the odds of getting the better end of a deal, and might even see you convincing others to give you free stuff.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"computer",
|
||||
"computers",
|
||||
"Your skill in accessing and manipulating computers. Higher levels can allow a user to navigate complex software systems and even bypass their security.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"carpentry",
|
||||
"construction",
|
||||
"Your general competence in building construction. This governs the complexity of structures that can be built, and the time required to build them.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"cooking",
|
||||
"cooking",
|
||||
"Your skill in combining food ingredients to make other, tastier food items. It may also be used in certain chemical mixtures and other, more esoteric tasks.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"driving",
|
||||
"driving",
|
||||
"Your skill in operating and steering a vehicle in motion. A higher level allows greater control over vehicles at higher speeds, and reduces the penalty of shooting while driving.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"electronics",
|
||||
"electronics",
|
||||
"Your skill in dealing with electrical systems, used in the craft and repair of objects with electrical components. This skill is an important part of installing and managing bionic implants.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"fabrication",
|
||||
"fabrication",
|
||||
"Your skill in working with raw materials and shaping them into useful objects. This skill plays an important role in the crafting of many objects.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"firstaid",
|
||||
"first aid",
|
||||
"Your skill in effecting emergency medical treatment. Higher levels allow better use of medicines and items like bandages and first aid kits, and reduce the failure and complication rates of medical procedures.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"mechanics",
|
||||
"mechanics",
|
||||
"Your skill in engineering, maintaining and repairing vehicles and other mechanical systems. This skill covers the craft of items with complex parts, and plays a role in the installation of bionic equipment.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"speech",
|
||||
"speaking",
|
||||
"Your skill in speaking to other people. Covers ability in boasting, flattery, threats, persuasion, lies, and other facets of interpersonal communication. Works best in conjunction with a high level of intelligence.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"survival",
|
||||
"survival",
|
||||
"Your skill in surviving the wilderness, and in crafting various basic survival items. This also covers your ability to skin and butcher animals for meat and hides.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"swimming",
|
||||
"swimming",
|
||||
"Your ability to stay afloat and move around in bodies of water. This skill keeps you from drowning, affects your combat effectiveness and speed in deep water, and determines the detriment of swimming with heavier gear.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"tailor",
|
||||
"tailoring",
|
||||
"Your skill in the craft and repair of clothing, bags, blankets and other textiles. Affects knitting, sewing, stitching, weaving, and nearly anything else involving a needle and thread.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"traps",
|
||||
"trapping",
|
||||
"Your skill in setting and disarming traps safely and effectively. This skill does not affect the detection of hidden traps, or the evasion of traps that are triggered.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"archery",
|
||||
"archery",
|
||||
"Your skill in using bow weapons, from hand-carved self bows to complex hunting crossbows. Quiet and effective, they require strength of body and sight to wield, and are not terribly accurate over a long distance.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"bashing",
|
||||
"bashing weapons",
|
||||
"Your skill in fighting with blunt weaponry, from rocks and sticks to baseball bats and the butts of rifles. Skill increases damage, and higher levels will improve the accuracy of an attack.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"cutting",
|
||||
"cutting weapons",
|
||||
"Your skill in fighting with weaponry designed to cut, hack and slash an opponent. Lower levels of skill increase accuracy and damage, while higher levels will help to bypass heavy armor and thick hides.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"dodge",
|
||||
"dodging",
|
||||
"Your ability to dodge an oncoming threat, be it an enemy's attack, a triggered trap, or a falling rock. This skill is also used in attempts to fall gracefully, and for other acrobatic feats.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"gun",
|
||||
"firearms",
|
||||
"Your overall skill in using firearms. With higher levels, this general experience increases accuracy with any gun, but is secondary to practice with the type of gun in question.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"launcher",
|
||||
"launchers",
|
||||
"Your skill in using heavy weapons like rocket, grenade or missile launchers. These weapons have a variety of applications and may carry immense destructive power, but they are cumbersome and hard to manage.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"melee",
|
||||
"melee",
|
||||
"Your skill and finesse in personal combat, both with and without a weapon. Higher levels can significantly increase the accuracy and effectiveness of your physical attacks.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"stabbing",
|
||||
"piercing weapons",
|
||||
"Your skill in fighting with knives, spears and other such stabbing implements. Skill increases attack accuracy as well as the chance of inflicting a deadly and critical blow.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"throw",
|
||||
"throwing",
|
||||
"Your skill in throwing objects over a distance. Skill increases accuracy, and at higher levels, the range of a throw.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"unarmed",
|
||||
"unarmed combat",
|
||||
"Your skill in hand-to-hand fighting. For the unskilled, it's a good way to get hurt, but those with enough practice can perform special blows and techniques to quickly dispatch enemies.",
|
||||
[]
|
||||
],
|
||||
[
|
||||
"pistol",
|
||||
"handguns",
|
||||
"Handguns have poor accuracy compared to rifles, but are usually quick to fire and reload faster than other guns. They are very effective at close quarters, though unsuited for long range engagement.",
|
||||
["gun_type"]
|
||||
],
|
||||
[
|
||||
"rifle",
|
||||
"rifles",
|
||||
"Rifles have terrific range and accuracy compared to other firearms, but may be slow to fire and reload, and can prove difficult to use in close quarters. Fully automatic rifles can fire rapidly, but are harder to handle properly.",
|
||||
["gun_type"]
|
||||
],
|
||||
[
|
||||
"shotgun",
|
||||
"shotguns",
|
||||
"Shotguns are easy to shoot and can inflict massive damage, but their effectiveness and accuracy decline rapidly with range. Slugs can be loaded into shotguns to provide greater range, though they are somewhat inaccurate.",
|
||||
["gun_type"]
|
||||
],
|
||||
[
|
||||
"smg",
|
||||
"submachine guns",
|
||||
"Comprised of an automatic rifle carbine designed to fire a pistol cartridge, submachine guns can reload and fire quickly, sometimes in bursts, but they are relatively inaccurate and may be prone to mechanical failures.",
|
||||
["gun_type"]
|
||||
]
|
||||
]
|
||||
@@ -1,93 +0,0 @@
|
||||
{
|
||||
"snippets":
|
||||
[
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for the Diet Devil brand Metabolic Exchange CBM. It shows a picture of a tiny obese devil sitting on a woman's shoulder. The woman stares intently at a gigantic wedding cake covered with bacon and candybars. The caption reads: \"Burn calories! Burn!\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for the Diet Devil brand Internal Furnace CBM. It shows a picture of a tiny obese devil sitting on a man's shoulder. The man is about to bite into a frosting-covered baby. The caption reads: \"Eat What You Want! How You Want! Who You Want!\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for the Diet Devil brand Ethanol Burner CBM. It shows a picture of a teenaged boy driving a car while chugging a bottle of whiskey. A tiny obese devil sits on his shoulder and drinks a martini. The caption reads: \"Drink like there's no tomorrow!\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for the Twenty8 brand Diamond Cornea CBM. It shows a picture of the cyber-module being clutched by an eagle in flight. The captions read: \"Get the new Model 28.bx Eagle-Eye!\" and \"Twenty8. See what you've been missing.\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for the Twenty8 brand Night Vision CBM. It shows a picture of an owl swooping down on a the cyber-module. The captions read: \"Get the new Model 28.hx Night-Owl!\" and \"Twenty8. See what you've been missing.\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for the Twenty8 brand Diamond Cornea CBM. It shows a picture of a flying hawk carrying the cyber-module in its beak. The captions read: \"Get the new Model 28.xx Hawk-Eye!\" and \"Twenty8. See what you've been missing.\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for the Twenty8 brand Scent Vision CBM. It shows a picture of a vulture perched on a pile of skulls and cyber-modules. The captions read: \"Get the new Model 28.vx Vulture today!\" and \"Twenty8. See what you've been missing.\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an ad for a Twenty8 brand Infrared Vision CBM. It shows a picture of a robotic phoenix covered in flames. The captions read: \"Get the new Model 28.tx Phoenix today!\" and \"Twenty8. See what you've been missing.\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for DoubleTech brand law enforcement robots. It shows a picture of copbot and an eyebot boldly emerging from a cloud of teargas and flame. The caption reads: \"DoubleTech Industries. Built to Protect. Programmed to Serve.\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for DoubleTech brand law enforcement robots. It shows a picture of an eyebot flying alongside a bald eagle and a Stealth bomber painted as an American flag. The caption reads: \"Built to Protect. Programmed to Serve.\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for DoubleTech brand law enforcement robots. It shows a picture of a dozen eyebots floating over a woman as she jogs through a park. The captions read: \"Built to Protect. Programmed to Serve.\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for DoubleTech brand law enforcement robots. It shows a picture of copbot pepper-spraying a handcuffed rioter. In the background a troop of boy scouts salutes the robot. The caption reads: \"Built to Protect. Programmed to Serve.\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for Robert's Universal Robotics brand law enforcement robots. It shows a picture of tripod robot incinerating a mob of looters and stepping over charred and smoking corpses. The caption reads: \"Built to Protect. Programmed to Serve.\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for Robert's Universal Robots brand labor-bots. It shows a picture of a robot carrying a heavy pallet of bricks. In the background a human foreman is sleeping on the job, with his hardhat pulled down over his eyes. The captions read: \"It's a tough job, so why should you have to do it?\" and \"R.U.R. Technology you can Trust.\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for Robert's Universal Robots brand labor-bots. It shows a picture of a factory floor run entirely by robots. In the background a man in a suit reads a newspaper that shows soaring stock prices. The caption reads: \"R.U.R. Technology you can Trust.\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for Sybil's Cyber Boutique. It shows a picture of several bikini-clad female doctors removing the skin from man's face. The patient is strapped to a chair but cheerfully gives two thumbs up. The caption reads: \"Free Plastic Surgery While You Wait!\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for Sybil's Cyber Boutique. It shows a picture of a nerdy looking man surrounded by a group of admiring women. In the foreground a blood-drenched doctor gives an exaggerated wink and two thumbs up. The caption reads: \"Holiday sales! Get the package deals!\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for Sybil's Cyber Boutique. It shows a picture of a man flexing shiny cybernetic arms in front of a mirror. He is flanked by two scantily clad nurses who hold bloody chainsaws and give approving thumbs up. In the background feral dogs gnaw on the man's discarded former limbs. The caption reads: \"Spring Cleaning Sale! 20% off!\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for Rivtech brand handguns. It shows a picture of a well armed couple in business suits with matching handguns facing down a legion of villainous looking characters. The caption reads: \"Protect yourself with the Rivtech caseless automagnum!\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for Rivtech brand rifles. It shows a picture of a smiling soldier with a futuristic looking rifle on her shoulder saluting the viewer. The caption reads: \"Rivtech caseless firearms proudly supports our Military.\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for Rivtech brand firearms. It shows a picture of a trio of well armed hunters. The three are each armed with different futuristic looking weapons and are shooting at a hostile crowd of approaching wildlife. The caption reads: \"Rivtech caseless firearms. Superior stopping power.\""
|
||||
},
|
||||
{
|
||||
"category": "flier",
|
||||
"text": "This is an advertisement for Rivtech brand ammunition. It shows a picture of an armored steel plate with a gaping hole blasted through the middle. Sitting beside the plate is a block of brightly colored caseless ammunition. The caption reads: \"Rivtech 8x40mm caseless. Nothing else comes close.\""
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user