Hello, I seem I found a bug with the custom entity. I didn't understand why my custom entity would not walk on ladder and, after many test, I know why. My line was custom_entity:set_can_traverse_ground("ladder", true) but it didn't work. Finally, I had to put custom_entity:set_can_traverse_ground("ladder", false) and now it works. Maybe there is other bugs with this method, (i.e with other entities, why not) but I didn't try.
I think it is a known bug: https://github.com/christopho/solarus/issues/668
Should be fixed in 1.4.3.
EDIT: fixed :)
OK, sorry for the pointless post!
I think there is the same problem with these methods:
custom_entity:set_traversable_by([entity_type], traversable)
custom_entity:set_can_traverse([entity_type], traversable)
I tried with a door; the custom entity cannot traverse the door even with a "true" in parameters.
The problem is maybe already corrected for the next version .
I would also like to add that I love Solarus! Thank you! ;)
Hmm, apparently doors are always obstacles, they ignore custom entity settings. This is a bug, I just opened an issue: https://github.com/christopho/solarus/issues/716
Thanks for reporting it.