Skip to content

Commit

Permalink
Allow modifier modules to recommend a priority
Browse files Browse the repository at this point in the history
If multiple recommend a priority, log a warning during datagen and runtime.
  • Loading branch information
KnightMiner committed Jun 13, 2023
1 parent ae40120 commit 99af4c5
Show file tree
Hide file tree
Showing 69 changed files with 95 additions and 75 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:incremental"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:incremental"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:mob_disguise",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:incremental"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:mob_disguise",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:incremental"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:mob_disguise",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 125,
"modules": [
{
"type": "tconstruct:conditional_mining_speed",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:constant_enchantment",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:single_level",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:rarity",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:single_level",
"tooltip_display": "tinker_station",
"priority": 50,
"modules": [
{
"type": "tconstruct:modifier_slot",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:mob_disguise",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:tool_stat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:single_level",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:rarity",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:mob_disguise",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:tool_stat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:tool_stat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:harvest_enchantment",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:single_level",
"tooltip_display": "tinker_station",
"priority": 50,
"modules": [
{
"type": "tconstruct:modifier_slot",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:no_levels",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:volatile_flag",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:single_level",
"tooltip_display": "tinker_station",
"priority": 50,
"modules": [
{
"type": "tconstruct:modifier_slot",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:tool_stat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:mob_disguise",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:incremental"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:incremental"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:tool_stat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:looting",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"unique_until": 3
},
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:harvest_enchantment",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:single_level",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:rarity",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "never",
"priority": 100,
"modules": [
{
"type": "tconstruct:volatile_flag",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:mob_disguise",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:mob_disguise",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:incremental"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:incremental"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:incremental"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:no_levels",
"tooltip_display": "tinker_station",
"priority": 50,
"modules": [
{
"type": "tconstruct:swappable_slot",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:single_level",
"tooltip_display": "tinker_station",
"priority": 50,
"modules": [
{
"type": "tconstruct:modifier_slot",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:constant_enchantment",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:single_level",
"tooltip_display": "tinker_station",
"priority": 50,
"modules": [
{
"type": "tconstruct:modifier_slot",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:incremental"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:conditional_damage",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"unique_until": 5
},
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:incremental"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:tool_stat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:no_levels",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:volatile_flag",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:no_levels",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:harvest_enchantment",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:mob_disguise",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:incremental"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "never",
"priority": 100,
"modules": [
{
"type": "tconstruct:volatile_flag",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:attribute",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "tconstruct:composable",
"level_display": "tconstruct:default",
"tooltip_display": "always",
"priority": 100,
"modules": [
{
"type": "tconstruct:mob_disguise",
Expand Down

0 comments on commit 99af4c5

Please sign in to comment.