93 Commits

Author SHA1 Message Date
eda431d331 move item helper to common project 2021-09-01 16:59:08 +01:00
Chomp
25e7acacac Merge pull request 'feature/mod-chance-calculation-adjustments' (#7) from feature/mod-chance-calculation-adjustments into master
Reviewed-on: Chomp/BotGenerator#7
2021-09-01 17:42:21 +02:00
095fc983be Fixed issue with required slot detection 2021-09-01 18:39:09 +03:00
63a5cecfc2 Merge branch 'master' into feature/mod-chance-calculation-adjustments 2021-09-01 17:39:56 +03:00
8761e26880 WIP: initial set of adjustments to mod chance calculation 2021-09-01 17:39:50 +03:00
a7b2ce998b typo 2021-09-01 15:29:38 +01:00
ab29509ed4 Rework difficulties to not use strongly typed values and just read directly from asset files
Reuces maintenance of keeping objects updated.

Use <string, object> as the value can be bool/int/double, output is always in JSON so use object to preserve value
2021-09-01 15:25:26 +01:00
cbe62a7c64 Add missing difficulty settings 2021-09-01 15:04:34 +01:00
55ca5ebbbe Add missing tagilla difficultiy settings 2021-09-01 14:41:21 +01:00
d38cc9c3ea Parallelise some troublesome loops 2021-08-31 18:52:28 +01:00
f0d48619bf set min to size of special loot array 2021-08-31 18:52:00 +01:00
4baaeb47bc Update boss keygen code to better match requirements 2021-08-31 18:39:30 +01:00
f695450f70 Move special loot to correct place in output object 2021-08-30 22:32:54 +01:00
5ffd837124 Add keys to boss special loot code
TODO: figure out a better way to do this as right now somewhre between 1 and 50 keys will spawn on bosses
2021-08-29 20:46:57 +01:00
ec25fdd058 refactor code to perform metric calculations last 2021-08-27 21:34:12 +01:00
f3975badac Add special loot aray to output and add helper class for storing special items that must spawn with specific bot types 2021-08-27 21:01:59 +01:00
d03b06fd1a blacklist ultra nosler 2021-08-27 13:47:09 +01:00
8b57a79fc7 Add code to add cartridge items to mod list for magazine items
each magazine needs a mod item with a key of its template id with a "cartridges" key + list of compatible cartridges to work correctly.
2021-08-25 20:12:44 +01:00
3067035494 Loop over all weapons, not just primary 2021-08-25 20:11:32 +01:00
5541be7c34 Add extension to help add a range of values to a list 2021-08-25 20:08:13 +01:00
8dbd052964 more bullets for blacklist 2021-08-25 20:07:59 +01:00
4fe279d9d7 refactoring of code for readability 2021-08-25 19:10:29 +01:00
ea2f5ce3a8 formatting 2021-08-25 19:06:24 +01:00
ac5a0e3f17 cleanup of class 2021-08-25 19:04:46 +01:00
617cbd196e Add functionality to add allowed chambered bullets to a guns mod list, prevetns adding certain terrible bullets through a blacklist 2021-08-25 19:04:36 +01:00
240f9d1e57 Add classes for mapping a bsg items library object 2021-08-25 18:59:54 +01:00
9aa4e25759 Add bullet blacklist helper 2021-08-25 18:58:53 +01:00
d0b6718c5c cleanup of file structure 2021-08-24 23:04:26 +01:00
a155b366d1 Properly manage multiple preset files 2021-08-24 17:11:19 +01:00
206acf42ec Add example preset file 2021-08-24 12:12:42 +01:00
31f6dd7e75 Add pmc project prototype for generating mod json data 2021-08-24 12:10:14 +01:00
d8c905719c use common project 2021-08-24 12:08:30 +01:00
554c86d7db Add common project and move some classes out of code into it 2021-08-24 12:07:09 +01:00
11ad866348 remove debug code 2021-08-20 20:03:20 +01:00
832158a85e Add missing mods to output 2021-08-20 20:00:13 +01:00
6327711945 Better logging messages 2021-08-20 09:12:26 +01:00
085ff89680 improve comments
Disable 2 unused bot types for now
2021-08-20 08:34:11 +01:00
7796ba4eb6 FIx incorectly named bot type 2021-08-20 08:33:49 +01:00
0eb2031a88 dynamically create list of bots to process based on passed in list of bottypes 2021-08-20 08:33:04 +01:00
6846d518c1 pass bottypes array into basebot class 2021-08-20 08:23:55 +01:00
d8e216d773 Fix issue where loops were being ended too soon 2021-08-18 21:42:49 +01:00
a591b6e21b Add more bot types 2021-08-18 21:41:59 +01:00
79220c7075 Add more bottypes to parser 2021-08-18 21:13:46 +01:00
4dc11acf06 Handle when a bot type is similar to another, e.g. cursedassault vs assault 2021-08-17 18:34:37 +01:00
76a17e6d6a Handle a bot type with no dumps 2021-08-17 18:33:55 +01:00
c8cf5f847e Add todo 2021-08-17 17:35:18 +01:00
e777914d0b remove unused method
add TODO
2021-08-17 17:33:09 +01:00
9d53d15302 better handle parsing a bot type where no raw bots were found 2021-08-17 17:32:27 +01:00
58b4e59bfa Add more bot types 2021-08-17 17:32:03 +01:00
01cd594ca2 Fix bosses not finding their difficulty files 2021-08-17 17:30:06 +01:00