commit d8fbd0e593d838dc9a6394d6255ed57409491c8f Author: Andrew71 Date: Sun Aug 4 19:08:48 2024 +0300 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f1afdf2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +DATAPACK.md +ToTheBaikal.zip \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..9370e7a --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# To the Baikal +TTB is a small datapack that expands [Patbox's Brewery](https://github.com/Patbox/brewery) Minecraft mod with new drinks! + +It contains over 15 \*brews*, including some secret ones! + +To install, copy `ToTheBaikal` directory into your `datapacks` dir, same as with any other pack. \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/absinthe.json b/ToTheBaikal/data/ttb/brewery_drinks/absinthe.json new file mode 100644 index 0000000..3665c79 --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/absinthe.json @@ -0,0 +1,43 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.absinthe" + }, + "color": "#35753a", + "alcoholic_value": "45", + "ingredients": [ + { + "items": [ + "minecraft:short_grass" + ], + "count": 15 + }, + { + "items": [ + "minecraft:wheat_seeds" + ], + "count": 3 + } + ], + "distillation_runs": 6, + "cooking_quality_multiplier": "cos(clamp((age / 60 - 3.0) * 0.75, -2, 2))", + "base_quality_value": "10", + "book_information": { + "best_cooking_time": 180.0 + }, + "entries": [ + { + "type": "random", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:poison", + "time": "(quality - 5) * 60", + "value": "1" + } + ], + "apply_check": "random() + 1 - 0.75" + } + ] +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/ale.json b/ToTheBaikal/data/ttb/brewery_drinks/ale.json new file mode 100644 index 0000000..a9419ab --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/ale.json @@ -0,0 +1,111 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.ale" + }, + "color": "#efc737", + "alcoholic_value": "10", + "ingredients": [ + { + "items": [ + "minecraft:wheat" + ], + "count": 3 + }, + { + "items": [ + "minecraft:sugar" + ], + "count": 1 + }, + { + "items": [ + "minecraft:spider_eye" + ], + "count": 1 + } + ], + "cooking_quality_multiplier": "cos(clamp((age / 60 - 10.0) * 0.4, -2, 2))", + "base_quality_value": "smooth_value_days(3.0, 1.0, 15.0, age) * 10", + "book_information": { + "best_cooking_time": 600.0, + "best_barrel_age": 3600.0, + "best_barrel_type": [ + "spruce" + ] + }, + "barrel_definitions": [ + { + "type": "minecraft:spruce", + "quality_value": "quality", + "reveal_time": 300 + } + ], + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:saturation", + "time": "(quality - 7) * 15 + 60", + "value": "1" + }, + { + "type": "potion", + "locked": false, + "effect": "minecraft:strength", + "time": "(quality - 8) * 60", + "value": "1" + }, + { + "type": "random", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:haste", + "time": "abs(11 - quality) * 60", + "value": "1" + } + ], + "apply_check": "random() + 1 - 0.50" + }, + { + "type": "delayed", + "entries": [ + { + "type": "random", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:weakness", + "time": "abs(10.5 - quality) * 60", + "value": "1" + } + ], + "apply_check": "random() + 1 - 0.80" + } + ], + "delay": "600" + }, + { + "type": "delayed", + "entries": [ + { + "type": "random", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:slowness", + "time": "15", + "value": "1" + } + ], + "apply_check": "random() + 1 - 0.30" + } + ], + "delay": "600" + } + ] +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/baikal.json b/ToTheBaikal/data/ttb/brewery_drinks/baikal.json new file mode 100644 index 0000000..786afe1 --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/baikal.json @@ -0,0 +1,67 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.baikal" + }, + "color": "#331006", + "alcoholic_value": "0", + "ingredients": [ + { + "items": [ + "minecraft:sugar" + ], + "count": 4 + }, + { + "items": [ + "minecraft:kelp" + ], + "count": 1 + }, + { + "items": [ + "minecraft:spruce_leaves" + ], + "count": 1 + } + ], + "cooking_quality_multiplier": "cos(clamp((age / 60 - 15.0) * 0.333, -2, 2))", + "base_quality_value": "smooth_value_days(14.0, 1.0, 25.0, age) * 10", + "book_information": { + "best_cooking_time": 900.0, + "best_barrel_age": 16800.0, + "best_barrel_type": [ + "spruce" + ] + }, + "barrel_definitions": [ + { + "type": "minecraft:spruce", + "quality_value": "quality", + "reveal_time": 300 + } + ], + "entries": [ + { + "type": "potion", + "locked": false, + "show_icon": false, + "effect": "minecraft:saturation", + "time": "(quality - 7) * 15 + 50", + "value": "1" + }, + { + "type": "random", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:haste", + "time": "(quality - 5) * 5 + 30", + "value": "1" + } + ], + "apply_check": "random() + 1 - 0.30" + } + ] +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/berry_soda.json b/ToTheBaikal/data/ttb/brewery_drinks/berry_soda.json new file mode 100644 index 0000000..012417b --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/berry_soda.json @@ -0,0 +1,24 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.berry_soda" + }, + "color": "#c493ed", + "alcoholic_value": "-1", + "ingredients": [ + { + "items": [ + "minecraft:sugar" + ], + "count": 3 + }, + { + "items": [ + "minecraft:sweet_berries" + ], + "count": 3 + } + ], + "cooking_quality_multiplier": "cos(clamp((age / 60 - 5.0) * 0.5, -2, 2))", + "base_quality_value": "10" +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/champagne.json b/ToTheBaikal/data/ttb/brewery_drinks/champagne.json new file mode 100644 index 0000000..7135b5c --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/champagne.json @@ -0,0 +1,78 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.champagne" + }, + "color": "#dddd08", + "alcoholic_value": "20", + "ingredients": [ + { + "items": [ + "minecraft:apple" + ], + "count": 1 + }, + { + "items": [ + "minecraft:kelp" + ], + "count": 2 + }, + { + "items": [ + "minecraft:sugar" + ], + "count": 3 + }, + { + "items": [ + "minecraft:spider_eye" + ], + "count": 1 + } + ], + "cooking_quality_multiplier": "cos(clamp((age / 60 - 20.0) * 0.33, -2, 2))", + "base_quality_value": "smooth_value_days(10.0, 4.0, 55.0, age) * 10", + "book_information": { + "best_cooking_time": 1200.0, + "best_barrel_age": 12000.0, + "best_barrel_type": [ + "birch" + ] + }, + "barrel_definitions": [ + { + "type": "minecraft:birch", + "quality_value": "quality", + "reveal_time": 300 + } + ], + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:speed", + "time": "(quality - 5) * 5 + 120", + "value": "1" + }, + { + "type": "delayed", + "entries": [ + { + "type": "random", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:weakness", + "time": "60", + "value": "1" + } + ], + "apply_check": "random() + 1 - 0.60" + } + ], + "delay": "(quality - 5) * 5 + 120" + } + ] +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/coffee.json b/ToTheBaikal/data/ttb/brewery_drinks/coffee.json new file mode 100644 index 0000000..3f5c293 --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/coffee.json @@ -0,0 +1,44 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.coffee" + }, + "color": "#3d180d", + "alcoholic_value": "-6", + "ingredients": [ + { + "items": [ + "minecraft:cocoa_beans" + ], + "count": 3 + }, + { + "items": [ + "minecraft:milk_bucket" + ], + "count": 1 + } + ], + "cooking_quality_multiplier": "cos(clamp((age / 60 - 2.0) * 0.5, -2, 2))", + "base_quality_value": "10", + "book_information": { + "best_cooking_time": 120.0, + "best_barrel_age": -1200.0 + }, + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:speed", + "time": "(quality - 3) * 15 + 30", + "value": "1" + }, + { + "type": "potion", + "locked": false, + "effect": "minecraft:regeneration", + "time": "(quality - 5)", + "value": "1" + } + ] +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/cognac.json b/ToTheBaikal/data/ttb/brewery_drinks/cognac.json new file mode 100644 index 0000000..57d938b --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/cognac.json @@ -0,0 +1,75 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.cognac" + }, + "color": "#b5551e", + "alcoholic_value": "50", + "ingredients": [ + { + "items": [ + "minecraft:wheat" + ], + "count": 3 + }, + { + "items": [ + "minecraft:sugar_cane" + ], + "count": 3 + }, + { + "items": [ + "minecraft:sweet_berries" + ], + "count": 1 + }, + { + "items": [ + "minecraft:spider_eye" + ], + "count": 1 + } + ], + "cooking_quality_multiplier": "cos(clamp((age / 60 - 20.0) * 0.4, -2, 2))", + "base_quality_value": "smooth_value_days(30.0, 7.0, 90.0, age) * 10", + "book_information": { + "best_cooking_time": 1200.0, + "best_barrel_age": 36000.0 + }, + "barrel_definitions": [ + { + "type": "*", + "quality_value": "quality", + "reveal_time": 300 + } + ], + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:strength", + "time": "(quality - 5) * 10 + 250", + "value": "1" + }, + { + "type": "delayed", + "entries": [ + { + "type": "random", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:slowness", + "time": "179", + "value": "1" + } + ], + "apply_check": "random() + 1 - 0.75" + } + ], + "delay": "(quality - 5) * 10 + 250" + } + ] +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/dobry_cola.json b/ToTheBaikal/data/ttb/brewery_drinks/dobry_cola.json new file mode 100644 index 0000000..25a08fb --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/dobry_cola.json @@ -0,0 +1,60 @@ +{ + "version": 2, + "cooking_quality_multiplier": "cos(clamp((age / 60 - 16.0) * 0.1, -2, 2))", + "ingredients": [ + { + "items": [ + "minecraft:cocoa_beans" + ], + "count": 3 + }, + { + "items": [ + "minecraft:pink_petals" + ], + "count": 1 + }, + { + "items": [ + "minecraft:spruce_leaves" + ], + "count": 1 + }, + { + "items": [ + "minecraft:sugar" + ], + "count": 1 + } + ], + "barrel_definitions": [ + { + "type": "*", + "quality_value": "quality", + "reveal_time": 300 + } + ], + "distillation_runs": 1, + "base_quality_value": "smooth_value_days(1.0, 0.5, 3.0, age) * 10", + "alcoholic_value": "0", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:saturation", + "time": "(quality - 5) * 6", + "value": "quality / 5 - 1.2" + }, + { + "type": "potion", + "locked": false, + "effect": "minecraft:strength", + "time": "(quality - 5) * 6", + "value": "quality / 5 - 1.2" + } + ], + "name": { + "translate": "drinktype.ttb.dobry_cola" + }, + "color": "#1F0D10" +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/gin.json b/ToTheBaikal/data/ttb/brewery_drinks/gin.json new file mode 100644 index 0000000..6dd07e0 --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/gin.json @@ -0,0 +1,76 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.gin" + }, + "color": "#40aed6", + "alcoholic_value": "40", + "ingredients": [ + { + "items": [ + "minecraft:wheat" + ], + "count": 3 + }, + { + "items": [ + "minecraft:wheat_seeds" + ], + "count": 4 + }, + { + "items": [ + "minecraft:sugar" + ], + "count": 2 + }, + { + "items": [ + "minecraft:spider_eye" + ], + "count": 1 + } + ], + "distillation_runs": 1, + "cooking_quality_multiplier": "cos(clamp((age / 60 - 15.0) * 0.15, -2, 2))", + "base_quality_value": "smooth_value_days(5.0, 3.0, 25.0, age) * 10", + "book_information": { + "best_cooking_time": 900.0, + "best_barrel_age": 6000.0 + }, + "barrel_definitions": [ + { + "type": "*", + "quality_value": "quality", + "reveal_time": 300 + } + ], + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:speed", + "time": "300", + "value": "1" + }, + { + "type": "delayed", + "entries": [ + { + "type": "random", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:slowness", + "time": "120", + "value": "1" + } + ], + "apply_check": "random() + 1 - 0.80" + } + ], + "delay": "300" + } + ] +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/kvass.json b/ToTheBaikal/data/ttb/brewery_drinks/kvass.json new file mode 100644 index 0000000..d879459 --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/kvass.json @@ -0,0 +1,66 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.kvass" + }, + "color": "#331b0f", + "alcoholic_value": "1", + "ingredients": [ + { + "items": [ + "minecraft:bread" + ], + "count": 3 + }, + { + "items": [ + "minecraft:sugar" + ], + "count": 3 + }, + { + "items": [ + "minecraft:apple" + ], + "count": 1 + } + ], + "cooking_quality_multiplier": "cos(clamp((age / 60 - 15.0) * 0.2, -2, 2))", + "base_quality_value": "smooth_value_days(7.0, 3.0, 40.0, age) * 10", + "book_information": { + "best_cooking_time": 900.0, + "best_barrel_age": 8400.0, + "best_barrel_type": [ + "oak" + ] + }, + "barrel_definitions": [ + { + "type": "minecraft:oak", + "quality_value": "quality", + "reveal_time": 300 + } + ], + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:saturation", + "time": "(quality - 3) * 15 + 150", + "value": "1" + }, + { + "type": "random", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:speed", + "time": "(quality - 5) * 10 + 100", + "value": "1" + } + ], + "apply_check": "random() + 1 - 0.30" + } + ] +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/liquor.json b/ToTheBaikal/data/ttb/brewery_drinks/liquor.json new file mode 100644 index 0000000..bbc0330 --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/liquor.json @@ -0,0 +1,57 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.liquor" + }, + "color": "#911d4f", + "alcoholic_value": "30", + "ingredients": [ + { + "items": [ + "minecraft:sugar" + ], + "count": 2 + }, + { + "items": [ + "minecraft:sweet_berries" + ], + "count": 3 + }, + { + "items": [ + "minecraft:honeycomb" + ], + "count": 1 + } + ], + "distillation_runs": 2, + "cooking_quality_multiplier": "cos(clamp((age / 60 - 10.0) * 0.75, -2, 2))", + "base_quality_value": "smooth_value_days(5.0, 2.0, 30.0, age) * 10", + "book_information": { + "best_cooking_time": 600.0, + "best_barrel_age": 6000.0 + }, + "barrel_definitions": [ + { + "type": "*", + "quality_value": "quality", + "reveal_time": 300 + } + ], + "entries": [ + { + "type": "random", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:regeneration", + "time": "(quality - 7) * 15 + 110", + "value": "1" + } + ], + "apply_check": "random() + 1 - 0.75" + } + ] +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/martini.json b/ToTheBaikal/data/ttb/brewery_drinks/martini.json new file mode 100644 index 0000000..f9fa55c --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/martini.json @@ -0,0 +1,42 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.martini" + }, + "color": "#92ed2b", + "alcoholic_value": "25", + "ingredients": [ + { + "items": [ + "minecraft:oxeye_daisy" + ], + "count": 2 + }, + { + "items": [ + "minecraft:sugar" + ], + "count": 2 + }, + { + "items": [ + "minecraft:apple" + ], + "count": 1 + } + ], + "cooking_quality_multiplier": "cos(clamp((age / 60 - 5.0) * 0.35, -2, 2))", + "base_quality_value": "smooth_value_days(4.0, 2.0, 20.0, age) * 10", + "book_information": { + "best_cooking_time": 300.0, + "best_barrel_age": 4800.0 + }, + "barrel_definitions": [ + { + "type": "*", + "quality_value": "quality", + "reveal_time": 300 + } + ], + "entries": [] +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/moonshine.json b/ToTheBaikal/data/ttb/brewery_drinks/moonshine.json new file mode 100644 index 0000000..b4a3e27 --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/moonshine.json @@ -0,0 +1,71 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.moonshine" + }, + "color": "#c2cad6", + "alcoholic_value": "60", + "ingredients": [ + { + "items": [ + "minecraft:potato" + ], + "count": 3 + }, + { + "items": [ + "minecraft:sugar_cane" + ], + "count": 3 + }, + { + "items": [ + "minecraft:warped_fungus" + ], + "count": 1 + } + ], + "distillation_runs": 3, + "cooking_quality_multiplier": "cos(clamp((age / 60 - 30.0) * 0.6, -2, 2))", + "base_quality_value": "smooth_value_days(15.0, 7.0, 80.0, age) * 10", + "barrel_definitions": [ + { + "type": "*", + "quality_value": "quality", + "reveal_time": 300 + } + ], + "entries": [ + { + "type": "delayed", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:darkness", + "time": "179", + "value": "1" + } + ], + "delay": "360" + }, + { + "type": "random", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:strength", + "time": "(quality - 8) * 15 + 110", + "value": "1" + } + ], + "apply_check": "random() + 1 - 0.80" + }, + { + "type": "execute_command", + "command": "playsound minecraft:entity.player.burp player @a ~ ~ ~", + "apply_check": "random() - 1 + (50 / 100)" + } + ] +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/rivers_lament.json b/ToTheBaikal/data/ttb/brewery_drinks/rivers_lament.json new file mode 100644 index 0000000..bf1a8c6 --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/rivers_lament.json @@ -0,0 +1,46 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.rivers_lament" + }, + "color": "#96c3e1", + "alcoholic_value": "0", + "ingredients": [ + { + "items": [ + "minecraft:rabbit_foot" + ], + "count": 3 + }, + { + "items": [ + "minecraft:paper" + ], + "count": 3 + } + ], + "cooking_quality_multiplier": "cos(clamp((age / 60 - 5.0) * 0.5, -2, 2))", + "base_quality_value": "10", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:levitation", + "time": "(quality - 5) * 5 + 5", + "value": "0" + }, + { + "type": "delayed", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:slow_falling", + "time": "(quality - 5) * 5 + 10", + "value": "0" + } + ], + "delay": "(quality - 5) * 5 + 5" + } + ] +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/shining_brilliance.json b/ToTheBaikal/data/ttb/brewery_drinks/shining_brilliance.json new file mode 100644 index 0000000..f3d4069 --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/shining_brilliance.json @@ -0,0 +1,82 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.shining_brilliance" + }, + "color": "#3ab5b2", + "alcoholic_value": "0", + "ingredients": [ + { + "items": [ + "minecraft:glow_ink_sac" + ], + "count": 2 + }, + { + "items": [ + "minecraft:glowstone_dust" + ], + "count": 1 + }, + { + "items": [ + "minecraft:spider_eye" + ], + "count": 1 + } + ], + "cooking_quality_multiplier": "cos(clamp((age / 60 - 10.0) * 0.5, -2, 2))", + "base_quality_value": "smooth_value_days(5.0, 2.5, 25.0, age) * 10", + "book_information": { + "best_cooking_time": 600.0, + "best_barrel_age": 6000.0 + }, + "barrel_definitions": [ + { + "type": "*", + "quality_value": "quality", + "reveal_time": 300 + } + ], + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:glowing", + "time": "(quality - 8) * 15 + 570", + "value": "1" + }, + { + "type": "random", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:nausea", + "time": "60", + "value": "1" + } + ], + "apply_check": "random() + 1 - 0.30" + }, + { + "type": "delayed", + "entries": [ + { + "type": "random", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:darkness", + "time": "15", + "value": "1" + } + ], + "apply_check": "random() + 1 - 0.75" + } + ], + "delay": "900" + } + ] +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/sober_up_brew.json b/ToTheBaikal/data/ttb/brewery_drinks/sober_up_brew.json new file mode 100644 index 0000000..259c856 --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/sober_up_brew.json @@ -0,0 +1,56 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.sober_up_brew" + }, + "color": "#CBE080", + "alcoholic_value": "-30", + "ingredients": [ + { + "items": [ + "minecraft:sugar" + ], + "count": 1 + }, + { + "items": [ + "minecraft:melon_slice" + ], + "count": 1 + }, + { + "items": [ + "minecraft:mangrove_roots", + "minecraft:hanging_roots" + ], + "count": 1 + }, + { + "items": [ + "minecraft:red_mushroom", + "minecraft:crimson_fungus" + ], + "count": 1 + } + ], + "cooking_quality_multiplier": "cos(clamp((age / 60 - 1.0) * 0.4, -2, 2))", + "base_quality_value": "smooth_value_days(1.0, 2.0, 20.0, age) * 10", + "book_information": { + "best_cooking_time": 60.0, + "best_barrel_age": 1200.0 + }, + "barrel_definitions": [ + { + "type": "*", + "quality_value": "quality", + "reveal_time": 300 + } + ], + "entries": [ + { + "type": "damage", + "id": "brewery:alcohol_poisoning", + "value": "12 - quality" + } + ] +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/soda.json b/ToTheBaikal/data/ttb/brewery_drinks/soda.json new file mode 100644 index 0000000..9eba3d7 --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/soda.json @@ -0,0 +1,28 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.soda" + }, + "color": "#f4b700", + "alcoholic_value": "-1", + "ingredients": [ + { + "items": [ + "minecraft:sugar" + ], + "count": 3 + }, + { + "items": [ + "minecraft:pumpkin" + ], + "count": 1 + } + ], + "cooking_quality_multiplier": "cos(clamp((age / 60 - 5.0) * 0.5, -2, 2))", + "base_quality_value": "10", + "book_information": { + "best_cooking_time": 300.0, + "best_barrel_age": -1200.0 + } +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/brewery_drinks/vodka_meine_liebe.json b/ToTheBaikal/data/ttb/brewery_drinks/vodka_meine_liebe.json new file mode 100644 index 0000000..c9a5b40 --- /dev/null +++ b/ToTheBaikal/data/ttb/brewery_drinks/vodka_meine_liebe.json @@ -0,0 +1,78 @@ +{ + "version": 2, + "name": { + "translate": "drinktype.ttb.vodka_meine_liebe" + }, + "color": "#f3f2eb", + "alcoholic_value": "40", + "ingredients": [ + { + "items": [ + "minecraft:potato" + ], + "count": 6 + }, + { + "items": [ + "minecraft:wheat_seeds" + ], + "count": 1 + }, + { + "items": [ + "minecraft:pink_petals" + ], + "count": 1 + } + ], + "distillation_runs": 1, + "cooking_quality_multiplier": "cos(clamp((age / 60 - 20.0) * 0.33, -2, 2))", + "base_quality_value": "10", + "entries": [ + { + "type": "random", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:strength", + "time": "(quality - 9) * 15 * 59.5", + "value": "1" + } + ], + "apply_check": "random() + 1 - 0.75" + }, + { + "type": "random", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:speed", + "time": "(quality - 9) * 5 * 17.5", + "value": "1" + } + ], + "apply_check": "random() + 1 - 0.80" + }, + { + "type": "delayed", + "entries": [ + { + "type": "random", + "entries": [ + { + "type": "potion", + "locked": false, + "effect": "minecraft:darkness", + "time": "(quality - 9) * 15 * 10.5", + "value": "1" + } + ], + "apply_check": "random() + 1 - 0.10" + } + ], + "delay": "480" + } + ] +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/lang/en_us.json b/ToTheBaikal/data/ttb/lang/en_us.json new file mode 100644 index 0000000..6b4cb96 --- /dev/null +++ b/ToTheBaikal/data/ttb/lang/en_us.json @@ -0,0 +1,20 @@ +{ + "drinktype.ttb.soda": "Soda", + "drinktype.ttb.berry_soda": "Berry Soda", + "drinktype.ttb.coffee": "Coffee", + "drinktype.ttb.dobry_cola": "Добрый Cola", + "drinktype.ttb.absinthe": "Absinthe", + "drinktype.ttb.ale": "Ale", + "drinktype.ttb.gin": "Gin", + "drinktype.ttb.cognac": "Cognac", + "drinktype.ttb.kvass": "Kvass", + "drinktype.ttb.liquor": "Liquor", + "drinktype.ttb.martini": "Martini", + "drinktype.ttb.moonshine": "Moonshine", + "drinktype.ttb.champagne": "Champagne", + "drinktype.ttb.shining_brilliance": "Shining Brilliance", + "drinktype.ttb.vodka_meine_liebe": "Vodka \"Meine Liebe\"", + "drinktype.ttb.baikal": "Baikal", + "drinktype.ttb.sober_up_brew": "Sober-Up Brew", + "drinktype.ttb.rivers_lament": "River's Lament" +} \ No newline at end of file diff --git a/ToTheBaikal/data/ttb/lang/ru_ru.json b/ToTheBaikal/data/ttb/lang/ru_ru.json new file mode 100644 index 0000000..581a538 --- /dev/null +++ b/ToTheBaikal/data/ttb/lang/ru_ru.json @@ -0,0 +1,19 @@ +{ + "drinktype.ttb.soda": "Содовая", + "drinktype.ttb.berry_soda": "Ягодная Содовая", + "drinktype.ttb.coffee": "Кофе", + "drinktype.ttb.dobry_cola": "Добрый Cola", + "drinktype.ttb.absinthe": "Абсент", + "drinktype.ttb.ale": "Эль", + "drinktype.ttb.gin": "Джин", + "drinktype.ttb.cognac": "Коньяк", + "drinktype.ttb.kvass": "Квас", + "drinktype.ttb.liquor": "Ликёр", + "drinktype.ttb.martini": "Мартини", + "drinktype.ttb.moonshine": "Самогон", + "drinktype.ttb.champagne": "Шампанское", + "drinktype.ttb.shining_brilliance": "Сияющий блеск", + "drinktype.ttb.vodka_meine_liebe": "Водка \"Meine Liebe\"", + "drinktype.ttb.baikal": "Байкал", + "drinktype.ttb.sober_up_brew": "Отрезвитель" +} \ No newline at end of file diff --git a/ToTheBaikal/pack.mcmeta b/ToTheBaikal/pack.mcmeta new file mode 100644 index 0000000..4aa2523 --- /dev/null +++ b/ToTheBaikal/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "description": "An expansion for Patbox's Brewery", + "pack_format": 48 + } +} diff --git a/ToTheBaikal/pack.png b/ToTheBaikal/pack.png new file mode 100644 index 0000000..6bd9112 Binary files /dev/null and b/ToTheBaikal/pack.png differ diff --git a/drinks_old.txt b/drinks_old.txt new file mode 100644 index 0000000..f21697a --- /dev/null +++ b/drinks_old.txt @@ -0,0 +1,204 @@ +Absinthe + +10*Long Grass +3*wheat seed +3 min +distilling 6 +alcohol 45 +effects: +POISON/20-30 75% + +Must be in the recipe book: YES +color: #35753a +---------------- +Ale + +3*wheat +sugar +spider eye +10 min +ageing 3 +alcohol 10 +effects: +saturation 1 min +strength 2 min +haste 2 min 50% +weakness 1 min after 10 min 80% +slowness 15 sec after 10 min 30% + +Must be in the recipe book: YES +color: #efc737 +---------------- +VVV Soda + +3*sugar +1*melon +5 min +alcohol -1 + +Must be in the recipe book: YES +color: #f4b700 +---------------- +VVV Coffee + +3*CHOCKO +MILK_BUCKET +2 min +alcohol -6 +effects: +REGENERATION/1/2-5 50% +SPEED/1/30-140 + +Must be in the recipe book: YES +color: #3d180d +---------------- +VVV Berry Soda + +3*sugar +3*berry +5 min +alcohol -1 + +Must be in the recipe book: NO +color: #c493ed +---------------- +Gin + +3*wheat +4*wheat seed +2*sugar +spider eye +15 min +distilling +ageing 5 +alcohol 40 +effects: +speed 10 min +slowness 2 min after speed 80% + +Must be in the recipe book: YES +color: #40aed6 +---------------- +Cognac + +3*wheat +3*sugar cane +berry +spider eye +20 min +distilling +ageing 30 +alcohol 50 +effects: +strength 5 min +slowness 3 min after strength 75% + +Must be in the recipe book: YES +color: #b5551e +---------------- +Kvas + +3*bread +3*sugar +apple +15 min +ageing 7 +alcohol 1 +effects: +speed 2 min 30% +saturation 3 min + +Must be in the recipe book: YES +color: #331b0f +---------------- +Liquor + +2*sugar +3*berry +honey +10 min +distilling +ageing 5 +alcohol 30 + +effect: +regeneration 2 min 75% + +Must be in the recipe book: YES +color: #911d4f +---------------- +Martini + +2*chamomile +apple +2*sugar +5 min +ageing 4 +alcohol 25 + +Must be in the recipe book: YES +color: #92ed2b +---------------- +Moonshine + +3*potato +3*sugar cane +warped mushroom +30 min +distilling +ageing 15 +alcohol 60 +effects: +strength 2 min 80% +darkness 3 min after 6 min + +Must be in the recipe book: NO +color: #c2cad6 +---------------- +Champagne + +apple +2*kelp +3*sugar +spider eye +20 min +ageing 10 +alcohol 20 +effects: +speed 3 min +weakness 1 min after speed 60% + +Must be in the recipe book: YES +color: #dddd08 +---------------- +Shining Brilliance + +2*glow ink sack +1*glowstone dust +spider eye +10 min +ageing 5 +alcohol 0 +effects: +nausea 1 min 30% +glowing 10 min +darkness 1 min after 15 min 75% + +Must be in the recipe book: YES +color: #3ab5b2 +---------------- +Vodka "Meine Liebe" + +6*potato +wheat seeds +cherry blossom +20 min +distilling +alcohol 40 +effects: +strength 10 min 75% +speed 3 min 80% +darkness 2 min after 8 min 10% + +Must be in the recipe book: NO +color: #f3f2eb diff --git a/notes.txt b/notes.txt new file mode 100644 index 0000000..20a512e --- /dev/null +++ b/notes.txt @@ -0,0 +1,4 @@ +## Datapack.md errors and undocumented +* effects -> entries!!! +* damage needs some "id" see sober-up +* random() is a function that returns between 0 and 1 \ No newline at end of file diff --git a/pack.aseprite b/pack.aseprite new file mode 100644 index 0000000..4f0ae83 Binary files /dev/null and b/pack.aseprite differ