update to 0.2

This commit is contained in:
Andrew71 2024-08-05 16:28:01 +03:00
parent 188cc57413
commit c68982b398
17 changed files with 81 additions and 55 deletions

9
CHANGELOG Normal file
View file

@ -0,0 +1,9 @@
# 0.2
* Fixed multiple chance-based effects being guaranteed
* Nerfed all effects to level I from II for consistency with base mod
* Balance changes
* Decreased Absinthe poison duration
* Decreased Saturation durations throughout
* Soda now gives luck
* Slightly raised Kvass speed chance

View file

@ -33,11 +33,11 @@
"type": "potion", "type": "potion",
"locked": false, "locked": false,
"effect": "minecraft:poison", "effect": "minecraft:poison",
"time": "(quality - 5) * 60", "time": "(quality - 5) * 5",
"value": "1" "value": "0"
} }
], ],
"apply_check": "random() + 1 - 0.75" "apply_check": "random() - 1 + (75 / 100)"
} }
] ]
} }

View file

@ -46,15 +46,15 @@
"type": "potion", "type": "potion",
"locked": false, "locked": false,
"effect": "minecraft:saturation", "effect": "minecraft:saturation",
"time": "(quality - 7) * 15 + 60", "time": "(quality - 7) * 15 + 10",
"value": "1" "value": "0"
}, },
{ {
"type": "potion", "type": "potion",
"locked": false, "locked": false,
"effect": "minecraft:strength", "effect": "minecraft:strength",
"time": "(quality - 8) * 60", "time": "(quality - 8) * 60",
"value": "1" "value": "0"
}, },
{ {
"type": "random", "type": "random",
@ -64,10 +64,10 @@
"locked": false, "locked": false,
"effect": "minecraft:haste", "effect": "minecraft:haste",
"time": "abs(11 - quality) * 60", "time": "abs(11 - quality) * 60",
"value": "1" "value": "0"
} }
], ],
"apply_check": "random() + 1 - 0.50" "apply_check": "random() + 1 - (50 / 100)"
}, },
{ {
"type": "delayed", "type": "delayed",
@ -80,10 +80,10 @@
"locked": false, "locked": false,
"effect": "minecraft:weakness", "effect": "minecraft:weakness",
"time": "abs(10.5 - quality) * 60", "time": "abs(10.5 - quality) * 60",
"value": "1" "value": "0"
} }
], ],
"apply_check": "random() + 1 - 0.80" "apply_check": "random() - 1 + (80 / 100)"
} }
], ],
"delay": "600" "delay": "600"
@ -99,10 +99,10 @@
"locked": false, "locked": false,
"effect": "minecraft:slowness", "effect": "minecraft:slowness",
"time": "15", "time": "15",
"value": "1" "value": "0"
} }
], ],
"apply_check": "random() + 1 - 0.30" "apply_check": "random() - 1 + (30 / 100)"
} }
], ],
"delay": "600" "delay": "600"

View file

@ -47,8 +47,8 @@
"locked": false, "locked": false,
"show_icon": false, "show_icon": false,
"effect": "minecraft:saturation", "effect": "minecraft:saturation",
"time": "(quality - 7) * 15 + 50", "time": "(quality - 7) * 15 + 10",
"value": "1" "value": "0"
}, },
{ {
"type": "random", "type": "random",
@ -58,10 +58,10 @@
"locked": false, "locked": false,
"effect": "minecraft:haste", "effect": "minecraft:haste",
"time": "(quality - 5) * 5 + 30", "time": "(quality - 5) * 5 + 30",
"value": "1" "value": "0"
} }
], ],
"apply_check": "random() + 1 - 0.30" "apply_check": "random() - 1 + (30 / 100)"
} }
] ]
} }

View file

@ -4,7 +4,7 @@
"translate": "drinktype.ttb.berry_soda" "translate": "drinktype.ttb.berry_soda"
}, },
"color": "#c493ed", "color": "#c493ed",
"alcoholic_value": "-1", "alcoholic_value": "-5",
"ingredients": [ "ingredients": [
{ {
"items": [ "items": [
@ -20,5 +20,14 @@
} }
], ],
"cooking_quality_multiplier": "cos(clamp((age / 60 - 5.0) * 0.5, -2, 2))", "cooking_quality_multiplier": "cos(clamp((age / 60 - 5.0) * 0.5, -2, 2))",
"base_quality_value": "10" "base_quality_value": "10",
"entries": [
{
"type": "potion",
"locked": false,
"effect": "minecraft:luck",
"time": "(quality - 5) * 4 + 5",
"value": "0"
}
]
} }

View file

@ -53,7 +53,7 @@
"locked": false, "locked": false,
"effect": "minecraft:speed", "effect": "minecraft:speed",
"time": "(quality - 5) * 5 + 120", "time": "(quality - 5) * 5 + 120",
"value": "1" "value": "0"
}, },
{ {
"type": "delayed", "type": "delayed",
@ -66,10 +66,10 @@
"locked": false, "locked": false,
"effect": "minecraft:weakness", "effect": "minecraft:weakness",
"time": "60", "time": "60",
"value": "1" "value": "0"
} }
], ],
"apply_check": "random() + 1 - 0.60" "apply_check": "random() - 1 + (60 / 100)"
} }
], ],
"delay": "(quality - 5) * 5 + 120" "delay": "(quality - 5) * 5 + 120"

View file

@ -31,14 +31,14 @@
"locked": false, "locked": false,
"effect": "minecraft:speed", "effect": "minecraft:speed",
"time": "(quality - 3) * 15 + 30", "time": "(quality - 3) * 15 + 30",
"value": "1" "value": "0"
}, },
{ {
"type": "potion", "type": "potion",
"locked": false, "locked": false,
"effect": "minecraft:regeneration", "effect": "minecraft:regeneration",
"time": "(quality - 5)", "time": "(quality - 5)",
"value": "1" "value": "0"
} }
] ]
} }

View file

@ -50,7 +50,7 @@
"locked": false, "locked": false,
"effect": "minecraft:strength", "effect": "minecraft:strength",
"time": "(quality - 5) * 10 + 250", "time": "(quality - 5) * 10 + 250",
"value": "1" "value": "0"
}, },
{ {
"type": "delayed", "type": "delayed",
@ -63,10 +63,10 @@
"locked": false, "locked": false,
"effect": "minecraft:slowness", "effect": "minecraft:slowness",
"time": "179", "time": "179",
"value": "1" "value": "0"
} }
], ],
"apply_check": "random() + 1 - 0.75" "apply_check": "random() - 1 + (75 / 100)"
} }
], ],
"delay": "(quality - 5) * 10 + 250" "delay": "(quality - 5) * 10 + 250"

View file

@ -42,8 +42,8 @@
"type": "potion", "type": "potion",
"locked": false, "locked": false,
"effect": "minecraft:saturation", "effect": "minecraft:saturation",
"time": "(quality - 5) * 6", "time": "(quality - 5) * 6 + 15",
"value": "quality / 5 - 1.2" "value": "0"
}, },
{ {
"type": "potion", "type": "potion",

View file

@ -51,7 +51,7 @@
"locked": false, "locked": false,
"effect": "minecraft:speed", "effect": "minecraft:speed",
"time": "300", "time": "300",
"value": "1" "value": "0"
}, },
{ {
"type": "delayed", "type": "delayed",
@ -64,10 +64,10 @@
"locked": false, "locked": false,
"effect": "minecraft:slowness", "effect": "minecraft:slowness",
"time": "120", "time": "120",
"value": "1" "value": "0"
} }
], ],
"apply_check": "random() + 1 - 0.80" "apply_check": "random() - 1 + (80 / 100)"
} }
], ],
"delay": "300" "delay": "300"

View file

@ -46,8 +46,8 @@
"type": "potion", "type": "potion",
"locked": false, "locked": false,
"effect": "minecraft:saturation", "effect": "minecraft:saturation",
"time": "(quality - 3) * 15 + 150", "time": "(quality - 3) * 15 + 75",
"value": "1" "value": "0"
}, },
{ {
"type": "random", "type": "random",
@ -57,10 +57,10 @@
"locked": false, "locked": false,
"effect": "minecraft:speed", "effect": "minecraft:speed",
"time": "(quality - 5) * 10 + 100", "time": "(quality - 5) * 10 + 100",
"value": "1" "value": "0"
} }
], ],
"apply_check": "random() + 1 - 0.30" "apply_check": "random() - 1 + (45 / 100)"
} }
] ]
} }

View file

