[img=item.stone] != [item=stone] in Train Schedules
Posted: Mon Jun 12, 2023 12:45 am
I had a Train from a Blueprint that had
[bp]0eNrtmM1u4jAUhV8FeZ1U/ovtIPUNZjeaFUIoBMNYSmKUHzoI5d3HN5SWTsktlWbBIqskPrn3xB9wIu6JrIvO7mtXtWR+Ii73VUPmixNp3K7KClhrj3tL5sS1tiQRqbISrprWV5b0EXHVxv4hc9ZHX9YUPvelb93hupDfLDy4uu3CyrvfcEfMrirFtyrlVaXslxGxVetaZ8+7HS6Oq6or17YOu3mrzrN65+OXbOer0HLvm1ATToNf6BMrwyNyhBMdABBfu9AoO99Bn3gCjoew5OsjlGxd0dr67Hjh9onom8THJTEuyXEpGZfUuKTHJTMupeMSo4iG8GAIEIYQYQgShjBhCBSGUGEIFoZw4QgXjn1PEC4c4cIRLhzhwhEuHOHCES4c4SIQLgLhIrAfEMJFIFwEwkUgXATCRSBcBMJFfuKy7EH+J8v4vVmmkynLpiybsmzKsofNMnFvlikzZdmUZVOWTVn2sFkm784yNmXZlGVTlk1Z9rBZltya8d2IskR+EWW5L3wNt9ewojRNjOGJTLkJJyaUGfiXuhtEkXKWaKq1NqmgSkmqoMUaxFBCWaqE1FwoJYSgVBsGcgayTA0dysOBSSUUF1Sq0BtmhK0tG3iEqssLm9XxtrMFTBthaNjkv+2mK16nhu+bhevkSj+PUC97I4sfy9nClbtnaP40kFzOfsJhxmIZ08DqJXPtKvfVZiB27h+677Parl5Hm4FMdBlzbruigA8j+mDzC2yCxfP/sLDlvj2CxxJ2Poxy51fT4ogU2RrIkLPLB+OL5SG8ioZn44ZJnXKtUk6N4H3/F26xJLw=[/bp]
This Train will not stop at a Train Station named "[L] [item=stone] Stone 1-4-0" although the text (And graphics) look identical.
After some hunting and using a BP decoder I finally found that the station the train was expecting is called "[L] [img=item.stone] Stone 1-4-0" which is not obvious at all.
I would suggest normalising such occurences to eithe one or the other, or fuzzy match those if a direct match is not found incase some map relies on that distinction (but IMHO that should not be a feature).
Alternatively make the 2 options look differently in some way that gives the player a chance to distinguish the two.
[bp]0eNrtmM1u4jAUhV8FeZ1U/ovtIPUNZjeaFUIoBMNYSmKUHzoI5d3HN5SWTsktlWbBIqskPrn3xB9wIu6JrIvO7mtXtWR+Ii73VUPmixNp3K7KClhrj3tL5sS1tiQRqbISrprWV5b0EXHVxv4hc9ZHX9YUPvelb93hupDfLDy4uu3CyrvfcEfMrirFtyrlVaXslxGxVetaZ8+7HS6Oq6or17YOu3mrzrN65+OXbOer0HLvm1ATToNf6BMrwyNyhBMdABBfu9AoO99Bn3gCjoew5OsjlGxd0dr67Hjh9onom8THJTEuyXEpGZfUuKTHJTMupeMSo4iG8GAIEIYQYQgShjBhCBSGUGEIFoZw4QgXjn1PEC4c4cIRLhzhwhEuHOHCES4c4SIQLgLhIrAfEMJFIFwEwkUgXATCRSBcBMJFfuKy7EH+J8v4vVmmkynLpiybsmzKsofNMnFvlikzZdmUZVOWTVn2sFkm784yNmXZlGVTlk1Z9rBZltya8d2IskR+EWW5L3wNt9ewojRNjOGJTLkJJyaUGfiXuhtEkXKWaKq1NqmgSkmqoMUaxFBCWaqE1FwoJYSgVBsGcgayTA0dysOBSSUUF1Sq0BtmhK0tG3iEqssLm9XxtrMFTBthaNjkv+2mK16nhu+bhevkSj+PUC97I4sfy9nClbtnaP40kFzOfsJhxmIZ08DqJXPtKvfVZiB27h+677Parl5Hm4FMdBlzbruigA8j+mDzC2yCxfP/sLDlvj2CxxJ2Poxy51fT4ogU2RrIkLPLB+OL5SG8ioZn44ZJnXKtUk6N4H3/F26xJLw=[/bp]
This Train will not stop at a Train Station named "[L] [item=stone] Stone 1-4-0" although the text (And graphics) look identical.
After some hunting and using a BP decoder I finally found that the station the train was expecting is called "[L] [img=item.stone] Stone 1-4-0" which is not obvious at all.
I would suggest normalising such occurences to eithe one or the other, or fuzzy match those if a direct match is not found incase some map relies on that distinction (but IMHO that should not be a feature).
Alternatively make the 2 options look differently in some way that gives the player a chance to distinguish the two.