mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 04:24:05 +09:00
using 'smelting dictionary' for smelter recipes
This commit is contained in:
27
assets/mods/basegame/smelting/alloys.json
Normal file
27
assets/mods/basegame/smelting/alloys.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
/* as for the plus operator, the itemIDs must be sorted lexicographically and first word should come left */
|
||||
"item@basegame:112+item@basegame:116": { /* copper + tin -> bronze */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "item@basegame:176"]
|
||||
},
|
||||
"item@basegame:112+item@basegame:115": { /* copper + zinc -> brass */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "item@basegame:177"]
|
||||
},
|
||||
"item@basegame:117+item@basegame:118": { /* gold + silver -> electrum */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "item@basegame:178"]
|
||||
},
|
||||
"item@basegame:112+item@basegame:118": { /* copper + silver -> silver billon */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "item@basegame:179"]
|
||||
},
|
||||
"item@basegame:112+item@basegame:117": { /* copper + gold -> rose gold */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "item@basegame:180"]
|
||||
},
|
||||
"item@basegame:116+item@basegame:119": { /* tin + lead -> solder */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "item@basegame:181"]
|
||||
}
|
||||
}
|
||||
48
assets/mods/basegame/smelting/single_item.json
Normal file
48
assets/mods/basegame/smelting/single_item.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"$SAND": { /* sand -> crude glass */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "basegame:148"]
|
||||
},
|
||||
"item@basegame:144": { /* quartz -> clean glass */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "basegame:149"]
|
||||
},
|
||||
|
||||
"$LOGS": { /* logs -> charcoal */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "item@basegame:29"]
|
||||
},
|
||||
|
||||
"item@basegame:128": { /* copper ore -> ingot */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "item@basegame:112"]
|
||||
},
|
||||
"item@basegame:129": { /* iron ore -> ingot */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "item@basegame:113"]
|
||||
},
|
||||
"item@basegame:130": { /* coal -> coke */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "item@basegame:114"]
|
||||
},
|
||||
"item@basegame:131": { /* zinc ore -> ingot */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "item@basegame:115"]
|
||||
},
|
||||
"item@basegame:132": { /* tin ore -> ingot */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "item@basegame:116"]
|
||||
},
|
||||
"item@basegame:133": { /* gold ore -> ingot */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "item@basegame:117"]
|
||||
},
|
||||
"item@basegame:134": { /* silver ore -> ingot */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "item@basegame:118"]
|
||||
},
|
||||
"item@basegame:135": { /* lead ore -> ingot */
|
||||
"difficulty": 1.0,
|
||||
"product": [1, "item@basegame:119"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user