buffed hot or not insulation by x3
This commit is contained in:
parent
7babaf2dfa
commit
f434b9f380
3 changed files with 38 additions and 0 deletions
|
|
@ -3,3 +3,30 @@
|
|||
global.HOT_OR_NOT_DISABLED_ITEMS = [
|
||||
];
|
||||
|
||||
// Can't just use the #tfchotornot:insulating tag here because tags don't exist at startup
|
||||
global.HOT_OR_NOT_ITEMS = [
|
||||
'tfchotornot:mittens',
|
||||
'tfchotornot:burlap_potholder',
|
||||
'tfchotornot:silk_potholder',
|
||||
'tfchotornot:wool_potholder',
|
||||
'tfchotornot:tongs/wood',
|
||||
'tfchotornot:tongs/bismuth',
|
||||
'tfchotornot:tongs/bismuth_bronze',
|
||||
'tfchotornot:tongs/black_bronze',
|
||||
'tfchotornot:tongs/bronze',
|
||||
'tfchotornot:tongs/brass',
|
||||
'tfchotornot:tongs/copper',
|
||||
'tfchotornot:tongs/gold',
|
||||
'tfchotornot:tongs/nickel',
|
||||
'tfchotornot:tongs/rose_gold',
|
||||
'tfchotornot:tongs/silver',
|
||||
'tfchotornot:tongs/tin',
|
||||
'tfchotornot:tongs/zinc',
|
||||
'tfchotornot:tongs/sterling_silver',
|
||||
'tfchotornot:tongs/wrought_iron',
|
||||
'tfchotornot:tongs/cast_iron',
|
||||
'tfchotornot:tongs/steel',
|
||||
'tfchotornot:tongs/black_steel',
|
||||
'tfchotornot:tongs/red_steel',
|
||||
'tfchotornot:tongs/blue_steel',
|
||||
];
|
||||
10
kubejs/startup_scripts/horornot/modifications.js
Normal file
10
kubejs/startup_scripts/horornot/modifications.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// priority: 0
|
||||
|
||||
function registerHotOrNotItemModifications(event) {
|
||||
|
||||
global.HOT_OR_NOT_ITEMS.forEach(i => {
|
||||
event.modify(i, item => {
|
||||
item.maxDamage = item.maxDamage * 3
|
||||
})
|
||||
})
|
||||
}
|
||||
|
|
@ -27,6 +27,7 @@ BlockEvents.modification(event => {
|
|||
*/
|
||||
ItemEvents.modification(event => {
|
||||
registerBeneathItemModifications(event)
|
||||
registerHotOrNotItemModifications(event)
|
||||
registerMinecraftItemModifications(event)
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue