Anonymous | Login | Signup for a new account | 2018-04-19 22:55 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0000163 | tAPI | Mod handling | public | 2015-05-06 17:27 | 2015-05-06 20:12 | ||||||||
Reporter | Merser433 | ||||||||||||
Assigned To | |||||||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||||||
Status | acknowledged | Resolution | open | ||||||||||
Platform | PC | OS | Windows | OS Version | 7 | ||||||||
Product Version | 1.2.4.1 r15 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0000163: Tile's instanceCode property won't work if internalName is specified | ||||||||||||
Description | This 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 Reproduce | This is too obvious. Ill just leave an example in included files. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | ![]() | ||||||||||||
![]() |
|
(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. |
![]() |
|||
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 - 2018 MantisBT Team |