diff --git a/compile_mod.py b/compile_mod.py new file mode 100644 index 0000000..1a194c0 --- /dev/null +++ b/compile_mod.py @@ -0,0 +1,18 @@ +# This script should: +# +# Given a modcode directory as input containing: +# +# - .jsons with patches to apply to the vanilla .dbr files +# - .jsons with new records to add to the vanilla .dbr files +# - .jsons with new texts to add to the vanilla .txt files +# +# Generate a mod directory with: +# - database/records +# - source/text_en +# +# To do so, it will need to: +# 1. Read all .jsons in the modcode directory +# 2. Determine which vanilla .dbr files they modify, apply the patches, and write the new .dbr files to the mod directory. +# 3. Write the new .dbr files to the mod directory. +# 4. Write the new .txt text_en files to the mod directory. + diff --git a/example_delta/blood_of_dreeg_chaos.json b/example_delta/blood_of_dreeg_chaos.json new file mode 100644 index 0000000..90a4129 --- /dev/null +++ b/example_delta/blood_of_dreeg_chaos.json @@ -0,0 +1,6 @@ +{ + "records/skills/playerclass03/bloodofdreeg1_buff.dbr": { + "offensiveChaosMin": "5.000000;8.000000;11.000000;14.000000;17.000000;19.000000;21.000000;23.000000;25.000000;27.000000;29.000000;32.000000;35.000000;38.000000;41.000000;44.000000;47.000000;50.000000;53.000000;56.000000;59.000000;63.000000;67.000000;73.000000;79.000000;88.000000", + "offensivePoisonMin": "2.500000;4.000000;5.500000;7.000000;8.500000;9.500000;10.500000;11.500000;12.500000;13.500000;14.500000;16.000000;17.500000;19.000000;20.500000;22.000000;23.500000;25.000000;26.500000;28.000000;29.500000;31.500000;33.500000;36.500000;39.500000;44.000000" + } +} \ No newline at end of file