HexCasting/doc/properties.toml

56 lines
1.7 KiB
TOML
Raw Normal View History

2023-06-20 06:42:49 +02:00
# general properties/settings
modid = "hexcasting"
book_name = "thehexbook"
template = "template.html"
2023-06-20 06:42:49 +02:00
recipe_dirs = [
"{fabric.generated}/data/{modid}/recipes",
"{forge.generated}/data/{modid}/recipes",
]
# NOTE: _Raw means "don't apply variable interpolation to this value"
# more on that later
pattern_regex = {_Raw='HexPattern\.fromAngles\("([qweasd]+)", HexDir\.(\w+)\),\s*modLoc\("([^"]+)"\)([^;]*true\);)?'}
2023-06-20 06:42:49 +02:00
[i18n]
lang = "en_us"
filename = "{lang}.json"
[i18n.extra]
"item.minecraft.amethyst_shard" = "Amethyst Shard"
"item.minecraft.budding_amethyst" = "Budding Amethyst"
"block.hexcasting.slate" = "Blank Slate"
# platforms
# fabric and forge are optional
[common]
src = "../Common/src"
2023-06-20 06:42:49 +02:00
# NOTE: {...} is variable interpolation from the current table
package = "{src}/main/java/at/petrak/hexcasting"
resources = "{src}/main/resources"
generated = "{src}/generated/resources"
pattern_stubs = [
# these are tables so we have the option to add extra per-stub configs (eg. regex)
# NOTE: each ^ is like ../ in a file path (^key and ^.key are both valid)
# the parent of an item in an array is the table containing the array, not the array
2023-06-20 06:42:49 +02:00
# so in this case, {^.package} is common.package
{ file = "{^.package}/common/casting/RegisterPatterns.java" },
{ file = "{^.package}/interop/pehkui/PehkuiInterop.java" },
]
[fabric]
src = "../Fabric/src"
package = "{src}/main/java/at/petrak/hexcasting/fabric"
resources = "{src}/main/resources"
generated = "{src}/generated/resources"
pattern_stubs = [
2023-06-20 06:42:49 +02:00
{ file = "{^.package}/interop/gravity/GravityApiInterop.java" },
]
[forge]
src = "../Forge/src"
package = "{src}/main/java/at/petrak/hexcasting/forge"
resources = "{src}/main/resources"
generated = "{src}/generated/resources"