Add example_delta
This commit is contained in:
parent
bf23ed23bd
commit
d85467e0a2
2 changed files with 24 additions and 0 deletions
18
compile_mod.py
Normal file
18
compile_mod.py
Normal file
|
|
@ -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.
|
||||
|
||||
6
example_delta/blood_of_dreeg_chaos.json
Normal file
6
example_delta/blood_of_dreeg_chaos.json
Normal file
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue