* Update main_server_script.js Chimes registration Signed-off-by: TreyR9 <106098556+TreyR9@users.noreply.github.com> * Chimes compat Adds rudimentary, optional compatibility for chimes mod. Functions should only run if the mod is present. Signed-off-by: TreyR9 <106098556+TreyR9@users.noreply.github.com> --------- Signed-off-by: TreyR9 <106098556+TreyR9@users.noreply.github.com>
17 lines
No EOL
518 B
JavaScript
17 lines
No EOL
518 B
JavaScript
"use strict";
|
|
|
|
/**
|
|
*
|
|
* @param {Internal.TFCDataEventJS} evt
|
|
*/
|
|
|
|
const registerTFCDataForChimes = (evt) => {
|
|
if (Platform.isLoaded("chimes")) {
|
|
evt.itemSize('chimes:bamboo_chimes', 'large', 'heavy');
|
|
evt.itemSize('chimes:carved_bamboo_chimes', 'large', 'heavy');
|
|
evt.itemSize('chimes:copper_chimes', 'large', 'heavy');
|
|
evt.itemSize('chimes:iron_chimes', 'large', 'heavy');
|
|
evt.itemSize('chimes:amethyst_chimes', 'large', 'heavy');
|
|
evt.itemSize('chimes:glass_bells', 'normal', 'medium');
|
|
}
|
|
} |