NextCenturyCorporation / itm-scenario-validator

1 stars 0 forks source link

Created first draft of yaml-to-json converter #21

Open kaitlyn-sharo opened 7 months ago

kaitlyn-sharo commented 7 months ago

Takes in a TA1 yaml file and converts parts of it to the simulator json format.

So far, this can convert the environment type, supplies at the beginning of the scene, and characters throughout all scenes. Character demographics are followed, outfits for civilians are randomized, and injuries are mapped properly. You should be able to take the output of this script and put it directly into the simulator and see the characters generated. I've been testing using python3 converter.py -y test.yaml -j test.json

Things that can still be optionally completed: