What did you do?
I attempted to use the following rich text markup in a constant combinator description.
img=ammo-category/land-mine
What happened?
It comes up as unrecognized red text
What did you expect to happen instead? It might be obvious to you, but do it anyway!
I expected to see the same Land-mine category icon found on the military tab of the Factoriopedia. The land-mine category is the only one that doesn't work. The following markup all works.
img=ammo-category/artillery-shell
img=ammo-category/beam
img=ammo-category/bullet
img=ammo-category/cannon-shell
img=ammo-category/capsule
img=ammo-category/electric
img=ammo-category/flamethrower
img=ammo-category/grenade
img=ammo-category/laser
img=ammo-category/railgun
img=ammo-category/rocket
img=ammo-category/shotgun-shell
img=ammo-category/tesla
Does it happen always, once, or sometimes?
Always.
[2.0.55] [img=ammo-category/land-mine] unrecognized.
Re: [2.0.55 (Build 83138 expansion, win64] [img=ammo-category/land-mine] unrecognized.
Land Mines are an Item/Entity of their own right.
The land-mine Item Definition is more like a Wall ("Defensive Structure"). There is a Ammo Category defined for "landmine" types, but nothing for "land-mine".
Try one of these:
The land-mine Item Definition is more like a Wall ("Defensive Structure"). There is a Ammo Category defined for "landmine" types, but nothing for "land-mine".
Try one of these:
Code: Select all
[img=ammo-category/landmine]
[img=item/land-mine]
[item=land-mine]
Re: [2.0.55] [img=ammo-category/land-mine] unrecognized.
Thanks. img=ammo-category/landmine does work. I didn't notice the class name and .png file name didn't match.