@ -48,10 +48,10 @@
"locked": false, "locked": false,
"effect": "minecraft:regeneration", "effect": "minecraft:regeneration",
"time": "(quality - 7) * 15 + 110", "time": "(quality - 7) * 15 + 110",
"value": "1" "value": "0"
} }
], ],
"apply_check": "random() + 1 - 0.75" "apply_check": "random() - 1 + (75 / 100)"
} }
] ]
} }

View file

@ -37,6 +37,5 @@
"quality_value": "quality", "quality_value": "quality",
"reveal_time": 300 "reveal_time": 300
} }
], ]
"entries": []
} }

View file

@ -44,7 +44,7 @@
"locked": false, "locked": false,
"effect": "minecraft:darkness", "effect": "minecraft:darkness",
"time": "179", "time": "179",
"value": "1" "value": "0"
} }
], ],
"delay": "360" "delay": "360"
@ -57,10 +57,10 @@
"locked": false, "locked": false,
"effect": "minecraft:strength", "effect": "minecraft:strength",
"time": "(quality - 8) * 15 + 110", "time": "(quality - 8) * 15 + 110",
"value": "1" "value": "0"
} }
], ],
"apply_check": "random() + 1 - 0.80" "apply_check": "random() - 1 + (80 / 100)"
}, },
{ {
"type": "execute_command", "type": "execute_command",

View file

@ -44,7 +44,7 @@
"locked": false, "locked": false,
"effect": "minecraft:glowing", "effect": "minecraft:glowing",
"time": "(quality - 8) * 15 + 570", "time": "(quality - 8) * 15 + 570",
"value": "1" "value": "0"
}, },
{ {
"type": "random", "type": "random",
@ -54,10 +54,10 @@
"locked": false, "locked": false,
"effect": "minecraft:nausea", "effect": "minecraft:nausea",
"time": "60", "time": "60",
"value": "1" "value": "0"
} }
], ],
"apply_check": "random() + 1 - 0.30" "apply_check": "random() - 1 + (30 / 100)"
}, },
{ {
"type": "delayed", "type": "delayed",
@ -70,10 +70,10 @@
"locked": false, "locked": false,
"effect": "minecraft:darkness", "effect": "minecraft:darkness",
"time": "15", "time": "15",
"value": "1" "value": "0"
} }
], ],
"apply_check": "random() + 1 - 0.75" "apply_check": "random() - 1 + (75 / 100)"
} }
], ],
"delay": "900" "delay": "900"

View file

@ -4,7 +4,7 @@
"translate": "drinktype.ttb.soda" "translate": "drinktype.ttb.soda"
}, },
"color": "#f4b700", "color": "#f4b700",
"alcoholic_value": "-1", "alcoholic_value": "-5",
"ingredients": [ "ingredients": [
{ {
"items": [ "items": [
@ -24,5 +24,14 @@
"book_information": { "book_information": {
"best_cooking_time": 300.0, "best_cooking_time": 300.0,
"best_barrel_age": -1200.0 "best_barrel_age": -1200.0
} },
"entries": [
{
"type": "potion",
"locked": false,
"effect": "minecraft:luck",
"time": "(quality - 5) * 4 + 5",
"value": "0"
}
]
} }

View file

@ -37,10 +37,10 @@
"locked": false, "locked": false,
"effect": "minecraft:strength", "effect": "minecraft:strength",
"time": "(quality - 9) * 15 * 59.5", "time": "(quality - 9) * 15 * 59.5",
"value": "1" "value": "0"
} }
], ],
"apply_check": "random() + 1 - 0.75" "apply_check": "random() - 1 + (75 / 100)"
}, },
{ {
"type": "random", "type": "random",
@ -50,10 +50,10 @@
"locked": false, "locked": false,
"effect": "minecraft:speed", "effect": "minecraft:speed",
"time": "(quality - 9) * 5 * 17.5", "time": "(quality - 9) * 5 * 17.5",
"value": "1" "value": "0"
} }
], ],
"apply_check": "random() + 1 - 0.80" "apply_check": "random() - 1 + (80 / 100)"
}, },
{ {
"type": "delayed", "type": "delayed",
@ -66,10 +66,10 @@
"locked": false, "locked": false,
"effect": "minecraft:darkness", "effect": "minecraft:darkness",
"time": "(quality - 9) * 15 * 10.5", "time": "(quality - 9) * 15 * 10.5",
"value": "1" "value": "0"
} }
], ],
"apply_check": "random() + 1 - 0.10" "apply_check": "random() - 1 + (10 / 100)"
} }
], ],
"delay": "480" "delay": "480"