Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--! Generate articulated switches only if consist is longer than 1 -->
- <tal:articulated_switches condition="len(consinfo) > 1">
- switch(FEAT_ROADVEHS, SELF, switch_${name}_2cc, position_in_consist % ${len(consinfo)}) {
- <tal:sprites repeat="pos consinfo">
- ${repeat.pos.index}: spritegroup_${name}_2cc_${consinfo[repeat.pos.index][3]};
- </tal:sprites>
- }
- </tal:articulated_switches>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement