public static int GetBaseID( GasTrapType type ) { switch ( type ) { case GasTrapType.NorthWall: return 0x113C; case GasTrapType.WestWall: return 0x1147; case GasTrapType.Floor: return 0x11A8; } return 0; }