tAPI Mantis Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000163tAPIMod handlingpublic2015-05-06 17:272015-05-06 20:12
ReporterMerser433 
Assigned To 
PrioritylowSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformPCOSWindowsOS Version7
Product Version1.2.4.1 r15 
Target VersionFixed in Version 
Summary0000163: Tile's instanceCode property won't work if internalName is specified
DescriptionThis works:
{
"instanceCode": "Tiles.WheatInstance"
}
But this does not for some reasons:
{
"instanceCode": "TerrariaOverhaul.Tiles.WheatInstance"
}
okay, i have no anything more to say.
Steps To ReproduceThis is too obvious. Ill just leave an example in included files.
TagsNo tags attached.
Attached Files? file icon WheatMod.tapi [^] (4,765 bytes) 2015-05-06 17:27

- Relationships

-  Notes
(0000150)
Merser433 (reporter)
2015-05-06 17:30

Forgot to add. In example craft wheat seeds with 1 wood.
(0000151)
Neojin (reporter)
2015-05-06 20:12

I don't believe this is a bug.

When specifying an internal name, tAPI is expecting the use of a colon.

TerrariaOverhaul:Tiles.WheatInstance, becomes TerrariaOverhaul.Tiles.WheatInstance, because tAPI detected the internal name was included.
- But -
TerrariaOverhaul.Tiles.WheatInstance, becomes TerrariaOverhaul.TerrariaOverhaul.Tiles.WheatInstance because tAPI didn't find a colon and thinks it needs to add the internal name. Looking for a colon is an easy way for tAPI to know whether or not it needs to add the internal name.

Switch to using a colon if you need to include the internal name, or just omit the internal name and let tAPI handle it.

- Issue History
Date Modified Username Field Change
2015-05-06 17:27 Merser433 New Issue
2015-05-06 17:27 Merser433 File Added: WheatMod.tapi
2015-05-06 17:30 Merser433 Note Added: 0000150
2015-05-06 19:59 Shockah Status new => acknowledged
2015-05-06 20:12 Neojin Note Added: 0000151


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker