tAPI Getting Started with Modding

Status
Not open for further replies.
Hey @Pumpking, can I PM you so I can get a mod compiled? My stuff doesn't work.
[DOUBLEPOST=1420139211][/DOUBLEPOST]Then send the compiled .tapi file back if it works.
 
@Pumpking , is the problem that you can't craft your sword? If that's it, then I must ask if you corrected the error in the json where in the recipes, it stated
"recipes":
[{
"items": { "Spooly Wood": 70 },
"tiles": [ "Work Bench" ],
"creates": 1
}]
instead of
"recipes":
[{
"items": { "Spooky Wood": 70 },
"tiles": [ "Work Bench" ],
"creates": 1
}]
 
@Pumpking , is the problem that you can't craft your sword? If that's it, then I must ask if you corrected the error in the json where in the recipes, it stated
"recipes":
[{
"items": { "Spooly Wood": 70 },
"tiles": [ "Work Bench" ],
"creates": 1
}]
instead of
"recipes":
[{
"items": { "Spooky Wood": 70 },
"tiles": [ "Work Bench" ],
"creates": 1
}]
I'm pretty sure I corrected that. I'll try again.
[DOUBLEPOST=1420139577][/DOUBLEPOST]
@Pumpking , is the problem that you can't craft your sword? If that's it, then I must ask if you corrected the error in the json where in the recipes, it stated
"recipes":
[{
"items": { "Spooly Wood": 70 },
"tiles": [ "Work Bench" ],
"creates": 1
}]
instead of
"recipes":
[{
"items": { "Spooky Wood": 70 },
"tiles": [ "Work Bench" ],
"creates": 1
}]
*FACEPALM OF THE YEAR*
Ughhh! fixed that, but I think it didn't save!
*facepalm*
 
One question, how can i make it, so a recipoe can choose between 2 types of ingredients? For example, i want to make Throwing Knife craftable, and i want to make it so it need either 1 Iron bar or 1 Lead Bar,what do i do?
 
One question, how can i make it, so a recipoe can choose between 2 types of ingredients? For example, i want to make Throwing Knife craftable, and i want to make it so it need either 1 Iron bar or 1 Lead Bar,what do i do?
Add another file that uses the alternate bars or put it in the same file
 
It's still not working...
I attached a ZIP file with a readable version of the weapon JSON.
 

Attachments

  • Pumpking's Mod.zip
    2.4 KB · Views: 191
Try lowercase json
PumpkingsMod.json not PumpkingsMod.JSON and try the same for spooky wood sword .json not .JSON
Lol people are on the forums XD
 
Ummm, anvil id: 16, lead anvil id: 16(2)?

How do i write it? Will writing down 16 will also allow the lead anvil? or i do i have to write 16(2)? or something like 16.2? and make a new file for it?
 
Ummm, anvil id: 16, lead anvil id: 16(2)?

How do i write it? Will writing down 16 will also allow the lead anvil? or i do i have to write 16(2)? or something like 16.2? and make a new file for it?
16 means both anvils
Whatever ID the Mythril Anvil is the same as Orichalcum Anvil
 
XD the forums are STILL under maintenance, but we're talking up a storm
EDIT: The reason I suggested that lowercase might work is that tAPI is case-sensitive. Maybe it works in .cs and .json files too, it's a tiny bit less of a hassle to write.
 
Status
Not open for further replies.
Back
Top Bottom