HexCasting/doc/properties.toml

68 lines
2 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-07-10 06:56:40 +02:00
is_0_black = false
2023-06-20 06:42:49 +02:00
recipe_dirs = [
"{fabric.generated}/data/{modid}/recipes",
"{forge.generated}/data/{modid}/recipes",
]
2023-07-04 03:18:36 +02:00
default_recipe_dir = 0
spoilers = [
"hexcasting:opened_eyes",
"hexcasting:y_u_no_cast_angy",
"hexcasting:enlightenment",
]
blacklist = []
# 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-07-10 06:56:40 +02:00
[base_asset_urls]
hexcasting = "https://raw.githubusercontent.com/gamma-delta/HexMod/main/Common/src/main/resources"
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
[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"