Skip to content

Commit

Permalink
Add: Action5 for tunnel portals (michi_cc)
Browse files Browse the repository at this point in the history
  • Loading branch information
planetmaker committed Feb 15, 2012
1 parent 85716c3 commit c3562e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions nml/actions/action3_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ def cargo_profit_value(value):
'level_crossings' : {'type': 'cargo', 'num': 0x07},
'depots' : {'type': 'cargo', 'num': 0x08},
'fences' : {'type': 'cargo', 'num': 0x09},
'tunnel_overlay' : {'type': 'cargo', 'num': 0x0A},
}

# Airport tiles
Expand Down
1 change: 1 addition & 0 deletions nml/actions/action5.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class Action5BlockType(object):
'FLAGS' : (0x14, 36, Action5BlockType.OFFSET),
'OTTD_GUI' : (0x15, 162, Action5BlockType.OFFSET),
'AIRPORT_PREVIEW' : (0x16, 9, Action5BlockType.OFFSET),
'RAILTYPE_TUNNELS': (0x17, 16, Action5BlockType.OFFSET),
}

def parse_action5(replaces):
Expand Down

0 comments on commit c3562e6

Please sign in to comment.