Quote from: Diarandor on November 05, 2015, 08:58:28 PMQuote from: Diarandor on November 05, 2015, 03:42:23 AMThis is the link of the issue on github, just to have it here too:
Another solution would be to allow the functions game:get/set_ability(...) of the engine to have "pushing" and "pulling" as parameters. Do you agree Christopho? I will open an issue for this in github, since this could be a useful feature.
https://github.com/christopho/solarus/issues/788
I have thought that, when we fix the direction of the hero, maybe we should not forget to reset the variable hero.fixed_direction to nil when the hero changes map (to stop fixing the direction), just to avoid some possible problems. I just wanted to point out this small detail. (One must be always careful with these small details... )
Oh I did have check the github issue, thanks ^^
for the direction fix thing, the best solution is, when 1.5 would be here, to do a item:on_map_changed function, and disable the item right after being teleported, the value should reset itself since the sprite id would have been changed if I do like christopho did (with quest manager script) but with the "official" on_direction_changed.